changes needed to run under web server subdirectory

This commit is contained in:
Michael Newton
2015-08-11 14:54:05 -07:00
parent c1b9856d89
commit f77c712bfc
52 changed files with 97 additions and 98 deletions

View File

@@ -91,7 +91,7 @@ echo '"'.$_POST['address'].'"+';
address: '<?php echo mres($_POST['address']); ?>'
};
},
url: "/ajax_table.php"
url: "ajax_table.php"
});
</script>

View File

@@ -86,7 +86,7 @@ if ($_POST['interface'] == 'Vlan%') {
address: '<?php echo mres($_POST['address']); ?>'
};
},
url: "/ajax_table.php"
url: "ajax_table.php"
});
</script>

View File

@@ -87,7 +87,7 @@ if ($_POST['interface'] == 'Vlan%') {
address: '<?php echo mres($_POST['address']); ?>'
};
},
url: "/ajax_table.php"
url: "ajax_table.php"
});
</script>

View File

@@ -88,7 +88,7 @@ echo '"'.$_POST['address'].'"+';
address: '<?php echo mres($_POST['address']); ?>'
};
},
url: "/ajax_table.php"
url: "ajax_table.php"
});
</script>

View File

@@ -158,7 +158,7 @@ foreach( $ordered as $name=>$entry ) {
if( sizeof($arch) > 0 && sizeof($vers) > 0 ) {
?>
<tr>
<td><a href="/packages/name=<?php echo $name; ?>/"><?php echo $name; ?></a></td>
<td><a href="<?php echo(generate_url(array('page'=>'packages','name'=>$name))); ?>"><?php echo $name; ?></a></td>
<td><?php echo implode('<br/>',$vers); ?></td>
<td><?php echo implode('<br/>',$arch); ?></td>
<td><?php echo implode('<br/>',$devs); ?></td>