Improved image-buttons and colored image creation

master
Thomas Hooge 1 year ago
parent 20b54f5b27
commit aabd37bd1a
  1. 3
      config.php-sample
  2. 2
      header.php
  3. 96
      image.php
  4. 0
      images/add.png
  5. 0
      images/delete.png
  6. 0
      images/edit.png
  7. 0
      images/fastforward.png
  8. 0
      images/rewind.png
  9. 0
      images/save.png
  10. 12
      includes.php
  11. 21
      lib/functions.php
  12. 8
      nat.php
  13. 2
      tpl/asset.tpl
  14. 2
      tpl/assetadd.tpl
  15. 2
      tpl/assetclass.tpl
  16. 4
      tpl/assetclassadd.tpl
  17. 2
      tpl/assetclassdel.tpl
  18. 2
      tpl/assetclassedit.tpl
  19. 2
      tpl/assetclassgroup.tpl
  20. 2
      tpl/assetclassgroupadd.tpl
  21. 2
      tpl/assetclassgroupdel.tpl
  22. 2
      tpl/assetclassgroupedit.tpl
  23. 6
      tpl/assetclassgroupview.tpl
  24. 6
      tpl/assetclassview.tpl
  25. 2
      tpl/assetdel.tpl
  26. 2
      tpl/assetedit.tpl
  27. 8
      tpl/assetview.tpl
  28. 4
      tpl/assigniptonode.tpl
  29. 4
      tpl/assignnodetoasset.tpl
  30. 2
      tpl/cable.tpl
  31. 6
      tpl/cableadd.tpl
  32. 2
      tpl/cabledel.tpl
  33. 4
      tpl/cableedit.tpl
  34. 4
      tpl/cableview.tpl
  35. 4
      tpl/header.tpl
  36. 2
      tpl/location.tpl
  37. 4
      tpl/locationadd.tpl
  38. 4
      tpl/locationdel.tpl
  39. 4
      tpl/locationedit.tpl
  40. 4
      tpl/locationsubnetadd.tpl
  41. 4
      tpl/locationsubnetdel.tpl
  42. 8
      tpl/locationsubnetedit.tpl
  43. 8
      tpl/locationview.tpl
  44. 2
      tpl/login.tpl
  45. 4
      tpl/natadd.tpl
  46. 6
      tpl/natedit.tpl
  47. 2
      tpl/node.tpl
  48. 4
      tpl/nodeadd.tpl
  49. 4
      tpl/nodedel.tpl
  50. 4
      tpl/nodeedit.tpl
  51. 6
      tpl/nodeview.tpl
  52. 4
      tpl/optionseditdisplay.tpl
  53. 4
      tpl/optionseditpassword.tpl
  54. 2
      tpl/search.tpl
  55. 2
      tpl/subnet.tpl
  56. 4
      tpl/subnetadd.tpl
  57. 4
      tpl/subnetdel.tpl
  58. 4
      tpl/subnetedit.tpl
  59. 4
      tpl/subnetlocationadd.tpl
  60. 4
      tpl/subnetlocationdel.tpl
  61. 4
      tpl/subnetlocationedit.tpl
  62. 8
      tpl/subnetview.tpl
  63. 4
      tpl/subnetvlanadd.tpl
  64. 4
      tpl/subnetvlandel.tpl
  65. 8
      tpl/subnetvlanedit.tpl
  66. 2
      tpl/user.tpl
  67. 4
      tpl/useradd.tpl
  68. 4
      tpl/userdel.tpl
  69. 4
      tpl/useredit.tpl
  70. 4
      tpl/userview.tpl
  71. 2
      tpl/vlan.tpl
  72. 4
      tpl/vlanadd.tpl
  73. 4
      tpl/vlandel.tpl
  74. 4
      tpl/vlanedit.tpl
  75. 4
      tpl/vlansubnetadd.tpl
  76. 4
      tpl/vlansubnetdel.tpl
  77. 4
      tpl/vlansubnetedit.tpl
  78. 6
      tpl/vlanview.tpl
  79. 2
      tpl/zone.tpl
  80. 4
      tpl/zoneadd.tpl
  81. 4
      tpl/zonedel.tpl
  82. 4
      tpl/zoneedit.tpl
  83. 4
      tpl/zoneview.tpl

@ -7,6 +7,9 @@ Copyright (C) 2011-2023 Thomas Hooge
SPDX-License-Identifier: GPL-3.0-or-later
*****************************************************************************/
// application settings
$config_app_session = 'ipreg';
// db connection
$config_mysql_host = 'localhost';
$config_mysql_username = 'ipreg';

