2011-09-06 Miguel de Dios <miguel.dedios@artica.es>
* 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
This commit is contained in:
parent
49595d8f69
commit
611b639a9e
|
@ -1,3 +1,9 @@
|
|||
2011-09-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/extensions.php: update the style of page.
|
||||
|
||||
Fixes: #3371523
|
||||
|
||||
2011-09-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/modules/manage_network_templates.php: Added description titles
|
||||
|
|
|
@ -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] = '<a href="index.php?sec=extensions&sec2='.$extension['operation_menu']['sec2'].'" class="mn">'.$extension['operation_menu']['name'];
|
||||
|
||||
// if (check_acl ($config['id_user'], 0, "PM")) {
|
||||
// $data[1] = '<a href="index.php?sec=extensions&sec2=operation/extensions&delete='.$extension['operation_menu']['sec2'].'&name='.$extension['operation_menu']['name'].'" class="mn"><img src="images/cross.png"></a>';
|
||||
// }
|
||||
$data[0] = $extension['operation_menu']['name'];
|
||||
$data[1] = '<a href="index.php?sec=extensions&sec2='.$extension['operation_menu']['sec2'].'" class="mn">' . __('Execute') . '</a>';
|
||||
|
||||
array_push ($table->data, $data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue