Changes adopted from version 0.4
This commit is contained in:
73
tpl/about.tpl
Normal file
73
tpl/about.tpl
Normal file
@@ -0,0 +1,73 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>IP Reg {config_version}</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
Sourceforge Project Page:
|
||||
</td>
|
||||
<td>
|
||||
<a href="http://sourceforge.net/projects/ipreg">http://sourceforge.net/projects/ipreg</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
License:
|
||||
</td>
|
||||
<td>
|
||||
<a href="gpl-3.0.txt">GNU General Public License (GPL)</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="200">
|
||||
Yapter Template Engine
|
||||
</td>
|
||||
<td>
|
||||
<a href="http://yapter.sourceforge.net/">http://yapter.sourceforge.net</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
OWeb2 Images
|
||||
</td>
|
||||
<td>
|
||||
<a href="http://www.oweb2.com/free-web20-icons-pack/">http://www.oweb2.com/free-web20-icons-pack</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
IP Reg, a PHP/MySQL IPAM tool<br>
|
||||
Copyright (C) 2008 Wietse Warendorff<p>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify<br>
|
||||
it under the terms of the GNU General Public License as published by<br>
|
||||
the Free Software Foundation, either version 3 of the License, or<br>
|
||||
(at your option) any later version.<p>
|
||||
|
||||
This program is distributed in the hope that it will be useful,<br>
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
||||
GNU General Public License for more details.<p>
|
||||
|
||||
You should have received a copy of the GNU General Public License<br>
|
||||
along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1,8 +1,24 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assets}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetadd.php"><img src="images/add.gif" border="0" title="{lang_asset_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS asset]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="250">
|
||||
<b>{lang_asset_name}</b>
|
||||
</td>
|
||||
<td>
|
||||
<b>{lang_asset}:</b><br>
|
||||
<b>{lang_assetclass_name}</b>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK assetrow]
|
||||
@@ -10,6 +26,9 @@
|
||||
<td>
|
||||
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetrow]
|
||||
</table>
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="asset">
|
||||
<table border="0">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_asset_add}:</b><br>
|
||||
<td>
|
||||
<b>{lang_asset_add}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
@@ -30,7 +39,7 @@
|
||||
<td>
|
||||
<select name="assetclass_id">
|
||||
[BLOCK assetclassrow]
|
||||
<option value="{assetclass_id}">{assetclass_name}</option>
|
||||
<option value="{assetclass_id}" {assetclass_selected}>{assetclass_name}</option>
|
||||
[END assetclassrow]
|
||||
</select>
|
||||
</td>
|
||||
@@ -44,10 +53,6 @@
|
||||
<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>
|
||||
@@ -1,10 +1,16 @@
|
||||
[BLOCK table AS assetclass]
|
||||
<table border="0">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetclassadd.php"><img src="images/add.gif" border="0" title="{lang_assetclass_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[BLOCK table AS assetclass]
|
||||
<table border="0">
|
||||
[BLOCK assetclassrow]
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assetclass">
|
||||
<table border="0">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_assetclass_add}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclass_name}:
|
||||
@@ -22,16 +31,11 @@
|
||||
<td>
|
||||
<select name="assetclassgroup_id">
|
||||
[BLOCK assetclassgrouprow]
|
||||
<option value="{assetclassgroup_id}">{assetclassgroup_name}</option>
|
||||
<option value="{assetclassgroup_id}" {assetclassgroup_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>
|
||||
@@ -1,10 +1,14 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass_del}</b><br>
|
||||
<b>{lang_assetclass_del}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -21,14 +25,4 @@
|
||||
</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>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_assetclass_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclass_name}:
|
||||
@@ -29,10 +38,5 @@
|
||||
</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>
|
||||
22
tpl/assetclassgroup.tpl
Normal file
22
tpl/assetclassgroup.tpl
Normal file
@@ -0,0 +1,22 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclassgroups}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetclassgroupadd.php"><img src="images/add.gif" border="0" title="{lang_assetclassgroup_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[BLOCK table AS assetclassgroup]
|
||||
<table border="0">
|
||||
[BLOCK assetclassgrouprow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassgrouprow]
|
||||
</table>
|
||||
[END table]
|
||||
35
tpl/assetclassgroupadd.tpl
Normal file
35
tpl/assetclassgroupadd.tpl
Normal file
@@ -0,0 +1,35 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assetclassgroup">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclassgroup_add}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclassgroup_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="assetclassgroup_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_color}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="color">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
28
tpl/assetclassgroupdel.tpl
Normal file
28
tpl/assetclassgroupdel.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="assetclassgroup">
|
||||
<input type="hidden" name="assetclassgroup_id" value="{assetclassgroup_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclassgroup_del}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclassgroup_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{assetclassgroup_name}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
36
tpl/assetclassgroupedit.tpl
Normal file
36
tpl/assetclassgroupedit.tpl
Normal file
@@ -0,0 +1,36 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="assetclassgroup">
|
||||
<input type="hidden" name="assetclassgroup_id" value="{assetclassgroup_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclassgroup_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_assetclassgroup_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="assetclassgroup_name" value="{assetclassgroup_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{lang_color}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="color" value="#{color}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,7 +1,22 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclassgroup}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetclassadd.php?assetclassgroup_id={assetclassgroup_id}"><img src="images/add.gif" border="0" title="{lang_assetclass_add}"></a>
|
||||
<a href="assetclassgroupedit.php?assetclassgroup_id={assetclassgroup_id}"><img src="images/edit.gif" border="0" title="{lang_asset_edit}"></a>
|
||||
<a href="assetclassgroupdel.php?assetclassgroup_id={assetclassgroup_id}"><img src="images/del.gif" border="0" title="{lang_asset_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>Assetclass Groupname:</b>
|
||||
<b>{lang_assetclassgroup_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{assetclassgroup_name}
|
||||
@@ -9,15 +24,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Color:</b>
|
||||
<b>{lang_color}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<img src="images/{color}.jpg">
|
||||
<img src="image.php?color={color}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Assetclass(es):</b>
|
||||
<b>{lang_assetclasses}:</b>
|
||||
</td>
|
||||
[BLOCK table AS assetclass]
|
||||
<td>
|
||||
@@ -27,23 +42,4 @@
|
||||
</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>
|
||||
@@ -1,3 +1,18 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_assetclass}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetadd.php?assetclass_id={assetclass_id}"><img src="images/add.gif" border="0" title="{lang_asset_add}"></a>
|
||||
<a href="assetclassedit.php?assetclass_id={assetclass_id}"><img src="images/edit.gif" border="0" title="{lang_assetclass_edit}"></a>
|
||||
<a href="assetclassdel.php?assetclass_id={assetclass_id}"><img src="images/del.gif" border="0" title="{lang_assetclass_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -27,23 +42,4 @@
|
||||
</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>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset_del}</b><br>
|
||||
<b>{lang_asset_del}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset_name}:</b>
|
||||
@@ -23,7 +32,7 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<img src="images/warning.gif"> {lang_warning_asset_del_nodes}
|
||||
<img src="images/comments.gif" title="{lang_comments}"> {lang_comments_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK noderow]
|
||||
@@ -39,13 +48,4 @@
|
||||
</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>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_asset_add}:</b><br>
|
||||
<td>
|
||||
<b>{lang_asset_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
@@ -45,10 +54,6 @@
|
||||
<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>
|
||||
@@ -1,3 +1,18 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_asset}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assigniptoasset.php?asset_id={asset_id}"><img src="images/add.gif" border="0" title="{lang_assigniptoasset}"></a>
|
||||
<a href="assetedit.php?asset_id={asset_id}"><img src="images/edit.gif" border="0" title="{lang_asset_edit}"></a>
|
||||
<a href="assetdel.php?asset_id={asset_id}"><img src="images/del.gif" border="0" title="{lang_asset_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -96,23 +111,4 @@
|
||||
</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>
|
||||
[END table]
|
||||
@@ -1,11 +1,20 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assigniptoasset">
|
||||
<table border="0">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_assigniptoasset}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_ip}:
|
||||
@@ -22,7 +31,7 @@
|
||||
<td>
|
||||
<select name="subnet_id">
|
||||
[BLOCK subnetrow]
|
||||
<option value="{subnet_id}" {selected}>{subnet_address}/{subnet_mask}</option>
|
||||
<option value="{subnet_id}" {subnet_selected}>{subnet_address}/{subnet_mask}</option>
|
||||
[END subnetrow]
|
||||
</select>
|
||||
</td>
|
||||
@@ -36,7 +45,7 @@
|
||||
<td>
|
||||
<select name="asset_id">
|
||||
[BLOCK assetrow]
|
||||
<option value="{asset_id}">{asset_name}</option>
|
||||
<option value="{asset_id}" {asset_selected}>{asset_name}</option>
|
||||
[END assetrow]
|
||||
</select>
|
||||
</td>
|
||||
@@ -80,10 +89,5 @@
|
||||
<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>
|
||||
@@ -20,19 +20,10 @@
|
||||
<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>
|
||||
<a href="assigniptoasset.php?subnet_id={subnet_id}&ip={ip}">{lang_assigniptoasset}</a> / <a href="nodeadd.php?subnet_id={subnet_id}&ip={ip}">{lang_node_new}</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>
|
||||
|
||||
7
tpl/comments.tpl
Normal file
7
tpl/comments.tpl
Normal file
@@ -0,0 +1,7 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/comments.gif" title="{lang_comments}"> <b>{lang_comments}:</b> {comments}<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1,12 +0,0 @@
|
||||
<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>
|
||||
@@ -1,25 +1,24 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>IP Reg</title>
|
||||
<title>IP Reg {config_version}</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">
|
||||
<form action="search.php" method="post">
|
||||
<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}">
|
||||
.:<input type="text" name="search" value="{search}"> <input type="image" src="images/search.gif" title="{lang_search}">
|
||||
</td>
|
||||
<td align="right">
|
||||
{suser_displayname} -
|
||||
{lang_about} -
|
||||
<a href="options.php">{lang_options}</a> -
|
||||
<a href="logout.php">{lang_logout}</a>
|
||||
</td>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>IP Reg</b><br>
|
||||
<b>IP Reg</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
[BLOCK table AS location]
|
||||
<table border="0">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_locations}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="locationadd.php"><img src="images/add.gif" border="0" title="{lang_location_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS location]
|
||||
<table border="0">
|
||||
[BLOCK locationrow]
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="location">
|
||||
<table border="0">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_location_add}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_name}:
|
||||
@@ -23,16 +32,20 @@
|
||||
<select name="parent">
|
||||
<option value="0">(none)</option>
|
||||
[BLOCK locationrow]
|
||||
<option value="{location_id}">{location_name}</option>
|
||||
<option value="{location_id}" {location_selected}>{location_name}</option>
|
||||
[END locationrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
[END table]
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
<td>
|
||||
{lang_location_info}:
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="location_info"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location_del}</b><br>
|
||||
<b>{lang_location_del}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location_name}:</b>
|
||||
@@ -17,13 +26,4 @@
|
||||
</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>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_location_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_location_name}:
|
||||
@@ -38,10 +47,6 @@
|
||||
<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>
|
||||
@@ -1,3 +1,18 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_location}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="locationadd.php?location_id={location_id}"><img src="images/add.gif" border="0" title="{lang_sublocation_add}"></a>
|
||||
<a href="locationedit.php?location_id={location_id}"><img src="images/edit.gif" border="0" title="{lang_location_edit}"></a>
|
||||
<a href="locationdel.php?location_id={location_id}"><img src="images/del.gif" border="0" title="{lang_location_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -44,30 +59,4 @@
|
||||
[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>
|
||||
43
tpl/login.tpl
Normal file
43
tpl/login.tpl
Normal file
@@ -0,0 +1,43 @@
|
||||
<!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>
|
||||
<p>
|
||||
|
||||
<hr>
|
||||
|
||||
<form method="POST" action="login.php">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>IP Reg</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Username:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="user_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Password:
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="user_pass">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="right">
|
||||
<input type="submit" value="Submit"><input type="reset" value="Reset">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,11 +1,20 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="node">
|
||||
<table border="0">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_node_add}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
@@ -82,10 +91,6 @@
|
||||
<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>
|
||||
@@ -2,12 +2,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_node_del}</b><br>
|
||||
<b>{lang_node_del}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_ip}:</b>
|
||||
@@ -18,13 +27,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" value="{lang_submit}"><input type="reset" value="{lang_reset}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,26 +1,41 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_node_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK table AS asset]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_asset_name}:
|
||||
{lang_asset}:
|
||||
</td>
|
||||
<td>
|
||||
{asset_name}:
|
||||
<select name="asset_id">
|
||||
[BLOCK assetrow]
|
||||
<option value="{asset_id}" {asset_selected}>{asset_name}</option>
|
||||
[END assetrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_ip}
|
||||
</td>
|
||||
<td>
|
||||
{ip}
|
||||
<input type="text" name="ip" value="{ip}">
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS subnet]
|
||||
@@ -31,7 +46,7 @@
|
||||
<td>
|
||||
<select name="subnet_id">
|
||||
[BLOCK subnetrow]
|
||||
<option value="{subnet_id}" {selected}>{subnet_address}/{subnet_mask}</option>
|
||||
<option value="{subnet_id}" {subnet_selected}>{subnet_address}/{subnet_mask}</option>
|
||||
[END subnetrow]
|
||||
</select>
|
||||
</td>
|
||||
@@ -69,10 +84,6 @@
|
||||
<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>
|
||||
@@ -1,3 +1,17 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_node}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="nodeedit.php?node_id={node_id}"><img src="images/edit.gif" border="0" title="{lang_node_edit}"></a>
|
||||
<a href="nodedel.php?node_id={node_id}"><img src="images/del.gif" border="0" title="{lang_node_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -65,23 +79,4 @@
|
||||
{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
102
tpl/options.tpl
@@ -4,81 +4,52 @@
|
||||
<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>
|
||||
<a href="assetclass.php">{lang_assetclasses}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assigniptoasset]
|
||||
[BLOCK assignlocationtosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignlocationtosubnet.php">{lang_assignlocationtosubnet}</a>
|
||||
<a href="assetclassgroup.php">{lang_assetclassgroups}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignlocationtosubnet]
|
||||
[BLOCK assignvlantosubnet]
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="assignvlantosubnet.php">{lang_assignvlantosubnet}</a>
|
||||
<a href="assigniptoasset.php">{lang_assigniptoasset}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="assignlocationtosubnet.php">{lang_assignlocationtosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="assignvlantosubnet.php">{lang_assignvlantosubnet}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="userclassauth.php">{lang_userclassauth}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="user.php">{lang_users}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="userclass.php">{lang_userclasses}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assignvlantosubnet]
|
||||
</table>
|
||||
|
||||
<p>
|
||||
@@ -86,17 +57,14 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_options_personal}</b>
|
||||
<b>Personal options</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/arrow.gif" border="0"> <a href="useredit.php">{lang_options_settings_edit}</a>
|
||||
<a href="userpassedit.php">{lang_options_password_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>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
@@ -2,12 +2,24 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="images/warning.gif"> {lang_warning_search_nosearch}
|
||||
<img src="images/comments.gif" title="{lang_comments}"> {lang_comments_search_nosearch}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[END nosearch]
|
||||
|
||||
[BLOCK resultcount]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_search_results_found}: {resultcounter}</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
[END resultcount]
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS asset]
|
||||
<table border="0">
|
||||
<tr>
|
||||
@@ -28,14 +40,4 @@
|
||||
[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]
|
||||
[REUSE table AS vlan]
|
||||
@@ -1,10 +1,18 @@
|
||||
[BLOCK table AS subnet]
|
||||
<table border="0">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="subnetadd.php"><img src="images/add.gif" border="0" title="{lang_asset_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS subnet]
|
||||
<table border="0">
|
||||
[BLOCK subnetrow]
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
<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>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_address}:
|
||||
<b>{lang_subnet_add}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_subnetaddress}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="subnet_address">
|
||||
@@ -22,10 +31,5 @@
|
||||
<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>
|
||||
@@ -4,7 +4,7 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet_del}</b><br>
|
||||
<b>{lang_subnet_del}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -23,7 +23,7 @@
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<img src="images/warning.gif"> {lang_warning_asset_del_nodes}
|
||||
<img src="images/comments.gif"> {lang_comments_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK noderow]
|
||||
@@ -38,14 +38,5 @@
|
||||
[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>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_subnet_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subnet_subnetaddress}:
|
||||
@@ -46,10 +55,5 @@
|
||||
<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>
|
||||
@@ -11,13 +11,28 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="subnetedit.php?subnet_id={subnet_id}"><img src="images/edit.gif" border="0" title="{lang_subnet_edit}"></a>
|
||||
<a href="subnetdel.php?subnet_id={subnet_id}"><img src="images/del.gif" border="0" title="{lang_subnet_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnet}: </b>{subnet_address}/{subnet_mask}
|
||||
<b>{lang_subnet_subnetaddress}:</b> {subnet_address}/{subnet_mask}
|
||||
</td>
|
||||
<td align="right">
|
||||
{pagination}
|
||||
@@ -32,7 +47,7 @@
|
||||
<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}
|
||||
<td><a href="{url}" onMouseOver="change('remotetext','{remotetext}')" onMouseOut="change('remotetext',' ')"><img src="image.php?color={color}" border="0"></a></td>{tr}
|
||||
[END iprow]
|
||||
</tr>
|
||||
</table>
|
||||
@@ -96,15 +111,10 @@
|
||||
<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>
|
||||
<img src="image.php?color={color}"> <a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END assetclassgrouprow]
|
||||
@@ -112,42 +122,4 @@
|
||||
[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>
|
||||
22
tpl/user.tpl
Normal file
22
tpl/user.tpl
Normal file
@@ -0,0 +1,22 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_user}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="useradd.php"><img src="images/add.gif" border="0" title="{lang_user_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[BLOCK table AS user]
|
||||
<table border="0">
|
||||
[BLOCK userrow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="userview.php?user_id={user_id}">{user_displayname}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END userrow]
|
||||
</table>
|
||||
[END table]
|
||||
@@ -1,11 +1,20 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="user">
|
||||
<table border="0">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_user_add}:</b><br>
|
||||
<td>
|
||||
<b>{lang_user_add}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_user_name}:
|
||||
@@ -32,10 +41,5 @@
|
||||
<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>
|
||||
22
tpl/userclass.tpl
Normal file
22
tpl/userclass.tpl
Normal file
@@ -0,0 +1,22 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclass}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="userclassadd.php"><img src="images/add.gif" border="0" title="{lang_userclass_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[BLOCK table AS userclass]
|
||||
<table border="0">
|
||||
[BLOCK userclassrow]
|
||||
<tr>
|
||||
<td>
|
||||
<a href="userclassview.php?userclass_id={userclass_id}">{userclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
[END userclassrow]
|
||||
</table>
|
||||
[END table]
|
||||
27
tpl/userclassadd.tpl
Normal file
27
tpl/userclassadd.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="userclass">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclass_add}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_userclass_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="userclass_name">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
53
tpl/userclassauth.tpl
Normal file
53
tpl/userclassauth.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclassauth}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="userclassauthadd.php"><img src="images/add.gif" border="0" title="{lang_userclassauth_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
[BLOCK table AS uca]
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="25">
|
||||
<b>#</b>
|
||||
</td>
|
||||
<td width="150">
|
||||
<b>{lang_userclass}:</b>
|
||||
</td>
|
||||
<td width="150">
|
||||
<b>{lang_item}:</b>
|
||||
</td>
|
||||
<td width="150">
|
||||
<b>{lang_subitem}:</b>
|
||||
</td>
|
||||
<td>
|
||||
<b>{lang_userclassauth}:</b>
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK ucarow]
|
||||
<tr>
|
||||
<td>
|
||||
{count}
|
||||
</td>
|
||||
<td>
|
||||
<a href="userclassview.php?userclass_id={userclass_id}">{userclass_name}</a>
|
||||
</td>
|
||||
<td>
|
||||
{item_name}
|
||||
</td>
|
||||
<td>
|
||||
{subitem_name}
|
||||
</td>
|
||||
<td>
|
||||
{auth}
|
||||
</td>
|
||||
</tr>
|
||||
[END ucarow]
|
||||
</table>
|
||||
[END table]
|
||||
33
tpl/userclassauthadd.tpl
Normal file
33
tpl/userclassauthadd.tpl
Normal file
@@ -0,0 +1,33 @@
|
||||
<form method="POST" action="userclassauthadditem.php">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclassauth_add}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/next.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK table AS userclass]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_userclass_name}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="userclass_id">
|
||||
[BLOCK userclassrow]
|
||||
<option value="{userclass_id}">{userclass_name}</option>
|
||||
[END userclassrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
</table>
|
||||
|
||||
</form>
|
||||
42
tpl/userclassauthadditem.tpl
Normal file
42
tpl/userclassauthadditem.tpl
Normal file
@@ -0,0 +1,42 @@
|
||||
<form method="POST" action="userclassauthaddsubitem.php">
|
||||
<input type="hidden" name="userclass_id" value="{userclass_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclassauth_add}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/next.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_userclass_name}:
|
||||
</td>
|
||||
<td>
|
||||
{userclass_name}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS item]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_item}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="item">
|
||||
[BLOCK itemrow]
|
||||
<option value="{authitem}">{authitem_name}</option>
|
||||
[END itemrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
</table>
|
||||
|
||||
</form>
|
||||
63
tpl/userclassauthaddsubitem.tpl
Normal file
63
tpl/userclassauthaddsubitem.tpl
Normal file
@@ -0,0 +1,63 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="userclassauth">
|
||||
<input type="hidden" name="userclass_id" value="{userclass_id}">
|
||||
<input type="hidden" name="authitem" value="{authitem}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclassauth_add}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/next.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_userclass_name}:
|
||||
</td>
|
||||
<td>
|
||||
{userclass_name}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS item]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_item}:
|
||||
</td>
|
||||
<td>
|
||||
{authitem_name}
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
[BLOCK table AS items]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_subitem}:
|
||||
</td>
|
||||
<td>
|
||||
<select name="item_id">
|
||||
<option value="0">--- {lang_all} ---</option>
|
||||
[BLOCK itemrow]
|
||||
<option value="{item_id}">{item_name}</option>
|
||||
[END itemrow]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
<tr>
|
||||
<td>
|
||||
{lang_userclassauth}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="auth" size="2">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
28
tpl/userclassdel.tpl
Normal file
28
tpl/userclassdel.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="userclass">
|
||||
<input type="hidden" name="userclass_id" value="{userclass_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclass_del}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclass_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{userclass_name}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
48
tpl/userclassedit.tpl
Normal file
48
tpl/userclassedit.tpl
Normal file
@@ -0,0 +1,48 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="userclass">
|
||||
<input type="hidden" name="userclass_id" value="{userclass_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclass_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_userclass_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="userclass_name" value="{userclass_name}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK table AS user]
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_users}</b>:
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK userrow]
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" name="user_id[]" value="{user_id}" {checked}>{user_displayname}
|
||||
</td>
|
||||
</tr>
|
||||
[END userrow]
|
||||
[END table]
|
||||
</table>
|
||||
|
||||
</form>
|
||||
36
tpl/userclassview.tpl
Normal file
36
tpl/userclassview.tpl
Normal file
@@ -0,0 +1,36 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclass}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="userclassedit.php?userclass_id={userclass_id}"><img src="images/edit.gif" border="0" title="{lang_userclass_edit}"></a>
|
||||
<a href="userclassdel.php?userclass_id={userclass_id}"><img src="images/del.gif" border="0" title="{lang_userclass_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclass_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{userclass_name}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS user]
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_users}:</b>
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK userrow]
|
||||
<a href="userview.php?user_id={user_id}">{user_displayname}</a><br>
|
||||
[END userrow]
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
</table>
|
||||
28
tpl/userdel.tpl
Normal file
28
tpl/userdel.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="user">
|
||||
<input type="hidden" name="user_id" value="{user_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_user_del}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_user_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{user_name}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,9 +1,27 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="user">
|
||||
<input type="hidden" name="user_id" value="{user_id}">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_user_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_options_settings_edit}:</b><br>
|
||||
<td>
|
||||
{lang_user_name}:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="user_name" value="{user_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -19,12 +37,7 @@
|
||||
{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>
|
||||
<input type="text" name="user_mac" value="{user_mac}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -32,15 +45,28 @@
|
||||
{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}">
|
||||
<input type="text" name="user_lang" value="{user_lang}" size="2">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
[BLOCK table AS userclass]
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclasses}</b>:
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK userclassrow]
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" name="userclass_id[]" value="{userclass_id}" {checked}>{userclass_name}
|
||||
</td>
|
||||
</tr>
|
||||
[END userclassrow]
|
||||
[END table]
|
||||
</table>
|
||||
|
||||
</form>
|
||||
60
tpl/userview.tpl
Normal file
60
tpl/userview.tpl
Normal file
@@ -0,0 +1,60 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_user}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="useredit.php?user_id={user_id}"><img src="images/edit.gif" border="0" title="{lang_user_edit}"></a>
|
||||
<a href="userdel.php?user_id={user_id}"><img src="images/del.gif" border="0" title="{lang_user_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_user_name}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{user_name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_user_displayname}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{user_displayname}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_mac}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{user_mac}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_language}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{user_lang}
|
||||
</td>
|
||||
</tr>
|
||||
[BLOCK table AS userclass]
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_userclasses}:</b>
|
||||
</td>
|
||||
<td>
|
||||
[BLOCK userclassrow]
|
||||
<a href="userclassview.php?userclass_id={userclass_id}">{userclass_name}</a><br>
|
||||
[END userclassrow]
|
||||
</td>
|
||||
</tr>
|
||||
[END table]
|
||||
</table>
|
||||
12
tpl/vlan.tpl
12
tpl/vlan.tpl
@@ -1,10 +1,16 @@
|
||||
[BLOCK table AS vlan]
|
||||
<table border="0">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan}:</b><br>
|
||||
<b>{lang_vlan}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="vlanadd.php"><img src="images/add.gif" border="0" title="{lang_vlan_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
[BLOCK table AS vlan]
|
||||
<table border="0">
|
||||
[BLOCK vlanrow]
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="vlan">
|
||||
<table border="0">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>{lang_vlan_add}:</b><br>
|
||||
<td>
|
||||
<b>{lang_vlan_add}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan_name}:
|
||||
@@ -22,10 +31,6 @@
|
||||
<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>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_del}</b><br>
|
||||
<b>{lang_vlan_del}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/check.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_name}:</b>
|
||||
@@ -17,13 +26,4 @@
|
||||
</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>
|
||||
@@ -1,12 +1,21 @@
|
||||
<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">
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<b>{lang_vlan_edit}:</b><br>
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/save.gif" title="{lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
{lang_vlan_name}:
|
||||
@@ -31,10 +40,5 @@
|
||||
<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>
|
||||
@@ -1,3 +1,17 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan}:</b>
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="vlanedit.php?vlan_id={vlan_id}"><img src="images/edit.gif" border="0" title="{lang_vlan_edit}"></a>
|
||||
<a href="vlandel.php?vlan_id={vlan_id}"><img src="images/del.gif" border="0" title="{lang_vlan_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td>
|
||||
@@ -15,14 +29,6 @@
|
||||
{vlan_number}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_vlan_info}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{vlan_info}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b>{lang_subnets}:</b>
|
||||
@@ -35,30 +41,12 @@
|
||||
</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>
|
||||
<b>{lang_vlan_info}:</b>
|
||||
</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>
|
||||
{vlan_info}
|
||||
</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]
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user