Changed database access to PDO using prepared statements
This commit is contained in:
296
tpl/about.tpl
296
tpl/about.tpl
@@ -1,148 +1,148 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_about}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_ipreg} {$config_version}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_projectpage}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="https://git.piratenpartei-sh.de/thooge/ipreg">https://git.piratenpartei-sh.de/thooge/ipreg</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_sfprojectpage}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="http://sourceforge.net/projects/ipreg">http://sourceforge.net/projects/ipreg</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_license}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="gpl-3.0.txt">{$lang_about_gpl}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_smarty}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="http://www.smarty.net/">http://www.smarty.net</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_iconset}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_about_ipreg_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_license_ext}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_about_changelog}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v08}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v08_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v07}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v07_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v06}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v06_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v05}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v05_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v04}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v04_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v03}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v03_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v02}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v02_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v01}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v01_ext}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_about}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_ipreg} {$config_version}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_projectpage}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="https://git.piratenpartei-sh.de/thooge/ipreg">https://git.piratenpartei-sh.de/thooge/ipreg</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_sfprojectpage}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="http://sourceforge.net/projects/ipreg">http://sourceforge.net/projects/ipreg</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_license}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="gpl-3.0.txt">{$lang_about_gpl}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_smarty}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="http://www.smarty.net/">http://www.smarty.net</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_iconset}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_about_ipreg_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_license_ext}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_about_changelog}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v08}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v08_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v07}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v07_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v06}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v06_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v05}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v05_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v04}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v04_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v03}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v03_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v02}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v02_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v01}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v01_ext}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assets} ({$assets|@count})
|
||||
{$lang_assets} ({$assets|@count} / {$assetcount})
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetadd.php"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
|
||||
@@ -34,7 +34,7 @@
|
||||
{foreach item=asset from=$assets}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="assetview.php?asset.id={$asset.asset_id}">{$asset.asset_name}</a>
|
||||
<a href="assetview.php?asset_id={$asset.asset_id}">{$asset.asset_name}</a>
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassview.php?assetclass_id={$asset.assetclass_id}">{$asset.assetclass_name}</a>
|
||||
|
||||
140
tpl/assetadd.tpl
140
tpl/assetadd.tpl
@@ -1,70 +1,70 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="asset">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_hostname">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="asset_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclass_id options=$assetclass_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="asset">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_hostname">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="asset_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclass_id options=$assetclass_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assetclass">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclass_name">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assetclass">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclass_name">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="assetclass">
|
||||
<input type="hidden" name="assetclass_id" value="{$assetclass_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_assetclass_del}" {if $suser_tooltips}title="{$lang_assetclass_del}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassview.php?assetclass_id={$assetclass_id}">{$assetclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="assetclass">
|
||||
<input type="hidden" name="assetclass_id" value="{$assetclass->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_assetclass_del}" {if $suser_tooltips}title="{$lang_assetclass_del}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassview.php?assetclass_id={$assetclass->id}">{$assetclass->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,55 +1,55 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="assetclass">
|
||||
<input type="hidden" name="assetclass_id" value="{$assetclass_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclass_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclass_name" value="{$assetclass_name}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options selected=$assetclassgroup_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="assetclass">
|
||||
<input type="hidden" name="assetclass_id" value="{$assetclass->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclass->name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclass_name" value="{$assetclass->name}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options selected=$assetclassgroup_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assetclassgroup">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclassgroup_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_color}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclassgroup_color">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assetclassgroup">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclassgroup_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_color}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclassgroup_color">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -1,38 +1,38 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="assetclassgroup">
|
||||
<input type="hidden" name="assetclassgroup_id" value="{$assetclassgroup_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclassgroup_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup_id}">{$assetclassgroup_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="assetclassgroup">
|
||||
<input type="hidden" name="assetclassgroup_id" value="{$assetclassgroup->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclassgroup->name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup->id}">{$assetclassgroup->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="assetclassgroup">
|
||||
<input type="hidden" name="assetclassgroup_id" value="{$assetclassgroup_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclassgroup_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclassgroup_name" value="{$assetclassgroup_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_color}
|
||||
</td>
|
||||
<td class="value">
|
||||
#<input type="text" {literal}class="color {pickerPosition:'right'}"{/literal} name="assetclassgroup_color" size="6" maxlength="6" value="{$assetclassgroup_color}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="assetclassgroup">
|
||||
<input type="hidden" name="assetclassgroup_id" value="{$assetclassgroup->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclassgroup->name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="assetclassgroup_name" value="{$assetclassgroup->name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_color}
|
||||
</td>
|
||||
<td class="value">
|
||||
#<input type="text" {literal}class="color {pickerPosition:'right'}"{/literal} name="assetclassgroup_color" size="6" maxlength="6" value="{$assetclassgroup->color}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,60 +1,61 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclassgroup_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetclassgroupadd.php?assetclassgroup_id={$assetclassgroup_id}"><img src="image.php?icon=add" alt="{$lang_assetclassgroup_add}" {if $suser_tooltips}title="{$lang_assetclassgroup_add}" {/if}/></a>
|
||||
<a href="assetclassgroupedit.php?assetclassgroup_id={$assetclassgroup_id}"><img src="image.php?icon=edit" alt="{$lang_assetclassgroup_edit}" {if $suser_tooltips}title="{$lang_assetclassgroup_edit}" {/if}/></a>
|
||||
<a href="assetclassgroupdel.php?assetclassgroup_id={$assetclassgroup_id}"><img src="image.php?icon=delete" alt="{$lang_assetclassgroup_del}" {if $suser_tooltips}title="{$lang_assetclassgroup_del}" {/if}/></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup_id}">{$assetclassgroup_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_color}
|
||||
</td>
|
||||
<td class="value">
|
||||
<img src="image.php?color={$assetclassgroup_color}" alt="{$assetclassgroup_color}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclasses} ({$assetclasses|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=assetclass from=$assetclasses}
|
||||
<a href="assetclassview.php?assetclass_id={$assetclass.assetclass_id}">{$assetclass.assetclass_name}</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$assetclassgroup_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetclassgroupadd.php?assetclassgroup_id={$assetclassgroup->id}"><img src="image.php?icon=add" alt="{$lang_assetclassgroup_add}" {if $suser_tooltips}title="{$lang_assetclassgroup_add}" {/if}/></a>
|
||||
<a href="assetclassgroupedit.php?assetclassgroup_id={$assetclassgroup->id}"><img src="image.php?icon=edit" alt="{$lang_assetclassgroup_edit}" {if $suser_tooltips}title="{$lang_assetclassgroup_edit}" {/if}/></a>
|
||||
<a href="assetclassgroupdel.php?assetclassgroup_id={$assetclassgroup->id}"><img src="image.php?icon=delete" alt="{$lang_assetclassgroup_del}" {if $suser_tooltips}title="{$lang_assetclassgroup_del}" {/if}/></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclassgroup}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup->id}">{$assetclassgroup->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_color}
|
||||
</td>
|
||||
<td class="value">
|
||||
<img src="image.php?color={$assetclassgroup->color}" alt="{$assetclassgroup->color}">
|
||||
#{$assetclassgroup->color}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclasses} ({$assetclasses|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=assetclass from=$assetclasses}
|
||||
<a href="assetclassview.php?assetclass_id={$assetclass.assetclass_id}">{$assetclass.assetclass_name}</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
{$assetclass_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assetadd.php?assetclass_id={$assetclass_id}"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
|
||||
<a href="assetclassedit.php?assetclass_id={$assetclass_id}"><img src="image.php?icon=edit" alt="{$lang_assetclass_edit}" {if $suser_tooltips}title="{$lang_asset_edit}" {/if}/></a>
|
||||
<a href="assetclassdel.php?assetclass_id={$assetclass_id}"><img src="image.php?icon=delete" alt="{$lang_assetclass_add}" {if $suser_tooltips}title="{$lang_asset_delete}" {/if}/></a>
|
||||
<a href="assetadd.php?assetclass_id={$assetclass->assetclass_id}"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
|
||||
<a href="assetclassedit.php?assetclass_id={$assetclass->assetclass_id}"><img src="image.php?icon=edit" alt="{$lang_assetclass_edit}" {if $suser_tooltips}title="{$lang_asset_edit}" {/if}/></a>
|
||||
<a href="assetclassdel.php?assetclass_id={$assetclass->assetclass_id}"><img src="image.php?icon=delete" alt="{$lang_assetclass_add}" {if $suser_tooltips}title="{$lang_asset_delete}" {/if}/></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -25,7 +25,7 @@
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassview.php?assetclass_id={$assetclass_id}">{$assetclass_name}</a>
|
||||
<a href="assetclassview.php?assetclass_id={$assetclass->assetclass_id}">{$assetclass->assetclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -44,8 +44,8 @@
|
||||
{$lang_assetclassgroup_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<img src="image.php?color={$assetclassgroup_color}" alt="#{$assetclassgroup_color}">
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup_id}">{$assetclassgroup_name}</a><br>
|
||||
<img src="image.php?color={$assetclass->assetclassgroup_color}" alt="#{$assetclass->assetclassgroup_color}">
|
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclass->assetclassgroup_id}">{$assetclass->assetclassgroup_name}</a><br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
116
tpl/assetdel.tpl
116
tpl/assetdel.tpl
@@ -1,58 +1,58 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="asset">
|
||||
<input type="hidden" name="asset_id" value="{$asset_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $nodes|@count}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img src="image.php?icon=error" alt="{$lang_warning}">
|
||||
</td>
|
||||
<td class="header_right">
|
||||
{$lang_comments_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=node from=$nodes}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="asset">
|
||||
<input type="hidden" name="asset_id" value="{$asset_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
|
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $nodes|@count}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img src="image.php?icon=error" alt="{$lang_warning}">
|
||||
</td>
|
||||
<td class="header_right">
|
||||
{$lang_comments_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=node from=$nodes}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
@@ -1,72 +1,72 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="asset">
|
||||
<input type="hidden" name="asset_id" value="{$asset.asset_id}">
|
||||
<input type="hidden" name="assetclass_id" value="{$asset.assetclass_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$asset_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_name" value="{$asset.asset_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_hostname" value="{$asset.asset_hostname}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="asset_info" cols="30" rows="10">{$asset.asset_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclass_id options=$assetclass_options selected=$asset.assetclass_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="asset">
|
||||
<input type="hidden" name="asset_id" value="{$asset->asset_id}">
|
||||
<input type="hidden" name="assetclass_id" value="{$asset->assetclass_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$asset_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_name" value="{$asset->asset_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_hostname" value="{$asset->asset_hostname}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="asset_info" cols="30" rows="10">{$asset->asset_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclass_id options=$assetclass_options selected=$asset->assetclass_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,89 +1,89 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$asset_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assignnodetoasset.php?asset_id={$asset_id}"><img src="image.php?icon=add" alt="{$lang_assignnodetoasset}"></a>
|
||||
<a href="assetedit.php?asset_id={$asset_id}"><img src="image.php?icon=edit" alt="{$lang_asset_edit}"></a>
|
||||
<a href="assetdel.php?asset_id={$asset_id}"><img src="image.php?icon=delete" alt="{$lang_asset_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$asset_hostname}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$asset_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassview.php?assetclass_id={$assetclass_id}">{$assetclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nodes}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
<a href="assignnodetoasset.php?asset_id={$asset_id}"><img src="image.php?icon=edit" alt="{$lang_assignnodetoasset}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_nodes} ({$nodes|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=node from=$nodes}
|
||||
<a href="nodeview.php?node_id={$node.node_id}">{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</a>
|
||||
{if $node.node_info}{$node.node_info}{/if}<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$asset_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assignnodetoasset.php?asset_id={$asset->asset_id}"><img src="image.php?icon=add" alt="{$lang_assignnodetoasset}"></a>
|
||||
<a href="assetedit.php?asset_id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_asset_edit}"></a>
|
||||
<a href="assetdel.php?asset_id={$asset->asset_id}"><img src="image.php?icon=delete" alt="{$lang_asset_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetview.php?asset_id={$asset->asset_id}">{$asset->asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$asset->asset_hostname}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$asset->asset_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetclassview.php?assetclass_id={$asset->assetclass_id}">{$asset->assetclass_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nodes}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
<a href="assignnodetoasset.php?asset_id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_assignnodetoasset}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_nodes} ({$nodes|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=node from=$nodes}
|
||||
<a href="nodeview.php?node_id={$node.node_id}">{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</a>
|
||||
{if $node.node_info}{$node.node_info}{/if}<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,63 +1,63 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="assigniptonode">
|
||||
<input type="hidden" name="node_ip" value="{$node_ip}">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assigniptonode}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node_ip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}&page={$node_ip}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="assignnodetoasset" checked> {$lang_assignnodetoasset_existing}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="nodeadd"> {$lang_assignnodetoasset_new}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="assigniptonode">
|
||||
<input type="hidden" name="node_ip" value="{$node_ip}">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assigniptonode}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node_ip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}&page={$node_ip}">{$subnet->address}/{$subnet->mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="assignnodetoasset" checked> {$lang_assignnodetoasset_existing}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="nodeadd"> {$lang_assignnodetoasset_new}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,105 +1,105 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assignnodetoasset">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assignnodetoasset}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_ip" value="{$node_ip}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_mac}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_mac">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns1}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns2}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns2">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_node_info}
|
||||
</td>
|
||||
<td label="value">
|
||||
<textarea name="node_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td label="value">
|
||||
{html_options name=asset_id options=$asset_options selected=$asset_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="assignnodetoasset">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assignnodetoasset}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_ip" value="{$node_ip}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_mac}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_mac">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns1}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns2}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns2">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_node_info}
|
||||
</td>
|
||||
<td label="value">
|
||||
<textarea name="node_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td label="value">
|
||||
{html_options name=asset_id options=$asset_options selected=$asset_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_comments}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_comments}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
{$comments}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_comments}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_comments}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
{$comments}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<table class="footer">
|
||||
<tr>
|
||||
<td align="center">
|
||||
IP Reg {$config_version}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
<table class="footer">
|
||||
<tr>
|
||||
<td align="center">
|
||||
IP Reg {$config_version}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
122
tpl/index.tpl
122
tpl/index.tpl
@@ -1,61 +1,61 @@
|
||||
|
||||
<p></p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_statistics}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assets}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="asset.php">{$asset_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_locations}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="location.php">{$location_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_nodes}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="node.php">{$node_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnets}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnet.php">{$subnet_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlans}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlan.php">{$vlan_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_zones}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="zone.php">{$zone_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p></p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_statistics}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assets}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="asset.php">{$asset_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_locations}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="location.php">{$location_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_nodes}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="node.php">{$node_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnets}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnet.php">{$subnet_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlans}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlan.php">{$vlan_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_zones}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="zone.php">{$zone_counter}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,63 +1,63 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="location">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$lang_location_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="location_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="location_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_parent}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=location_parent options=$location_options selected=$location_parent}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="location">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$lang_location_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="location_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="location_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_parent}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=location_parent options=$location_options selected=$location_parent}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="location">
|
||||
<input type="hidden" name="location_id" value="{$location_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$location_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/building_delete.png" alt="{$lang_location_del}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="location">
|
||||
<input type="hidden" name="location_id" value="{$location->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$location_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/building_delete.png" alt="{$lang_location_del}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location->id}">{$location->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,64 +1,64 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="location">
|
||||
<input type="hidden" name="location_id" value="{$location_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$location_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="location_name" value="{$location_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="location_info" cols="30" rows="10">{$location_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_parent}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_parent}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=parentlocation_id options=$location_options selected=$location_parent}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="location">
|
||||
<input type="hidden" name="location_id" value="{$location->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$location_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="location_name" value="{$location->name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="location_info" cols="30" rows="10">{$location->info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_parent}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_parent}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=parentlocation_id options=$location_options selected=$location->parent}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="locationsubnet">
|
||||
<input type="hidden" name="location_id" value="{$location_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locationsubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="locationsubnet">
|
||||
<input type="hidden" name="location_id" value="{$location->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locationsubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location->id}">{$location->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="locationsubnet">
|
||||
<input type="hidden" name="location_id" value="{$location_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{lang_locationsubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="locationsubnet">
|
||||
<input type="hidden" name="location_id" value="{$location_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{lang_locationsubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="locationsubnet">
|
||||
<input type="hidden" name="location_id" value="{$location_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locationsubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="locationsubnetadd" checked> {$lang_subnet_add}<br>
|
||||
<input type="radio" name="action" value="locationsubnetdel"> {$lang_subnet_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="locationsubnet">
|
||||
<input type="hidden" name="location_id" value="{$location_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locationsubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="locationsubnetadd" checked> {$lang_subnet_add}<br>
|
||||
<input type="radio" name="action" value="locationsubnetdel"> {$lang_subnet_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,88 +1,88 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$location_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="locationadd.php?location_parent={$location_id}"><img src="images/building_add.png" alt="{$lang_sublocation_add}"></a>
|
||||
<a href="locationedit.php?location_id={$location_id}"><img src="images/building_edit.png" alt="{$lang_location_edit}"></a>
|
||||
<a href="locationdel.php?location_id={$location_id}"><img src="images/building_delete.png" alt="{$lang_location_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<ol id="breadcrumbs">
|
||||
{foreach item=breadcrumb from=$crumbs name=breadcrumbs}
|
||||
<li{if $smarty.foreach.breadcrumbs.first} class="first"{/if}><a href="{$breadcrumb.url}">{$breadcrumb.name}</a></li>
|
||||
{/foreach}
|
||||
</ol>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$location_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_sublocation}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_sublocations} ({$sublocations|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=sublocation from=$sublocations}
|
||||
<a href="locationview.php?location_id={$sublocation.sublocation_id}">{$sublocation.sublocation_name}</a>
|
||||
{$sublocation.info_short}{if $sublocation.info_length>40}…{/if}
|
||||
<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
<a href="locationsubnetedit.php?location_id={$location_id}"><img src="image.php?icon=edit" alt="{$lang_locationsubnet_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnets} ({$subnets|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=subnet from=$subnets}
|
||||
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/building.png" alt="" />
|
||||
{$location_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="locationadd.php?location_parent={$location->id}"><img src="images/building_add.png" alt="{$lang_sublocation_add}"></a>
|
||||
<a href="locationedit.php?location_id={$location->id}"><img src="images/building_edit.png" alt="{$lang_location_edit}"></a>
|
||||
<a href="locationdel.php?location_id={$location->id}"><img src="images/building_delete.png" alt="{$lang_location_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<ol id="breadcrumbs">
|
||||
{foreach item=breadcrumb from=$crumbs name=breadcrumbs}
|
||||
<li{if $smarty.foreach.breadcrumbs.first} class="first"{/if}><a href="{$breadcrumb->url}">{$breadcrumb->name}</a></li>
|
||||
{/foreach}
|
||||
</ol>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$location_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_sublocation}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_sublocations} ({$sublocations|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=sublocation from=$sublocations}
|
||||
<a href="locationview.php?location_id={$sublocation.sublocation_id}">{$sublocation.sublocation_name}</a>
|
||||
{$sublocation.info_short}{if $sublocation.info_length>40}…{/if}
|
||||
<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
<a href="locationsubnetedit.php?location_id={$location_id}"><img src="image.php?icon=edit" alt="{$lang_locationsubnet_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnets} ({$subnets|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=subnet from=$subnets}
|
||||
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
136
tpl/login.tpl
136
tpl/login.tpl
@@ -1,68 +1,68 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>{$lang_ipreg}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<link rel="stylesheet" href="tpl/style.css" type="text/css">
|
||||
<link rel="shortcut icon" href="images/shield.ico">
|
||||
</head>
|
||||
|
||||
<body onload="document.login.user_name.focus();">
|
||||
|
||||
<table class="menu">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="header">
|
||||
<tr>
|
||||
<td>
|
||||
{$lang_ipreg}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<form name="login" method="POST" action="login.php">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_ipreg} {$config_version}
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_login}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_name" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_password}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_pass" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>{$lang_ipreg}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<link rel="stylesheet" href="tpl/style.css" type="text/css">
|
||||
<link rel="shortcut icon" href="images/shield.ico">
|
||||
</head>
|
||||
|
||||
<body onload="document.login.user_name.focus();">
|
||||
|
||||
<table class="menu">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="header">
|
||||
<tr>
|
||||
<td>
|
||||
{$lang_ipreg}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<form name="login" method="POST" action="login.php">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_ipreg} {$config_version}
|
||||
</td>
|
||||
<td align="right">
|
||||
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_login}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_name" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_password}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_pass" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
122
tpl/natadd.tpl
122
tpl/natadd.tpl
@@ -1,61 +1,61 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="nat">
|
||||
<input type="hidden" name="node_id_ext" value="{$node_id_ext}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node_id_ext}">{$node_ip_ext}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=node_id_int options=$node_options}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_nat_type}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=nat_type options=$nat_type_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="nat">
|
||||
<input type="hidden" name="node_id_ext" value="{$node_id_ext}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node_id_ext}">{$node_ip_ext}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=node_id_int options=$node_options}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_nat_type}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=nat_type options=$nat_type_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="nat">
|
||||
<input type="hidden" name="node_id_ext" value="{$node_id_ext}">
|
||||
<input type="hidden" name="node_id_ext" value="{$node->id_ext}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
@@ -10,7 +10,7 @@
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
{if $nat_options}
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -30,7 +30,7 @@
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node_id_ext}">{$node_ip_ext}</a>
|
||||
<a href="nodeview.php?node_id={$node->id_ext}">{$node->ip_ext}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -50,7 +50,7 @@
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=nat_ext options=$nat_options}
|
||||
{html_options name=nat_id options=$nat_options}
|
||||
</td>
|
||||
{else}
|
||||
<td colspan="2">
|
||||
|
||||
104
tpl/natedit.tpl
104
tpl/natedit.tpl
@@ -1,52 +1,52 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="nat">
|
||||
<input type="hidden" name="node_id" value="{$node_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node_id}">{$node_ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="natadd" checked> {$lang_nat_add}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="natdel"> {$lang_nat_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="nat">
|
||||
<input type="hidden" name="node_id" value="{$node->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node->id}">{$node->ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="natadd" checked> {$lang_nat_add}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="natdel"> {$lang_nat_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -2,14 +2,13 @@
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$lang_nodes} ({$nodes|@count})
|
||||
{$lang_nodes} {if $subnet_id}in {$subnet}{/if} ({$nodes|@count})
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="nodeadd.php?subnet_id={$subnet_id}"><img src="image.php?icon=add" alt="{$lang_node_add}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
|
||||
266
tpl/nodeadd.tpl
266
tpl/nodeadd.tpl
@@ -1,133 +1,133 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="node">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$lang_node_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_ip" value="{$node_ip}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_mac}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_mac">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns1}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_dns1"> <input type="checkbox" name="node_dns1suffix" checked>{$user_dns1suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns2}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_dns2"> <input type="checkbox" name="dns2suffix" checked>{$user_dns2suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_node_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="node_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_hostname">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclass_id options=$assetclass_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="node">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$lang_node_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_ip" value="{$node_ip}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_mac}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_mac">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns1}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_dns1"> <input type="checkbox" name="node_dns1suffix" checked>{$user_dns1suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns2}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="node_dns2"> <input type="checkbox" name="dns2suffix" checked>{$user_dns2suffix}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_node_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="node_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_hostname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="asset_hostname">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclass}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_assetclass_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=assetclass_id options=$assetclass_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,38 +1,38 @@
|
||||
<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 class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$node_ip}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node_id}">{$node_ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<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="{$node->asset_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$node->ip}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node->id}">{$node->ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
252
tpl/nodeedit.tpl
252
tpl/nodeedit.tpl
@@ -1,126 +1,126 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="node">
|
||||
<input type="hidden" name="node_id" value="{$node_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$node_ip}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_ip" value="{$node_ip}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_mac}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_mac" value="{$node_mac}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns1}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns1" value="{$node_dns1}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns2}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns2" value="{$node_dns2}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_node_info}
|
||||
</td>
|
||||
<td label="value">
|
||||
<textarea name="node_info">{$node_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td label="value">
|
||||
{html_options name=asset_id options=$asset_options selected=$asset_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=zone_id options=$zone_options selected=$zone_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="node">
|
||||
<input type="hidden" name="node_id" value="{$node->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$node_ip}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_node}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_ip" value="{$node->ip}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_mac}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_mac" value="{$node->mac}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns1}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns1" value="{$node->dns1}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_dns2}
|
||||
</td>
|
||||
<td label="value">
|
||||
<input type="text" name="node_dns2" value="{$node->dns2}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_node_info}
|
||||
</td>
|
||||
<td label="value">
|
||||
<textarea name="node_info">{$node->info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_asset}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td label="value">
|
||||
{html_options name=asset_id options=$asset_options selected=$node->asset_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options selected=$node->subnet_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=zone_id options=$zone_options selected=$node->zone_id}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/network-ethernet.png" alt="" />
|
||||
{$node_ip}
|
||||
{$node->ip}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="nodeedit.php?node_id={$node.node_id}"><img src="image.php?icon=edit" alt="{$lang_node_edit}"></a>
|
||||
<a href="nodedel.php?node_id={$node.node_id}"><img src="image.php?icon=delete" alt="{$lang_node_del}"></a>
|
||||
<a href="nodeedit.php?node_id={$node->id}"><img src="image.php?icon=edit" alt="{$lang_node_edit}"></a>
|
||||
<a href="nodedel.php?node_id={$node->id}"><img src="image.php?icon=delete" alt="{$lang_node_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -25,7 +25,7 @@
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a>
|
||||
<a href="nodeview.php?node_id={$node->id}">{$node->ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -33,7 +33,7 @@
|
||||
{$lang_proto_vers}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node.node_type}
|
||||
{$node->type}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -41,7 +41,7 @@
|
||||
{$lang_mac}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node.node_mac}
|
||||
{$node->mac}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -49,7 +49,7 @@
|
||||
{$lang_dns1}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node.node_dns1}
|
||||
{$node->dns1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -57,7 +57,7 @@
|
||||
{$lang_dns2}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node.node_dns2}
|
||||
{$node->dns2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -65,7 +65,7 @@
|
||||
{$lang_node_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node.node_info}
|
||||
{$node->info}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -73,7 +73,7 @@
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$node.zone_origin}
|
||||
{$node->zone_origin}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -92,7 +92,7 @@
|
||||
{$lang_asset_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="assetview.php?asset_id={$node.asset_id}">{$node.asset_name}</a>
|
||||
<a href="assetview.php?asset_id={$node->asset_id}">{$node->asset_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -111,7 +111,7 @@
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$node.subnet_id}&page={$node.node_ip}">{$node.subnet_address}/{$node.subnet_mask}</a>
|
||||
<a href="subnetview.php?subnet_id={$node->subnet_id}&page={$node->ip}">{$node->subnet_address}/{$node->subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -122,7 +122,7 @@
|
||||
{$lang_nat}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
<a href="natedit.php?node_id={$node.node_id}"><img src="image.php?icon=edit" alt="{$lang_nat_edit}"></a>
|
||||
<a href="natedit.php?node_id={$node->id}"><img src="image.php?icon=edit" alt="{$lang_nat_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td align="right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options_ipreg}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="optionseditpassword.php">{$lang_options_password}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="optionseditdisplay.php">{$lang_options_display}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="user.php">{$lang_users}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td align="right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options_ipreg}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="optionseditpassword.php">{$lang_options_password}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="optionseditdisplay.php">{$lang_options_display}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="user.php">{$lang_users}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,110 +1,110 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="optionsdisplay">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options_display}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_language_help}">{$lang_user_language}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_language" value="{$user_language}" size="2">
|
||||
({$language})
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_imagesize_help}">{$lang_options_imagesize}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_imagesize" value="{$user_imagesize}" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_imagecount_help}">{$lang_options_imagecount}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_imagecount" value="{$user_imagecount}" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_mac_help}">{$lang_options_mac}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_mac" value="{$user_mac}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_dateformat_help}">{$lang_options_dateformat}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_dateformat" value="{$user_dateformat}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_dns1suffix_help}">{$lang_options_dns1suffix}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_dns1suffix" value="{$user_dns1suffix}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_dns2suffix_help}">{$lang_options_dns2suffix}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_dns2suffix" value="{$user_dns2suffix}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_menu_help}">{$lang_menu}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="checkbox" name="user_menu_assets" {$user_menu_assets_checked}>{$lang_assets}<br />
|
||||
<input type="checkbox" name="user_menu_assetclasses" {$user_menu_assetclasses_checked}>{$lang_assetclasses}<br />
|
||||
<input type="checkbox" name="user_menu_assetclassgroups" {$user_menu_assetclassgroups_checked}>{$lang_assetclassgroups}<br />
|
||||
<input type="checkbox" name="user_menu_locations" {$user_menu_locations_checked}>{$lang_locations}<br />
|
||||
<input type="checkbox" name="user_menu_nodes" {$user_menu_nodes_checked}>{$lang_nodes}<br />
|
||||
<input type="checkbox" name="user_menu_subnets" {$user_menu_subnets_checked}>{$lang_subnets}<br />
|
||||
<input type="checkbox" name="user_menu_users" {$user_menu_users_checked}>{$lang_users}<br />
|
||||
<input type="checkbox" name="user_menu_vlans" {$user_menu_vlans_checked}>{$lang_vlans}<br />
|
||||
<input type="checkbox" name="user_menu_zones" {$user_menu_zones_checked}>{$lang_zones}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_tooltips_help}">{$lang_tooltips}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="checkbox" name="user_tooltips" {$user_tooltips_checked}>{$lang_tooltips}<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="optionsdisplay">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options_display}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_language_help}">{$lang_user_language}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_language" value="{$user_language}" size="2">
|
||||
({$language})
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_imagesize_help}">{$lang_options_imagesize}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_imagesize" value="{$user_imagesize}" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_imagecount_help}">{$lang_options_imagecount}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_imagecount" value="{$user_imagecount}" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_mac_help}">{$lang_options_mac}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_mac" value="{$user_mac}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_dateformat_help}">{$lang_options_dateformat}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_dateformat" value="{$user_dateformat}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_dns1suffix_help}">{$lang_options_dns1suffix}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_dns1suffix" value="{$user_dns1suffix}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_dns2suffix_help}">{$lang_options_dns2suffix}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_dns2suffix" value="{$user_dns2suffix}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_menu_help}">{$lang_menu}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="checkbox" name="user_menu_assets" {$user_menu_assets_checked}>{$lang_assets}<br />
|
||||
<input type="checkbox" name="user_menu_assetclasses" {$user_menu_assetclasses_checked}>{$lang_assetclasses}<br />
|
||||
<input type="checkbox" name="user_menu_assetclassgroups" {$user_menu_assetclassgroups_checked}>{$lang_assetclassgroups}<br />
|
||||
<input type="checkbox" name="user_menu_locations" {$user_menu_locations_checked}>{$lang_locations}<br />
|
||||
<input type="checkbox" name="user_menu_nodes" {$user_menu_nodes_checked}>{$lang_nodes}<br />
|
||||
<input type="checkbox" name="user_menu_subnets" {$user_menu_subnets_checked}>{$lang_subnets}<br />
|
||||
<input type="checkbox" name="user_menu_users" {$user_menu_users_checked}>{$lang_users}<br />
|
||||
<input type="checkbox" name="user_menu_vlans" {$user_menu_vlans_checked}>{$lang_vlans}<br />
|
||||
<input type="checkbox" name="user_menu_zones" {$user_menu_zones_checked}>{$lang_zones}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_tooltips_help}">{$lang_tooltips}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="checkbox" name="user_tooltips" {$user_tooltips_checked}>{$lang_tooltips}<br>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,51 +1,51 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="optionspassword">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options_password}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_currentpassword_help}">{$lang_options_currentpassword}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_currentpass">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_newpassword1_help}">{$lang_options_newpassword1}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_newpass1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_newpassword2_help}">{$lang_options_newpassword2}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_newpass2">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="optionspassword">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_options_password}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_currentpassword_help}">{$lang_options_currentpassword}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_currentpass">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_newpassword1_help}">{$lang_options_newpassword1}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_newpass1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<span class="help" title="{$lang_options_newpassword2_help}">{$lang_options_newpassword2}</span>
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="password" name="user_newpass2">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
268
tpl/search.tpl
268
tpl/search.tpl
@@ -1,134 +1,134 @@
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_search} ({$search})
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $nosearch eq TRUE}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="value">
|
||||
<img src="image.php?icon=error" alt="{$lang_comments}"> {$lang_comments_search_nosearch}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{else}
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="value">
|
||||
{$lang_search_results_found} {$resultcounter}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $assets|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assets} ({$assets|@count})
|
||||
</td>
|
||||
<td class="header"></td>
|
||||
</tr>
|
||||
{foreach item=asset from=$assets}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="assetview.php?asset_id={$asset.id}">{$asset.name}</a>
|
||||
</td>
|
||||
<td class="value">
|
||||
{$asset.description}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $locations|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locations} ({$locations|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=location from=$locations}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location.id}">{$location.name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $nodes|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nodes} ({$nodes|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=node from=$nodes}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node.id}">{$node.ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $subnets|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnets} ({$subnets|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=subnet from=$subnets}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet.id}">{$subnet.address}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $vlans|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlans} ({$vlans|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=vlan from=$vlans}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $zones|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zones} ({$zones|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=zone from=$zones}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="zoneview.php?zone_id={$zone.id}">{$zone.origin}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_search} ({$search})
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $nosearch eq TRUE}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="value">
|
||||
<img src="image.php?icon=error" alt="{$lang_comments}"> {$lang_comments_search_nosearch}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{else}
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="value">
|
||||
{$lang_search_results_found} {$resultcounter}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $assets|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assets} ({$assets|@count})
|
||||
</td>
|
||||
<td class="header"></td>
|
||||
</tr>
|
||||
{foreach item=asset from=$assets}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="assetview.php?asset_id={$asset.id}">{$asset.name}</a>
|
||||
</td>
|
||||
<td class="value">
|
||||
{$asset.description}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $locations|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locations} ({$locations|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=location from=$locations}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="locationview.php?location_id={$location.id}">{$location.name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $nodes|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nodes} ({$nodes|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=node from=$nodes}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node.id}">{$node.ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $subnets|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnets} ({$subnets|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=subnet from=$subnets}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet.id}">{$subnet.address}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $vlans|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlans} ({$vlans|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=vlan from=$vlans}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $zones|@count > 0}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zones} ({$zones|@count})
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=zone from=$zones}
|
||||
<tr>
|
||||
<td class="value">
|
||||
<a href="zoneview.php?zone_id={$zone.id}">{$zone.origin}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
|
||||
@@ -1,79 +1,79 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="subnet">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_address">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_mask" size="2"> (8-30)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcp}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_dhcp_start"> -
|
||||
<input type="text" name="subnet_dhcp_end">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="subnet_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=vlan_id options=$vlan_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="subnet">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_address">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_mask" size="2"> (8-30)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcp}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_dhcp_start"> -
|
||||
<input type="text" name="subnet_dhcp_end">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="subnet_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=vlan_id options=$vlan_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="subnet">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $nodes}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header" colspan="2">
|
||||
<img src="image.php?icon=comment" alt="{$lang_comments}"> {$lang_comments_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=node from=$nodes}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="subnet">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet->id}">{$subnet->address}/{$subnet->mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $nodes}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header" colspan="2">
|
||||
<img src="image.php?icon=comment" alt="{$lang_comments}"> {$lang_comments_asset_del_nodes}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=node from=$nodes}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_ip}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,84 +1,84 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="subnet">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_edit}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_address" value="{$subnet_address}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_mask" size="2" value="{$subnet_mask}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_proto_vers}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_proto_vers" size="2" value="{$subnet_proto_vers}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcpstart}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_dhcpstart" size="15" value="{$subnet_dhcpstart}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcpend}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_dhcpend" size="15" value="{$subnet_dhcpend}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
NTP Server
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_ntp_server" size="45" value="{$subnet_ntp_server}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="subnet_info" cols="30" rows="10">{$subnet_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="subnet">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_edit}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_address" value="{$subnet_address}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_mask" size="2" value="{$subnet_mask}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_proto_vers}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_proto_vers" size="2" value="{$subnet_proto_vers}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcpstart}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_dhcpstart" size="15" value="{$subnet_dhcpstart}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcpend}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_dhcpend" size="15" value="{$subnet_dhcpend}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
NTP Server
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="subnet_ntp_server" size="45" value="{$subnet_ntp_server}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="subnet_info" cols="30" rows="10">{$subnet_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,55 +1,55 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="subnetlocation">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetlocation}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=location_id options=$location_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="subnetlocation">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetlocation}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=location_id options=$location_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,55 +1,55 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="subnetlocation">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetlocation}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
{$locations}
|
||||
{$locations2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=location_id options=$location_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="subnetlocation">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetlocation}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet->id}">{$subnet->address}/{$subnet->mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
{$locations}
|
||||
{$locations2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=location_id options=$location_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,56 +1,56 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="subnetlocation">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetlocation}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="subnetlocationadd" checked> {$lang_location_add}<br>
|
||||
<input type="radio" name="action" value="subnetlocationdel"> {$lang_location_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="subnetlocation">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetlocation}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_location}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="subnetlocationadd" checked> {$lang_location_add}<br>
|
||||
<input type="radio" name="action" value="subnetlocationdel"> {$lang_location_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,188 +1,188 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$subnet_address}/{$subnet_mask}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="subnetedit.php?subnet_id={$subnet_id}"><img src="image.php?icon=edit" alt="{$lang_subnet_edit}"></a>
|
||||
<a href="subnetdel.php?subnet_id={$subnet_id}"><img src="image.php?icon=delete" alt="{$lang_subnet_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header" align="right">
|
||||
{if $noselect eq TRUE}
|
||||
{$subnet_address}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label" colspan="2">
|
||||
{if $subnet_proto_vers eq 4}
|
||||
{foreach name=iptable item=adr from=$subnet}
|
||||
<a href="{$adr.url}" onMouseOver="changetext('remotetext','{$adr.remotetext}')" onMouseOut="changetext('remotetext',' ')"><img src="image.php?color={$adr.assetclassgroup_color}" alt="{$adr.remotetext}"></a>
|
||||
{if $smarty.foreach.iptable.iteration % $imagewrap eq 0}
|
||||
<br />
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
Für IPv6 steht keine Graphik zur Verfügung.
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet_proto_vers eq 4}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a id="remotetext"> </a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}
|
||||
</td>
|
||||
<td class="value">
|
||||
{if $subnet_proto_vers eq 4}
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}</a>
|
||||
{else}
|
||||
{$subnet_address} / {$subnet_mask}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_proto_vers}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet_proto_vers}
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet_proto_vers eq 4}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnetmask1}.{$subnetmask2}.{$subnetmask3}.{$subnetmask4}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $subnet_dhcpstart}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcp}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet_dhcpstart} - {$subnet_dhcpend}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_nodesinsubnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{if $subnet_proto_vers eq 4}
|
||||
<a href="node.php?subnet_id={$subnet_id}">{$node_counter}</a> / {$host_counter} ({$subnet_usedpercentage}%)
|
||||
{else}
|
||||
<a href="node.php?subnet_id={$subnet_id}">{$node_counter}</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet_ntp_server}
|
||||
<tr>
|
||||
<td class="label">
|
||||
NTP Server
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet_ntp_server}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclasses}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet_proto_vers eq 4}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<img src="image.php?color={$config_color_unused}" alt="{$lang_unassigned}"> {$lang_unassigned}
|
||||
</td>
|
||||
<td>
|
||||
{$free_counter}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{foreach item=assetclassgroup from=$assetclassgroups}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<img src="image.php?color={$assetclassgroup.color}" alt="{$assetclassgroup.name}"> <a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup.id}">{$assetclassgroup.name}</a>
|
||||
</td>
|
||||
<td>
|
||||
{$assetclassgroup.counter}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlans}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
<a href="subnetvlanedit.php?subnet_id={$subnet_id}"><img src="image.php?icon=edit" alt="{$lang_subnetvlan_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlans} ({$vlans|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=vlan from=$vlans}
|
||||
<a href="vlanview.php?vlan_id={$vlan.vlan_id}">{$vlan.vlan_name} ({$vlan.vlan_number})</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locations}
|
||||
</td>
|
||||
<td class="header" align="right">
|
||||
<a href="subnetlocationedit.php?subnet_id={$subnet_id}"><img src="image.php?icon=edit" alt="{$lang_location_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_locations} ({$locations|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=location from=$locations}
|
||||
<a href="locationview.php?location_id={$location.location_id}">{$location.location_name}</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$subnet->address}/{$subnet->mask}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="subnetedit.php?subnet_id={$subnet->id}"><img src="image.php?icon=edit" alt="{$lang_subnet_edit}"></a>
|
||||
<a href="subnetdel.php?subnet_id={$subnet->id}"><img src="image.php?icon=delete" alt="{$lang_subnet_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header" align="right">
|
||||
{if $noselect eq TRUE}
|
||||
{$subnet->address}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label" colspan="2">
|
||||
{if $subnet->proto_vers eq 4}
|
||||
{foreach name=iptable item=adr from=$subnetdata}
|
||||
<a href="{$adr.url}" onMouseOver="changetext('remotetext','{$adr.remotetext}')" onMouseOut="changetext('remotetext',' ')"><img src="image.php?color={$adr.assetclassgroup_color}" alt="{$adr.remotetext}"></a>
|
||||
{if $smarty.foreach.iptable.iteration % $imagewrap eq 0}
|
||||
<br />
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
Für IPv6 steht keine Graphik zur Verfügung.
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet->proto_vers eq 4}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<a id="remotetext"> </a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}
|
||||
</td>
|
||||
<td class="value">
|
||||
{if $subnet_proto_vers eq 4}
|
||||
<a href="subnetview.php?subnet_id={$subnet->id}">{$subnet->address}</a>
|
||||
{else}
|
||||
{$subnet->address} / {$subnet->mask}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_proto_vers}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet->proto_vers}
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet_proto_vers eq 4}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnetmask1}.{$subnetmask2}.{$subnetmask3}.{$subnetmask4}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $subnet->dhcp_start}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_dhcp}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet->dhcp_start} - {$subnet->dhcp_end}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_nodesinsubnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{if $subnet->proto_vers eq 4}
|
||||
<a href="node.php?subnet_id={$subnet->id}">{$node_counter}</a> / {$host_counter} ({$subnet_usedpercentage}%)
|
||||
{else}
|
||||
<a href="node.php?subnet_id={$subnet->id}">{$node_counter}</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet->ntp_server}
|
||||
<tr>
|
||||
<td class="label">
|
||||
NTP Server
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet->ntp_server}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$subnet->info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_assetclasses}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{if $subnet->proto_vers eq 4}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<img src="image.php?color={$config_color_unused}" alt="{$lang_unassigned}"> {$lang_unassigned}
|
||||
</td>
|
||||
<td>
|
||||
{$free_counter}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{foreach item=assetclassgroup from=$assetclassgroups}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<img src="image.php?color={$assetclassgroup.color}" alt="{$assetclassgroup.name}"> <a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup.id}">{$assetclassgroup.name}</a>
|
||||
</td>
|
||||
<td>
|
||||
{$assetclassgroup.counter}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlans}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
<a href="subnetvlanedit.php?subnet_id={$subnet->id}"><img src="image.php?icon=edit" alt="{$lang_subnetvlan_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlans} ({$vlans|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=vlan from=$vlans}
|
||||
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name} ({$vlan.number})</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_locations}
|
||||
</td>
|
||||
<td class="header" align="right">
|
||||
<a href="subnetlocationedit.php?subnet_id={$subnet->id}"><img src="image.php?icon=edit" alt="{$lang_location_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_locations} ({$locations|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=location from=$locations}
|
||||
<a href="locationview.php?location_id={$location.location_id}">{$location.location_name}</a><br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="subnetvlan">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetvlan}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=vlan_id options=$vlan_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="subnetvlan">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetvlan}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=vlan_id options=$vlan_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="subnetvlan">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetvlan}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=vlan_id options=$vlan_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="subnetvlan">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetvlan}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=vlan_id options=$vlan_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="subnetvlan">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetvlan}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="subnetvlanadd" checked> {$lang_vlan_add}<br>
|
||||
<input type="radio" name="action" value="subnetvlandel"> {$lang_vlan_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="subnetvlan">
|
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnetvlan}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="subnetview.php?subnet_id={$subnet_id}">{$subnet_address}/{$subnet_mask}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="subnetvlanadd" checked> {$lang_vlan_add}<br>
|
||||
<input type="radio" name="action" value="subnetvlandel"> {$lang_vlan_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
64
tpl/user.tpl
64
tpl/user.tpl
@@ -1,32 +1,32 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$lang_users} ({$users|@count})
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="useradd.php"><img src="images/user_add.png" alt="{$lang_user_add}" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=user from=$users}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="userview.php?user_id={$user.user_id}">{$user.user_name}</a>
|
||||
</td>
|
||||
<td class="value">
|
||||
{$user.user_displayname}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$lang_users} ({$users|@count})
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="useradd.php"><img src="images/user_add.png" alt="{$lang_user_add}" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=user from=$users}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="userview.php?user_id={$user.id}">{$user.name}</a>
|
||||
</td>
|
||||
<td class="value">
|
||||
{$user.displayname}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
102
tpl/useradd.tpl
102
tpl/useradd.tpl
@@ -1,51 +1,51 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="user">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$lang_user_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/user_add.png" alt="{$lang_submit}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_displayname">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_password}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_password">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="user">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$lang_user_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/user_add.png" alt="{$lang_submit}" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_displayname">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_password}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_password">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="user">
|
||||
<input type="hidden" name="user_id" value="{$user_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$lang_user_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/user_delete.png" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="userview.php?user_id={$user_id}">{$user_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="user">
|
||||
<input type="hidden" name="user_id" value="{$user->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$lang_user_del}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/user_delete.png" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="userview.php?user_id={$user->id}">{$user->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="user">
|
||||
<input type="hidden" name="user_id" value="{$user_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$user_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_name" value="{$user_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_displayname" value="{$user_displayname}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="user">
|
||||
<input type="hidden" name="user_id" value="{$user_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$user_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_name" value="{$user_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="user_displayname" value="{$user_displayname}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$user_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="useredit.php?user_id={$user_id}"><img src="images/user_edit.png" alt="{$lang_user_edit}"></a>
|
||||
<a href="userdel.php?user_id={$user_id}"><img src="images/user_delete.png" alt="{$lang_user_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="userview.php?user_id={$user_id}">{$user_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$user_displayname}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/user.png" alt="" />
|
||||
{$user_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="useredit.php?user_id={$user->id}"><img src="images/user_edit.png" alt="{$lang_user_edit}"></a>
|
||||
<a href="userdel.php?user_id={$user->id}"><img src="images/user_delete.png" alt="{$lang_user_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_user}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="userview.php?user_id={$user->id}">{$user->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_displayname}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$user->displayname}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
{foreach item=vlan from=$vlans}
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$vlan.vlan_number}
|
||||
{$vlan.number}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan.vlan_id}">{$vlan.vlan_name}</a>
|
||||
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name}</a>
|
||||
</td>
|
||||
<td>
|
||||
{$vlan.vlan_info}
|
||||
{$vlan.info}
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
|
||||
@@ -1,48 +1,48 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="vlan">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_number}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_number" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="vlan_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="vlan">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_number}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_number" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="vlan_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="vlan">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$vlan_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name} ({$vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="vlan">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$vlan_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan->id}">{$vlan->name} ({$vlan->number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
102
tpl/vlanedit.tpl
102
tpl/vlanedit.tpl
@@ -1,51 +1,51 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="vlan">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$vlan_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_name" value="{$vlan_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_number}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_number" size="3" value="{$vlan_number}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="vlan_info" cols="30" rows="10">{$vlan_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="vlan">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$vlan_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_name" value="{$vlan->name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_number}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="vlan_number" size="3" value="{$vlan->number}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="vlan_info" cols="30" rows="10">{$vlan->info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name} ({$vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name} ({$vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_add}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,53 +1,53 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name} ({$vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name} ({$vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet_del}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_options name=subnet_id options=$subnet_options}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,54 +1,54 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name} ({$vlan_number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="vlansubnetadd" checked> {$lang_subnet_add}<br>
|
||||
<input type="radio" name="action" value="vlansubnetdel"> {$lang_subnet_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="redirect" value="vlansubnet">
|
||||
<input type="hidden" name="vlan_id" value="{$vlan->id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlansubnet}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name} ({$lang_vlan_number})
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan->id}">{$vlan->name} ({$vlan->number})</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_options}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="radio" name="action" value="vlansubnetadd" checked> {$lang_subnet_add}<br>
|
||||
<input type="radio" name="action" value="vlansubnetdel"> {$lang_subnet_del}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
140
tpl/vlanview.tpl
140
tpl/vlanview.tpl
@@ -1,70 +1,70 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$vlan_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assignvlantosubnet.php?vlan_id={$vlan_id}"><img src="image.php?icon=add" alt="{$lang_assignvlantosubnet}"></a>
|
||||
<a href="vlanedit.php?vlan_id={$vlan_id}"><img src="image.php?icon=edit" alt="{$lang_vlan_edit}"></a>
|
||||
<a href="vlandel.php?vlan_id={$vlan_id}"><img src="image.php?icon=delete" alt="{$lang_vlan_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_number}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$vlan_number}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$vlan_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header" align="right">
|
||||
<a href="vlansubnetedit.php?vlan_id={$vlan_id}"><img src="image.php?icon=edit" alt="{$lang_subnetvlan_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnets} ({$subnets|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=subnet from=$subnets}
|
||||
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a>
|
||||
{$subnet.subnet_info}
|
||||
<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$vlan_name}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="assignvlantosubnet.php?vlan_id={$vlan->id}"><img src="image.php?icon=add" alt="{$lang_assignvlantosubnet}"></a>
|
||||
<a href="vlanedit.php?vlan_id={$vlan->id}"><img src="image.php?icon=edit" alt="{$lang_vlan_edit}"></a>
|
||||
<a href="vlandel.php?vlan_id={$vlan->id}"><img src="image.php?icon=delete" alt="{$lang_vlan_del}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_vlan}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_name}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="vlanview.php?vlan_id={$vlan->id}">{$vlan->name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_number}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$vlan->number}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_vlan_info}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$vlan->info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_subnet}
|
||||
</td>
|
||||
<td class="header" align="right">
|
||||
<a href="vlansubnetedit.php?vlan_id={$vlan->id}"><img src="image.php?icon=edit" alt="{$lang_subnetvlan_edit}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_subnets} ({$subnets|@count})
|
||||
</td>
|
||||
<td class="value">
|
||||
{foreach item=subnet from=$subnets}
|
||||
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a>
|
||||
{$subnet.subnet_info}
|
||||
<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -25,13 +25,13 @@
|
||||
{foreach item=zone from=$zones}
|
||||
<tr>
|
||||
<td class="label">
|
||||
<a href="zoneview.php?zone_id={$zone.zone_id}">{$zone.zone_origin}</a>
|
||||
<a href="zoneview.php?zone_id={$zone.id}">{$zone.origin}</a>
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_hostmaster}
|
||||
{$zone.hostmaster}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_serial}
|
||||
{$zone.serial}
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
|
||||
316
tpl/zoneadd.tpl
316
tpl/zoneadd.tpl
@@ -1,158 +1,158 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="zone">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_default_ttl" size="40" />
|
||||
(example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL Default
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_default_ttl" size="40" />
|
||||
(3D)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
SOA
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_soa" size="40" />
|
||||
(server.example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Hostmaster
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_hostmaster" size="40" />
|
||||
(hostmaster.example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Serial
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_serial" size="10" maxlength="10" />
|
||||
(jjjjmmttnn)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Refresh
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_refresh" size="6" maxlength="10" />
|
||||
(8H)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Retry
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_retry" size="6" maxlength="10" />
|
||||
(2H)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Expire
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_expire" size="6" maxlength="10" />
|
||||
(4W)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ttl" size="6" maxlength="10" />
|
||||
(1D)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns1" size="40" maxlength="40" />
|
||||
(ns1.example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns2" size="40" maxlength="40" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 3
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns3" size="40" maxlength="40" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx1" size="40" maxlength="40" />
|
||||
(50 mx.example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx2" size="40" maxlength="40" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Zone Info
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="zone_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="add" value="zone">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone_add}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_origin" size="40" />
|
||||
(example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL Default
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_default_ttl" size="40" />
|
||||
(3D)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
SOA
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_soa" size="40" />
|
||||
(server.example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Hostmaster
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_hostmaster" size="40" />
|
||||
(hostmaster@example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Serial
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_serial" size="10" maxlength="10" />
|
||||
(jjjjmmttnn)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Refresh
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_refresh" size="6" maxlength="10" />
|
||||
(8H)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Retry
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_retry" size="6" maxlength="10" />
|
||||
(2H)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Expire
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_expire" size="6" maxlength="10" />
|
||||
(4W)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ttl" size="6" maxlength="10" />
|
||||
(1D)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns1" size="40" maxlength="40" />
|
||||
(ns1.example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns2" size="40" maxlength="40" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 3
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns3" size="40" maxlength="40" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx1" size="40" maxlength="40" />
|
||||
(50 mx.example.com.)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx2" size="40" maxlength="40" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Zone Info
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="zone_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="zone">
|
||||
<input type="hidden" name="zone_id" value="{$zone.zone_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$zone_origin}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/table_delete.png" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="zoneview.php?zone_id={$zone.zone_id}">{$zone.zone_origin}</a>
|
||||
({$zone.zone_serial})
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="del" value="zone">
|
||||
<input type="hidden" name="zone_id" value="{$zone.zone_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$zone_origin}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="images/table_delete.png" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="zoneview.php?zone_id={$zone.zone_id}">{$zone.zone_origin}</a>
|
||||
({$zone.zone_serial})
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
296
tpl/zoneedit.tpl
296
tpl/zoneedit.tpl
@@ -1,148 +1,148 @@
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="zone">
|
||||
<input type="hidden" name="zone_id" value="{$zone.zone_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$zone_origin}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_origin" size="40" value="{$zone.zone_origin}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL Default
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ttl_default" size="40" value="{$zone.zone_ttl_default}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
SOA
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_soa" size="40" value="{$zone.zone_soa}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Hostmaster
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_hostmaster" size="40" value="{$zone.zone_hostmaster}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Serial
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_serial" size="10" maxlength="10" value="{$zone.zone_serial}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Refresh
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_refresh" size="6" maxlength="10" value="{$zone.zone_refresh}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Retry
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_retry" size="6" maxlength="10" value="{$zone.zone_retry}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Expire
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_expire" size="6" maxlength="10" value="{$zone.zone_expire}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ttl" size="6" maxlength="10" value="{$zone.zone_ttl}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns1" size="40" maxlength="40" value="{$zone.zone_ns1}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns2" size="40" maxlength="40" value="{$zone.zone_ns2}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 3
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns3" size="40" maxlength="40" value="{$zone.zone_ns3}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx1" size="40" maxlength="40" value="{$zone.zone_mx1}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx2" size="40" maxlength="40" value="{$zone.zone_mx2}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Zone Info
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="zone_info" cols="30" rows="10">{$zone.zone_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
<form method="POST" action="submit.php">
|
||||
<input type="hidden" name="edit" value="zone">
|
||||
<input type="hidden" name="zone_id" value="{$zone->zone_id}">
|
||||
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$zone_origin}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
|
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_origin" size="40" value="{$zone->zone_origin}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL Default
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ttl_default" size="40" value="{$zone->zone_ttl_default}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
SOA
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_soa" size="40" value="{$zone->zone_soa}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Hostmaster
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_hostmaster" size="40" value="{$zone->zone_hostmaster}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Serial
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_serial" size="10" maxlength="10" value="{$zone->zone_serial}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Refresh
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_refresh" size="6" maxlength="10" value="{$zone->zone_refresh}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Retry
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_retry" size="6" maxlength="10" value="{$zone->zone_retry}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Expire
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_expire" size="6" maxlength="10" value="{$zone->zone_expire}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ttl" size="6" maxlength="10" value="{$zone->zone_ttl}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns1" size="40" maxlength="40" value="{$zone->zone_ns1}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns2" size="40" maxlength="40" value="{$zone->zone_ns2}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 3
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_ns3" size="40" maxlength="40" value="{$zone->zone_ns3}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 1
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx1" size="40" maxlength="40" value="{$zone->zone_mx1}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 2
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" name="zone_mx2" size="40" maxlength="40" value="{$zone->zone_mx2}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Zone Info
|
||||
</td>
|
||||
<td class="value">
|
||||
<textarea name="zone_info" cols="30" rows="10">{$zone.zone_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
286
tpl/zoneview.tpl
286
tpl/zoneview.tpl
@@ -1,143 +1,143 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/table.png" alt="" />
|
||||
{$zone_origin}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="zoneedit.php?zone_id={$zone.zone_id}"><img src="images/table_edit.png" alt="{$lang_zone_edit}" /></a>
|
||||
<a href="zonedel.php?zone_id={$zone.zone_id}"><img src="images/table_delete.png" alt="{$lang_zone_del}" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_origin}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL Default
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_ttl_default}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
SOA
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_soa}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Hostmaster
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_hostmaster}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Serial
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_serial}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Refresh
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_refresh}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Retry
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_retry}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Expire
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_expire}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_ttl}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 1
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_ns1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 2
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_ns2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 3
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_ns3}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 1
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_mx1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 2
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_mx2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Zone Info
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone.zone_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/table.png" alt="" />
|
||||
{$zone_origin}
|
||||
</td>
|
||||
<td align="right">
|
||||
<a href="zoneedit.php?zone_id={$zone->zone_id}"><img src="images/table_edit.png" alt="{$lang_zone_edit}" /></a>
|
||||
<a href="zonedel.php?zone_id={$zone->zone_id}"><img src="images/table_delete.png" alt="{$lang_zone_del}" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_zone}
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Origin
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_origin}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL Default
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_ttl_default}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
SOA
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_soa}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Hostmaster
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_hostmaster}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Serial
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_serial}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Refresh
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_refresh}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Retry
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_retry}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Expire
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_expire}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
TTL
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_ttl}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 1
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_ns1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 2
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_ns2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Nameserver 3
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_ns3}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 1
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_mx1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Mail Exchange 2
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_mx2}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Zone Info
|
||||
</td>
|
||||
<td class="value">
|
||||
{$zone->zone_info}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user