2013-05-17 Miguel de Dios <miguel.dedios@artica.es>

* godmode/events/events.php, operation/events/events_list.php,
	operation/events/events.php: re-added and re-set the custom fields
	by groups enterprise.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-05-17 11:08:28 +00:00
parent b8fa2708f9
commit f3d41d39a6
4 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2013-05-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/events/events.php, operation/events/events_list.php,
operation/events/events.php: re-added and re-set the custom fields
by groups enterprise.
2013-05-16 Miguel de Dios <miguel.dedios@artica.es> 2013-05-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: disabled * godmode/agentes/module_manager_editor_common.php: disabled

View File

@ -42,9 +42,17 @@ if (check_acl ($config["id_user"], 0, "PM")) {
$buttons['responses'] = array('active' => false, $buttons['responses'] = array('active' => false,
'text' => '<a href="index.php?sec=geventos&sec2=godmode/events/events&amp;section=responses&amp;pure='.$config['pure'].'">' . 'text' => '<a href="index.php?sec=geventos&sec2=godmode/events/events&amp;section=responses&amp;pure='.$config['pure'].'">' .
html_print_image("images/event_responses.png", true, array ("title" => __('Event responses'))) . '</a>'); html_print_image("images/event_responses.png", true, array ("title" => __('Event responses'))) . '</a>');
if (! defined ('METACONSOLE')) {
$buttons['fields'] = array('active' => false, $buttons['fields'] = array('active' => false,
'text' => '<a href="index.php?sec=geventos&sec2=godmode/events/events&amp;section=fields&amp;pure='.$config['pure'].'">' . 'text' => '<a href="index.php?sec=eventos&sec2=godmode/events/events&amp;section=fields&amp;pure='.$config['pure'].'">' .
html_print_image("images/custom_columns.png", true, array ("title" => __('Custom fields'))) . '</a>'); html_print_image("images/custom_columns.png", true, array ("title" => __('Custom fields'))) . '</a>');
}
else {
$buttons['fields'] = array('active' => false,
'text' => '<a href="index.php?sec=eventos&sec2=event/custom_events&amp;section=fields&amp;pure='.$config['pure'].'">' .
html_print_image("images/custom_columns.png", true, array ("title" => __('Custom fields'))) . '</a>');
}
} }
switch ($section) { switch ($section) {

View File

@ -320,7 +320,7 @@ if ($config["pure"] == 0 || $meta) {
} }
// If the history event is not ebabled, dont show the history tab // If the history event is not ebabled, dont show the history tab
if(!isset($config['metaconsole_events_history']) || $config['metaconsole_events_history'] != 1) { if (!isset($config['metaconsole_events_history']) || $config['metaconsole_events_history'] != 1) {
unset($onheader['history']); unset($onheader['history']);
} }