2013-01-17 Sergio Martin <sergio.martin@artica.es>

* operation/users/user_edit.php: Adapted the user edit 
	view to metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-01-17 11:18:47 +00:00
parent 8cb7601707
commit 977f1cb94e
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-01-17 Sergio Martin <sergio.martin@artica.es>
* operation/users/user_edit.php: Adapted the user edit
view to metaconsole
2013-01-17 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php

View File

@ -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&amp;sec2=advanced/users_setup&amp;tab=user_edit';
}
else {
ui_print_page_header (__('User detail editor'), "images/group.png", false, "", false, "");
$url = 'index.php?sec=workspace&amp;sec2=operation/users/user_edit';
}
// Update user info
if (isset ($_GET["modified"]) && !$view_mode) {
@ -162,7 +169,7 @@ if ($status != -1) {
}
echo '<form name="user_mod" method="post" action="index.php?sec=workspace&amp;sec2=operation/users/user_edit&amp;modified=1&amp;id='.$id.'">';
echo '<form name="user_mod" method="post" action="'.$url.'&amp;modified=1&amp;id='.$id.'&amp;pure='.$config['pure'].'">';
echo '<table cellpadding="4" cellspacing="4" class="databox" width="98%">';