| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare - Knowledge Base * 4 * http://www.egroupware.org * 5 * ----------------------------------------------- * 6 * This program is free software; you can redistribute it and/or modify it * 7 * under the terms of the GNU General Public License as published by the * 8 * Free Software Foundation; either version 2 of the License, or (at your * 9 * option) any later version. * 10 \**************************************************************************/ 11 12 /* $Id: hook_sidebox_menu.inc.php 20295 2006-02-15 12:31:25Z $ */ 13 { 14 $menu_title = $GLOBALS['egw_info']['apps'][$appname]['title'] . ' '. lang('Menu'); 15 $file=Array( 16 'Main View' => $GLOBALS['egw']->link('/index.php','menuaction=phpbrain.uikb.index'), 17 'New Article' => $GLOBALS['egw']->link('/index.php','menuaction=phpbrain.uikb.edit_article'), 18 'Add Question' => $GLOBALS['egw']->link('/index.php','menuaction=phpbrain.uikb.add_question'), 19 'Maintain Articles' => $GLOBALS['egw']->link('/index.php','menuaction=phpbrain.uikb.maintain_articles'), 20 'Maintain Questions' => $GLOBALS['egw']->link('/index.php','menuaction=phpbrain.uikb.maintain_questions') 21 ); 22 display_sidebox($appname,$menu_title,$file); 23 24 if($GLOBALS['egw_info']['user']['apps']['preferences']) 25 { 26 $menu_title = lang('Preferences'); 27 $file = Array( 28 'Preferences' => $GLOBALS['egw']->link('/index.php','menuaction=preferences.uisettings.index&appname=' . $appname), 29 'Edit Categories' => $GLOBALS['egw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app='.$appname.'&cats_level=True&global_cats=True') 30 ); 31 display_sidebox($appname,$menu_title,$file); 32 } 33 34 if($GLOBALS['egw_info']['user']['apps']['admin']) 35 { 36 $menu_title = 'Administration'; 37 $file = Array( 38 'Configuration' => $GLOBALS['egw']->link('/index.php','menuaction=admin.uiconfig.index&appname=phpbrain'), 39 'Global Categories' => $GLOBALS['egw']->link('/index.php','menuaction=admin.uicategories.index&appname=phpbrain') 40 ); 41 display_sidebox($appname,$menu_title,$file); 42 } 43 } 44 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |