* All apps/Tutorials:

- Add two more options in admin's site configuration to be able to switch tutorials in sidebox and/or "ask show introduction dialog" on/off
- Add some translation
This commit is contained in:
Hadi Nategh
2015-11-03 16:15:56 +00:00
parent d303af1c89
commit 3dc87c4574
5 changed files with 12 additions and 5 deletions

View File

@ -135,7 +135,8 @@ class home_tutorial_ui
$tutorials = json_decode(self::getJsonData(),true);
$appname = $GLOBALS['egw_info']['flags']['currentapp'];
if (!is_array($tutorials[$appname])) return false;
if (!$GLOBALS['egw_info']['server']['egw_tutorial_disable'])
if (!$GLOBALS['egw_info']['server']['egw_tutorial_disable']
|| $GLOBALS['egw_info']['server']['egw_tutorial_disable'] == 'intro')
{
$file = Array (
array(