@ -58,4 +58,4 @@ if ($_SESSION['suser_menu_zones']) {
$smarty->assign("menu", implode(' | ', $menu));
$smarty->display("header.tpl");
?>

@ -7,75 +7,33 @@ Copyright (C) 2011-2023 Thomas Hooge
SPDX-License-Identifier: GPL-3.0-or-later
*****************************************************************************/
include("includes.php");
include('config.php');
if(isset($_GET['icon'])) {
$icon = sanitize($_GET['icon']);
switch($icon) {
case ("add") :
$png = 'page_add';
break;
case ("back") :
$png = 'control_rewind_blue';
break;
case ("cancel") :
$png = 'control_rewind_blue';
break;
case ("comment") :
$png = 'comment';
break;
case ("delete") :
$png = 'page_delete';
break;
case ("shred") :
$png = 'bin';
break;
case ("edit") :
$png = 'page_edit';
break;
case ("error") :
$png = 'error';
break;
case ("help") :
$png = 'help';
break;
case ("logo") :
$png = 'logo';
break;
case ("next") :
$png = 'control_fastforward_blue';
break;
case ("save") :
$png = 'page_save';
break;
case ("search") :
$png = 'magnifier';
break;
}
$image = imagecreatefrompng("images/" . $png . ".png");
imagealphablending($image, true);
imagesavealpha($image, true);
header('Content-type: image/png');
imagepng($image);
imagedestroy($image);
}
session_name($config_app_session);
session_start();
if(isset($_GET['color'])) {
$color = sanitize($_GET['color']);
$image = imagecreatetruecolor($_SESSION['suser_imagesize'], $_SESSION['suser_imagesize']);
$color = imagecolorallocate($image, hexdec(substr($color,0,2)), hexdec(substr($color,2,2)), hexdec(substr($color,4,2)));
imagefill($image, 0, 0, $color);
header('Content-type: image/png');
imagepng($image);
imagedestroy($image);
function valid_color($color, $default='888888') {
// safe return a 6 character color string in uppercase
// input can be length of 3 or 6
if (! isset($color) or ! ctype_xdigit($color)) {
return $default;
}
if(strlen($color) == 3) {
// duplicate characters
$col6 = '';
for ($i=1; $i<=3; $i++) {
$col6 .= $color[$i].$color[$i];
}
return strtoupper($col6);
}
return strtoupper($color);
}
?>
$color = valid_color($_GET['color'], '444');
$image = imagecreatetruecolor($_SESSION['suser_imagesize'], $_SESSION['suser_imagesize']);
$color = imagecolorallocate($image, hexdec(substr($color,0,2)), hexdec(substr($color,2,2)), hexdec(substr($color,4,2)));
imagefill($image, 0, 0, $color);
header('Content-type: image/png');
imagepng($image);
imagedestroy($image);

Before

Width:  |  Height:  |  Size: 739 B

After

Width:  |  Height:  |  Size: 739 B

Before

Width:  |  Height:  |  Size: 740 B

After

Width:  |  Height:  |  Size: 740 B

Before

Width:  |  Height:  |  Size: 807 B

After

Width:  |  Height:  |  Size: 807 B

Before

Width:  |  Height:  |  Size: 736 B

After

Width:  |  Height:  |  Size: 736 B

Before

Width:  |  Height:  |  Size: 745 B

After

Width:  |  Height:  |  Size: 745 B

Before

Width:  |  Height:  |  Size: 774 B

After

Width:  |  Height:  |  Size: 774 B

@ -6,11 +6,13 @@ Copyright (C) 2011-2023 Thomas Hooge
SPDX-License-Identifier: GPL-3.0-or-later
*****************************************************************************/
session_name('ipreg');
include('config.php');
session_name($config_app_session);
session_start();
// check for user_id, if unnkown, redirect to login
// check for user_id, if unknown, redirect to login
if (empty($_SESSION['suser_id'])) {
if (isset($_SERVER['REQUEST_URI'])) {
$_SESSION['prelogin'] = $_SERVER['REQUEST_URI'];
@ -23,8 +25,6 @@ if (empty($_SESSION['suser_id'])) {
$config_auth_ldap = false;
$config_ext = array();
include("config.php");
// connect to database
$dbh = new PDO("mysql:host=$config_mysql_host;dbname=$config_mysql_dbname;charset=utf8", $config_mysql_username, $config_mysql_password);
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
@ -33,5 +33,3 @@ $dbh->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
include("lib.php");
$language = lang_getfrombrowser($config_lang, $config_lang_default, null, false);
?>

@ -47,12 +47,9 @@ function write_mac($mac, $user_mac='xx:xx:xx:xx:xx:xx') {
return $user_mac;
}
// redirect page
function header_location($location) {
// send header
header("location: " . $location);
// exit to be sure
// redirect page
header('location:' . $location);
exit;
}
@ -79,14 +76,6 @@ function sanitize($input) {
return $input;
}
function mysql_nullstring($input) {
if (isset($input)) {
return $input;
} else {
return '';
}
}
function lang_getfrombrowser ($allowed_languages, $default_language, $lang_variable = null, $strict_mode = true) {
if ($lang_variable === null) {
$lang_variable = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
@ -139,7 +128,6 @@ function print_tree_rec($tree, $level) {
return $output;
}
//function print_tree($params, &$smarty) {
function print_tree($params, Smarty_Internal_Template $template) {
if (empty($params['level'])) {
$level = 0;
@ -153,12 +141,9 @@ function print_tree($params, Smarty_Internal_Template $template) {
}
}
function msgout(array $parameters, Smarty_Internal_Template $smarty)
{
function msgout(array $parameters, Smarty_Internal_Template $smarty) {
// This is just a quick hack around missing {php} in Smarty3
$GLOBALS['g_error']->PrintOut();
$GLOBALS['g_warning']->PrintOut();
$GLOBALS['g_message']->PrintOut();
}
?>

@ -54,6 +54,10 @@ switch ($submit = form_get_action()) {
include("header.php");
if ($action == ACT_DEFAULT):
// ========== VARIANT: default behavior =======================================
$sql = "SELECT n.nat_id AS id, n.nat_type, n.nat_ext, n.nat_int,
n.nat_ext_port AS port_ext, n.nat_int_port AS port_int,
n.nat_description AS description,
@ -65,10 +69,8 @@ $sql = "SELECT n.nat_id AS id, n.nat_type, n.nat_ext, n.nat_int,
$sth = $dbh->query($sql);
$smarty->assign("nats", $sth->fetchAll());
$smarty->display("nat.tpl");
if ($action == ACT_DEFAULT):
// ========== VARIANT: default behavior =======================================
$smarty->display("nat.tpl");
elseif ($action == ACT_ADD):

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add}
<a href="asset.php?f=add"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
<a href="asset.php?f=add"><img src="images/add.png" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
{/if}
</td>
</tr>

@ -6,7 +6,7 @@
{$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>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
</td>
</tr>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="assetclass.php?f=add"><img src="image.php?icon=add" alt="{$lang_assetclass_add}" {if $suser_tooltips}title="{$lang_assetclass_add}" {/if}/></a>
<a href="assetclass.php?f=add"><img src="images/add.png" alt="{$lang_assetclass_add}" {if $suser_tooltips}title="{$lang_assetclass_add}" {/if}/></a>
{/if}
</td>
</tr>

@ -6,8 +6,8 @@
{$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" name="submit[insert]" src="images/page_add.png" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[insert]" src="images/add.png" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
</td>
</tr>
</table>

@ -7,7 +7,7 @@
{$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>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[delete]" src="images/bin.png" alt="{$lang_assetclass_del}" {if $suser_tooltips}title="{$lang_assetclass_del}" {/if}/>
</td>
</tr>

@ -8,7 +8,7 @@
{$lang_assetclass_edit} : {$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>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_save}" {if $suser_tooltips}title="{$lang_save}" {/if}/>
</td>
</tr>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="assetclassgroup.php?f=add"><img src="image.php?icon=add" alt="{$lang_assetclassgroup_add}" {if $suser_tooltips}title="{$lang_assetclassgroup_add}" {/if}/></a>
<a href="assetclassgroup.php?f=add"><img src="images/add.png" alt="{$lang_assetclassgroup_add}"{if $suser_tooltips} title="{$lang_assetclassgroup_add}"{/if}></a>
{/if}
</td>
</tr>

@ -6,7 +6,7 @@
{$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>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
</td>
</tr>

@ -7,7 +7,7 @@
{$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>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[delete]" src="images/bin.png" alt="{$lang_del}"{if $suser_tooltips} title="{$lang_assetclassgroup_del}"{/if} />
</td>
</tr>

@ -8,7 +8,7 @@
{$lang_assetclassgroup_edit} : {$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>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_submit}" {if $suser_tooltips}title="{$lang_submit}" {/if}/>
</td>
</tr>

@ -6,13 +6,13 @@
</td>
<td align="right">
{if $suser_add}
<a href="assetclassgroup.php?f=add&id={$assetclassgroup->id}"><img src="image.php?icon=add" alt="{$lang_assetclassgroup_add}" {if $suser_tooltips}title="{$lang_assetclassgroup_add}" {/if}/></a>
<a href="assetclassgroup.php?f=add&id={$assetclassgroup->id}"><img src="images/add.png" alt="{$lang_assetclassgroup_add}"{if $suser_tooltips} title="{$lang_assetclassgroup_add}"{/if}></a>
{/if}
{if $suser_edit}
<a href="assetclassgroup.php?f=edit&id={$assetclassgroup->id}"><img src="image.php?icon=edit" alt="{$lang_assetclassgroup_edit}" {if $suser_tooltips}title="{$lang_assetclassgroup_edit}" {/if}/></a>
<a href="assetclassgroup.php?f=edit&id={$assetclassgroup->id}"><img src="images/edit.png" alt="{$lang_assetclassgroup_edit}"{if $suser_tooltips} title="{$lang_assetclassgroup_edit}"{/if}></a>
{/if}
{if $suser_delete}
<a href="assetclassgroup.php?f=del&id={$assetclassgroup->id}"><img src="image.php?icon=delete" alt="{$lang_assetclassgroup_del}" {if $suser_tooltips}title="{$lang_assetclassgroup_del}" {/if}/></a>
<a href="assetclassgroup.php?f=del&id={$assetclassgroup->id}"><img src="images/delete.png" alt="{$lang_assetclassgroup_del}"{if $suser_tooltips} title="{$lang_assetclassgroup_del}"{/if}></a>
{/if}
</td>
</tr>

@ -6,13 +6,13 @@
</td>
<td align="right">
{if $suser_add}
<a href="asset.php?f=add&assetclass_id={$assetclass->assetclass_id}"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
<a href="asset.php?f=add&assetclass_id={$assetclass->assetclass_id}"><img src="images/add.png" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
{/if}
{if $suser_edit}
<a href="assetclass.php?f=edit&id={$assetclass->assetclass_id}"><img src="image.php?icon=edit" alt="{$lang_assetclass_edit}" {if $suser_tooltips}title="{$lang_asset_edit}" {/if}/></a>
<a href="assetclass.php?f=edit&id={$assetclass->assetclass_id}"><img src="images/edit.png" alt="{$lang_assetclass_edit}" {if $suser_tooltips}title="{$lang_asset_edit}" {/if}/></a>
{/if}
{if $suser_delete}
<a href="assetclass.php?f=del&id={$assetclass->assetclass_id}"><img src="image.php?icon=delete" alt="{$lang_assetclass_add}" {if $suser_tooltips}title="{$lang_asset_delete}" {/if}/></a>
<a href="assetclass.php?f=del&id={$assetclass->assetclass_id}"><img src="images/delete.png" alt="{$lang_assetclass_add}" {if $suser_tooltips}title="{$lang_asset_delete}" {/if}/></a>
{/if}
</td>
</tr>

@ -7,7 +7,7 @@
{$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>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}" {if $suser_tooltips}title="{$lang_cancel}" {/if}/></a>
<input type="image" name="submit[delete]" src="images/bin.png" alt="{$lang_asset_del}" {if $suser_tooltips}title="{$lang_asset_del}" {/if}/>
</td>
</tr>

@ -8,7 +8,7 @@
{$lang_asset_edit} : {$asset->asset_name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_submit}">
</td>
</tr>

@ -6,13 +6,13 @@
</td>
<td align="right">
{if $suser_add}
<a href="assignnodetoasset.php?asset_id={$asset->asset_id}"><img src="image.php?icon=add" alt="{$lang_assignnodetoasset}"></a>
<a href="assignnodetoasset.php?asset_id={$asset->asset_id}"><img src="images/add.png" alt="{$lang_assignnodetoasset}"{if $suser_tooltips} title="{$lang_nat_edit}"{/if}></a>
{/if}
{if $suser_edit}
<a href="asset.php?f=edit&id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_asset_edit}"></a>
<a href="asset.php?f=edit&id={$asset->asset_id}"><img src="images/edit.png" alt="{$lang_asset_edit}"{if $suser_tooltips} title="{$lang_nat_edit}"{/if}></a>
{/if}
{if $suser_delete}
<a href="asset.php?f=del&id={$asset->asset_id}"><img src="image.php?icon=delete" alt="{$lang_asset_edit}"></a>
<a href="asset.php?f=del&id={$asset->asset_id}"><img src="images/delete.png" alt="{$lang_asset_del}"{if $suser_tooltips} title="{$lang_asset_del}"{/if}></a>
{/if}
</td>
</tr>
@ -96,7 +96,7 @@
</td>
<td class="header_right">
{if $suser_edit}
<a href="node.php?f=link&asset_id={$asset->asset_id}"><img src="image.php?icon=edit" alt="{$lang_assignnodetoasset}"></a>
<a href="node.php?f=link&asset_id={$asset->asset_id}"><img src="images/edit.png" alt="{$lang_assignnodetoasset}"{if $suser_tooltips} title="{$lang_assignnodetoasset}"{/if}></a>
{/if}
</td>
</tr>

@ -8,8 +8,8 @@
{$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" name="submit[link]" src="image.php?icon=next" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[link]" src="images/fastforward" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -6,8 +6,8 @@
{$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" name="submit[exec-link]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-link]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="cable.php?f=add"><img src="images/page_add.png" alt="{$lang_add}" {if $suser_tooltips}title="{$lang_add}" {/if}/></a>
<a href="cable.php?f=add"><img src="images/add.png" alt="{$lang_cable_add}"{if $suser_tooltips} title="{$lang_cable_add}"{/if}/></a>
{/if}
</td>
</tr>

@ -7,8 +7,8 @@
{$lang_cable_add}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="images/control_rewind_blue.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if} /></a>
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_save}"{if $suser_tooltips} title="{$lang_save}"{/if} />
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if} /></a>
<input type="image" name="submit[insert]" src="images/save.png" alt="{$lang_save}"{if $suser_tooltips} title="{$lang_save}"{/if} />
</td>
</tr>
</table>
@ -76,7 +76,7 @@
</tr>
<tr>
<td class="label">
{$lang_info}
{$lang_cable_info}
</td>
<td class="value">
<textarea name="info" cols="30" rows="10">{$info}</textarea>

@ -7,7 +7,7 @@
{$lang_cable_del}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="images/control_rewind_blue.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if} /></a>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if} /></a>
<input type="image" name="submit[delete]" src="images/bin.png" alt="{$lang_del}"{if $suser_tooltips} title="{$lang_cable_del}"{/if} />
</td>
</tr>

@ -8,8 +8,8 @@
{$lang_cable_edit} : {$cable->description}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="images/control_rewind_blue.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if} /></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_save}"{if $suser_tooltips} title="{$lang_save}"{/if} />
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if} /></a>
<input type="image" name="submit[update]" src="images/save.png" alt="{$lang_save}"{if $suser_tooltips} title="{$lang_save}"{/if} />
</td>
</tr>
</table>

@ -5,8 +5,8 @@
{$cable->description}
</td>
<td align="right">
<a href="cable.php?f=edit&id={$cable->id}"><img src="image.php?icon=edit" alt="{$lang_cable_edit}"></a>
<a href="cable.php?f=del&id={$cable->id}"><img src="image.php?icon=delete" alt="{$lang_cable_del}"></a>
<a href="cable.php?f=edit&id={$cable->id}"><img src="images/edit.png" alt="{$lang_cable_edit}"{if $suser_tooltips} title="{$lang_cable_edit}"{/if}></a>
<a href="cable.php?f=del&id={$cable->id}"><img src="images/delete.png" alt="{$lang_cable_del}"{if $suser_tooltips} title="{$lang_cable_del}"{/if}></a>
</td>
</tr>
</table>

@ -23,7 +23,7 @@
<table class="menu">
<tr>
<td valign="top" rowspan="2">
<a href="index.php"><img src="image.php?icon=logo" alt="{$lang_ipreg}" style="margin-right:1em" /></a>
<a href="index.php"><img src="images/logo.png" alt="{$lang_ipreg}" style="margin-right:1em" /></a>
</td>
<td valign="top" rowspan="2">
{$menu}
@ -37,7 +37,7 @@
</tr>
<tr>
<td align="right">
<input type="text" name="search" value="{$search}">&nbsp;<input type="image" class="icon" src="image.php?icon=search" alt="{$lang_search}">
<input type="text" name="search" value="{$search}">&nbsp;<input type="image" class="icon" src="images/magnifier.png" alt="{$lang_search}"{if $suser_tooltips} title="{$lang_search}"{/if}>
</td>
</tr>
</table>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="location.php?f=add"><img src="images/building_add.png" alt="{$lang_location_add}" title="{$lang_location_add}" /></a>
<a href="location.php?f=add"><img src="images/building_add.png" alt="{$lang_location_add}"{if $suser_tooltips} title="{$lang_location_add}"{/if} /></a>
{/if}
</td>
</tr>

@ -7,8 +7,8 @@
{$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" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[insert]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$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" name="submit[delete]" src="images/building_delete.png" alt="{$lang_location_del}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[delete]" src="images/building_delete.png" alt="{$lang_location_del}"{if $suser_tooltips} title="{$lang_location_del}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$lang_location_edit} : {$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" name="submit[update]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[update]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_locationsubnet} ADD
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[subnetlink]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[subnetlink]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,9 +7,9 @@
{$lang_locationsubnet} DEL
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
{* TODO link und unlink icons! *}
<input type="image" name="submit[subnetunlink]" src="image.php?icon=save" alt="{$lang_submit}">
<input type="image" name="submit[subnetunlink]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$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" name="submit[exec-link]" src="image.php?icon=next" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-link]" src="images/fastforward.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>
@ -47,8 +47,8 @@
{$lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="locationsubnetadd" checked>&nbsp;{$lang_subnet_add}<br>
<input type="radio" name="action" value="locationsubnetdel">&nbsp;{$lang_subnet_del}
<input type="radio" id="opt1" name="action" value="locationsubnetadd" checked>&nbsp;<label for="opt1">{$lang_subnet_add}</label><br>
<input type="radio" id="opt2" name="action" value="locationsubnetdel">&nbsp;<label for="opt2">{$lang_subnet_del}</label>
</td>
</tr>
</table>

@ -6,13 +6,13 @@
</td>
<td align="right">
{if $suser_add}
<a href="location.php?f=add&parent={$location->id}"><img src="images/building_add.png" alt="{$lang_sublocation_add}"></a>
<a href="location.php?f=add&parent={$location->id}"><img src="images/building_add.png" alt="{$lang_sublocation_add}"{if $suser_tooltips} title="{$lang_sublocation_add}"{/if}></a>
{/if}
{if $suser_edit}
<a href="location.php?f=edit&id={$location->id}"><img src="images/building_edit.png" alt="{$lang_location_edit}"></a>
<a href="location.php?f=edit&id={$location->id}"><img src="images/building_edit.png" alt="{$lang_location_edit}"{if $suser_tooltips} title="{$lang_location_edit}"{/if}></a>
{/if}
{if $suser_delete}
<a href="location.php?f=del&id={$location->id}"><img src="images/building_delete.png" alt="{$lang_location_del}"></a>
<a href="location.php?f=del&id={$location->id}"><img src="images/building_delete.png" alt="{$lang_location_del}"{if $suser_tooltips} title="{$lang_location_del}"{/if}></a>
{/if}
</td>
</tr>
@ -79,7 +79,7 @@
</td>
<td class="header_right">
{if $suser_edit}
<a href="location.php?f=link&id={$location->id}"><img src="image.php?icon=edit" alt="{$lang_locationsubnet_edit}"></a>
<a href="location.php?f=link&id={$location->id}"><img src="images/edit.png" alt="{$lang_locationsubnet_edit}"{if $suser_tooltips} title="{$lang_locationsubnet_edit}"{/if}></a>
{/if}
</td>
</tr>

@ -33,7 +33,7 @@
{$lang_ipreg}&nbsp;{$config_version}
</td>
<td align="right">
<input type="image" src="images/control_fastforward_blue.png" alt="{$lang_login}" title="{$lang_login}">
<input type="image" src="images/fastforward.png" alt="{$lang_login}" title="{$lang_login}">
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$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" name="submit[insert]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[insert]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$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}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[next]" src="images/fastforward.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_cancel}"{/if}>
</td>
</tr>
</table>
@ -40,7 +40,7 @@
</tr>
<tr>
<td class="value">
<input type="radio" name="action" id="opt1" value="natadd" checked>&nbsp;<label for="opt2">{$lang_nat_add}</label>
<input type="radio" name="action" id="opt1" value="natadd" checked>&nbsp;<label for="opt1">{$lang_nat_add}</label>
</td>
</tr>
<tr>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="node.php?f=add&subnet_id={$subnet_id}"><img src="image.php?icon=add" alt="{$lang_node_add}"></a>
<a href="node.php?f=add&subnet_id={$subnet_id}"><img src="images/add.png" alt="{$lang_node_add}"{if $suser_tooltips} title="{$lang_node_add}"{/if}></a>
{/if}
</td>
</tr>

@ -7,8 +7,8 @@
{$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" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[insert]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$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" name="submit[delete]" src="image.php?icon=delete" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[delete]" src="images/delete.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$lang_node_edit} : {$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" name="submit[update]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[update]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -6,10 +6,10 @@
</td>
<td align="right">
{if $suser_edit}
<a href="node.php?f=edit&id={$node->id}"><img src="image.php?icon=edit" alt="{$lang_node_edit}"></a>
<a href="node.php?f=edit&id={$node->id}"><img src="images/edit.png" alt="{$lang_node_edit}"{if $suser_tooltips} title="{$lang_node_edit}"{/if}></a>
{/if}
{if $suser_delete}
<a href="node.php?f=del&id={$node->id}"><img src="image.php?icon=delete" alt="{$lang_node_del}"></a>
<a href="node.php?f=del&id={$node->id}"><img src="images/delete.png" alt="{$lang_node_del}"{if $suser_tooltips} title="{$lang_node_del}"{/if}></a>
{/if}
</td>
</tr>
@ -135,7 +135,7 @@
{$lang_nat}
</td>
<td class="header_right">
<a href="nat.php?f=edit&node_id={$node->id}"><img src="image.php?icon=edit" alt="{$lang_nat_edit}"></a>
<a href="nat.php?f=edit&node_id={$node->id}"><img src="images/edit.png" alt="{$lang_nat_edit}"{if $suser_tooltips} title="{$lang_nat_edit}"{/if}></a>
</td>
</tr>
<tr>

@ -7,8 +7,8 @@
{$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" name="submit[update]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[update]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$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" name="submit[exec-pass]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-pass]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -10,7 +10,7 @@
<table class="info">
<tr>
<td class="value">
<img src="image.php?icon=error" alt="{$lang_comments}">&nbsp;{$lang_comments_search_nosearch}
<img src="images/error.png" alt="{$lang_comments}">&nbsp;{$lang_comments_search_nosearch}
</td>
</tr>
</table>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="subnet.php?f=add"><img src="image.php?icon=add" alt="{$lang_subnet_add}"></a>
<a href="subnet.php?f=add"><img src="images/add.png" alt="{$lang_subnet_add}"{if $suser_tooltips} title="{$lang_subnet_add}"{/if}></a>
{/if}
</td>
</tr>

@ -6,8 +6,8 @@
{$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" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[insert]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_subnet_del}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" name="submit[delete]" src="image.php?icon=delete" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[delete]" src="images/delete.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$lang_subnet_edit} : {$subnet->address}/{$subnet->mask}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_subnetlocation}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-ladd]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-ladd]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_subnetlocation}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-ldel]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-ldel]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_subnetlocation}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-ledit]" src="image.php?icon=next" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.pnr" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-ledit]" src="images/fastforward.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -6,10 +6,10 @@
</td>
<td align="right">
{if $suser_edit}
<a href="subnet.php?f=edit&id={$subnet->id}"><img src="image.php?icon=edit" alt="{$lang_subnet_edit}"></a>
<a href="subnet.php?f=edit&id={$subnet->id}"><img src="images/edit.png" alt="{$lang_subnet_edit}"{if $suser_tooltips} title="{$lang_subnet_edit}"{/if}></a>
{/if}
{if $suser_delete}
<a href="subnet.php?f=del&id={$subnet->id}"><img src="image.php?icon=delete" alt="{$lang_subnet_del}"></a>
<a href="subnet.php?f=del&id={$subnet->id}"><img src="images/delete.png" alt="{$lang_subnet_del}"{if $suser_tooltips} title="{$lang_subnet_del}"{/if}></a>
{/if}
</td>
</tr>
@ -157,7 +157,7 @@
</td>
<td class="header_right">
{if $suser_edit}
<a href="subnet.php?f=vedit&id={$subnet->id}"><img src="image.php?icon=edit" alt="{$lang_subnetvlan_edit}"></a>
<a href="subnet.php?f=vedit&id={$subnet->id}"><img src="images/edit.png" alt="{$lang_subnetvlan_edit}"{if $suser_tooltips} title="{$lang_subnetvlan_edit}"{/if}></a>
{/if}
</td>
</tr>
@ -180,7 +180,7 @@
</td>
<td class="header" align="right">
{if $suser_edit}
<a href="subnet.php?f=ledit&id={$subnet->id}"><img src="image.php?icon=edit" alt="{$lang_location_edit}"></a>
<a href="subnet.php?f=ledit&id={$subnet->id}"><img src="images/edit.png" alt="{$lang_location_edit}"{if $suser_tooltips} title="{$lang_location_edit}"{/if}></a>
{/if}
</td>
</tr>

@ -7,8 +7,8 @@
{$lang_subnetvlan}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-vadd]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-vadd]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_subnetvlan}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-vdel]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-vdel]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_subnetvlan}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-vedit]" src="image.php?icon=next" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-vedit]" src="images/fastforward.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>
@ -46,8 +46,8 @@
{$lang_options}
</td>
<td class="value">
<input type="radio" name="action" value="subnetvlanadd" checked>&nbsp;{$lang_vlan_add}<br>
<input type="radio" name="action" value="subnetvlandel">&nbsp;{$lang_vlan_del}
<input type="radio" id="opt1" name="action" value="subnetvlanadd" checked>&nbsp;<label for="opt1">{$lang_vlan_add}</label><br>
<input type="radio" id="opt2" name="action" value="subnetvlandel">&nbsp;<label for="opt2">{$lang_vlan_del}</label>
</td>
</tr>
</table>

@ -5,7 +5,7 @@
{$lang_users} ({$users|@count})
</td>
<td align="right">
<a href="user.php?f=add"><img src="images/user_add.png" alt="{$lang_user_add}" /></a>
<a href="user.php?f=add"><img src="images/user_add.png" alt="{$lang_user_add}"{if $suser_tooltips} title="{$lang_user_add}"{/if}></a>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_user_add}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" name="submit[insert]" src="images/user_add.png" alt="{$lang_submit}" />
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[insert]" src="images/user_add.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$lang_user_del}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" name="submit[delete]" src="images/user_delete.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[delete]" src="images/user_delete.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$user_name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[update]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -5,8 +5,8 @@
{$user->name}
</td>
<td align="right">
<a href="user.php?f=edit&id={$user->id}"><img src="images/user_edit.png" alt="{$lang_user_edit}"></a>
<a href="user.php?f=del&id={$user->id}"><img src="images/user_delete.png" alt="{$lang_user_del}"></a>
<a href="user.php?f=edit&id={$user->id}"><img src="images/user_edit.png" alt="{$lang_user_edit}"{if $suser_tooltips} title="{$lang_user_edit}"{/if}></a>
<a href="user.php?f=del&id={$user->id}"><img src="images/user_delete.png" alt="{$lang_user_del}"{if $suser_tooltips} title="{$lang_user_del}"{/if}></a>
</td>
</tr>
</table>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="vlan.php?f=add"><img src="image.php?icon=add" alt="{$lang_vlan_add}" {if $suser_tooltips}title="{$lang_vlan_add}" {/if}/></a>
<a href="vlan.php?f=add"><img src="images/add.png" alt="{$lang_vlan_add}" {if $suser_tooltips}title="{$lang_vlan_add}" {/if}/></a>
{/if}
</td>
</tr>

