[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] ged/inc hook_settings.inc.php
From: |
Pascal Vilarem |
Subject: |
[Phpgroupware-cvs] ged/inc hook_settings.inc.php |
Date: |
Fri, 20 Apr 2007 14:08:43 +0000 |
CVSROOT: /sources/phpgroupware
Module name: ged
Changes by: Pascal Vilarem <maat> 07/04/20 14:08:43
Modified files:
inc : hook_settings.inc.php
Log message:
project filtering (needs new create multi selection function in
preferences.php)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ged/inc/hook_settings.inc.php?cvsroot=phpgroupware&r1=1.4&r2=1.5
Patches:
Index: hook_settings.inc.php
===================================================================
RCS file: /sources/phpgroupware/ged/inc/hook_settings.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- hook_settings.inc.php 17 Jun 2006 18:25:07 -0000 1.4
+++ hook_settings.inc.php 20 Apr 2007 14:08:43 -0000 1.5
@@ -11,12 +11,23 @@
* option) any later version
***************************************************************************/
+ // Call ged data manager
+ $ged_dm=CreateObject('ged.ged_dm', True);
+
+
$yes_and_no=array(
'True'=>'Yes',
'False'=>'No'
);
+
create_select_box('Show Ged applet on home
page','mainscreen_show_ged_news',$yes_and_no, 'Should Ged display the list of
new documents - approved since your last login - and warnings for documents
about to expire/needing approval');
create_input_box('Show documents needing approval within
(days)','warn_approval_within');
+ if ( function_exists(create_multi_selection))
+ {
+ $values=$ged_dm->list_available_projects();
+ create_multi_selection ('Show
projects','show_projects',$values, 'Choose the projects you want to follow on
home board');
+ }
+
?>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] ged/inc hook_settings.inc.php,
Pascal Vilarem <=