mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
2013-01-16 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Hide the history events tab when history events are disabled git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7e6afb0696
commit
86b5e4da9e
@ -1,3 +1,8 @@
|
||||
2013-01-16 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/events/events.php: Hide the history events tab
|
||||
when history events are disabled
|
||||
|
||||
2013-01-16 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/ajax/events.php
|
||||
|
@ -270,6 +270,11 @@ if ($config["pure"] == 0 || defined ('METACONSOLE')) {
|
||||
'csv' => $csv,
|
||||
'sound_event' => $sound_event) ;
|
||||
}
|
||||
|
||||
// If the history event is not ebabled, dont show the history tab
|
||||
if(!isset($config['metaconsole_events_history']) || $config['metaconsole_events_history'] != 1) {
|
||||
unset($onheader['history']);
|
||||
}
|
||||
|
||||
switch ($section) {
|
||||
case 'sound_event':
|
||||
|
Loading…
x
Reference in New Issue
Block a user