egroupware_official/calendar/inc/hook_calendar_add_def_pref.inc.php

23 lines
1.1 KiB
PHP
Raw Normal View History

2000-12-22 22:18:35 +01:00
<?php
2001-01-17 13:35:43 +01:00
/**************************************************************************\
* phpGroupWare - Calendar *
* http://www.phpgroupware.org *
* Written by Mark Peters <skeeter@phpgroupware.org> *
* -------------------------------------------- *
* 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$ */
2000-12-27 16:07:14 +01:00
global $pref;
$pref->change("calendar","weekstarts","Monday");
$pref->change("calendar","workdaystarts","9");
$pref->change("calendar","workdayends","17");
2001-01-21 14:15:21 +01:00
$pref->change("calendar","defaultcalendar","month.php");
2000-12-27 16:07:14 +01:00
$pref->change("calendar","defaultfilter","all");
$pref->change("calendar","mainscreen_showevents","Y");
2000-12-22 22:18:35 +01:00
?>