Moved towards smarty templates, support php7, switched to mysqli,

finalized language support and fixed some more bugs
This commit is contained in:
2023-02-13 16:41:38 +01:00
parent 76ccecca7f
commit ee582988e6
192 changed files with 13558 additions and 13476 deletions

View File

@@ -1,118 +1,132 @@
<table class="title">
<tr>
<td class="header">
{lang_about}
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_ipreg} {config_version}
</td>
<td class="header_right">
&nbsp;
</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_yapter}
</td>
<td class="value">
<a href="http://yapter.sourceforge.net/">http://yapter.sourceforge.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">
&nbsp;
</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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,49 +1,53 @@
<table class="title">
<tr>
<td class="header">
{lang_assets} ({asset_counter})
</td>
<td align="right">
<a href="assetadd.php"><img src="image.php?icon=add" alt="{lang_asset_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK letter_table AS letter_table]
<table class="submenu">
<tr>
[BLOCK letter_row]
<td>
<a href="asset.php?asset_letter={asset_letter}">{asset_letter}</a>&nbsp;
</td>
[END letter_row]
</tr>
</table>
[END letter_table]
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
<tr>
<td class="header">
{lang_asset_name}
</td>
<td class="header">
{lang_assetclass_name}
</td>
</tr>
[BLOCK asset_row]
<tr>
<td class="label">
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
</td>
<td class="value">
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a>
</td>
</tr>
[END asset_row]
</table>
[END asset_table]
<table class="title">
<tr>
<td class="header">
{$lang_assets} ({$assets|@count})
</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>
</td>
</tr>
</table>
<table class="submenu initials">
<tr>
{foreach item=letter from=$alphabet}
<td>
<a href="asset.php?asset_letter={$letter.asset_letter}">{$letter.asset_letter}</a>&nbsp;
</td>
{/foreach}
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_asset_name}
</td>
<td class="header">
{$lang_assetclass_name}
</td>
<td class="header">
{$lang_asset_info}
</td>
</tr>
{foreach item=asset from=$assets}
<tr>
<td class="label">
<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>
</td>
<td class="value">
{$asset.asset_info}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="2">
{$lang_asset_none}
</td>
</tr>
{/foreach}
</table>

View File

@@ -1,80 +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}"></a>
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</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>
<p>
[BLOCK assetclass_table AS assetclass_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclass_name}
</td>
<td class="value">
<select name="assetclass_id">
[BLOCK assetclass_row]
<option value="{assetclass_id}" {assetclass_selected}>{assetclass_name}</option>
[END assetclass_row]
</select>
</td>
</tr>
</table>
[END assetclass_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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,35 +1,31 @@
<table class="title">
<tr>
<td class="header">
{lang_assetclasses} ({assetclass_counter})
</td>
<td align="right">
<a href="assetclassadd.php"><img src="image.php?icon=add" alt="{lang_assetclass_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK assetclass_table AS assetclass_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header">
{lang_assetclassgroup_name}
</td>
</tr>
[BLOCK assetclass_row]
<tr>
<td class="label">
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a>
</td>
<td class="value">
<a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a>
</td>
</tr>
[END assetclass_row]
</table>
[END assetclass_table]
<table class="title">
<tr>
<td class="header">
{$lang_assetclasses} ({$assetclasses|@count})
</td>
<td align="right">
<a href="assetclassadd.php"><img src="image.php?icon=add" alt="{$lang_assetclass_add}" {if $suser_tooltips}title="{$lang_assetclass_add}" {/if}/></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_assetclass}
</td>
<td class="header">
{$lang_assetclassgroup_name}
</td>
</tr>
{foreach item=assetclass from=$assetclasses}
<tr>
<td class="label">
<a href="assetclassview.php?assetclass_id={$assetclass.assetclass_id}">{$assetclass.assetclass_name}</a>
</td>
<td class="value">
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclass.assetclassgroup_id}">{$assetclass.assetclassgroup_name}</a>
</td>
</tr>
{/foreach}
</table>

View File

@@ -1,63 +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">
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclass_name}
</td>
<td class="value">
<input type="text" name="assetclass_name">
</td>
</tr>
</table>
<p>
[BLOCK assetclassgroup_table AS assetclassgroup_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclassgroup}
</td>
<td class="value">
<select name="assetclassgroup_id">
[BLOCK assetclassgroup_row]
<option value="{assetclassgroup_id}" {assetclassgroup_selected}>{assetclassgroup_name}</option>
[END assetclassgroup_row]
</select>
</td>
</tr>
</table>
[END assetclassgroup_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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_assetclassgroup}
</td>
<td class="value">
{html_options name=assetclassgroup_id options=$assetclassgroup_options}
</td>
</tr>
</table>
</form>

View File

@@ -1,38 +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}"></a>
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,69 +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}"></a>
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
[BLOCK assetclass_table AS assetclass_table]
<table class="info">
[BLOCK assetclass_row]
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclass_name}
</td>
<td class="value">
<input type="text" name="assetclass_name" value="{assetclass_name}">
</td>
</tr>
[END assetclass_row]
</table>
[END assetclass_table]
<p>
[BLOCK assetclassgroup_table AS assetclassgroup_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclassgroup}
</td>
<td class="value">
<select name="assetclassgroup_id">
[BLOCK assetclassgroup_row]
<option value="{assetclassgroup_id}" {assetclassgroup_selected}>{assetclassgroup_name}</option>
[END assetclassgroup_row]
</select>
</td>
</tr>
</table>
[END assetclassgroup_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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,29 +1,26 @@
<table class="title">
<tr>
<td class="header">
{lang_assetclassgroups} ({assetclassgroup_counter})
</td>
<td align="right">
<a href="assetclassgroupadd.php"><img src="image.php?icon=add" alt="{lang_assetclassgroup_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK assetclassgroup_table AS assetclassgroup_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclassgroup_name}
</td>
</tr>
[BLOCK assetclassgroup_row]
<tr>
<td class="label">
<a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a>
</td>
</tr>
[END assetclassgroup_row]
</table>
[END assetclassgroup_table]
<table class="title">
<tr>
<td class="header">
{$lang_assetclassgroups} ({$assetclassgroups|@count})
</td>
<td align="right">
<a href="assetclassgroupadd.php"><img src="image.php?icon=add" alt="{$lang_assetclassgroup_add}" {if $suser_tooltips}title="{$lang_assetclassgroup_add}" {/if}/></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_assetclassgroup_name}
</td>
</tr>
{foreach item=assetclassgroup from=$assetclassgroups}
<tr>
<td class="label">
<img src="image.php?color={$assetclassgroup.assetclassgroup_color}" alt="#{$assetclassgroup.assetclassgroup_color}">
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup.assetclassgroup_id}">{$assetclassgroup.assetclassgroup_name}</a>
</td>
</tr>
{/foreach}
</table>

View File

@@ -1,44 +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}"></a>
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</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="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">
&nbsp;
</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>

View File

