[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] skel class.base.php,1.1.2.1,1.1.2.1.2.1
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] skel class.base.php,1.1.2.1,1.1.2.1.2.1 |
Date: |
Fri, 24 Oct 2003 03:16:01 +0000 |
Update of /cvsroot/phpgroupware/skel
In directory subversions:/tmp/cvs-serv32198/skel
Modified Files:
Tag: proposal-branch
class.base.php
Log Message:
Added application sub menu support
Index: class.base.php
===================================================================
RCS file: /cvsroot/phpgroupware/skel/Attic/class.base.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.2.1
diff -C2 -d -r1.1.2.1 -r1.1.2.1.2.1
*** class.base.php 23 Oct 2003 07:04:00 -0000 1.1.2.1
--- class.base.php 24 Oct 2003 03:15:58 -0000 1.1.2.1.2.1
***************
*** 6,20 ****
* Copyright (C) 2003 Dan Kuykendall
*
*
-------------------------------------------------------------------------*
! * This program is free software; you can redistribute it and/or modify it *
! * under the terms of the GNU General Public License as published by the *
! * Free Software Foundation; either version 2 of the License, or (at your *
! * option) any later version. *
\**************************************************************************/
/* $Id$ */
class skel_base
{
var $sec;
function start()
{
--- 6,44 ----
* Copyright (C) 2003 Dan Kuykendall
*
*
-------------------------------------------------------------------------*
! * This program is free software; you can redistribute it and/or modify
it *
! * under the terms of the GNU General Public License as published by the
*
! * Free Software Foundation; either version 2 of the License, or (at
your *
! * option) any later version.
*
\**************************************************************************/
/* $Id$ */
+ /* $Source$ */
class skel_base
{
var $sec;
+
+ function submenu()
+ {
+ $items[] = array(
+ 'title' => 'Test item a',
+ 'op' => 'skel.base.submenu_a',
+ );
+ $items[] = array(
+ 'title' => 'Test item b',
+ 'op' => 'skel.base.submenu_b',
+ );
+ $items[] = array(
+ 'title' => 'Test item c',
+ 'op' => 'skel.base.submenu_c',
+ );
+ $items[] = array(
+ 'title' => 'Test item d',
+ 'op' => 'skel.base.submenu_d',
+ );
+
+ return $items;
+ }
+
function start()
{
***************
*** 56,59 ****
--- 80,85 ----
$GLOBALS['phpgw']->add_xsl('skel.base');
+
+ $result['submenu'] = $this->submenu();
return $result;
}
***************
*** 188,191 ****
--- 214,223 ----
$GLOBALS['phpgw']->add_xsl('skel.acl_tester');
+
+ $result['submenu'] = $this->submenu();
+ $result['submenu'][] = array(
+ 'title' => 'Easter egg menu item',
+ 'op' => 'skel.base.easter_egg'
+ );
return $result;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] skel class.base.php,1.1.2.1,1.1.2.1.2.1,
Joseph Engo <address@hidden> <=