mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2011-08-02 Tomas Palacios <tomas.palacios@artica.es>
* operation/menu.php: fixed a bug regarding large server names overflowing the menu area. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c4e492d06c
commit
cd48a4e983
@ -145,14 +145,14 @@ if (check_acl ($config['id_user'], 0, "AR")) {
|
|||||||
$servers = array ();
|
$servers = array ();
|
||||||
}
|
}
|
||||||
if (check_acl ($config['id_user'], 0, "PM")) {
|
if (check_acl ($config['id_user'], 0, "PM")) {
|
||||||
|
|
||||||
foreach ($servers as $serverItem) {
|
foreach ($servers as $serverItem) {
|
||||||
$sub["operation/servers/view_server_detail&server_id=".$serverItem["id_server"]]["text"] = $serverItem["name"];
|
$sub["operation/servers/view_server_detail&server_id=".$serverItem["id_server"]]["text"] = ui_print_string_substr($serverItem["name"], 16, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$menu["estado_server"]["sub"] = $sub;
|
$menu["estado_server"]["sub"] = $sub;
|
||||||
}
|
}
|
||||||
//End of server view
|
//End of server view
|
||||||
|
|
||||||
//End of server view
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook ('inventory_menu');
|
enterprise_hook ('inventory_menu');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user