commit
0696a16030
@ -0,0 +1,24 @@ |
||||
IP Reg Upgrading |
||||
|
||||
This version has still not reached version 1.0 (feature complete). |
||||
As such, there may be changes at any time. |
||||
|
||||
There is no database upgrade logic so the database structure has |
||||
to be compared manually. |
||||
|
||||
1. Check and upgrade database schema |
||||
Compare current database schema with the contents of the database |
||||
creation script "mysql.sql". |
||||
Create missing objects in your current database. |
||||
|
||||
2. Install new version |
||||
Install the new application in a new location. |
||||
Copy the configuration file "config.php" to new installation. |
||||
Compare the configuration to the sample config. |
||||
There may be additional settings that you want to customize. |
||||
|
||||
3. Switch to new version |
||||
Rename the old an new directory. |
||||
|
||||
4. Done |
||||
If everything works fine you could remove the old directory. |
@ -1,172 +0,0 @@ |
||||
<?php |
||||
/***************************************************************************** |
||||
IP Reg, a PHP/MySQL IPAM tool |
||||
Copyright (C) 2007-2009 Wietse Warendorff |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 3 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. |
||||
|
||||
For more information, visit http://sourceforge.net/projects/ipreg, |
||||
or contact me at wietsew@users.sourceforge.net |
||||
*****************************************************************************/ |
||||
|
||||
class Db { |
||||
|
||||
protected $dblink; |
||||
|
||||
public function __construct ($dblink) { |
||||
$this->dblink = $dblink; |
||||
} |
||||
|
||||
function db_delete($query) { |
||||
// run query |
||||
$sql = mysqli_query($this->dblink, $query) or die(mysqli_error($this->dblink)); |
||||
} |
||||
|
||||
function db_insert($query) { |
||||
// run query |
||||
$sql = mysqli_query($this->dblink, $query) or die(mysqli_error($this->dblink)); |
||||
|
||||
// return result |
||||
return mysqli_insert_id($this->dblink); |
||||
} |
||||
|
||||
function db_select($query) { |
||||
// run query |
||||
$sql = mysqli_query($this->dblink, $query) or die(mysqli_error($this->dblink)); |
||||
|
||||
// loop results |
||||
$result = array(); |
||||
while($record = mysqli_fetch_assoc($sql)) { |
||||
$result[] = $record; |
||||
} |
||||
|
||||
// return array |
||||
return $result; |
||||
} |
||||
|
||||
function db_update($query) { |
||||
// run query |
||||
$sql = mysqli_query($this->dblink, $query) or die(mysqli_error($this->dblink)); |
||||
} |
||||
|
||||
function options_asset($null_value=NULL) { |
||||
$options = array(); |
||||
if (isset($null_value)) { |
||||
$options[0] = $null_value; |
||||
} |
||||
$sql = "SELECT asset_id, asset_name |
||||
FROM asset |
||||
ORDER BY asset_name"; |
||||
$records = $this->db_select($sql); |
||||
foreach ($records as $rec) { |
||||
$options[$rec['asset_id']] = $rec['asset_name']; |
||||
} |
||||
return $options; |
||||
} |
||||
|
||||
function options_assetclass($null_value=NULL) { |
||||
$options = array(); |
||||
if (isset($null_value)) { |
||||
$options[0] = $null_value; |
||||
} |
||||
$sql = "SELECT assetclass_id, assetclass_name |
||||
FROM assetclass |
||||
ORDER BY assetclass_name"; |
||||
$records = $this->db_select($sql); |
||||
foreach ($records as $rec) { |
||||
$options[$rec['assetclass_id']] = $rec['assetclass_name']; |
||||
} |
||||
return $options; |
||||
} |
||||
|
||||
function options_assetclassgroup($null_value=NULL) { |
||||
$options = array(); |
||||
if (isset($null_value)) { |
||||
$options[0] = $null_value; |
||||
} |
||||
$sql = "SELECT assetclassgroup_id, assetclassgroup_name |
||||
FROM assetclassgroup |
||||
ORDER BY assetclassgroup_name"; |
||||
$records = $this->db_select($sql); |
||||
foreach ($records as $rec) { |
||||
$options[$rec['assetclassgroup_id']] = $rec['assetclassgroup_name']; |
||||
} |
||||
return $options; |
||||
} |
||||
|
||||
function options_location($null_value=NULL) { |
||||
$options = array(); |
||||
if (isset($null_value)) { |
||||
$options[0] = $null_value; |
||||
} |
||||
$sql = "SELECT location_id, |
||||
location_name |
||||
FROM location |
||||
ORDER BY location_name"; |
||||
$records = $this->db_select($sql); |
||||
foreach ($records as $rec) { |
||||
$options[$rec['location_id']] = $rec['location_name']; |
||||
} |
||||
return $options; |
||||
} |
||||
|
||||
function options_subnet($null_value=NULL) { |
||||
$options = array(); |
||||
if (isset($null_value)) { |
||||
$options[0] = $null_value; |
||||
} |
||||
$sql = "SELECT subnet_id, |
||||
CONCAT_WS('/', subnet_address, subnet_mask) AS subnet_name |
||||
FROM subnet |
||||
ORDER BY INET_ATON(subnet_address)"; |
||||
$records = $this->db_select($sql); |
||||
foreach ($records as $rec) { |
||||
$options[$rec['subnet_id']] = $rec['subnet_name']; |
||||
} |
||||
return $options; |
||||
} |
||||
|
||||
function options_vlan($null_value=NULL) { |
||||
$options = array(); |
||||
if (isset($null_value)) { |
||||
$options[0] = $null_value; |
||||
} |
||||
$sql = "SELECT vlan_id, |
||||
CONCAT_WS(' - ', vlan_number, vlan_name) AS vlan_option |
||||
FROM vlan |
||||
ORDER BY vlan_number"; |
||||
$records = $this->db_select($sql); |
||||
foreach ($records as $rec) { |
||||
$options[$rec['vlan_id']] = $rec['vlan_option']; |
||||
} |
||||
return $options; |
||||
} |
||||
|
||||
function options_zone($null_value=NULL) { |
||||
$options = array(); |
||||
if (isset($null_value)) { |
||||
$options[0] = $null_value; |
||||
} |
||||
$sql = "SELECT zone_id, zone_origin |
||||
FROM zone |
||||
ORDER BY zone_origin"; |
||||
$records = $this->db_select($sql); |
||||
foreach ($records as $rec) { |
||||
$options[$rec['zone_id']] = $rec['zone_origin']; |
||||
} |
||||
return $options; |
||||
} |
||||
|
||||
} |
||||
?> |
File diff suppressed because it is too large
Load Diff
@ -1,148 +1,148 @@ |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_about} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_ipreg} {$config_version} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_projectpage} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="https://git.piratenpartei-sh.de/thooge/ipreg">https://git.piratenpartei-sh.de/thooge/ipreg</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_sfprojectpage} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="http://sourceforge.net/projects/ipreg">http://sourceforge.net/projects/ipreg</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_license} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="gpl-3.0.txt">{$lang_about_gpl}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_smarty} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="http://www.smarty.net/">http://www.smarty.net</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_iconset} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_about_ipreg_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_license_ext} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_about_changelog} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v08} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v08_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v07} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v07_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v06} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v06_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v05} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v05_ext} |
||||
</td> |
||||
</tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v04} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v04_ext} |
||||
</td> |
||||
</tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v03} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v03_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v02} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v02_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v01} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v01_ext} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_about} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_ipreg} {$config_version} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_projectpage} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="https://git.piratenpartei-sh.de/thooge/ipreg">https://git.piratenpartei-sh.de/thooge/ipreg</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_sfprojectpage} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="http://sourceforge.net/projects/ipreg">http://sourceforge.net/projects/ipreg</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_license} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="gpl-3.0.txt">{$lang_about_gpl}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_smarty} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="http://www.smarty.net/">http://www.smarty.net</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_iconset} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="http://www.famfamfam.com/lab/icons/silk/">http://www.famfamfam.com/lab/icons/silk/</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_about_ipreg_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_license_ext} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_about_changelog} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v08} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v08_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v07} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v07_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v06} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v06_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v05} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v05_ext} |
||||
</td> |
||||
</tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v04} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v04_ext} |
||||
</td> |
||||
</tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v03} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v03_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v02} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v02_ext} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_about_changelog_v01} |
||||
</td> |
||||
<td class="value"> |
||||
{$lang_about_changelog_v01_ext} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,70 +1,70 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="asset"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_hostname"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="asset_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclass_id options=$assetclass_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="asset"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_hostname"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="asset_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclass_id options=$assetclass_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,54 +1,54 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="assetclass"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="assetclass_name"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="assetclass"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="assetclass_name"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,36 +1,36 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="assetclass"> |
||||
<input type="hidden" name="assetclass_id" value="{$assetclass_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass_del} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_assetclass_del}" {if $suser_tooltips}title="{$lang_assetclass_del}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassview.php?assetclass_id={$assetclass_id}">{$assetclass_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="assetclass"> |
||||
<input type="hidden" name="assetclass_id" value="{$assetclass->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass_del} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_assetclass_del}" {if $suser_tooltips}title="{$lang_assetclass_del}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassview.php?assetclass_id={$assetclass->id}">{$assetclass->name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,55 +1,55 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="assetclass"> |
||||
<input type="hidden" name="assetclass_id" value="{$assetclass_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclass_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="assetclass_name" value="{$assetclass_name}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options selected=$assetclassgroup_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="assetclass"> |
||||
<input type="hidden" name="assetclass_id" value="{$assetclass->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclass->name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="assetclass_name" value="{$assetclass->name}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclassgroup_id options=$assetclassgroup_options selected=$assetclassgroup_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,42 +1,50 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="assetclassgroup"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="assetclassgroup_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_color} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="assetclassgroup_color"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="assetclassgroup"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="acg_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_description} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="acg_description" size="80" maxlength="100"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_color} |
||||
</td> |
||||
<td class="value"> |
||||
#<input type="text" {literal}class="color {pickerPosition:'right'}"{/literal} name="acg_color" size="6" maxlength="6" value="{$assetclassgroup->color}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</form> |
||||
|
@ -1,38 +1,38 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="assetclassgroup"> |
||||
<input type="hidden" name="assetclassgroup_id" value="{$assetclassgroup_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclassgroup_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup_id}">{$assetclassgroup_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="assetclassgroup"> |
||||
<input type="hidden" name="assetclassgroup_id" value="{$assetclassgroup->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclassgroup->name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup->id}">{$assetclassgroup->name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,44 +1,52 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="assetclassgroup"> |
||||
<input type="hidden" name="assetclassgroup_id" value="{$assetclassgroup_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclassgroup_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="assetclassgroup_name" value="{$assetclassgroup_name}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_color} |
||||
</td> |
||||
<td class="value"> |
||||
#<input type="text" {literal}class="color {pickerPosition:'right'}"{/literal} name="assetclassgroup_color" size="6" maxlength="6" value="{$assetclassgroup_color}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="assetclassgroup"> |
||||
<input type="hidden" name="acg_id" value="{$assetclassgroup->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclassgroup->name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="acg_name" value="{$assetclassgroup->name}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_description} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="acg_description" size="80" maxlength="100" value="{$assetclassgroup->description}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_color} |
||||
</td> |
||||
<td class="value"> |
||||
#<input type="text" {literal}class="color {pickerPosition:'right'}"{/literal} name="acg_color" size="6" maxlength="6" value="{$assetclassgroup->color}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,60 +1,69 @@ |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclassgroup_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="assetclassgroupadd.php?assetclassgroup_id={$assetclassgroup_id}"><img src="image.php?icon=add" alt="{$lang_assetclassgroup_add}" {if $suser_tooltips}title="{$lang_assetclassgroup_add}" {/if}/></a> |
||||
<a href="assetclassgroupedit.php?assetclassgroup_id={$assetclassgroup_id}"><img src="image.php?icon=edit" alt="{$lang_assetclassgroup_edit}" {if $suser_tooltips}title="{$lang_assetclassgroup_edit}" {/if}/></a> |
||||
<a href="assetclassgroupdel.php?assetclassgroup_id={$assetclassgroup_id}"><img src="image.php?icon=delete" alt="{$lang_assetclassgroup_del}" {if $suser_tooltips}title="{$lang_assetclassgroup_del}" {/if}/></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup_id}">{$assetclassgroup_name}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_color} |
||||
</td> |
||||
<td class="value"> |
||||
<img src="image.php?color={$assetclassgroup_color}" alt="{$assetclassgroup_color}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclasses} ({$assetclasses|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=assetclass from=$assetclasses} |
||||
<a href="assetclassview.php?assetclass_id={$assetclass.assetclass_id}">{$assetclass.assetclass_name}</a><br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$assetclassgroup->name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="assetclassgroupadd.php?assetclassgroup_id={$assetclassgroup->id}"><img src="image.php?icon=add" alt="{$lang_assetclassgroup_add}" {if $suser_tooltips}title="{$lang_assetclassgroup_add}" {/if}/></a> |
||||
<a href="assetclassgroupedit.php?assetclassgroup_id={$assetclassgroup->id}"><img src="image.php?icon=edit" alt="{$lang_assetclassgroup_edit}" {if $suser_tooltips}title="{$lang_assetclassgroup_edit}" {/if}/></a> |
||||
<a href="assetclassgroupdel.php?assetclassgroup_id={$assetclassgroup->id}"><img src="image.php?icon=delete" alt="{$lang_assetclassgroup_del}" {if $suser_tooltips}title="{$lang_assetclassgroup_del}" {/if}/></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclassgroup} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclassgroup_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassgroupview.php?assetclassgroup_id={$assetclassgroup->id}">{$assetclassgroup->name}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_description} |
||||
</td> |
||||
<td class="value"> |
||||
{$assetclassgroup->description} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_color} |
||||
</td> |
||||
<td class="value"> |
||||
<img src="image.php?color={$assetclassgroup->color}" alt="{$assetclassgroup->color}"> |
||||
#{$assetclassgroup->color} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclasses} ({$assetclasses|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=assetclass from=$assetclasses} |
||||
<a href="assetclassview.php?assetclass_id={$assetclass.assetclass_id}">{$assetclass.assetclass_name}</a><br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,58 +1,58 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="asset"> |
||||
<input type="hidden" name="asset_id" value="{$asset_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset_del} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{if $nodes|@count} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img src="image.php?icon=error" alt="{$lang_warning}"> |
||||
</td> |
||||
<td class="header_right"> |
||||
{$lang_comments_asset_del_nodes} |
||||
</td> |
||||
</tr> |
||||
{foreach item=node from=$nodes} |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="asset"> |
||||
<input type="hidden" name="asset_id" value="{$asset_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset_del} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a> |
||||
<input type="image" src="image.php?icon=shred" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{if $nodes|@count} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img src="image.php?icon=error" alt="{$lang_warning}"> |
||||
</td> |
||||
<td class="header_right"> |
||||
{$lang_comments_asset_del_nodes} |
||||
</td> |
||||
</tr> |
||||
{foreach item=node from=$nodes} |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node.node_id}">{$node.node_ip}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
@ -1,72 +1,72 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="asset"> |
||||
<input type="hidden" name="asset_id" value="{$asset.asset_id}"> |
||||
<input type="hidden" name="assetclass_id" value="{$asset.assetclass_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$asset_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_name" value="{$asset.asset_name}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_hostname" value="{$asset.asset_hostname}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="asset_info" cols="30" rows="10">{$asset.asset_info}</textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclass_id options=$assetclass_options selected=$asset.assetclass_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="asset"> |
||||
<input type="hidden" name="asset_id" value="{$asset->asset_id}"> |
||||
<input type="hidden" name="assetclass_id" value="{$asset->assetclass_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$asset_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_name" value="{$asset->asset_name}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_hostname" value="{$asset->asset_hostname}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="asset_info" cols="30" rows="10">{$asset->asset_info}</textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclass_id options=$assetclass_options selected=$asset->assetclass_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,89 +1,89 @@ |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$asset_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="assignnodetoasset.php?asset_id={$asset_id}"><img src="image.php?icon=add" alt="{$lang_assignnodetoasset}"></a> |
||||
<a href="assetedit.php?asset_id={$asset_id}"><img src="image.php?icon=edit" alt="{$lang_asset_edit}"></a> |
||||
<a href="assetdel.php?asset_id={$asset_id}"><img src="image.php?icon=delete" alt="{$lang_asset_edit}"></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetview.php?asset_id={$asset_id}">{$asset_name}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
{$asset_hostname} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_info} |
||||
</td> |
||||
<td class="value"> |
||||
{$asset_info} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassview.php?assetclass_id={$assetclass_id}">{$assetclass_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nodes} |
||||
</td> |
||||
<td class="header_right"> |
||||
<a href="assignnodetoasset.php?asset_id={$asset_id}"><img src="image.php?icon=edit" alt="{$lang_assignnodetoasset}"></a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_nodes} ({$nodes|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=node from=$nodes} |
||||
<a href="nodeview.php?node_id={$node.node_id}">{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</a> |
||||
{if $node.node_info}{$node.node_info}{/if}<br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$asset_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="assignnodetoasset.php?asset_id={$asset->asset_id}"><img src="image.php?icon=add" alt="{$lang_assignnodetoasset}"></a> |
||||
<a href="assetedit.php?asset_id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_asset_edit}"></a> |
||||
<a href="assetdel.php?asset_id={$asset->asset_id}"><img src="image.php?icon=delete" alt="{$lang_asset_edit}"></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetview.php?asset_id={$asset->asset_id}">{$asset->asset_name}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
{$asset->asset_hostname} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_info} |
||||
</td> |
||||
<td class="value"> |
||||
{$asset->asset_info} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="assetclassview.php?assetclass_id={$asset->assetclass_id}">{$asset->assetclass_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nodes} |
||||
</td> |
||||
<td class="header_right"> |
||||
<a href="assignnodetoasset.php?asset_id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_assignnodetoasset}"></a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_nodes} ({$nodes|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=node from=$nodes} |
||||
<a href="nodeview.php?node_id={$node.node_id}">{if $node.node_ip}{$node.node_ip}{else}(leer){/if}</a> |
||||
{if $node.node_info}{$node.node_info}{/if}<br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,63 +1,63 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="redirect" value="assigniptonode"> |
||||
<input type="hidden" name="node_ip" value="{$node_ip}"> |
||||
<input type="hidden" name="subnet_id" value="{$subnet_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assigniptonode} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
{$node_ip} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="subnetview.php?subnet_id={$subnet_id}&page={$node_ip}">{$subnet_address}/{$subnet_mask}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="assignnodetoasset" checked> {$lang_assignnodetoasset_existing} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="nodeadd"> {$lang_assignnodetoasset_new} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="redirect" value="assigniptonode"> |
||||
<input type="hidden" name="node_ip" value="{$node_ip}"> |
||||
<input type="hidden" name="subnet_id" value="{$subnet->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assigniptonode} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
{$node_ip} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="subnetview.php?subnet_id={$subnet_id}&page={$node_ip}">{$subnet->address}/{$subnet->mask}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="assignnodetoasset" checked> {$lang_assignnodetoasset_existing} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="nodeadd"> {$lang_assignnodetoasset_new} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,105 +1,105 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="assignnodetoasset"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assignnodetoasset} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_ip" value="{$node_ip}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_mac} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_mac"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns1} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns1"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns2} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns2"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_node_info} |
||||
</td> |
||||
<td label="value"> |
||||
<textarea name="node_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td label="value"> |
||||
{html_options name=asset_id options=$asset_options selected=$asset_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="assignnodetoasset"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assignnodetoasset} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_ip" value="{$node_ip}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_mac} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_mac"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns1} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns1"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns2} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns2"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_node_info} |
||||
</td> |
||||
<td label="value"> |
||||
<textarea name="node_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td label="value"> |
||||
{html_options name=asset_id options=$asset_options selected=$asset_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,23 +1,23 @@ |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_comments} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_comments} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
{$comments} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_comments} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_comments} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
{$comments} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,9 +1,9 @@ |
||||
<table class="footer"> |
||||
<tr> |
||||
<td align="center"> |
||||
IP Reg {$config_version} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</body> |
||||
</html> |
||||
<table class="footer"> |
||||
<tr> |
||||
<td align="center"> |
||||
IP Reg {$config_version} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
</body> |
||||
</html> |
||||
|
@ -1,61 +1,61 @@ |
||||
|
||||
<p></p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_statistics} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assets} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="asset.php">{$asset_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_locations} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="location.php">{$location_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_nodes} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="node.php">{$node_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnets} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="subnet.php">{$subnet_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_vlans} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="vlan.php">{$vlan_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_zones} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="zone.php">{$zone_counter}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p></p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_statistics} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assets} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="asset.php">{$asset_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_locations} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="location.php">{$location_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_nodes} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="node.php">{$node_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnets} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="subnet.php">{$subnet_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_vlans} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="vlan.php">{$vlan_counter}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_zones} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="zone.php">{$zone_counter}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,63 +1,63 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="location"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$lang_location_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="location_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="location_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location_parent} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=location_parent options=$location_options selected=$location_parent} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="location"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$lang_location_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="location_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="location_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location_parent} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=location_parent options=$location_options selected=$location_parent} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,39 +1,39 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="location"> |
||||
<input type="hidden" name="location_id" value="{$location_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$location_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="images/building_delete.png" alt="{$lang_location_del}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="location"> |
||||
<input type="hidden" name="location_id" value="{$location->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$location_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="images/building_delete.png" alt="{$lang_location_del}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location->id}">{$location->name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,64 +1,64 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="location"> |
||||
<input type="hidden" name="location_id" value="{$location_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$location_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="location_name" value="{$location_name}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="location_info" cols="30" rows="10">{$location_info}</textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location_parent} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_parent} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=parentlocation_id options=$location_options selected=$location_parent} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="location"> |
||||
<input type="hidden" name="location_id" value="{$location->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$location_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="location_name" value="{$location->name}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="location_info" cols="30" rows="10">{$location->info}</textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location_parent} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_parent} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=parentlocation_id options=$location_options selected=$location->parent} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,53 +1,53 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="locationsubnet"> |
||||
<input type="hidden" name="location_id" value="{$location_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_locationsubnet} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet_add} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="locationsubnet"> |
||||
<input type="hidden" name="location_id" value="{$location->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_locationsubnet} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location->id}">{$location->name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet_add} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,53 +1,53 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="locationsubnet"> |
||||
<input type="hidden" name="location_id" value="{$location_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{lang_locationsubnet} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="locationsubnet"> |
||||
<input type="hidden" name="location_id" value="{$location_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{lang_locationsubnet} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,54 +1,54 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="redirect" value="locationsubnet"> |
||||
<input type="hidden" name="location_id" value="{$location_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_locationsubnet} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_options} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="locationsubnetadd" checked> {$lang_subnet_add}<br> |
||||
<input type="radio" name="action" value="locationsubnetdel"> {$lang_subnet_del} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="redirect" value="locationsubnet"> |
||||
<input type="hidden" name="location_id" value="{$location_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_locationsubnet} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location_id}">{$location_name}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_options} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="locationsubnetadd" checked> {$lang_subnet_add}<br> |
||||
<input type="radio" name="action" value="locationsubnetdel"> {$lang_subnet_del} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,88 +1,88 @@ |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$location_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="locationadd.php?location_parent={$location_id}"><img src="images/building_add.png" alt="{$lang_sublocation_add}"></a> |
||||
<a href="locationedit.php?location_id={$location_id}"><img src="images/building_edit.png" alt="{$lang_location_edit}"></a> |
||||
<a href="locationdel.php?location_id={$location_id}"><img src="images/building_delete.png" alt="{$lang_location_del}"></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<ol id="breadcrumbs"> |
||||
{foreach item=breadcrumb from=$crumbs name=breadcrumbs} |
||||
<li{if $smarty.foreach.breadcrumbs.first} class="first"{/if}><a href="{$breadcrumb.url}">{$breadcrumb.name}</a></li> |
||||
{/foreach} |
||||
</ol> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_info} |
||||
</td> |
||||
<td class="value"> |
||||
{$location_info} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_sublocation} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_sublocations} ({$sublocations|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=sublocation from=$sublocations} |
||||
<a href="locationview.php?location_id={$sublocation.sublocation_id}">{$sublocation.sublocation_name}</a> |
||||
{$sublocation.info_short}{if $sublocation.info_length>40}…{/if} |
||||
<br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
<a href="locationsubnetedit.php?location_id={$location_id}"><img src="image.php?icon=edit" alt="{$lang_locationsubnet_edit}"></a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnets} ({$subnets|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=subnet from=$subnets} |
||||
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a><br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/building.png" alt="" /> |
||||
{$location_name} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="locationadd.php?location_parent={$location->id}"><img src="images/building_add.png" alt="{$lang_sublocation_add}"></a> |
||||
<a href="locationedit.php?location_id={$location->id}"><img src="images/building_edit.png" alt="{$lang_location_edit}"></a> |
||||
<a href="locationdel.php?location_id={$location->id}"><img src="images/building_delete.png" alt="{$lang_location_del}"></a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_location} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_name} |
||||
</td> |
||||
<td class="value"> |
||||
<ol id="breadcrumbs"> |
||||
{foreach item=breadcrumb from=$crumbs name=breadcrumbs} |
||||
<li{if $smarty.foreach.breadcrumbs.first} class="first"{/if}><a href="{$breadcrumb->url}">{$breadcrumb->name}</a></li> |
||||
{/foreach} |
||||
</ol> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_location_info} |
||||
</td> |
||||
<td class="value"> |
||||
{$location->info} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_sublocation} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_sublocations} ({$sublocations|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=sublocation from=$sublocations} |
||||
<a href="locationview.php?location_id={$sublocation.sublocation_id}">{$sublocation.sublocation_name}</a> |
||||
{$sublocation.info_short}{if $sublocation.info_length>40}…{/if} |
||||
<br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
<a href="locationsubnetedit.php?location_id={$location->id}"><img src="image.php?icon=edit" alt="{$lang_locationsubnet_edit}"></a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnets} ({$subnets|@count}) |
||||
</td> |
||||
<td class="value"> |
||||
{foreach item=subnet from=$subnets} |
||||
<a href="subnetview.php?subnet_id={$subnet.subnet_id}">{$subnet.subnet_address}/{$subnet.subnet_mask}</a><br> |
||||
{/foreach} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,68 +1,68 @@ |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
||||
<html> |
||||
<head> |
||||
<title>{$lang_ipreg}</title> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
||||
<link rel="stylesheet" href="tpl/style.css" type="text/css"> |
||||
<link rel="shortcut icon" href="images/shield.ico"> |
||||
</head> |
||||
|
||||
<body onload="document.login.user_name.focus();"> |
||||
|
||||
<table class="menu"> |
||||
<tr> |
||||
<td> |
||||
|
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="header"> |
||||
<tr> |
||||
<td> |
||||
{$lang_ipreg} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<form name="login" method="POST" action="login.php"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_ipreg} {$config_version} |
||||
</td> |
||||
<td align="right"> |
||||
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_login} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_user_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_name" /> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_user_password} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_pass" /> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
||||
<html> |
||||
<head> |
||||
<title>{$lang_ipreg}</title> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
||||
<link rel="stylesheet" href="tpl/style.css" type="text/css"> |
||||
<link rel="shortcut icon" href="images/shield.ico"> |
||||
</head> |
||||
|
||||
<body onload="document.login.user_name.focus();"> |
||||
|
||||
<table class="menu"> |
||||
<tr> |
||||
<td> |
||||
|
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="header"> |
||||
<tr> |
||||
<td> |
||||
{$lang_ipreg} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<form name="login" method="POST" action="login.php"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_ipreg} {$config_version} |
||||
</td> |
||||
<td align="right"> |
||||
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_login} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_user_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_name" /> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_user_password} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_pass" /> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,61 +1,61 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="nat"> |
||||
<input type="hidden" name="node_id_ext" value="{$node_id_ext}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nat} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node_id_ext}">{$node_ip_ext}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nat_add} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=node_id_int options=$node_options} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_nat_type} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=nat_type options=$nat_type_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="nat"> |
||||
<input type="hidden" name="node_id_ext" value="{$node_id_ext}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nat} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node_id_ext}">{$node_ip_ext}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nat_add} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=node_id_int options=$node_options} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_nat_type} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=nat_type options=$nat_type_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,52 +1,52 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="redirect" value="nat"> |
||||
<input type="hidden" name="node_id" value="{$node_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nat} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node_id}">{$node_ip}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="natadd" checked> {$lang_nat_add} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="natdel"> {$lang_nat_del} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="redirect" value="nat"> |
||||
<input type="hidden" name="node_id" value="{$node->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nat} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=next" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node->id}">{$node->ip}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="natadd" checked> {$lang_nat_add} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="value"> |
||||
<input type="radio" name="action" value="natdel"> {$lang_nat_del} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,133 +1,133 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="node"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/network-ethernet.png" alt="" /> |
||||
{$lang_node_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_ip" value="{$node_ip}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_mac} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_mac"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns1} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_dns1"> <input type="checkbox" name="node_dns1suffix" checked>{$user_dns1suffix} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns2} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_dns2"> <input type="checkbox" name="dns2suffix" checked>{$user_dns2suffix} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_node_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="node_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_hostname"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclass_id options=$assetclass_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="node"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/network-ethernet.png" alt="" /> |
||||
{$lang_node_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_ip" value="{$node_ip}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_mac} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_mac"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns1} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_dns1"> <input type="checkbox" name="node_dns1suffix" checked>{$user_dns1suffix} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns2} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="node_dns2"> <input type="checkbox" name="dns2suffix" checked>{$user_dns2suffix} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_node_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="node_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_name"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_hostname} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="asset_hostname"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assetclass} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_assetclass_name} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=assetclass_id options=$assetclass_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,38 +1,38 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="node"> |
||||
<input type="hidden" name="node_id" value="{$node_id}"> |
||||
<input type="hidden" name="asset_id" value="{$asset_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/network-ethernet.png" alt="" /> |
||||
{$node_ip} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node_id}">{$node_ip}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="del" value="node"> |
||||
<input type="hidden" name="node_id" value="{$node->id}"> |
||||
<input type="hidden" name="asset_id" value="{$node->asset_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/network-ethernet.png" alt="" /> |
||||
{$node->ip} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=delete" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node_del} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node->id}">{$node->ip}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,126 +1,126 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="node"> |
||||
<input type="hidden" name="node_id" value="{$node_id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/network-ethernet.png" alt="" /> |
||||
{$node_ip} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_ip" value="{$node_ip}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_mac} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_mac" value="{$node_mac}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns1} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns1" value="{$node_dns1}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns2} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns2" value="{$node_dns2}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_node_info} |
||||
</td> |
||||
<td label="value"> |
||||
<textarea name="node_info">{$node_info}</textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td label="value"> |
||||
{html_options name=asset_id options=$asset_options selected=$asset_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options selected=$subnet_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_zone} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
Origin |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=zone_id options=$zone_options selected=$zone_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="node"> |
||||
<input type="hidden" name="node_id" value="{$node->id}"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
<img class="icon" src="images/network-ethernet.png" alt="" /> |
||||
{$node_ip} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_node} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_ip} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_ip" value="{$node->ip}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_mac} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_mac" value="{$node->mac}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns1} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns1" value="{$node->dns1}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_dns2} |
||||
</td> |
||||
<td label="value"> |
||||
<input type="text" name="node_dns2" value="{$node->dns2}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_node_info} |
||||
</td> |
||||
<td label="value"> |
||||
<textarea name="node_info">{$node->info}</textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_asset} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_asset_name} |
||||
</td> |
||||
<td label="value"> |
||||
{html_options name=asset_id options=$asset_options selected=$node->asset_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress}/{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=subnet_id options=$subnet_options selected=$node->subnet_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_zone} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
Origin |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=zone_id options=$zone_options selected=$node->zone_id} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,34 +1,34 @@ |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
<td align="right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options_ipreg} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<a href="optionseditpassword.php">{$lang_options_password}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<a href="optionseditdisplay.php">{$lang_options_display}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<a href="user.php">{$lang_users}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
<td align="right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options_ipreg} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<a href="optionseditpassword.php">{$lang_options_password}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<a href="optionseditdisplay.php">{$lang_options_display}</a> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<a href="user.php">{$lang_users}</a> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
@ -1,110 +1,110 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="optionsdisplay"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options_display} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_language_help}">{$lang_user_language}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_language" value="{$user_language}" size="2"> |
||||
({$language}) |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_imagesize_help}">{$lang_options_imagesize}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_imagesize" value="{$user_imagesize}" size="3"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_imagecount_help}">{$lang_options_imagecount}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_imagecount" value="{$user_imagecount}" size="3"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_mac_help}">{$lang_options_mac}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_mac" value="{$user_mac}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_dateformat_help}">{$lang_options_dateformat}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_dateformat" value="{$user_dateformat}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_dns1suffix_help}">{$lang_options_dns1suffix}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_dns1suffix" value="{$user_dns1suffix}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_dns2suffix_help}">{$lang_options_dns2suffix}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_dns2suffix" value="{$user_dns2suffix}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_menu_help}">{$lang_menu}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="checkbox" name="user_menu_assets" {$user_menu_assets_checked}>{$lang_assets}<br /> |
||||
<input type="checkbox" name="user_menu_assetclasses" {$user_menu_assetclasses_checked}>{$lang_assetclasses}<br /> |
||||
<input type="checkbox" name="user_menu_assetclassgroups" {$user_menu_assetclassgroups_checked}>{$lang_assetclassgroups}<br /> |
||||
<input type="checkbox" name="user_menu_locations" {$user_menu_locations_checked}>{$lang_locations}<br /> |
||||
<input type="checkbox" name="user_menu_nodes" {$user_menu_nodes_checked}>{$lang_nodes}<br /> |
||||
<input type="checkbox" name="user_menu_subnets" {$user_menu_subnets_checked}>{$lang_subnets}<br /> |
||||
<input type="checkbox" name="user_menu_users" {$user_menu_users_checked}>{$lang_users}<br /> |
||||
<input type="checkbox" name="user_menu_vlans" {$user_menu_vlans_checked}>{$lang_vlans}<br /> |
||||
<input type="checkbox" name="user_menu_zones" {$user_menu_zones_checked}>{$lang_zones} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_tooltips_help}">{$lang_tooltips}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="checkbox" name="user_tooltips" {$user_tooltips_checked}>{$lang_tooltips}<br> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="optionsdisplay"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<p> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options_display} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_language_help}">{$lang_user_language}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_language" value="{$user_language}" size="2"> |
||||
({$language}) |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_imagesize_help}">{$lang_options_imagesize}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_imagesize" value="{$user_imagesize}" size="3"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_imagecount_help}">{$lang_options_imagecount}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_imagecount" value="{$user_imagecount}" size="3"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_mac_help}">{$lang_options_mac}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_mac" value="{$user_mac}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_dateformat_help}">{$lang_options_dateformat}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_dateformat" value="{$user_dateformat}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_dns1suffix_help}">{$lang_options_dns1suffix}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_dns1suffix" value="{$user_dns1suffix}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_dns2suffix_help}">{$lang_options_dns2suffix}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="user_dns2suffix" value="{$user_dns2suffix}"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_menu_help}">{$lang_menu}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="checkbox" name="user_menu_assets" {$user_menu_assets_checked}>{$lang_assets}<br /> |
||||
<input type="checkbox" name="user_menu_assetclasses" {$user_menu_assetclasses_checked}>{$lang_assetclasses}<br /> |
||||
<input type="checkbox" name="user_menu_assetclassgroups" {$user_menu_assetclassgroups_checked}>{$lang_assetclassgroups}<br /> |
||||
<input type="checkbox" name="user_menu_locations" {$user_menu_locations_checked}>{$lang_locations}<br /> |
||||
<input type="checkbox" name="user_menu_nodes" {$user_menu_nodes_checked}>{$lang_nodes}<br /> |
||||
<input type="checkbox" name="user_menu_subnets" {$user_menu_subnets_checked}>{$lang_subnets}<br /> |
||||
<input type="checkbox" name="user_menu_users" {$user_menu_users_checked}>{$lang_users}<br /> |
||||
<input type="checkbox" name="user_menu_vlans" {$user_menu_vlans_checked}>{$lang_vlans}<br /> |
||||
<input type="checkbox" name="user_menu_zones" {$user_menu_zones_checked}>{$lang_zones} |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_tooltips_help}">{$lang_tooltips}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="checkbox" name="user_tooltips" {$user_tooltips_checked}>{$lang_tooltips}<br> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,51 +1,51 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="optionspassword"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options_password} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_currentpassword_help}">{$lang_options_currentpassword}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_currentpass"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_newpassword1_help}">{$lang_options_newpassword1}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_newpass1"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_newpassword2_help}">{$lang_options_newpassword2}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_newpass2"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="edit" value="optionspassword"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_options_password} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_currentpassword_help}">{$lang_options_currentpassword}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_currentpass"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_newpassword1_help}">{$lang_options_newpassword1}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_newpass1"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
<span class="help" title="{$lang_options_newpassword2_help}">{$lang_options_newpassword2}</span> |
||||
</td> |
||||
<td class="value"> |
||||
<input type="password" name="user_newpass2"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
@ -1,134 +1,134 @@ |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_search} ({$search}) |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{if $nosearch eq TRUE} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="value"> |
||||
<img src="image.php?icon=error" alt="{$lang_comments}"> {$lang_comments_search_nosearch} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{else} |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="value"> |
||||
{$lang_search_results_found} {$resultcounter} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{if $assets|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assets} ({$assets|@count}) |
||||
</td> |
||||
<td class="header"></td> |
||||
</tr> |
||||
{foreach item=asset from=$assets} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="assetview.php?asset_id={$asset.id}">{$asset.name}</a> |
||||
</td> |
||||
<td class="value"> |
||||
{$asset.description} |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $locations|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_locations} ({$locations|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=location from=$locations} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location.id}">{$location.name}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $nodes|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nodes} ({$nodes|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=node from=$nodes} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node.id}">{$node.ip}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $subnets|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnets} ({$subnets|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=subnet from=$subnets} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="subnetview.php?subnet_id={$subnet.id}">{$subnet.address}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $vlans|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_vlans} ({$vlans|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=vlan from=$vlans} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $zones|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_zones} ({$zones|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=zone from=$zones} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="zoneview.php?zone_id={$zone.id}">{$zone.origin}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{/if} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_search} ({$search}) |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{if $nosearch eq TRUE} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="value"> |
||||
<img src="image.php?icon=error" alt="{$lang_comments}"> {$lang_comments_search_nosearch} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{else} |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="value"> |
||||
{$lang_search_results_found} {$resultcounter} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
{if $assets|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_assets} ({$assets|@count}) |
||||
</td> |
||||
<td class="header"></td> |
||||
</tr> |
||||
{foreach item=asset from=$assets} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="assetview.php?asset_id={$asset.id}">{$asset.name}</a> |
||||
</td> |
||||
<td class="value"> |
||||
{$asset.description} |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $locations|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_locations} ({$locations|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=location from=$locations} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="locationview.php?location_id={$location.id}">{$location.name}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $nodes|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_nodes} ({$nodes|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=node from=$nodes} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="nodeview.php?node_id={$node.id}">{$node.ip}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $subnets|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnets} ({$subnets|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=subnet from=$subnets} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="subnetview.php?subnet_id={$subnet.id}">{$subnet.address}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $vlans|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_vlans} ({$vlans|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=vlan from=$vlans} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="vlanview.php?vlan_id={$vlan.id}">{$vlan.name}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{if $zones|@count > 0} |
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_zones} ({$zones|@count}) |
||||
</td> |
||||
</tr> |
||||
{foreach item=zone from=$zones} |
||||
<tr> |
||||
<td class="value"> |
||||
<a href="zoneview.php?zone_id={$zone.id}">{$zone.origin}</a> |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</table> |
||||
{/if} |
||||
|
||||
{/if} |
||||
|
@ -1,79 +1,79 @@ |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="subnet"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="subnet_address"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="subnet_mask" size="2"> (8-30) |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_dhcp} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="subnet_dhcp_start"> - |
||||
<input type="text" name="subnet_dhcp_end"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="subnet_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_vlan} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_vlan} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=vlan_id options=$vlan_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
<form method="POST" action="submit.php"> |
||||
<input type="hidden" name="add" value="subnet"> |
||||
|
||||
<table class="title"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet_add} |
||||
</td> |
||||
<td align="right"> |
||||
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a> |
||||
<input type="image" src="image.php?icon=save" alt="{$lang_submit}"> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_subnet} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_subnetaddress} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="subnet_address"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_mask} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="subnet_mask" size="2"> (8-30) |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_dhcp} |
||||
</td> |
||||
<td class="value"> |
||||
<input type="text" name="subnet_dhcp_start"> - |
||||
<input type="text" name="subnet_dhcp_end"> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_subnet_info} |
||||
</td> |
||||
<td class="value"> |
||||
<textarea name="subnet_info" cols="30" rows="10"></textarea> |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
<table class="info"> |
||||
<tr> |
||||
<td class="header"> |
||||
{$lang_vlan} |
||||
</td> |
||||
<td class="header_right"> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="label"> |
||||
{$lang_vlan} |
||||
</td> |
||||
<td class="value"> |
||||
{html_options name=vlan_id options=$vlan_options} |
||||
</td> |
||||
</tr> |
||||
</table> |
||||
|
||||
</form> |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in new issue