rajven 3 лет назад
Родитель
Сommit
d05160a235
3 измененных файлов с 8 добавлено и 4 удалено
  1. 2 2
      html/admin/devices/mactable.php
  2. 3 0
      html/inc/languages/russian.php
  3. 3 2
      html/white.css

+ 2 - 2
html/admin/devices/mactable.php

@@ -13,10 +13,10 @@ print_editdevice_submenu($page_url,$id,$device['device_type'],$user_info['login'
 
 
 ?>
 ?>
 
 
-<div id="cont">
+<div id="contsubmenu">
 <?php
 <?php
 $ports = get_records($db_link,'device_ports',"device_id=$id AND uplink=0 ORDER BY port");
 $ports = get_records($db_link,'device_ports',"device_id=$id AND uplink=0 ORDER BY port");
-print "<b>Список маков активных на свиче ".$device['device_name']." (".$device['ip']."):</b>\n";
+print "<b>".WEB_device_mac_table_show."&nbsp".$device['device_name']." (".$device['ip']."):</b>\n";
 $fdb = get_fdb_table($device['ip'], $device['community'], $device['snmp_version']);
 $fdb = get_fdb_table($device['ip'], $device['community'], $device['snmp_version']);
 print "<table class=\"data\" cellspacing=\"1\" cellpadding=\"4\">\n";
 print "<table class=\"data\" cellspacing=\"1\" cellpadding=\"4\">\n";
 print "<tr>";
 print "<tr>";

+ 3 - 0
html/inc/languages/russian.php

@@ -307,4 +307,7 @@ define("WEB_device_type_show","Тип оборудования");
 define("WEB_device_hide_unknown","Скрыть неизвестные");
 define("WEB_device_hide_unknown","Скрыть неизвестные");
 define("WEB_device_show_location","Расположение оборудования");
 define("WEB_device_show_location","Расположение оборудования");
 
 
+/* mac table */
+define("WEB_device_mac_table_show","Список маков активных на оборудовании");
+
 ?>
 ?>

+ 3 - 2
html/white.css

@@ -45,9 +45,10 @@ a:hover                         { color: #ed8b0d; text-decoration: none; }
 #title                          { position: absolute; top: 15px; left: 15px; font-size: 18pt; color: #ed8b0d; }
 #title                          { position: absolute; top: 15px; left: 15px; font-size: 18pt; color: #ed8b0d; }
 #subtitle                       { position: absolute; top: 43px; left: 15px; font-size: 8pt; }
 #subtitle                       { position: absolute; top: 43px; left: 15px; font-size: 8pt; }
 #submenu                        { position: absolute; top: 55px; left: 20px; }
 #submenu                        { position: absolute; top: 55px; left: 20px; }
-#subsubmenu                     { position: absolute; top: 80px; left: 20px; }
 #cont                           { position: absolute; top: 70px; left: 15px; background-color: url('img/vr.gif'); background-repeat: repeat-y; background-position: right; }
 #cont                           { position: absolute; top: 70px; left: 15px; background-color: url('img/vr.gif'); background-repeat: repeat-y; background-position: right; }
-#contsubmenu                    { position: absolute; top: 100px; left: 15px; background-color: url('img/vr.gif'); background-repeat: repeat-y; background-position: right; }
+#subsubmenu                     { position: absolute; top: 80px; left: 20px; }
+#contsubmenu                    { position: absolute; top: 105px; left: 15px; background-color: url('img/vr.gif'); background-repeat: repeat-y; background-position: right; }
+
 #copyright                      { margin-top: 10px; margin-bottom: 10px; }
 #copyright                      { margin-top: 10px; margin-bottom: 10px; }
 #msg                            { font-size: 18pt; color: black; color: red; }
 #msg                            { font-size: 18pt; color: black; color: red; }