2003-03-28 03:26:04 +01:00
< ? php
/************************************************************************** \
2003-12-10 02:21:31 +01:00
* eGroupWare - InfoLog Preferences *
* http :// www . eGroupWare . org *
* Written by Ralf Becker < RalfBecker @ outdoor - training . de > *
2003-03-28 03:26:04 +01:00
* -------------------------------------------- *
* 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$ */
2003-11-20 07:40:29 +01:00
$show_entries = array (
0 => lang ( 'No' ),
1 => lang ( 'Yes' ),
2 => lang ( 'Yes' ) . ' - ' . lang ( 'show list of upcoming entries' ),
);
create_select_box ( 'Show open entries: Tasks/Calls/Notes on main screen' , 'homeShowEvents' , $show_entries ,
2005-06-29 02:43:18 +02:00
'Should InfoLog display your open entries - not finished tasks, phonecalls or notes - on the main screen. Works only if you dont selected an application for the main screen (in your preferences).' );
2003-11-20 07:40:29 +01:00
unset ( $show_entries );
create_input_box ( 'Max number of entries to display on the main screen' , 'mainscreen_maxshow' ,
2003-12-10 02:21:31 +01:00
'Only up to this number of entries are displayed on the main screen.' , '10' , 3 );
2003-11-20 07:40:29 +01:00
2005-04-06 13:05:57 +02:00
$ui =& CreateObject ( 'infolog.uiinfolog' ); // need some labels from
2003-07-31 11:18:27 +02:00
foreach ( $ui -> filters as $key => $label )
{
$filters [ $key ] = lang ( $label );
}
2003-03-28 03:26:04 +01:00
unset ( $ui );
2003-07-31 11:18:27 +02:00
create_select_box ( 'Default Filter for InfoLog' , 'defaultFilter' , $filters ,
'This is the filter InfoLog uses when you enter the application. Filters limit the entries to show in the actual view. There are filters to show only finished, still open or futures entries of yourself or all users.' );
unset ( $filters );
2003-03-31 20:49:13 +02:00
create_check_box ( 'List no Subs/Childs' , 'listNoSubs' ,
'Should InfoLog show Subtasks, -calls or -notes in the normal view or not. You can always view the Subs via there parent.' );
2003-06-29 19:03:47 +02:00
/*
2003-03-31 20:49:13 +02:00
create_check_box ( 'Show full usernames' , 'longNames' ,
'Should InfoLog use full names (surname and familyname) or just the loginnames.' );
2003-06-29 19:03:47 +02:00
*/
$show_links = array (
'all' => lang ( 'all links and attachments' ),
'links' => lang ( 'only the links' ),
'attach' => lang ( 'only the attachments' ),
'none' => lang ( 'no links or attachments' )
);
create_select_box ( 'Show in the InfoLog list' , 'show_links' , $show_links ,
2003-07-31 11:18:27 +02:00
'Should InfoLog show the links to other applications and/or the file-attachments in the InfoLog list (normal view when u enter InfoLog).' );
2003-11-20 07:40:29 +01:00
unset ( $show_links );
2005-07-13 10:34:38 +02:00
create_check_box ( 'Never hide search and filters' , 'never_hide' , 'If not set, the line with search and filters is hidden for less entries then "max matches per page" (as defined in your common preferences).' );