@@ -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}"></a>
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_assetclassgroup_del}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,48 +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}"></a>
<input type="image" src="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
[BLOCK assetclassgroup_table AS assetclassgroup_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</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" name="assetclassgroup_color" value="#{assetclassgroup_color}">
</td>
</tr>
</table>
[END assetclassgroup_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">
&nbsp;
</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>

View File

@@ -1,70 +1,60 @@
<table class="title">
<tr>
<td class="header">
{assetclassgroup_name}
</td>
<td align="right">
<a href="assetclassadd.php?assetclassgroup_id={assetclassgroup_id}"><img src="image.php?icon=add" alt="{lang_assetclass_add}"></a>
<a href="assetclassgroupedit.php?assetclassgroup_id={assetclassgroup_id}"><img src="image.php?icon=edit" alt="{lang_assetclassgroup_edit}"></a>
<a href="assetclassgroupdel.php?assetclassgroup_id={assetclassgroup_id}"><img src="image.php?icon=delete" alt="{lang_assetclassgroup_del}"></a>
</td>
</tr>
</table>
<p>
[BLOCK assetclassgroup_table AS assetclassgroup_table]
<table class="info">
[BLOCK assetclassgroup_row]
<tr>
<td class="header">
{lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</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>
[END assetclassgroup_row]
</table>
[END assetclassgroup_table]
<p>
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclasses} ({assetclass_counter})
</td>
<td class="value">
[BLOCK assetclass_table AS assetclass_table]
[BLOCK assetclass_row]
<a href="assetclassview.php?assetclass_id={assetclass_id}">{assetclass_name}</a><br>
[END assetclass_row]
[END assetclass_table]
</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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,86 +1,73 @@
<table class="title">
<tr>
<td class="header">
{assetclass_name}
</td>
<td align="right">
<a href="assetadd.php?assetclass_id={assetclass_id}"><img src="image.php?icon=add" alt="{lang_asset_add}"></a>
<a href="assetclassedit.php?assetclass_id={assetclass_id}"><img src="image.php?icon=edit" alt="{lang_assetclass_edit}"></a>
<a href="assetclassdel.php?assetclass_id={assetclass_id}"><img src="image.php?icon=delete" alt="{lang_assetclass_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK assetclass_table AS assetclass_table]
<table class="info">
[BLOCK assetclass_row]
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</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>
[END assetclass_row]
</table>
[END assetclass_table]
<p>
[BLOCK assetclassgroup_table AS assetclassgroup_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclassgroup_name}
</td>
<td class="value">
<a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a><br>
</td>
</tr>
</table>
[END assetclassgroup_table]
<p>
<table class="info">
<tr>
<td class="header">
{lang_assets}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assets} ({asset_counter})
</td>
<td class="value">
[BLOCK asset_table AS asset_table]
[BLOCK asset_row]
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a><br>
[END asset_row]
[END asset_table]
</td>
</tr>
</table>
<table class="title">
<tr>
<td class="header">
{$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>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</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_assetclassgroup}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_assetclassgroup_name}
</td>
<td class="value">
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup_id}">{$assetclassgroup_name}</a><br>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_assets}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_assets} ({$assets|@count})
</td>
<td class="value">
{foreach item=asset from=$assets}
<a href="assetview.php?asset_id={$asset.asset_id}">{$asset.asset_name}</a>
{$asset.asset_info}
<br>
{/foreach}
</td>
</tr>
</table>

View File

@@ -1,62 +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">
{asset_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=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</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>
<p>
[BLOCK node_table AS node_table]
<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>
[BLOCK node_row]
<tr>
<td class="label">
{lang_ip}
</td>
<td class="value">
<a href="nodeview.php?node_id={node_id}">{node_ip}</a>
</td>
</tr>
[END node_row]
</table>
[END node_table]
</form>
<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">
&nbsp;
</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}

View File

@@ -1,86 +1,72 @@
<form method="POST" action="submit.php">
<input type="hidden" name="edit" value="asset">
<input type="hidden" name="asset_id" value="{asset_id}">
<input type="hidden" name="assetclass_id" value="{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>
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
[BLOCK asset_row]
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_asset_name}
</td>
<td class="value">
<input type="text" name="asset_name" value="{asset_name}">
</td>
</tr>
<tr>
<td class="label">
{lang_asset_hostname}
</td>
<td class="value">
<input type="text" name="asset_hostname" value="{asset_hostname}">
</td>
</tr>
<tr>
<td class="label">
{lang_asset_info}
</td>
<td class="value">
<textarea name="asset_info" cols="30" rows="10">{asset_info}</textarea>
</td>
</tr>
[END asset_row]
</table>
[END asset_table]
<p>
[BLOCK assetclass_table AS assetclass_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclass}
</td>
<td class="value">
<select name="assetclass_id">
[BLOCK assetclass_row]
<option value="{assetclass_id}" {assetclass_selected}>{assetclass_name}</option>
[END assetclass_row]
</select>
</td>
</tr>
</table>
[END assetclass_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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,101 +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>
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
[BLOCK asset_row]
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</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>
[END asset_row]
</table>
[END asset_table]
<p>
[BLOCK assetclass_table AS assetclass_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</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>
[END assetclass_table]
<p>
<table class="info">
<tr>
<td class="header">
{lang_nodes}
</td>
<td class="header_right">
<a href="assignnodetoasset.php"><img src="image.php?icon=edit" alt="{lang_assignnodetoasset}"></a>
</td>
</tr>
<tr>
<td class="label">
{lang_nodes} ({node_counter})
</td>
<td class="value">
[BLOCK node_table AS node_table]
[BLOCK node_row]
<a href="nodeview.php?node_id={node_id}">{node_ip}</a><br>
[END node_row]
[END node_table]
</td>
</tr>
</table>
<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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,67 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_ip}
</td>
<td class="header_right">
&nbsp;
</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>
<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}">
<p>
<table class="info">
<tr>
<td class="header">
{lang_options}
</td>
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="assignnodetoasset" checked>&nbsp;{lang_assignnodetoasset_existing}
</td>
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="nodeadd">&nbsp;{lang_assignnodetoasset_new}
</td>
</tr>
</table>
<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">
&nbsp;
</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>&nbsp;{$lang_assignnodetoasset_existing}
</td>
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="nodeadd">&nbsp;{$lang_assignnodetoasset_new}
</td>
</tr>
</table>
</form>

View File

