Make use of Yapter Template Engine
This commit is contained in:
16
tpl/asset.tpl
Normal file
16
tpl/asset.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
[BLOCK table AS asset]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK assetrow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetrow]
|
||||
</table>
|
||||
[END table]
|
||||
53
tpl/assetadd.tpl
Normal file
53
tpl/assetadd.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="asset">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_asset_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="asset_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_hostname}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="hostname">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS assetclass]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclass}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="assetclass_id">
|
||||
[BLOCK assetclassrow]
|
||||
<option value="{assetclass_id}">{assetclass_name}</option>
|
||||
[END assetclassrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="asset_info"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
16
tpl/assetclass.tpl
Normal file
16
tpl/assetclass.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
[BLOCK table AS assetclass]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK assetclassrow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassrow]
|
||||
</table>
|
||||
[END table]
|
||||
37
tpl/assetclassadd.tpl
Normal file
37
tpl/assetclassadd.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assetclass">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_assetclass_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclass_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="assetclass_name">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS assetclassgroup]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclassgroup}:<br>
|
||||
</td>
|
||||
<td>
|
||||
<select name="assetclassgroup_id">
|
||||
[BLOCK assetclassgrouprow]
|
||||
<option value="{assetclassgroup_id}">{assetclassgroup_name}</option>
|
||||
[END assetclassgrouprow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
34
tpl/assetclassdel.tpl
Normal file
34
tpl/assetclassdel.tpl
Normal file
@@ -0,0 +1,34 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="assetclass">
|
||||
<input type="hidden" name="assetclass_id" value="{assetclass_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass_del}</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{assetclass_name}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
38
tpl/assetclassedit.tpl
Normal file
38
tpl/assetclassedit.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="assetclass">
|
||||
<input type="hidden" name="assetclass_id" value="{assetclass_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_assetclass_edit}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclass_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="assetclass_name" value="{assetclass_name}">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS assetclassgroup]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclassgroup}:<br>
|
||||
</td>
|
||||
<td>
|
||||
<select name="assetclassgroup_id">
|
||||
[BLOCK assetclassgrouprow]
|
||||
<option value="{assetclassgroup_id}" {selected}>{assetclassgroup_name}</option>
|
||||
[END assetclassgrouprow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
49
tpl/assetclassgroupview.tpl
Normal file
49
tpl/assetclassgroupview.tpl
Normal file
@@ -0,0 +1,49 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>Assetclass Groupname:</b>
|
||||
</td>
|
||||
<td>
|
||||
{assetclassgroup_name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Color:</b>
|
||||
</td>
|
||||
<td>
|
||||
<img src="images/{color}.jpg">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Assetclass(es):</b>
|
||||
</td>
|
||||
[BLOCK table AS assetclass]
|
||||
<td>
|
||||
[BLOCK assetclassrow]
|
||||
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a><br>
|
||||
[END assetclassrow]
|
||||
</td>
|
||||
[END table]
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assetclassgroupedit]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetclassgroupedit.php?assetclassgroup_id={assetclassgroup_id}">{lang_assetclassgroup_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassgroupedit]
|
||||
[BLOCK assetclassgroupdel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetclassgroupdel.php?assetclassgroup_id={assetclassgroup_id}">{lang_assetclassgroup_del}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassgroupdel]
|
||||
</table>
|
||||
49
tpl/assetclassview.tpl
Normal file
49
tpl/assetclassview.tpl
Normal file
@@ -0,0 +1,49 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{assetclass_name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclassgroup_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS asset]
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assets}:</b><br>
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK assetrow]
|
||||
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a><br>
|
||||
[END assetrow]
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assetclassedit]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetclassedit.php?assetclass_id={assetclass_id}">{lang_assetclass_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassedit]
|
||||
[BLOCK assetclassdel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetclassdel.php?assetclass_id={assetclass_id}">{lang_assetclass_del}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassdel]
|
||||
</table>
|
||||
51
tpl/assetdel.tpl
Normal file
51
tpl/assetdel.tpl
Normal file
@@ -0,0 +1,51 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="asset">
|
||||
<input type="hidden" name="asset_id" value="{asset_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset_del}</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS node]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<img src="images/warning.gif"> {lang_warning_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK noderow]
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_ip}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="nodeview.php?node_id={node_id}">{ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END noderow]
|
||||
</table>
|
||||
[END table]
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
54
tpl/assetedit.tpl
Normal file
54
tpl/assetedit.tpl
Normal file
@@ -0,0 +1,54 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="asset">
|
||||
<input type="hidden" name="asset_id" value="{asset_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_asset_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="asset_name" value="{asset_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_hostname}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="hostname" value="{hostname}">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS assetclass]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclass}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="assetclass_id">
|
||||
[BLOCK assetclassrow]
|
||||
<option value="{assetclass_id}" {selected}>{assetclass_name}</option>
|
||||
[END assetclassrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="asset_info">{asset_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
118
tpl/assetview.tpl
Normal file
118
tpl/assetview.tpl
Normal file
@@ -0,0 +1,118 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{asset_name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_hostname}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{hostname}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset_info}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{asset_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS node]
|
||||
<table border="0">
|
||||
[BLOCK noderow]
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<b>{lang_node} #{nodecount}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_ip}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="nodeview.php?node_id={node_id}">{ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="subnetview.php?subnet_id={subnet_id}&page={ip}">{subnet_address}/{subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_mac}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{mac}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_dns1}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{dns1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_dns2}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{dns2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_node_info}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{node_info}
|
||||
</td>
|
||||
</tr>
|
||||
[END noderow]
|
||||
</table>
|
||||
[END table]
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assetedit]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetedit.php?asset_id={asset_id}">{lang_asset_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetedit]
|
||||
[BLOCK assetdel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetdel.php?asset_id={asset_id}">{lang_asset_del}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetdel]
|
||||
</table>
|
||||
89
tpl/assigniptoasset.tpl
Normal file
89
tpl/assigniptoasset.tpl
Normal file
@@ -0,0 +1,89 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assigniptoasset">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_assigniptoasset}:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_ip}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="ip" value="{ip}">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS subnet]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="subnet_id">
|
||||
[BLOCK subnetrow]
|
||||
<option value="{subnet_id}" {selected}>{subnet_address}/{subnet_mask}</option>
|
||||
[END subnetrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
[BLOCK table AS asset]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="asset_id">
|
||||
[BLOCK assetrow]
|
||||
<option value="{asset_id}">{asset_name}</option>
|
||||
[END assetrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_mac}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="mac">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_dns1}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="dns1">
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" name="dns1suffix" checked>{config_dns1suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_dns2}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="dns2">
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" name="dns2suffix" checked>{config_dns2suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_node_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="node_info"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
38
tpl/assigniptonode.tpl
Normal file
38
tpl/assigniptonode.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_ip}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{ip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="subnetview.php?subnet_id={subnet_id}&page={ip}">{subnet_address}/{subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assigniptonode]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assigniptoasset.php?subnet_id={subnet_id}&ip={ip}">{lang_assigniptoasset}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assigniptonode]
|
||||
[BLOCK nodeadd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="nodeadd.php?subnet_id={subnet_id}&ip={ip}">{lang_node_new}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END nodeadd]
|
||||
</table>
|
||||
|
||||
44
tpl/assignlocationtosubnet.tpl
Normal file
44
tpl/assignlocationtosubnet.tpl
Normal file
@@ -0,0 +1,44 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assignlocationtosubnet">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_assignlocationtosubnet}:</b>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS location]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_name}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="location_id">
|
||||
<option value="0">(none)</option>
|
||||
[BLOCK locationrow]
|
||||
<option value="{location_id}" {selected}>{location_name}</option>
|
||||
[END locationrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
[BLOCK table AS subnet]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="subnet_id">
|
||||
[BLOCK subnetrow]
|
||||
<option value="{subnet_id}" {selected}>{subnet_address}/{subnet_mask}</option>
|
||||
[END subnetrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
43
tpl/assignvlantosubnet.tpl
Normal file
43
tpl/assignvlantosubnet.tpl
Normal file
@@ -0,0 +1,43 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assignvlantosubnet">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_assignvlantosubnet}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS vlan]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="vlan_id">
|
||||
[BLOCK vlanrow]
|
||||
<option value="{vlan_id}" {selected}>{vlan_name} ({vlan_id})</option>
|
||||
[END vlanrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
[BLOCK table AS subnet]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="subnet_id">
|
||||
[BLOCK subnetrow]
|
||||
<option value="{subnet_id}" {selected}>{subnet_address}/{subnet_mask}</option>
|
||||
[END subnetrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
12
tpl/error.tpl
Normal file
12
tpl/error.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/warning.gif"> <b>{lang_error}:</b> {error}<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:history.back();"><< {lang_goback}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
13
tpl/footer.tpl
Normal file
13
tpl/footer.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a href="index.php" class="label">IP Reg {config_version}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
tpl/header.tpl
Normal file
31
tpl/header.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>IP Reg</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<link rel="stylesheet" href="tpl/style.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form method="POST" action="search.php">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_header_viewby}: <a href="asset.php">{lang_asset}</a> -
|
||||
<a href="assetclass.php">{lang_assetclass}</a> -
|
||||
<a href="location.php">{lang_location}</a> -
|
||||
<a href="subnet.php">{lang_subnet}</a> -
|
||||
<a href="vlan.php">{lang_vlan}</a>
|
||||
.:<input type="text" name="search" value="{search}"> <input type="submit" value="{lang_search}">
|
||||
</td>
|
||||
<td align="right">
|
||||
{suser_displayname} -
|
||||
<a href="options.php">{lang_options}</a> -
|
||||
<a href="logout.php">{lang_logout}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<hr>
|
||||
|
||||
57
tpl/index.tpl
Normal file
57
tpl/index.tpl
Normal file
@@ -0,0 +1,57 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>IP Reg</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_statistics}:</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100">
|
||||
{lang_assets}:
|
||||
</td>
|
||||
<td align="right">
|
||||
{assetcount}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_locations}:
|
||||
</td>
|
||||
<td align="right">
|
||||
{locationcount}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_nodes}:
|
||||
</td>
|
||||
<td align="right">
|
||||
{nodecount}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnets}:
|
||||
</td>
|
||||
<td align="right">
|
||||
{subnetcount}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlans}:
|
||||
</td>
|
||||
<td align="right">
|
||||
{vlancount}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
16
tpl/location.tpl
Normal file
16
tpl/location.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
[BLOCK table AS location]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_locations}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK locationrow]
|
||||
<tr>
|
||||
<td>
|
||||
{nbsp}<a href="locationview.php?location_id={location_id}">{location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END locationrow]
|
||||
</table>
|
||||
[END table]
|
||||
38
tpl/locationadd.tpl
Normal file
38
tpl/locationadd.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="location">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_location_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="location_name">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS location]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_parent}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="parent">
|
||||
<option value="0">(none)</option>
|
||||
[BLOCK locationrow]
|
||||
<option value="{location_id}">{location_name}</option>
|
||||
[END locationrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
29
tpl/locationdel.tpl
Normal file
29
tpl/locationdel.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="location">
|
||||
<input type="hidden" name="location_id" value="{location_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location_del}</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="locationview.php?location_id={location_id}">{location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
47
tpl/locationedit.tpl
Normal file
47
tpl/locationedit.tpl
Normal file
@@ -0,0 +1,47 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="location">
|
||||
<input type="hidden" name="location_id" value="{location_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_location_edit}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="location_name" value="{location_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_parent}:
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK table AS parent]
|
||||
<select name="parent">
|
||||
<option value="0">(none)</option>
|
||||
[BLOCK parentrow]
|
||||
<option value="{parent_id}" {selected}>{parent_name}</option>
|
||||
[END parentrow]
|
||||
</select>
|
||||
[END table]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="location_info">{location_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
73
tpl/locationview.tpl
Normal file
73
tpl/locationview.tpl
Normal file
@@ -0,0 +1,73 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK table AS locationcrumb]
|
||||
[BLOCK locationcrumbrow]
|
||||
{seperator}<a href="locationview.php?location_id={location_id}">{location_name}</a>
|
||||
[END locationcrumbrow]
|
||||
[END table]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location_info}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{location_info}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnets}:</b>
|
||||
</td>
|
||||
[BLOCK table AS subnet]
|
||||
<td>
|
||||
[BLOCK subnetrow]
|
||||
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a><br>
|
||||
[END subnetrow]
|
||||
</td>
|
||||
[END table]
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_sublocations}:</b>
|
||||
</td>
|
||||
[BLOCK table AS sublocation]
|
||||
<td>
|
||||
[BLOCK sublocationrow]
|
||||
<a href="locationview.php?location_id={sublocation_id}">{sublocation_name}</a><br>
|
||||
[END sublocationrow]
|
||||
</td>
|
||||
[END table]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assignlocationtosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignlocationtosubnet.php?location_id={location_id}">{lang_assignlocationtosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignlocationtosubnet]
|
||||
[BLOCK locationedit]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="locationedit.php?location_id={location_id}">{lang_location_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END locationedit]
|
||||
[BLOCK locationdel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="locationdel.php?location_id={location_id}">{lang_location_del}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END locationdel]
|
||||
</table>
|
||||
91
tpl/nodeadd.tpl
Normal file
91
tpl/nodeadd.tpl
Normal file
@@ -0,0 +1,91 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="node">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_node_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="asset_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_hostname}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="hostname">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_ip}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="ip" value="{ip}">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS subnet]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="subnet_id">
|
||||
[BLOCK subnetrow]
|
||||
<option value="{subnet_id}" {selected}>{subnet_address}/{subnet_mask}</option>
|
||||
[END subnetrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
[BLOCK table AS assetclass]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclass}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="assetclass_id">
|
||||
[BLOCK assetclassrow]
|
||||
<option value="{assetclass_id}">{assetclass_name}</option>
|
||||
[END assetclassrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_mac}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="mac">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_dns1}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="dns1"> <input type="checkbox" name="dns1suffix" checked>{config_dns1suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_dns2}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="dns2"> <input type="checkbox" name="dns2suffix" checked>{config_dns2suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
30
tpl/nodedel.tpl
Normal file
30
tpl/nodedel.tpl
Normal file
@@ -0,0 +1,30 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="node">
|
||||
<input type="hidden" name="node_id" value="{node_id}">
|
||||
<input type="hidden" name="asset_id" value="{asset_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_node_del}</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_ip}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="nodeview.php?node_id={node_id}">{ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
78
tpl/nodeedit.tpl
Normal file
78
tpl/nodeedit.tpl
Normal file
@@ -0,0 +1,78 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="node">
|
||||
<input type="hidden" name="node_id" value="{node_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_node_edit}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
</td>
|
||||
<td>
|
||||
{asset_name}:
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_ip}
|
||||
</td>
|
||||
<td>
|
||||
{ip}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS subnet]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="subnet_id">
|
||||
[BLOCK subnetrow]
|
||||
<option value="{subnet_id}" {selected}>{subnet_address}/{subnet_mask}</option>
|
||||
[END subnetrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_mac}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="mac" value="{mac}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_dns1}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="dns1" value="{dns1}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_dns2}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="dns2" value="{dns2}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_node_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="node_info">{node_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
46
tpl/nodelist.tpl
Normal file
46
tpl/nodelist.tpl
Normal file
@@ -0,0 +1,46 @@
|
||||
[BLOCK table AS node]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="100">
|
||||
<a href="nodelist.php?subnet_id={subnet_id}&order=ip"><b>{lang_ip}:</b></a>
|
||||
</td>
|
||||
<td width="150">
|
||||
<a href="nodelist.php?subnet_id={subnet_id}&order=asset_name"><b>{lang_asset_name}:</b></a>
|
||||
</td>
|
||||
<td width="150">
|
||||
<a href="nodelist.php?subnet_id={subnet_id}&order=hostname"><b>{lang_hostname}:</b></a>
|
||||
</td>
|
||||
<td width="150">
|
||||
<a href="nodelist.php?subnet_id={subnet_id}&order=mac"><b>{lang_mac}:</b></a>
|
||||
</td>
|
||||
<td width="150">
|
||||
<a href="nodelist.php?subnet_id={subnet_id}&order=dns1"><b>{lang_dns1}:</b></a>
|
||||
</td>
|
||||
<td width="150">
|
||||
<a href="nodelist.php?subnet_id={subnet_id}&order=dns2"><b>{lang_dns2}:</b></a>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK noderow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="nodeview.php?node_id={node_id}">{ip}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
|
||||
</td>
|
||||
<td>
|
||||
{hostname}
|
||||
</td>
|
||||
<td>
|
||||
{mac}
|
||||
</td>
|
||||
<td>
|
||||
{dns1}
|
||||
</td>
|
||||
<td>
|
||||
{dns2}
|
||||
</td>
|
||||
</tr>
|
||||
[END noderow]
|
||||
</table>
|
||||
[END table]
|
||||
87
tpl/nodeview.tpl
Normal file
87
tpl/nodeview.tpl
Normal file
@@ -0,0 +1,87 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_ip}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{ip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="subnetview.php?subnet_id={subnet_id}&page={ip}">{subnet_address}/{subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_mac}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{mac}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_dns1}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{dns1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_dns2}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{dns2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_node_info}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{node_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK nodeedit]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="nodeedit.php?node_id={node_id}">{lang_node_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END nodeedit]
|
||||
[BLOCK nodedel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="nodedel.php?node_id={node_id}">{lang_node_del}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END nodedel]
|
||||
</table>
|
||||
102
tpl/options.tpl
Normal file
102
tpl/options.tpl
Normal file
@@ -0,0 +1,102 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_options_ipreg}</b>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK assetadd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetadd.php">{lang_asset_add}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetadd]
|
||||
[BLOCK assetclassadd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assetclassadd.php">{lang_assetclass_add}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassadd]
|
||||
[BLOCK locationadd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="locationadd.php">{lang_location_add}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END locationadd]
|
||||
[BLOCK nodeadd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="nodeadd.php">{lang_node_add}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END nodeadd]
|
||||
[BLOCK subnetadd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="subnetadd.php">{lang_subnet_add}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END subnetadd]
|
||||
[BLOCK useradd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="useradd.php">{lang_user_add}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END useradd]
|
||||
[BLOCK vlanadd]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="vlanadd.php">{lang_vlan_add}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END vlanadd]
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assigniptoasset]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assigniptoasset.php">{lang_assigniptoasset}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assigniptoasset]
|
||||
[BLOCK assignlocationtosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignlocationtosubnet.php">{lang_assignlocationtosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignlocationtosubnet]
|
||||
[BLOCK assignvlantosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignvlantosubnet.php">{lang_assignvlantosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignvlantosubnet]
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_options_personal}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="useredit.php">{lang_options_settings_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="userpassedit.php">{lang_options_password_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
41
tpl/search.tpl
Normal file
41
tpl/search.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
[BLOCK nosearch]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/warning.gif"> {lang_warning_search_nosearch}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[END nosearch]
|
||||
|
||||
[BLOCK table AS asset]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{item_name} {lang_search_found} ({counter}):</b>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK row]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{item}view.php?{item}_id={id}">{name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END row]
|
||||
</table>
|
||||
[END table]
|
||||
|
||||
[REUSE table AS location]
|
||||
[REUSE table AS node]
|
||||
[REUSE table AS subnet]
|
||||
[REUSE table AS vlan]
|
||||
|
||||
[BLOCK resultcount]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_search_results_found}</b>: {resultcounter}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[END resultcount]
|
||||
39
tpl/style.css
Normal file
39
tpl/style.css
Normal file
@@ -0,0 +1,39 @@
|
||||
body {
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
font-family: Verdana, Arial, Helvetica, Sans-serif;
|
||||
margin: 12px;
|
||||
margin-top: 12px;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #466A8D;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #E1B100;
|
||||
}
|
||||
|
||||
input {
|
||||
font-size: 100%;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
font-family: Verdana, Arial, Helvetica, Sans-serif;
|
||||
}
|
||||
|
||||
select {
|
||||
font-size: 100%;
|
||||
font-family: Verdana, Sans-serif;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
table {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
height: 18px;
|
||||
}
|
||||
16
tpl/subnet.tpl
Normal file
16
tpl/subnet.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
[BLOCK table AS subnet]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK subnetrow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END subnetrow]
|
||||
</table>
|
||||
[END table]
|
||||
31
tpl/subnetadd.tpl
Normal file
31
tpl/subnetadd.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="subnet">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_subnet_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_address}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="subnet_address">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_mask}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="subnet_mask" size="2"> (8-30)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_subnet}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
51
tpl/subnetdel.tpl
Normal file
51
tpl/subnetdel.tpl
Normal file
@@ -0,0 +1,51 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="subnet">
|
||||
<input type="hidden" name="subnet_id" value="{subnet_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet_del}</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS node]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<img src="images/warning.gif"> {lang_warning_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK noderow]
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_ip}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="nodeview.php?node_id={node_id}">{ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END noderow]
|
||||
</table>
|
||||
[END table]
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
55
tpl/subnetedit.tpl
Normal file
55
tpl/subnetedit.tpl
Normal file
@@ -0,0 +1,55 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="subnet">
|
||||
<input type="hidden" name="subnet_id" value="{subnet_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_subnet_edit}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_subnetaddress}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="subnet_address" value="{subnet_address}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_mask}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="subnet_mask" size="2" value="{subnet_mask}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan}
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK table AS vlan]
|
||||
<select name="vlan_id">
|
||||
<option value="0">(none)</option>
|
||||
[BLOCK vlanrow]
|
||||
<option value="{vlan_id}" {selected}>{vlan_name} ({vlan_number})</option>
|
||||
[END vlanrow]
|
||||
[END table]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="subnet_info">{subnet_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
153
tpl/subnetview.tpl
Normal file
153
tpl/subnetview.tpl
Normal file
@@ -0,0 +1,153 @@
|
||||
<script language="javascript">
|
||||
function linkTo(optVal){
|
||||
if(optVal=="")
|
||||
return false;
|
||||
window.location='subnetview.php?subnet_id='+optVal;
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function change(id,newtext) {
|
||||
document.getElementById(id).innerHTML=newtext
|
||||
}
|
||||
</script>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}: </b>{subnet_address}/{subnet_mask}
|
||||
</td>
|
||||
<td align="right">
|
||||
{pagination}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
[BLOCK table AS subnet]
|
||||
<table border="0">
|
||||
<tr>
|
||||
[BLOCK iprow]
|
||||
<td><a href="{url}" onMouseOver="change('remotetext','{remotetext}')" onMouseOut="change('remotetext',' ')"><img src="images/{color}.jpg" border="0"></a></td>{tr}
|
||||
[END iprow]
|
||||
</tr>
|
||||
</table>
|
||||
[END table]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<a id="remotetext"> </a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlans}:</b>
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK table AS vlan]
|
||||
[BLOCK vlanrow]
|
||||
<a href="vlanview.php?vlan_id={vlan_id}">{vlan_name}</a><br>
|
||||
[END vlanrow]
|
||||
[END table]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_locations}:</b>
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK table AS location]
|
||||
[BLOCK locationrow]
|
||||
<a href="locationview.php?location_id={location_id}">{location_name}</a><br>
|
||||
[END locationrow]
|
||||
[END table]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet_info}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{subnet_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="100">
|
||||
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK table AS assetclassgroup]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/grey.jpg"> {lang_unassigned}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK assetclassgrouprow]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/{color}.jpg"> <a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassgrouprow]
|
||||
</table>
|
||||
[END table]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assignlocationtosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignlocationtosubnet.php?subnet_id={subnet_id}">{lang_assignlocationtosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignlocationtosubnet]
|
||||
[BLOCK assignvlantosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignvlantosubnet.php?vlan_id={vlan_id}">{lang_assignvlantosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignvlantosubnet]
|
||||
[BLOCK subnetedit]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="subnetedit.php?subnet_id={subnet_id}">{lang_subnet_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END subnetedit]
|
||||
[BLOCK subnetdel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="subnetdel.php?subnet_id={subnet_id}">{lang_subnet_del}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END subnetdel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="nodelist.php?subnet_id={subnet_id}">View assigned IP addresses in subnet</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
41
tpl/useradd.tpl
Normal file
41
tpl/useradd.tpl
Normal file
@@ -0,0 +1,41 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="user">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_user_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="user_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_pass}:
|
||||
</td>
|
||||
<td>
|
||||
{user_pass}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_level}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="user_level">
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
46
tpl/useredit.tpl
Normal file
46
tpl/useredit.tpl
Normal file
@@ -0,0 +1,46 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="user">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_options_settings_edit}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_displayname}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="user_displayname" value="{user_displayname}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_mac}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="user_mac">
|
||||
<option value="0">xxxxxxxxxxxx</option>
|
||||
<option value="1">xx-xx-xx-xx-xx-xx</option>
|
||||
<option value="2">xx:xx:xx:xx:xx:xx</option>
|
||||
<option value="3">xxxxxx-xxxxxx</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_language}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="user_lang">
|
||||
<option value="en">English</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
39
tpl/userpassedit.tpl
Normal file
39
tpl/userpassedit.tpl
Normal file
@@ -0,0 +1,39 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="userpass">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_options_password_edit}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_passold}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="user_passold">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_passnew1}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="user_passnew1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_passnew2}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="user_passnew2">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
16
tpl/vlan.tpl
Normal file
16
tpl/vlan.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
[BLOCK table AS vlan]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK vlanrow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="vlanview.php?vlan_id={vlan_id}">{vlan_name} ({vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END vlanrow]
|
||||
</table>
|
||||
[END table]
|
||||
31
tpl/vlanadd.tpl
Normal file
31
tpl/vlanadd.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="vlan">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_vlan_add}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="vlan_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan_number}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="vlan_number" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
29
tpl/vlandel.tpl
Normal file
29
tpl/vlandel.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="vlan">
|
||||
<input type="hidden" name="vlan_id" value="{vlan_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_del}</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<a href="vlanview.php?vlan_id={vlan_id}">{vlan_name} ({vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
40
tpl/vlanedit.tpl
Normal file
40
tpl/vlanedit.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="vlan">
|
||||
<input type="hidden" name="vlan_id" value="{vlan_id}">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_vlan_edit}:</b><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="vlan_name" value="{vlan_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan_number}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="vlan_number" size="3" value="{vlan_number}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="vlan_info">{vlan_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
64
tpl/vlanview.tpl
Normal file
64
tpl/vlanview.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{vlan_name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_number}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{vlan_number}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_info}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{vlan_info}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnets}:</b>
|
||||
</td>
|
||||
[BLOCK table AS subnet]
|
||||
<td>
|
||||
[BLOCK subnetrow]
|
||||
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a><br>
|
||||
[END subnetrow]
|
||||
</td>
|
||||
[END table]
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK assignvlantosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignvlantosubnet.php?vlan_id={vlan_id}">{lang_assignvlantosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignvlantosubnet]
|
||||
[BLOCK vlanedit]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="vlanedit.php?vlan_id={vlan_id}">{lang_vlan_edit}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END vlanedit]
|
||||
[BLOCK vlandel]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="vlandel.php?vlan_id={vlan_id}">{lang_vlan_del}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END vlandel]
|
||||
</table>
|
||||
Reference in New Issue
Block a user