phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api class.setup.php,1.1.1.1.2.11,1.1.1.1.2.12


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api class.setup.php,1.1.1.1.2.11,1.1.1.1.2.12
Date: Mon, 01 Dec 2003 06:17:44 +0000

Update of /cvsroot/phpgroupware/api
In directory subversions:/tmp/cvs-serv19701

Modified Files:
      Tag: proposal-branch
        class.setup.php 
Log Message:
- Re-wrote the tabs widget, its more powered by PHP right now.  Chances are, 
this will change once I find a way to pass an array to a XSLT function.
  Also, these tabs are NOT for this template set anyway.  I created one that 
will work better for this layout, but doesn't presently work in IE.
  These tabs are for the Verdilak layout, once its ported over.
- Fixed layout a bit (Setup is going to be totally redone in the future)


Index: class.setup.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/class.setup.php,v
retrieving revision 1.1.1.1.2.11
retrieving revision 1.1.1.1.2.12
diff -C2 -d -r1.1.1.1.2.11 -r1.1.1.1.2.12
*** class.setup.php     13 Nov 2003 20:18:20 -0000      1.1.1.1.2.11
--- class.setup.php     1 Dec 2003 06:17:42 -0000       1.1.1.1.2.12
***************
*** 74,79 ****
                                                $this->install_log['message'] = 
'Welcome to the setup program. Please choose the task you want to accomplish.';
                                }                                               
!                       }               
                        $this->install_log['stage'] = $args['stage'];
                        return $this->install_log;
                }
--- 74,112 ----
                                                $this->install_log['message'] = 
'Welcome to the setup program. Please choose the task you want to accomplish.';
                                }                                               
!                       }
                        $this->install_log['stage'] = $args['stage'];
+ 
+                       $this->install_log['tab_widget'] = array(
+                               0 => array(
+                                       'title'   => lang('Config file'),
+                                       'op'      => 'api.setup.start&stage=1',
+                                       'current' => 0
+                               ),
+                               1 => array(
+                                       'title'   => lang('Applications'),
+                                       'op'      => 'api.setup.start&stage=2',
+                                       'current' => 0
+                               ),
+                               2 => array(
+                                       'title'   => lang('Configuration'),
+                                       'op'      => 'api.setup.start&stage=3',
+                                       'current' => 0
+                               ),
+                               3 => array(
+                                       'title'   => lang('Inital accounts'),
+                                       'op'      => 'api.setup.start&stage=4',
+                                       'current' => 0
+                               )
+                       );
+ 
+                       if ($args['stage'])
+                       {
+                               
$this->install_log['tab_widget'][($args['stage'] - 1)]['current'] = True;
+                       }
+                       else
+                       {
+                               $this->install_log['tab_widget'][0]['current'] 
= True;
+                       }
+ 
                        return $this->install_log;
                }
***************
*** 206,210 ****
                                                        }
                                                }
!           }
                                        closedir($dh);
                                }
--- 239,243 ----
                                                        }
                                                }
!                                       }
                                        closedir($dh);
                                }





reply via email to

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