@@ -1,127 +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>
<p>
[BLOCK node_table AS node_table]
<table class="info">
[BLOCK node_row]
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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>
[END node_row]
</table>
[END node_table]
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_asset_name}
</td>
<td label="value">
<select name="asset_id">
[BLOCK asset_row]
<option value="{asset_id}" {asset_selected}>{asset_name}</option>
[END asset_row]
</select>
</td>
</tr>
</table>
[END asset_table]
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_subnetaddress}/{lang_subnet_mask}
</td>
<td class="value">
<select name="subnet_id">
[BLOCK subnet_row]
<option value="{subnet_id}" {subnet_selected}>{subnet_address}/{subnet_mask}</option>
[END subnet_row]
</select>
</td>
</tr>
</table>
[END subnet_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">
&nbsp;
</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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,25 +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>
<p>
<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>

View File

@@ -1,11 +1,9 @@
<p>
<table class="footer">
<tr>
<td align="center">
IP Reg {config_version}
</td>
</tr>
</table>
<table class="footer">
<tr>
<td align="center">
IP Reg {$config_version}
</td>
</tr>
</table>
</body>
</html>

View File

@@ -1,63 +1,55 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{lang_ipreg}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="tpl/style.css" type="text/css">
<link rel="shortcut icon" href="images/shield.ico">
<script type="text/javascript" src="lib/changelink.js"></script>
<script type="text/javascript" src="lib/changetext.js"></script>
<title>{$lang_ipreg}</title>
<meta name="author" content="Thomas Hooge" />
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="images/shield.ico">
<link rel="stylesheet" href="tpl/style.css" type="text/css">
{foreach item=style from=$styles}
<link rel="stylesheet" href="css/{$style[0]}" type="text/css" media="{$style[1]}" />
{/foreach}
{foreach item=script from=$scripts}
<script type="text/javascript" src="lib/{$script}"></script>
{/foreach}
</head>
<body>
<form action="search.php" method="post">
<table class="menu">
<tr>
<td>
&nbsp;<a href="index.php"><img src="image.php?icon=logo" alt="{lang_ipreg}"></a>&nbsp;|&nbsp;
[BLOCK menu_assets]
<a href="asset.php">{lang_assets}</a>&nbsp;|&nbsp;
[END menu_assets]
[BLOCK menu_assetclasses]
<a href="assetclass.php">{lang_assetclasses}</a>&nbsp;|&nbsp;
[END menu_assetclasses]
[BLOCK menu_assetclassgroups]
<a href="assetclassgroup.php">{lang_assetclassgroups}</a>&nbsp;|&nbsp;
[END menu_assetclassgroups]
[BLOCK menu_locations]
<a href="location.php">{lang_locations}</a>&nbsp;|&nbsp;
[END menu_locations]
[BLOCK menu_nodes]
<a href="node.php">{lang_nodes}</a>&nbsp;|&nbsp;
[END menu_nodes]
[BLOCK menu_subnets]
<a href="subnet.php">{lang_subnets}</a>&nbsp;|&nbsp;
[END menu_subnets]
[BLOCK menu_users]
<a href="user.php">{lang_users}</a>&nbsp;|&nbsp;
[END menu_users]
[BLOCK menu_vlans]
<a href="vlan.php">{lang_vlans}</a>&nbsp;|&nbsp;
[END menu_vlans]
<input type="text" name="search" value="{search}">&nbsp;<input type="image" src="image.php?icon=search" alt="{lang_search}">
</td>
<td align="right">
{suser_name}&nbsp;|&nbsp;
<a href="about.php">{lang_about}</a>&nbsp;|&nbsp;
<a href="options.php">{lang_options}</a>&nbsp;|&nbsp;
<a href="logout.php">{lang_logout}</a>
</td>
</tr>
</table>
</form>
<table class="header">
<tr>
<td>
&nbsp;{lang_ipreg}
</td>
</tr>
</table>
<p>
<form action="search.php" method="post">
<table class="menu">
<tr>
<td valign="top" rowspan="2">
<a href="index.php"><img src="image.php?icon=logo" alt="{$lang_ipreg}" style="margin-right:1em" /></a>
</td>
<td valign="top" rowspan="2">
{if $menu_assets}<a href="asset.php">{$lang_assets}</a> | {/if}
{if $menu_assetclasses}<a href="assetclass.php">{$lang_assetclasses}</a> | {/if}
{if $menu_assetclassgroups}<a href="assetclassgroup.php">{$lang_assetclassgroups}</a> | {/if}
{if $menu_locations}<a href="location.php">{$lang_locations}</a> | {/if}
{if $menu_nodes}<a href="node.php">{$lang_nodes}</a> | {/if}
{if $menu_subnets}<a href="subnet.php">{$lang_subnets}</a> | {/if}
{if $menu_vlans}<a href="vlan.php">{$lang_vlans}</a> | {/if}
{if $menu_zones}<a href="zone.php">{$lang_zones}</a> {/if}
</td>
<td align="right" width="38%">
{$suser_name}&nbsp;|&nbsp;
<a href="about.php">{$lang_about}</a> |
<a href="options.php">{$lang_options}</a> |
<a href="logout.php">{$lang_logout}</a>
</td>
</tr>
<tr>
<td align="right">
<input type="text" name="search" value="{$search}">&nbsp;<input type="image" class="icon" src="image.php?icon=search" alt="{$lang_search}">
</td>
</tr>
</table>
</form>
<table class="header">
<tr>
<td>
&nbsp;{$lang_ipreg}
</td>
</tr>
</table>

View File

@@ -1,50 +1,61 @@
<table class="info">
<tr>
<td class="header">
{lang_statistics}
</td>
<td class="header_right">
&nbsp;
</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>
</table>
<p></p>
<table class="info">
<tr>
<td class="header">
{$lang_statistics}
</td>
<td class="header_right">
&nbsp;
</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>

View File

@@ -1,29 +1,25 @@
<table class="title">
<tr>
<td class="header">
{lang_locations} ({location_counter})
</td>
<td align="right">
<a href="locationadd.php"><img src="image.php?icon=add" alt="{lang_location_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK location_table AS location_table]
<table class="info">
<tr>
<td class="header">
{lang_location_name}
</td>
</tr>
[BLOCK location_row]
<tr>
<td class="value">
{nbsp}<a href="locationview.php?location_id={location_id}">{location_name}</a>
</td>
</tr>
[END location_row]
</table>
[END location_table]
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/building.png" alt="" />
{$lang_locations} ({$locations|@count})
</td>
<td align="right">
<a href="locationadd.php"><img src="images/building_add.png" alt="{$lang_location_add}" title="{$lang_location_add}" /></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_location_name}
</td>
</tr>
<tr>
<td class="value">
{treelist tree=$locations}
</td>
</tr>
</table>

View File

@@ -1,73 +1,63 @@
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="location">
<table class="title">
<tr>
<td class="header">
{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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</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>
<p>
[BLOCK location_table AS location_table]
<table class="info">
<tr>
<td class="header">
{lang_location_parent}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_location_name}
</td>
<td class="value">
<select name="location_parent">
<option value="0">(none)</option>
[BLOCK location_row]
<option value="{location_id}" {location_selected}>{nbsp}{location_name}</option>
[END location_row]
</select>
</td>
</tr>
</table>
[END location_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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,38 +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">
{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="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,76 +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">
{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>
<p>
[BLOCK location_table AS location_table]
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</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>
[END location_table]
<p>
[BLOCK parentlocation_table AS parentlocation_table]
<table class="info">
<tr>
<td class="header">
{lang_location_parent}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_location_parent}
</td>
<td class="value">
<select name="parentlocation_id">
<option value="0">(none)</option>
[BLOCK parentlocation_row]
<option value="{parentlocation_id}" {parentlocation_selected}>{nbsp}{parentlocation_name}</option>
[END parentlocation_row]
</select>
</td>
</tr>
</table>
[END parentlocation_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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,63 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</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 method="POST" action="submit.php">
<input type="hidden" name="add" value="locationsubnet">
<input type="hidden" name="location_id" value="{$location_id}">
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet_add}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet}
</td>
<td class="value">
<select name="subnet_id">
[BLOCK subnet_row]
<option value="{subnet_id}">{subnet_address}/{subnet_mask}</option>
[END subnet_row]
</select>
</td>
</tr>
</table>
[END subnet_table]
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_subnet}
</td>
<td class="value">
{html_options name=subnet_id options=$subnet_options}
</td>
</tr>
</table>

View File

@@ -1,63 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</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 method="POST" action="submit.php">
<input type="hidden" name="del" value="locationsubnet">
<input type="hidden" name="location_id" value="{$location_id}">
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet}
</td>
<td class="value">
<select name="subnet_id">
[BLOCK subnet_row]
<option value="{subnet_id}">{subnet_address}/{subnet_mask}</option>
[END subnet_row]
</select>
</td>
</tr>
</table>
[END subnet_table]
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_subnet}
</td>
<td class="value">
{html_options name=subnet_id options=$subnet_options}
</td>
</tr>
</table>

View File

@@ -1,60 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</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 method="POST" action="submit.php">
<input type="hidden" name="redirect" value="locationsubnet">
<input type="hidden" name="location_id" value="{$location_id}">
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="locationsubnetadd" checked>&nbsp;{lang_subnet_add}<br>
<input type="radio" name="action" value="locationsubnetdel">&nbsp;{lang_subnet_del}
</td>
</tr>
</table>
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="locationsubnetadd" checked>&nbsp;{$lang_subnet_add}<br>
<input type="radio" name="action" value="locationsubnetdel">&nbsp;{$lang_subnet_del}
</td>
</tr>
</table>

View File

