|
From: | Michael Totschnig <address@hidden> |
Subject: | [Phpgroupware-cvs] CVS: bookmarks index.php,1.17,1.18 create.php,1.32,NONE export.php,1.1,NONE faq.php,1.8,NONE import.php,1.18,NONE list.php,1.28,NONE maillink.php,1.13,NONE maintain.php,1.30,NONE mass_maintain.php,1.5,NONE preferences.php,1.8,NONE redirect.php,1.14,NONE search.php,1.19,NONE tree.php,1.28,NONE view.php,1.21,NONE |
Date: | Tue, 08 Apr 2003 01:01:01 -0400 |
Update of /cvsroot/phpgroupware/bookmarks In directory subversions:/tmp/cvs-serv8381 Modified Files: index.php Removed Files: create.php export.php faq.php import.php list.php maillink.php maintain.php mass_maintain.php preferences.php redirect.php search.php tree.php view.php Log Message: ported bookmarks to three-layered design additional changes: - unlimited category hierarchy can be used (formerly only two levels were possible) - tree view is javascript based - location_info works better Index: index.php =================================================================== RCS file: /cvsroot/phpgroupware/bookmarks/index.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** index.php 19 Nov 2001 03:56:04 -0000 1.17 --- index.php 8 Apr 2003 05:00:59 -0000 1.18 *************** *** 21,46 **** include('../header.inc.php'); ! $GLOBALS['phpgw']->bookmarks = createobject('bookmarks.bookmarks'); ! $location_info = $GLOBALS['phpgw']->bookmarks->read_session_data(); - if (is_array($location_info)) - { - $extravars = 'bm_cat=' . $location_info['bm_cat']; - } - - if (is_array($location_info) && $location_info['returnto']) - { - $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/bookmarks/' . $location_info['returnto'],$extravars)); - } - else - { - if ($GLOBALS['phpgw_info']['user']['preferences']['bookmarks']['defaultview'] == 'tree') - { - $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/bookmarks/tree.php',$extravars)); - } - else - { - $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/bookmarks/list.php',$extravars)); - } - } ?> --- 21,27 ---- include('../header.inc.php'); ! $obj = createobject('bookmarks.ui'); ! $obj->init(); ! $GLOBALS['phpgw']->common->phpgw_footer(); ?> --- create.php DELETED --- --- export.php DELETED --- --- faq.php DELETED --- --- import.php DELETED --- --- list.php DELETED --- --- maillink.php DELETED --- --- maintain.php DELETED --- --- mass_maintain.php DELETED --- --- preferences.php DELETED --- --- redirect.php DELETED --- --- search.php DELETED --- --- tree.php DELETED --- --- view.php DELETED ---
[Prev in Thread] | Current Thread | [Next in Thread] |