Initial work on port override

This commit is contained in:
laf
2015-08-30 17:33:54 +00:00
parent 1f97a9d62c
commit 3ae4372e68
2 changed files with 40 additions and 2 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ foreach (dbFetchRows($sql, $param) as $port) {
<input type="hidden" name="olddis_'.$port['port_id'].'" value="'.($port['disabled'] ? 1 : 0).'"">',
'ignore' => '<input type="checkbox" class="ignore-check" name="ignore_'.$port['port_id'].'"'.($port['ignore'] ? 'checked' : '').'>
<input type="hidden" name="oldign_'.$port['port_id'].'" value="'.($port['ignore'] ? 1 : 0).'"">',
'ifAlias' => $port['ifAlias']
'ifAlias' => '<input class="form-control input-sm if-alias" id="if-alias" name="if-alias" data-ifIndex="'.$port['ifIndex'].'" data-ifName="'.$port['ifname'].'" value="'.$port['ifAlias'].'">'
);
}//end foreach
@@ -75,4 +75,4 @@ $output = array(
'rows' => $response,
'total' => $total,
);
echo _json_encode($output);
echo _json_encode($output);