@@ -1,99 +1,88 @@
<table class="title">
<tr>
<td class="header">
{location_name}
</td>
<td align="right">
<a href="locationadd.php?location_parent={location_id}"><img src="image.php?icon=add" alt="{lang_sublocation_add}"></a>
<a href="locationedit.php?location_id={location_id}"><img src="image.php?icon=edit" alt="{lang_location_edit}"></a>
<a href="locationdel.php?location_id={location_id}"><img src="image.php?icon=delete" alt="{lang_location_del}"></a>
</td>
</tr>
</table>
<p>
[BLOCK location_table AS location_table]
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_location_name}
</td>
<td class="value">
[BLOCK locationcrumb_table AS locationcrumb_table]
[BLOCK locationcrumb_row]
{seperator}<a href="locationview.php?location_id={location_id}">{location_name}</a>
[END locationcrumb_row]
[END locationcrumb_table]
</td>
</tr>
<tr>
<td class="label">
{lang_location_info}
</td>
<td class="value">
{location_info}
</td>
</tr>
</table>
[END location_table]
<p>
<table class="info">
<tr>
<td class="header">
{lang_sublocation}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_sublocations} ({sublocation_counter})
</td>
<td class="value">
[BLOCK sublocation_table AS sublocation_table]
[BLOCK sublocation_row]
<a href="locationview.php?location_id={sublocation_id}">{sublocation_name}</a><br>
[END sublocation_row]
[END sublocation_table]
</td>
</td>
</tr>
</table>
<p>
<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} ({subnet_counter})
</td>
<td class="value">
[BLOCK subnet_table AS subnet_table]
[BLOCK subnet_row]
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a><br>
[END subnet_row]
[END subnet_table]
</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">
&nbsp;
</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">
&nbsp;
</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}&hellip;{/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>

View File

@@ -1,71 +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>
<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>
<table class="menu">
<tr>
<td>
&nbsp;
</td>
</tr>
</table>
<body onload="document.login.user_name.focus();">
<table class="menu">
<tr>
<td>
&nbsp;
</td>
</tr>
</table>
<table class="header">
<tr>
<td>
{lang_ipreg}
</td>
</tr>
</table>
<table class="header">
<tr>
<td>
{$lang_ipreg}
</td>
</tr>
</table>
<p>
<form name="login" method="POST" action="login.php">
<form method="POST" action="login.php">
<table class="title">
<tr>
<td class="header">
{$lang_ipreg}&nbsp;{$config_version}
</td>
<td align="right">
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}">
</td>
</tr>
</table>
<table class="title">
<tr>
<td class="header">
{lang_ipreg}&nbsp;{config_version}
</td>
<td align="right">
<input type="image" src="images/control_fastforward_blue.png" alt="{lang_login}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_login}
</td>
<td class="header_right">
&nbsp;
</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>
<table class="info">
<tr>
<td class="header">
{$lang_login}
</td>
<td class="header_right">
&nbsp;
</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>

View File

@@ -1,75 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="nat">
<input type="hidden" name="node_id_ext" value="{$node_id_ext}">
<p>
[BLOCK node_table AS node_table]
<table class="info">
<tr>
<td class="header">
{lang_nat_add}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_ip}
</td>
<td class="value">
<select name="node_id_int">
[BLOCK node_row]
<option value="{node_id_int}">{node_ip_int}/{asset_name}</option>
[END node_row]
</select>
</td>
</tr>
<tr>
<td class="label">
{lang_nat_type}
</td>
<td class="value">
<select name="nat_type">
<option value="1">{lang_nat_type_1}</option>
<option value="2">{lang_nat_type_2}</option>
<option value="3">{lang_nat_type_3}</option>
</select>
</td>
</tr>
</table>
[END node_table]
<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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,63 +1,53 @@
<form method="POST" action="submit.php">
<input type="hidden" name="del" 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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="nat">
<input type="hidden" name="node_id_ext" value="{$node_id_ext}">
<p>
[BLOCK node_table AS node_table]
<table class="info">
<tr>
<td class="header">
{lang_nat_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_node}
</td>
<td class="value">
<select name="node_id_int">
[BLOCK node_row]
<option value="{node_id_int}">{node_ip_int}/{asset_name}</option>
[END node_row]
</select>
</td>
</tr>
</table>
[END node_table]
<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">
&nbsp;
</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_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_node}
</td>
<td class="value">
{html_options name=node_id_int options=$node_id_int_options}
</td>
</tr>
</table>

View File

@@ -1,58 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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 method="POST" action="submit.php">
<input type="hidden" name="redirect" value="nat">
<input type="hidden" name="node_id" value="{$node_id}">
<p>
<table class="info">
<tr>
<td class="header">
{lang_options}
</td>
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="natadd" checked>&nbsp;{lang_nat_add}
</td>
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="natdel">&nbsp;{lang_nat_del}
</td>
</tr>
</table>
<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">
&nbsp;
</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>&nbsp;{$lang_nat_add}
</td>
</tr>
<tr>
<td class="value">
<input type="radio" name="action" value="natdel">&nbsp;{$lang_nat_del}
</td>
</tr>
</table>

View File

