diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c631245345..ceb3b148a4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-01-17 Sergio Martin + + * operation/users/user_edit.php: Adapted the user edit + view to metaconsole + 2013-01-17 Sergio Martin * operation/events/events_list.php diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php index 32281b8712..cc8e1e11ec 100644 --- a/pandora_console/operation/users/user_edit.php +++ b/pandora_console/operation/users/user_edit.php @@ -69,7 +69,14 @@ if (is_ajax ()){ } // Header -ui_print_page_header (__('User detail editor'), "images/group.png", false, "", false, ""); +if(enterprise_installed() && defined("METACONSOLE")) { + user_meta_print_header(); + $url = 'index.php?sec=advanced&sec2=advanced/users_setup&tab=user_edit'; +} +else { + ui_print_page_header (__('User detail editor'), "images/group.png", false, "", false, ""); + $url = 'index.php?sec=workspace&sec2=operation/users/user_edit'; +} // Update user info if (isset ($_GET["modified"]) && !$view_mode) { @@ -162,7 +169,7 @@ if ($status != -1) { } -echo '
'; +echo ''; echo '';