From fec61ce055f7d42222c8fbb0b150c2100242dad4 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 6 Sep 2011 15:40:50 +0000 Subject: [PATCH] 2011-09-06 Miguel de Dios * operation/extensions.php: update the style of page. Fixes: #3371523 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/operation/extensions.php | 16 ++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c94a3ce9fe..eaa79b88fd 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-09-06 Miguel de Dios + + * operation/extensions.php: update the style of page. + + Fixes: #3371523 + 2011-09-06 Juan Manuel Ramon * godmode/modules/manage_network_templates.php: Added description titles diff --git a/pandora_console/operation/extensions.php b/pandora_console/operation/extensions.php index c621425065..18d056bb9c 100644 --- a/pandora_console/operation/extensions.php +++ b/pandora_console/operation/extensions.php @@ -42,13 +42,12 @@ if ($delete != ""){ } -$table->width = '98%'; +$table->width = '60%'; $table->head = array (); $table->head[0] = __('Name'); -//if (check_acl ($config['id_user'], 0, "PM")){ -// $table->head[1] = __('Delete'); -// $table->align[1] = "center"; -//} +$table->head[1] = __('Action'); +$table->style = array(); +$table->style[1] = 'text-align: center; font-weight: bolder;'; $table->data = array (); foreach ($config['extensions'] as $extension) { @@ -58,11 +57,8 @@ foreach ($config['extensions'] as $extension) { continue; $data = array (); - $data[0] = ''.$extension['operation_menu']['name']; - -// if (check_acl ($config['id_user'], 0, "PM")) { -// $data[1] = ''; -// } + $data[0] = $extension['operation_menu']['name']; + $data[1] = '' . __('Execute') . ''; array_push ($table->data, $data); }