@@ -1,35 +1,38 @@
<table class="title">
<tr>
<td class="header">
{lang_nodes} ({node_counter})
</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>
<p>
[BLOCK node_table AS node_table]
<table class="info">
<tr>
<td class="header">
{lang_ip}
</td>
<td class="header">
{lang_asset_name}
</td>
</tr>
[BLOCK node_row]
<tr>
<td class="label">
<a href="nodeview.php?node_id={node_id}">{node_ip}</a>
</td>
<td class="value">
<a href="assetview.php?asset_id={asset_id}">{asset_name}</a>
</td>
</tr>
[END node_row]
</table>
[END node_table]
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/network-ethernet.png" alt="" />
{$lang_nodes} ({$node|@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">
{$lang_ip}
</td>
<td class="header">
{$lang_asset_name}
</td>
<td class="header">
{$lang_asset_info}
</td>
</tr>
{foreach item=node from=$nodes}
<tr>
<td class="label">
<a href="nodeview.php?node_id={$node.node_id}">{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</a>
</td>
<td class="value">
<a href="assetview.php?asset_id={$node.asset_id}">{$node.asset_name}</a>
</td>
<td class="value">
{$node.asset_info}
</td>
</tr>
{/foreach}
</table>

View File

@@ -1,154 +1,133 @@
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="node">
<table class="title">
<tr>
<td class="header">
{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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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">&nbsp;<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">&nbsp;<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>
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</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>
[END asset_table]
<p>
[BLOCK assetclass_table AS assetclass_table]
<table class="info">
<tr>
<td class="header">
{lang_assetclass}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_assetclass_name}
</td>
<td class="value">
<select name="assetclass_id">
[BLOCK assetclass_row]
<option value="{assetclass_id}">{assetclass_name}</option>
[END assetclass_row]
</select>
</td>
</tr>
</table>
[END assetclass_table]
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_subnetaddress}/{lang_subnet_mask}
</td>
<td class="value">
<select name="subnet_id">
[BLOCK subnet_row]
<option value="{subnet_id}" {subnet_selected}>{subnet_address}/{subnet_mask}</option>
[END subnet_row]
</select>
</td>
</tr>
</table>
[END subnet_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">
&nbsp;
</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">&nbsp;<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">&nbsp;<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">
&nbsp;
</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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,39 +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">
{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=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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="{$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">
&nbsp;
</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>

View File

@@ -1,128 +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">
{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>
<p>
[BLOCK node_table AS node_table]
<table class="info">
[BLOCK node_row]
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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>
[END node_row]
</table>
[END node_table]
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_asset_name}
</td>
<td label="value">
<select name="asset_id">
[BLOCK asset_row]
<option value="{asset_id}" {asset_selected}>{asset_name}</option>
[END asset_row]
</select>
</td>
</tr>
</table>
[END asset_table]
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_subnetaddress}/{lang_subnet_mask}
</td>
<td class="value">
<select name="subnet_id">
[BLOCK subnet_row]
<option value="{subnet_id}" {subnet_selected}>{subnet_address}/{subnet_mask}</option>
[END subnet_row]
</select>
</td>
</tr>
</table>
[END subnet_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">
&nbsp;
</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">
&nbsp;
</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">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,139 +1,138 @@
<table class="title">
<tr>
<td class="header">
{node_ip}
</td>
<td align="right">
<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>
<p>
[BLOCK node_table AS node_table]
<table class="info">
[BLOCK node_row]
<tr>
<td class="header">
{lang_node}
</td>
<td class="header_right">
&nbsp;
</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>
<tr>
<td class="label">
{lang_mac}
</td>
<td class="value">
{node_mac}
</td>
</tr>
<tr>
<td class="label">
{lang_dns1}
</td>
<td class="value">
{node_dns1}
</td>
</tr>
<tr>
<td class="label">
{lang_dns2}
</td>
<td class="value">
{node_dns2}
</td>
</tr>
<tr>
<td class="label">
{lang_node_info}
</td>
<td class="value">
{node_info}
</td>
</tr>
[END node_row]
</table>
[END node_table]
<p>
[BLOCK asset_table AS asset_table]
<table class="info">
<tr>
<td class="header">
{lang_asset}
</td>
<td class="header_right">
&nbsp;
</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>
</table>
[END asset_table]
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_subnetaddress}/{lang_subnet_mask}
</td>
<td class="value">
<a href="subnetview.php?subnet_id={subnet_id}&page={node_ip}">{subnet_address}/{subnet_mask}</a>
</td>
</tr>
</table>
[END subnet_table]
<p>
<table class="info">
<tr>
<td class="header">
{lang_nat}
</td>
<td class="header_right">
<a href="natedit.php?node_id={node_id}"><img src="image.php?icon=edit" alt="{lang_nat_edit}"></a>
</td>
</tr>
<tr>
<td class="label">
{lang_nat_rules} ({nat_counter})
</td>
<td class="value">
[BLOCK nat_table AS nat_table]
[BLOCK nat_row]
<a href="nodeview.php?node_id={nat_node_id}">{nat_node_ip}</a>/<a href="assetview.php?asset_id={nat_asset_id}">{nat_asset_name}</a> ({nat_type})<br>
[END nat_row]
[END nat_table]
</td>
</tr>
</table>
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/network-ethernet.png" alt="" />
{$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>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_node}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<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>
<tr>
<td class="label">
{$lang_proto_vers}
</td>
<td class="value">
{$node.node_type}
</td>
</tr>
<tr>
<td class="label">
{$lang_mac}
</td>
<td class="value">
{$node.node_mac}
</td>
</tr>
<tr>
<td class="label">
{$lang_dns1}
</td>
<td class="value">
{$node.node_dns1}
</td>
</tr>
<tr>
<td class="label">
{$lang_dns2}
</td>
<td class="value">
{$node.node_dns2}
</td>
</tr>
<tr>
<td class="label">
{$lang_node_info}
</td>
<td class="value">
{$node.node_info}
</td>
</tr>
<tr>
<td class="label">
{$lang_zone}
</td>
<td class="value">
{$node.zone_origin}
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_asset}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_asset_name}
</td>
<td class="value">
<a href="assetview.php?asset_id={$node.asset_id}">{$node.asset_name}</a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_subnet}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$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>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$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>
</td>
</tr>
<tr>
<td class="label">
{$lang_nat_rules} ({$natrules|@count})
</td>
<td class="value">
{foreach item=rule from=$natrules}
<a href="nodeview.php?node_id={$rule.nat_node_id}">{$rule.nat_node_ip}</a>/<a href="assetview.php?asset_id={$rule.nat_asset_id}">{$rule.nat_asset_name}</a> ({$rule.nat_type})<br />
{/foreach}
</td>
</tr>
</table>

View File

@@ -1,35 +1,34 @@
<form method="POST" action="submit.php">
<input type="hidden" name="edit" value="options">
<table class="title">
<tr>
<td class="header">
{$lang_options}
</td>
<td align="right">
&nbsp;
</td>
</tr>
</table>
<table class="title">
<tr>
<td class="header">
{lang_options}
</td>
<td align="right">
&nbsp;
</td>
</tr>
</table>
<p>
<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>
</table>
</form>
<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>

View File

@@ -4,11 +4,11 @@
<table class="title">
<tr>
<td class="header">
{lang_options}
{$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}">
<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>
@@ -18,7 +18,7 @@
<table class="info">
<tr>
<td class="header">
{lang_options_display}
{$lang_options_display}
</td>
<td class="header_right">
&nbsp;
@@ -26,65 +26,83 @@
</tr>
<tr>
<td class="label">
<span class="help" title="{lang_options_imagesize_help}">{lang_options_imagesize}</span>
<span class="help" title="{$lang_options_language_help}">{$lang_user_language}</span>
</td>
<td class="value">
<input type="text" name="user_imagesize" value="{user_imagesize}" size="3">
<input type="text" name="user_language" value="{$user_language}" size="2">
({$language})
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{lang_options_imagecount_help}">{lang_options_imagecount}</span>
<span class="help" title="{$lang_options_imagesize_help}">{$lang_options_imagesize}</span>
</td>
<td class="value">
<input type="text" name="user_imagecount" value="{user_imagecount}" size="3">
<input type="text" name="user_imagesize" value="{$user_imagesize}" size="3">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{lang_options_mac_help}">{lang_options_mac}</span>
<span class="help" title="{$lang_options_imagecount_help}">{$lang_options_imagecount}</span>
</td>
<td class="value">
<input type="text" name="user_mac" value="{user_mac}">
<input type="text" name="user_imagecount" value="{$user_imagecount}" size="3">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{lang_options_dateformat_help}">{lang_options_dateformat}</span>
<span class="help" title="{$lang_options_mac_help}">{$lang_options_mac}</span>
</td>
<td class="value">
<input type="text" name="user_dateformat" value="{user_dateformat}">
<input type="text" name="user_mac" value="{$user_mac}">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{lang_options_dns1suffix_help}">{lang_options_dns1suffix}</span>
<span class="help" title="{$lang_options_dateformat_help}">{$lang_options_dateformat}</span>
</td>
<td class="value">
<input type="text" name="user_dns1suffix" value="{user_dns1suffix}">
<input type="text" name="user_dateformat" value="{$user_dateformat}">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{lang_options_dns2suffix_help}">{lang_options_dns2suffix}</span>
<span class="help" title="{$lang_options_dns1suffix_help}">{$lang_options_dns1suffix}</span>
</td>
<td class="value">
<input type="text" name="user_dns2suffix" value="{user_dns2suffix}">
<input type="text" name="user_dns1suffix" value="{$user_dns1suffix}">
</td>
</tr>
<tr>
<td class="label">
<span class="help" title="{lang_options_menu_help}">{lang_menu}</span>
<span class="help" title="{$lang_options_dns2suffix_help}">{$lang_options_dns2suffix}</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="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>

View File

