phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/templates/probusiness head.inc.php, 1.3 navb


From: powerstat
Subject: [Phpgroupware-cvs] phpgwapi/templates/probusiness head.inc.php, 1.3 navbar.inc.php, 1.3
Date: Thu, 28 Apr 2005 10:11:00 +0200

Update of phpgwapi/templates/probusiness

Modified Files:
     Branch: MAIN
            head.inc.php lines: +8 -9
            navbar.inc.php lines: +23 -16

Log Message:
phpdocs added to the rest outside inc

====================================================
Index: phpgwapi/templates/probusiness/head.inc.php
diff -u phpgwapi/templates/probusiness/head.inc.php:1.2 
phpgwapi/templates/probusiness/head.inc.php:1.3
--- phpgwapi/templates/probusiness/head.inc.php:1.2     Thu Dec 30 06:47:35 2004
+++ phpgwapi/templates/probusiness/head.inc.php Thu Apr 28 08:11:59 2005
@@ -1,19 +1,18 @@
 <?php
 /**
- * probusiness template set
- * @author Philipp Kamps <address@hidden>, Daniel Briegert <address@hidden>
- * @copyright Copyright (C) 2003 Free Software Foundation http://www.fsf.org/
+ * probusiness template set header
+ * @author Philipp Kamps <address@hidden>
+ * @author Daniel Briegert <address@hidden>
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation 
http://www.fsf.org/
  * @license http://www.fsf.org/licenses/gpl.html GNU General Public License
- * @package template
- * @subpackage probusiness
+ * @package phpgwapi
+ * @subpackage gui
  * @version $Id$
  */

        $app_css = $java_script = '';

-       /*
-        * css file handling
-        */
+       // css file handling
        $css_file = PHPGW_SERVER_ROOT . 
'/phpgwapi/templates/probusiness/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
        if (file_exists($css_file))
        {

====================================================
Index: phpgwapi/templates/probusiness/navbar.inc.php
diff -u phpgwapi/templates/probusiness/navbar.inc.php:1.2 
phpgwapi/templates/probusiness/navbar.inc.php:1.3
--- phpgwapi/templates/probusiness/navbar.inc.php:1.2   Thu Dec 30 06:47:35 2004
+++ phpgwapi/templates/probusiness/navbar.inc.php       Thu Apr 28 08:11:59 2005
@@ -1,12 +1,12 @@
 <?php
 /**
  * probusiness template set
- *
- * @author Philipp Kamps <address@hidden>, Daniel Briegert <address@hidden>
- * @copyright Copyright (C) 2003 Free Software Foundation http://www.fsf.org/
+ * @author Philipp Kamps <address@hidden>
+ * @author Daniel Briegert <address@hidden>
+ * @copyright Copyright (C) 2003-2005 Free Software Foundation 
http://www.fsf.org/
  * @license http://www.fsf.org/licenses/gpl.html GNU General Public License
- * @package template
- * @subpackage probusiness
+ * @package phpgwapi
+ * @subpackage gui
  * @version $Id$
  */

@@ -14,7 +14,8 @@
        /**
         * Parse navigation bar
         *
-        * @var boolean $force
+        * @param boolean $force
+        * @ignore
         */
        function parse_navbar($force = false)
        {
@@ -91,10 +92,8 @@
                        $tpl->parse('navbarview','app_rows',false);
                }

-               /*
-                * get sidebox content and parse it as a menu
-                * it's just a hack. You need to enable the folders module to 
get an ouput
-                */
+               // get sidebox content and parse it as a menu
+               // it's just a hack. You need to enable the folders module to 
get an ouput
                if ( 
$GLOBALS['phpgw_info']['user']['apps']['folders']['enabled'] == true )
                {
                        
$GLOBALS['phpgw']->hooks->single('sidebox_menu',$GLOBALS['phpgw_info']['flags']['currentapp']);
@@ -146,8 +145,9 @@


        /**
-        * Parse navigation bar end
-        */
+       * Parse navigation bar end
+       * @ignore
+       */
        function parse_navbar_end()
        {
                $tpl = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
@@ -176,12 +176,19 @@
                $tpl->pfp('out','footer');
        }

+
+       /**
+       * Display sidebox
+       *
+       * @param string $appname
+       * @param string $menu_title
+       * @param string $file
+       * @ignore
+       */
        function display_sidebox($appname,$menu_title,$file)
        {

-       /*
-        * workaround for old hook technique
-        */
+       // workaround for old hook technique
                
$GLOBALS['phpgw_info']['user']['apps']['phpgw']['sidebox'][$menu_title] = $file;
        }







reply via email to

[Prev in Thread] Current Thread [Next in Thread]