From f0c6d404a41bd71306f13046707817437930cdda Mon Sep 17 00:00:00 2001 From: raulmateos Date: Sun, 9 May 2010 14:12:04 +0000 Subject: [PATCH] 2010-05-09 Raul Mateos * godmode/setup/file_manager.php: Changed deprecated split() function to explode(). Center delete image. * modules/manage_network_components.php: Center delete image. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ .../godmode/modules/manage_network_components.php | 1 + pandora_console/godmode/setup/file_manager.php | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 5202ba53e9..9c21263924 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2010-05-09 Raúl Mateos + + * godmode/setup/file_manager.php: Changed deprecated split() function to + explode(). Center delete image. + + * modules/manage_network_components.php: Center delete image. + 2010-05-07 Ramon Novoa * include/functions_reporting.php, include/fgraph.php, diff --git a/pandora_console/godmode/modules/manage_network_components.php b/pandora_console/godmode/modules/manage_network_components.php index 6f8df363f6..4747fd50e6 100644 --- a/pandora_console/godmode/modules/manage_network_components.php +++ b/pandora_console/godmode/modules/manage_network_components.php @@ -299,6 +299,7 @@ $table->head[5] = __('Max/Min'); $table->head[6] = __('Action'); $table->size = array (); $table->size[6] = '50px'; +$table->align[6] = 'center'; $table->data = array (); foreach ($components as $component) { diff --git a/pandora_console/godmode/setup/file_manager.php b/pandora_console/godmode/setup/file_manager.php index e62123c9e6..32901dd422 100644 --- a/pandora_console/godmode/setup/file_manager.php +++ b/pandora_console/godmode/setup/file_manager.php @@ -139,6 +139,7 @@ $table->colspan = array (); $table->data = array (); $table->head = array (); $table->size = array (); +$table->align[4] = 'center'; $table->size[0] = '24px'; @@ -148,7 +149,7 @@ $table->head[2] = __('Last modification'); $table->head[3] = __('Size'); $table->head[4] = __('Delete'); -$prev_dir = split ("/", $directory); +$prev_dir = explode ("/", $directory); $prev_dir_str = ""; for ($i = 0; $i < (count ($prev_dir) - 1); $i++) { $prev_dir_str .= $prev_dir[$i];