@ -6,8 +6,8 @@
{$lang_vlan_add}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$vlan->name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" name="submit[delete]" src="images/bin.png" alt="{$lang_delete}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[delete]" src="images/bin.png" alt="{$lang_delete}"{if $suser_tooltips} title="{$lang_delete}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$lang_vlan_edit} : {$vlan->name}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_save}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[update]" src="images/save.png" alt="{$lang_save}"{if $suser_tooltips} title="{$lang_save}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_vlansubnet}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-sadd]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-sadd]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_vlansubnet}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-sdel]" src="image.php?icon=save" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-sdel]" src="images/save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$lang_vlansubnet}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[exec-sedit]" src="image.php?icon=next" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[exec-sedit]" src="images/fastforward.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -6,13 +6,13 @@
</td>
<td align="right">
{if $suser_add}
<a href="assignvlantosubnet.php?vlan_id={$vlan->id}"><img src="image.php?icon=add" alt="{$lang_assignvlantosubnet}"></a>
<a href="assignvlantosubnet.php?vlan_id={$vlan->id}"><img src="images/add.png" alt="{$lang_assignvlantosubnet}"{if $suser_tooltips} title="{$lang_assignvlantosubnet}"{/if}></a>
{/if}
{if $suser_edit}
<a href="vlan.php?f=edit&id={$vlan->id}"><img src="image.php?icon=edit" alt="{$lang_vlan_edit}"></a>
<a href="vlan.php?f=edit&id={$vlan->id}"><img src="images/edit.png" alt="{$lang_vlan_edit}"{if $suser_tooltips} title="{$lang_vlan_edit}"{/if}></a>
{/if}
{if $suser_delete}
<a href="vlan.php?f=del&id={$vlan->id}"><img src="image.php?icon=delete" alt="{$lang_vlan_del}"></a>
<a href="vlan.php?f=del&id={$vlan->id}"><img src="images/delete.png" alt="{$lang_vlan_del}"{if $suser_tooltips} title="{$lang_vlan_del}"{/if}></a>
{/if}
</td>
</tr>

