WIP EGroupware Tutorial:

- Add tutorials hook into other apps sidebar
This commit is contained in:
Hadi Nategh 2015-10-16 10:39:38 +00:00
parent 45668446bf
commit aa6a362f16
6 changed files with 6 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class addressbook_hooks
display_sidebox($appname,lang('Admin'),$file); display_sidebox($appname,lang('Admin'),$file);
} }
} }
hooks::egw_tutorial_menu('addressbook');
} }
/** /**

View File

@ -154,6 +154,7 @@ class admin_hooks
display_sidebox($appname,lang('Admin'),$file); display_sidebox($appname,lang('Admin'),$file);
} }
} }
hooks::egw_tutorial_menu('admin');
} }
/** /**

View File

@ -621,6 +621,7 @@ class calendar_ui
); );
$GLOBALS['egw']->framework->sidebox($appname,lang('Admin'),$file,'admin'); $GLOBALS['egw']->framework->sidebox($appname,lang('Admin'),$file,'admin');
} }
hooks::egw_tutorial_menu('calendar');
} }
/** /**

View File

@ -94,6 +94,7 @@ class filemanager_hooks
display_sidebox(self::$appname,$title,$file); display_sidebox(self::$appname,$title,$file);
} }
if ($GLOBALS['egw_info']['user']['apps']['admin']) self::admin(self::$appname); if ($GLOBALS['egw_info']['user']['apps']['admin']) self::admin(self::$appname);
hooks::egw_tutorial_menu('filemanager');
} }
/** /**

View File

@ -130,6 +130,7 @@ class infolog_hooks
display_sidebox($appname,lang('Admin'),$file); display_sidebox($appname,lang('Admin'),$file);
} }
} }
hooks::egw_tutorial_menu('infolog');
} }
/** /**

View File

@ -67,6 +67,7 @@ class resources_hooks
display_sidebox($appname,lang('Admin'),$file); display_sidebox($appname,lang('Admin'),$file);
} }
} }
hooks::egw_tutorial_menu('resources');
} }
function search_link($args) function search_link($args)