@@ -1,53 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_options_password}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,53 +1,134 @@
<table class="info">
<tr>
<td class="header">
{lang_search}
</td>
</tr>
</table>
[BLOCK nosearch]
<table class="info">
<tr>
<td class="value">
<img src="image.php?icon=error" alt="{lang_comments}">&nbsp;{lang_comments_search_nosearch}
</td>
</tr>
</table>
[END nosearch]
[BLOCK resultcount]
<table class="info">
<tr>
<td class="value">
{lang_search_results_found}&nbsp;{resultcounter}
</td>
</tr>
</table>
[END resultcount]
<p>
[BLOCK table AS asset]
<table class="info">
<tr>
<td class="header">
{item_name} ({counter})
</td>
</tr>
[BLOCK row]
<tr>
<td class="value">
<a href="{item}view.php?{item}_id={id}">{name}</a>
</td>
</tr>
[END row]
</table>
<p>
[END table]
[REUSE table AS location]
[REUSE table AS node]
[REUSE table AS subnet]
[REUSE table AS vlan]
<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}">&nbsp;{$lang_comments_search_nosearch}
</td>
</tr>
</table>
{else}
<table class="info">
<tr>
<td class="value">
{$lang_search_results_found}&nbsp;{$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}

View File

@@ -1,164 +1,203 @@
body {
background-color: #fff;
background-image: url("../images/background.png");
background-repeat: repeat-x;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 11px;
margin: 12px;
text-align: justify;
}
a {
color: #000;
}
a:hover {
color: #666;
}
img {
border: 0px;
}
input {
border: 0px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 100%;
}
select {
border: 0px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 100%;
}
textarea {
border: 0px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 100%;
height: 120px;
width: 350px;
}
.help {
border-bottom: 1px dotted #333;
cursor: help;
}
table.footer {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
width: 100%;
}
table.footer td {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
}
table.header {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
width: 100%;
}
table.header td {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
}
table.info {
background-color: #666;
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
width: 800px;
}
table.info td {
background-color: #dcdcdc;
border: 1px #fff solid;
color: #000;
padding: 4px;
}
table.info td.header {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
}
table.info td.header_right {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
text-align: right;
}
table.info td.footer {
text-align: right;
}
table.info td.label {
vertical-align: top;
width: 200px;
}
table.info td.value {
vertical-align: top;
}
table.info td.help {
vertical-align: top;
}
table.menu {
width: 100%;
}
table.menu td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
}
table.title {
width: 800px;
}
table.title td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
font-weight: bold;
}
table.submenu {
}
table.submenu td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
}
table.subnetview {
background-color: #dcdcdc;
}
table.subnetview td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
padding: 2px;
}
body {
background-color: #fff;
background-image: url("../images/background.png");
background-repeat: repeat-x;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 11px;
margin: 12px;
text-align: justify;
}
.icon {
vertical-align: bottom;
}
a {
color: #000;
}
a:hover {
color: #666;
}
img {
border: 0px;
}
input {
border: 0px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 100%;
}
select {
border: 0px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 100%;
}
textarea {
border: 0px;
font-family: Verdana, Arial, Helvetica, Sans-serif;
font-size: 100%;
height: 120px;
width: 350px;
}
.help {
border-bottom: 1px dotted #333;
cursor: help;
}
table.footer {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
width: 100%;
}
table.footer td {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
}
table.header {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
width: 100%;
}
table.header td {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
}
table.info {
background-color: #666;
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
width: 800px;
}
table.info td {
background-color: #dcdcdc;
border: 1px #fff solid;
color: #000;
padding: 4px;
}
table.info td.header {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
}
table.info td.header_right {
background-color: #666;
color: #fff;
font-weight: bold;
height: 25px;
text-align: right;
}
table.info td.footer {
text-align: right;
}
table.info td.label {
vertical-align: top;
width: 200px;
}
table.info td.value {
vertical-align: top;
}
table.info td.help {
vertical-align: top;
}
table.menu {
width: 100%;
}
table.menu td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
}
table.title {
width: 800px;
}
table.title td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
font-weight: bold;
}
table.submenu {
}
table.submenu td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
}
table.initials {
border: 1px solid rgb(170, 170, 170);
margin-bottom: 10px;
border-radius: 5px;
}
table.initials td {
padding: 8px 2px !important;
}
table.initials a {
border: 1px solid rgb(170, 170, 170);
padding: 4px 8px;
border-radius: 5px;
text-decoration: none;
background: -moz-linear-gradient(center top , rgb(255, 255, 255), rgb(204, 204, 204)) repeat scroll 0% 0% transparent;
}
table.subnetview {
background-color: #dcdcdc;
}
table.subnetview td {
border: 0px;
border-collapse: collapse;
border-spacing: 0px;
padding: 2px;
}
#breadcrumbs {
margin: 0;
padding: 0;
list-style-type: none;
}
#breadcrumbs li {
float: left;
padding-left: 15px;
background: url(../images/breadcrumb.gif) no-repeat 2px 2px;
}
#breadcrumbs li.first {
padding-left: 0;
background-image: none;
}

View File

@@ -1,35 +1,37 @@
<table class="title">
<tr>
<td class="header">
{lang_subnets} ({subnet_counter})
</td>
<td align="right">
<a href="subnetadd.php"><img src="image.php?icon=add" alt="{lang_asset_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet_subnetaddress_mask}
</td>
<td class="header">
{lang_nodes}
</td>
</tr>
[BLOCK subnet_row]
<tr>
<td class="label">
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a>
</td>
<td class="value">
<a href="node.php?subnet_id={subnet_id}">{node_counter}</a>
</td>
</tr>
[END subnet_row]
</table>
[END subnet_table]
<table class="title">
<tr>
<td class="header">
{$lang_subnets} ({$subnets|@count})
</td>
<td align="right">
<a href="subnetadd.php"><img src="image.php?icon=add" alt="{$lang_subnet_add}"></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_subnet_subnetaddress_mask}
</td>
<td class="header">
{$lang_nodes}
</td>
<td class="header">
{$lang_subnet_info}
</td>
</tr>
{foreach item=subnet from=$subnets}
<tr>
<td class="label">
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a>
</td>
<td class="value">
<a href="node.php?subnet_id={$subnet.subnet_id}">{$subnet.node_counter}</a>
</td>
<td>
{$subnet.subnet_info}
</td>
</tr>
{/foreach}
</table>

View File

@@ -1,81 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</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">&nbsp;(8-30)
</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>
<p>
[BLOCK vlan_table AS vlan_table]
<table class="info">
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_vlan}
</td>
<td class="value">
<select name="vlan_id">
<option value="0">(none)</option>
[BLOCK vlan_row]
<option value="{vlan_id}" {vlan_selected}>{vlan_name}&nbsp;({vlan_number})</option>
[END vlan_row]
</select>
</td>
</tr>
</table>
[END vlan_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">
&nbsp;
</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">&nbsp;(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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_vlan}
</td>
<td class="value">
{html_options name=vlan_id options=$vlan_options}
</td>
</tr>
</table>
</form>

View File

@@ -1,60 +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=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<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>
<p>
[BLOCK node_table AS node_table]
<table class="info">
<tr>
<td class="header">
<img src="image.php?icon=comment" alt="{lang_comments}">&nbsp;{lang_comments_asset_del_nodes}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
[BLOCK node_row]
<tr>
<td class="label">
{lang_ip}
</td>
<td class="value">
<a href="nodeview.php?node_id={node_id}">{node_ip}</a>
</td>
</tr>
[END node_row]
</table>
[END node_table]
</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}">&nbsp;{$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>

View File

@@ -1,54 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</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_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">
&nbsp;
</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>

View File

@@ -1,63 +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">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="subnetlocation">
<input type="hidden" name="subnet_id" value="{$subnet_id}">
<p>
[BLOCK location_table AS location_table]
<table class="info">
<tr>
<td class="header">
{lang_location_add}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_location}
</td>
<td class="value">
<select name="location_id">
[BLOCK location_row]
<option value="{location_id}">{location_name}</option>
[END location_row]
</select>
</td>
</tr>
</table>
[END location_table]
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_location}
</td>
<td class="value">
{html_options name=location_id options=$location_options}
</td>
</tr>
</table>

