phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] ged/inc class.ged_ui.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] ged/inc class.ged_ui.inc.php
Date: Thu, 28 Dec 2006 04:55:21 +0000

CVSROOT:        /sources/phpgroupware
Module name:    ged
Changes by:     Dave Hall <skwashd>     06/12/28 04:55:21

Modified files:
        inc            : class.ged_ui.inc.php 

Log message:
        comments for maat

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ged/inc/class.ged_ui.inc.php?cvsroot=phpgroupware&r1=1.5&r2=1.6

Patches:
Index: class.ged_ui.inc.php
===================================================================
RCS file: /sources/phpgroupware/ged/inc/class.ged_ui.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- class.ged_ui.inc.php        25 Jun 2006 10:10:46 -0000      1.5
+++ class.ged_ui.inc.php        28 Dec 2006 04:55:21 -0000      1.6
@@ -24,16 +24,16 @@
 
        var $icons;
 
+       /* TODO document my code in English :P */
        /* fonction du meme nom que la classe appellee à l'initialisation */
        /* a voir ce que je vais en faire */
 
        function ged_ui()
        {
-               $this->theme=$GLOBALS['phpgw_info']['theme'];
-               $this->t=$GLOBALS['phpgw']->template;
+               $this->theme = $GLOBALS['phpgw_info']['theme'];
+               $this->t = $GLOBALS['phpgw']->template;
                $this->t->set_root(PHPGW_APP_TPL);
                
-               
                // Gestion des groupes et des droits
                //$this->owner=$GLOBALS['phpgw_info']['user']['account_id'];
                //$this->acct=CreateObject('phpgwapi.accounts',$owner);
@@ -46,6 +46,8 @@
                $this->ged_dm=CreateObject('ged.ged_dm', True);
                $this->categories=CreateObject('phpgwapi.categories');
                $this->browser=CreateObject('phpgwapi.browser');
+               
+               //TODO Move this to a function, maybe an api mime class ?
                $this->icons["txt"]="txt";
                $this->icons["doc"]="word";
                $this->icons["rtf"]="document";
@@ -82,7 +84,7 @@
        
        function css ()
        {
-               $ged_style="
+               return "
 ul
 {
 list-style: none;
@@ -104,7 +106,7 @@
 background-color: #849ac8;
 border-top: 1px solid #6A0233;
 border-bottom: 1px solid #6A0233;
-padding: 3px;
+padding: 3px;/index.php?menuaction=admin.uiaccounts.edit_group&account_id=1&
 }
 
 #ged_top_menu a:link {
@@ -159,10 +161,7 @@
 {
 color: gray;
 background: lightgrey;
-}";
-               $ged_style.="\n";
-               
-               return $ged_style;
+}\n";
        }
        
        function truncate ( $label, $size=30 )




reply via email to

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