@ -6,7 +6,7 @@
</td>
<td align="right">
{if $suser_add || $suser_admin}
<a href="zone.php?f=add"><img src="image.php?icon=add" alt="{$lang_zone_add}"></a>
<a href="zone.php?f=add"><img src="images/add.png" alt="{$lang_zone_add}"{if $suser_tooltips} title="{$lang_zone_add}"{/if}></a>
{/if}
</td>
</tr>

@ -6,8 +6,8 @@
{$lang_zone_add}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[insert]" src="images/page_save.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -7,8 +7,8 @@
{$zone_origin}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=cancel" alt="{$lang_cancel}"></a>
<input type="image" name="submit[delete]" src="images/table_delete.png" alt="{$lang_submit}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[delete]" src="images/table_delete.png" alt="{$lang_submit}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -8,8 +8,8 @@
{$lang_zone_edit} : {$zone->zone_origin}
</td>
<td align="right">
<a href="#" onClick="history.go(-1)"><img src="image.php?icon=back" alt="{$lang_cancel}"></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_save}">
<a href="#" onClick="history.go(-1)"><img src="images/rewind.png" alt="{$lang_cancel}"{if $suser_tooltips} title="{$lang_cancel}"{/if}></a>
<input type="image" name="submit[update]" src="images/page_save.png" alt="{$lang_save}"{if $suser_tooltips} title="{$lang_submit}"{/if}>
</td>
</tr>
</table>

@ -6,10 +6,10 @@
</td>
<td align="right">
{if $suser_edit || $suser_admin}
<a href="zone.php?f=edit&id={$zone->zone_id}"><img src="images/table_edit.png" alt="{$lang_zone_edit}" /></a>
<a href="zone.php?f=edit&id={$zone->zone_id}"><img src="images/table_edit.png" alt="{$lang_zone_edit}" {if $suser_tooltips} title="{$lang_zone_edit}"{/if}/></a>
{/if}
{if $suser_delete || $suser_admin}
<a href="zone.php?f=del&id={$zone->zone_id}"><img src="images/table_delete.png" alt="{$lang_zone_del}" /></a>
<a href="zone.php?f=del&id={$zone->zone_id}"><img src="images/table_delete.png" alt="{$lang_zone_del}" {if $suser_tooltips} title="{$lang_zone_del}"{/if}/></a>
{/if}
</td>
</tr>