View File

@@ -1,63 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="subnetlocation">
<input type="hidden" name="subnet_id" value="{$subnet_id}">
<p>
[BLOCK location_table AS location_table]
<table class="info">
<tr>
<td class="header">
{lang_location_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_location}
</td>
<td class="value">
<select name="location_id">
[BLOCK location_row]
<option value="{location_id}">{location_name}</option>
[END location_row]
</select>
</td>
</tr>
</table>
[END location_table]
<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">
&nbsp;
</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">
&nbsp;
{$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>

View File

@@ -1,60 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="redirect" value="subnetlocation">
<input type="hidden" name="subnet_id" value="{$subnet_id}">
<p>
<table class="info">
<tr>
<td class="header">
{lang_location}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="subnetlocationadd" checked>&nbsp;{lang_location_add}<br>
<input type="radio" name="action" value="subnetlocationdel">&nbsp;{lang_location_del}
</td>
</tr>
</table>
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="subnetlocationadd" checked>&nbsp;{$lang_location_add}<br>
<input type="radio" name="action" value="subnetlocationdel">&nbsp;{$lang_location_del}
</td>
</tr>
</table>
</form>

View File

@@ -1,180 +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>
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header" align="right">
[BLOCK noselect]
{iprange1}.{iprange2}.{iprange3}.{iprange4}
[END noselect]
[BLOCK one_select]
{iprange1}.{iprange2}.
<select name="pagination" onchange="changelink(this.options[this.selectedIndex].value);">
[BLOCK one_select_row]
<option value="{subnet_id}&amp;page={iprange1}.{iprange2}.{iprange3}.0" {row_selected}>{iprange3}.0</option>
[END one_select_row]
</select>
[END one_select]
[BLOCK two_select]
<select name="pagination" onchange="changelink(this.options[this.selectedIndex].value);">
[BLOCK two_select_row1]
<option value="{subnet_id}&amp;page={iprange1}.{iprange2}.{iprange3}.0" {row1_selected}>{iprange1}.{iprange2}</option>
[END two_select_row1]
</select>
<select name="pagination" onchange="changelink(this.options[this.selectedIndex].value);">
[BLOCK two_select_row2]
<option value="{subnet_id}&amp;page={iprange1}.{iprange2}.{iprange3}.0" {row2_selected}>{iprange3}.0</option>
[END two_select_row2]
</select>
[END two_select]
</td>
</tr>
<tr>
<td class="label" colspan="2">
[BLOCK node_table AS node_table]
<table class="subnetview">
<tr>
[BLOCK node_row]
<td>
<a href="{url}" onMouseOver="changetext('remotetext','{remotetext}')" onMouseOut="changetext('remotetext','&nbsp;')"><img src="image.php?color={assetclassgroup_color}" alt="{remotetext}"></a>
</td>
{tr}
[END node_row]
</tr>
</table>
<a id="remotetext">&nbsp;</a>
[END node_table]
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_subnetaddress}
</td>
<td class="value">
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}</a>
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_mask}
</td>
<td class="value">
{subnetmask1}.{subnetmask2}.{subnetmask3}.{subnetmask4}
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_nodesinsubnet}
</td>
<td class="value">
<a href="node.php?subnet_id={subnet_id}">{node_counter}</a>&nbsp;&#47;&nbsp;{host_counter}&nbsp;({subnet_usedpercentage}&#37;)
</td>
</tr>
<tr>
<td class="label">
{lang_subnet_info}
</td>
<td class="value">
{subnet_info}
</td>
</tr>
</table>
[END subnet_table]
<p>
<table class="info">
<tr>
<td class="header">
{lang_assetclasses}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
<img src="image.php?color={config_color_unused}" alt="{lang_unassigned}">&nbsp;{lang_unassigned}
</td>
<td>
{free_counter}
</td>
</tr>
[BLOCK assetclassgroup_table AS assetclassgroup_table]
[BLOCK assetclassgroup_row]
<tr>
<td class="label">
<img src="image.php?color={assetclassgroup_color}" alt="{assetclassgroup_name}">&nbsp;<a href="assetclassgroupview.php?assetclassgroup_id={assetclassgroup_id}">{assetclassgroup_name}</a>
</td>
<td>
{assetclassgroup_node_counter}
</td>
</tr>
[END assetclassgroup_row]
[END assetclassgroup_table]
</table>
<p>
<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} ({vlan_counter})
</td>
<td class="value">
[BLOCK vlan_table AS vlan_table]
[BLOCK vlan_row]
<a href="vlanview.php?vlan_id={vlan_id}">{vlan_name} ({vlan_number})</a><br>
[END vlan_row]
[END vlan_table]
</td>
</tr>
</table>
<p>
<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} ({location_counter})
</td>
<td class="value">
[BLOCK location_table AS location_table]
[BLOCK location_row]
<a href="locationview.php?location_id={location_id}">{location_name}</a><br>
[END location_row]
[END location_table]
</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=$subnet}
<a href="{$adr.url}" onMouseOver="changetext('remotetext','{$adr.remotetext}')" onMouseOut="changetext('remotetext','&nbsp;')"><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">&nbsp;</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}&nbsp;/&nbsp;{$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>&nbsp;/&nbsp;{$host_counter}&nbsp;({$subnet_usedpercentage}&#37;)
{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">
&nbsp;
</td>
</tr>
{if $subnet_proto_vers eq 4}
<tr>
<td class="label">
<img src="image.php?color={$config_color_unused}" alt="{$lang_unassigned}">&nbsp;{$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}">&nbsp;<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>

View File

@@ -1,63 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="subnetvlan">
<input type="hidden" name="subnet_id" value="{$subnet_id}">
<p>
[BLOCK vlan_table AS vlan_table]
<table class="info">
<tr>
<td class="header">
{lang_vlan_add}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_vlan}
</td>
<td class="value">
<select name="vlan_id">
[BLOCK vlan_row]
<option value="{vlan_id}">{vlan_name} ({vlan_number})</option>
[END vlan_row]
</select>
</td>
</tr>
</table>
[END vlan_table]
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_vlan}
</td>
<td class="value">
{html_options name=vlan_id options=$vlan_options}
</td>
</tr>
</table>

View File

@@ -1,63 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="subnetvlan">
<input type="hidden" name="subnet_id" value="{$subnet_id}">
<p>
[BLOCK vlan_table AS vlan_table]
<table class="info">
<tr>
<td class="header">
{lang_vlan_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_vlan}
</td>
<td class="value">
<select name="vlan_id">
[BLOCK vlan_row]
<option value="{vlan_id}">{vlan_name} ({vlan_number})</option>
[END vlan_row]
</select>
</td>
</tr>
</table>
[END vlan_table]
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_vlan}
</td>
<td class="value">
{html_options name=vlan_id options=$vlan_options}
</td>
</tr>
</table>

View File

@@ -1,60 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="redirect" value="subnetvlan">
<input type="hidden" name="subnet_id" value="{$subnet_id}">
<p>
<table class="info">
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="subnetvlanadd" checked>&nbsp;{lang_vlan_add}<br>
<input type="radio" name="action" value="subnetvlandel">&nbsp;{lang_vlan_del}
</td>
</tr>
</table>
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="subnetvlanadd" checked>&nbsp;{$lang_vlan_add}<br>
<input type="radio" name="action" value="subnetvlandel">&nbsp;{$lang_vlan_del}
</td>
</tr>
</table>

View File

@@ -1,35 +1,32 @@
<table class="title">
<tr>
<td class="header">
{lang_users} ({user_counter})
</td>
<td align="right">
<a href="useradd.php"><img src="image.php?icon=add" alt="{lang_user_add}"></a>
</td>
</tr>
</table>
<p>
[BLOCK user_table AS user_table]
<table class="info">
<tr>
<td class="header">
{lang_user_name}
</td>
<td class="header">
{lang_user_displayname}
</td>
</tr>
[BLOCK user_row]
<tr>
<td class="label">
<a href="userview.php?user_id={user_id}">{user_name}</a>
</td>
<td class="value">
{user_displayname}
</td>
</tr>
[END user_row]
</table>
[END user_table]
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/user.png" alt="" />
{$lang_users} ({$user|@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>

View File

@@ -1,52 +1,51 @@
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="user">
<table class="title">
<tr>
<td class="header">
{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="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_user}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,38 +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">
{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="image.php?icon=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_user}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,46 +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">
{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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_user}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,42 +1,39 @@
<table class="title">
<tr>
<td class="header">
{user_name}
</td>
<td align="right">
<a href="useredit.php?user_id={user_id}"><img src="image.php?icon=edit" alt="{lang_user_edit}"></a>
<a href="userdel.php?user_id={user_id}"><img src="image.php?icon=delete" alt="{lang_user_del}"></a>
</td>
</tr>
</table>
<p>
[BLOCK user_table AS user_table]
<table class="info">
<tr>
<td class="header">
{lang_user}
</td>
<td class="header_right">
&nbsp;
</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>
[END user_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">
&nbsp;
</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>

View File

@@ -1,35 +1,37 @@
<table class="title">
<tr>
<td class="header">
{lang_vlans} ({vlan_counter})
</td>
<td align="right">
<a href="vlanadd.php"><img src="image.php?icon=add" alt="{lang_vlan_add}"></a>
</td>
</tr>
</table>
<table class="title">
<tr>
<td class="header">
{$lang_vlans} ({$vlans|@count})
</td>
<td align="right">
<a href="vlanadd.php"><img src="image.php?icon=add" alt="{$lang_vlan_add}" {if $suser_tooltips}title="{$lang_vlan_add}" {/if}/></a>
</td>
</tr>
</table>
<p>
[BLOCK vlan_table AS vlan_table]
<table class="info">
<tr>
<td class="header">
{lang_vlan_number}
</td>
<td class="header">
{lang_vlan_name}
</td>
</tr>
[BLOCK vlan_row]
<tr>
<td class="label">
{vlan_number}
</td>
<td class="value">
<a href="vlanview.php?vlan_id={vlan_id}">{vlan_name}</a>
</td>
</tr>
[END vlan_row]
</table>
[END vlan_table]
<table class="info">
<tr>
<td class="header">
{$lang_vlan_number}
</td>
<td class="header">
{$lang_vlan_name}
</td>
<td class="header">
{$lang_vlan_info}
</td>
</tr>
{foreach item=vlan from=$vlans}
<tr>
<td class="label">
{$vlan.vlan_number}
</td>
<td class="value">
<a href="vlanview.php?vlan_id={$vlan.vlan_id}">{$vlan.vlan_name}</a>
</td>
<td>
{$vlan.vlan_info}
</td>
</tr>
{/foreach}
</table>

View File

@@ -1,50 +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>
<p>
<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>

View File

@@ -1,38 +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=save" alt="{lang_submit}">
</td>
</tr>
</table>
<p>
<table class="info">
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_vlan_name}
</td>
<td class="value">
<a href="vlanview.php?vlan_id={vlan_id}">{vlan_name}&nbsp;({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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_vlan_name}
</td>
<td class="value">
<a href="vlanview.php?vlan_id={$vlan_id}">{$vlan_name}&nbsp;({$vlan_number})</a>
</td>
</tr>
</table>
</form>

View File

@@ -1,53 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</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">
&nbsp;
</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>

View File

@@ -1,63 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="add" value="vlansubnet">
<input type="hidden" name="vlan_id" value="{$vlan_id}">
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet_add}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet}
</td>
<td class="value">
<select name="subnet_id">
[BLOCK subnet_row]
<option value="{subnet_id}">{subnet_address}/{subnet_mask}</option>
[END subnet_row]
</select>
</td>
</tr>
</table>
[END subnet_table]
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_subnet}
</td>
<td class="value">
{html_options name=subnet_id options=$subnet_options}
</td>
</tr>
</table>

View File

@@ -1,63 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="del" value="vlansubnet">
<input type="hidden" name="vlan_id" value="{$vlan_id}">
<p>
[BLOCK subnet_table AS subnet_table]
<table class="info">
<tr>
<td class="header">
{lang_subnet_del}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_subnet}
</td>
<td class="value">
<select name="subnet_id">
[BLOCK subnet_row]
<option value="{subnet_id}">{subnet_address}/{subnet_mask}</option>
[END subnet_row]
</select>
</td>
</tr>
</table>
[END subnet_table]
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_subnet}
</td>
<td class="value">
{html_options name=subnet_id options=$subnet_options}
</td>
</tr>
</table>

View File

@@ -1,60 +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>
<p>
<table class="info">
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</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>
<form method="POST" action="submit.php">
<input type="hidden" name="redirect" value="vlansubnet">
<input type="hidden" name="vlan_id" value="{$vlan_id}">
<p>
<table class="info">
<tr>
<td class="header">
{lang_subnet}
</td>
<td class="header_right">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="vlansubnetadd" checked>&nbsp;{lang_subnet_add}<br>
<input type="radio" name="action" value="vlansubnetdel">&nbsp;{lang_subnet_del}
</td>
</tr>
</table>
<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">
&nbsp;
</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">
&nbsp;
</td>
</tr>
<tr>
<td class="label">
{$lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="vlansubnetadd" checked>&nbsp;{$lang_subnet_add}<br>
<input type="radio" name="action" value="vlansubnetdel">&nbsp;{$lang_subnet_del}
</td>
</tr>
</table>

View File

@@ -1,79 +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>
<p>
[BLOCK vlan_table AS vlan_table]
<table class="info">
[BLOCK vlan_row]
<tr>
<td class="header">
{lang_vlan}
</td>
<td class="header_right">
&nbsp;
</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>
[END vlan_row]
</table>
[END vlan_table]
<p>
<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} ({subnet_counter})
</td>
<td class="value">
[BLOCK subnet_table AS subnet_table]
[BLOCK subnet_row]
<a href="subnetview.php?subnet_id={subnet_id}">{subnet_address}/{subnet_mask}</a><br>
[END subnet_row]
[END subnet_table]
</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">
&nbsp;
</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>

38
tpl/zone.tpl Normal file
View File

@@ -0,0 +1,38 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/table.png" alt="" />
{$lang_zones} ({$zones|@count})
</td>
<td align="right">
<a href="zoneadd.php"><img src="image.php?icon=add" alt="{$lang_zone_add}"></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_zone}
</td>
<td class="header">
Hostmaster
</td>
<td class="header">
Serial
</td>
</tr>
{foreach item=zone from=$zones}
<tr>
<td class="label">
<a href="zoneview.php?zone_id={$zone.zone_id}">{$zone.zone_origin}</a>
</td>
<td class="value">
{$zone.zone_hostmaster}
</td>
<td class="value">
{$zone.zone_serial}
</td>
</tr>
{/foreach}
</table>

158
tpl/zoneadd.tpl Normal file
View File

@@ -0,0 +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">
&nbsp;
</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>

37
tpl/zonedel.tpl Normal file
View File

@@ -0,0 +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">
&nbsp;
</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>

148
tpl/zoneedit.tpl Normal file
View File

@@ -0,0 +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">
&nbsp;
</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>

143
tpl/zoneview.tpl Normal file
View File

@@ -0,0 +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">
&nbsp;
</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>