summaryrefslogtreecommitdiff
path: root/admin/admin_calendar_inc.php
blob: 54c2cbd57d936343337a66968e516835433cc25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php

// $Header: /cvsroot/bitweaver/_bit_calendar/admin/admin_calendar_inc.php,v 1.3 2005/07/21 09:39:31 lsces Exp $

// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.

include_once( CALENDAR_PKG_PATH.'CalendarLib.php' );

$formCalendarFeatures = array(
	"calendar_blogs" => array(
		'label' => 'Display blog updates',
	),
	"calendar_users" => array(
		'label' => 'Display user personal page updates',
	),
	"calendar_wiki" => array(
		'label' => 'Display wiki page updates',
	),
	"calendar_contact" => array(
		'label' => 'Display contact record updates',
	),
	"feature_jscalendar" => array(
		'label' => 'Enable jscalendar popup',
	),
);
$smarty->assign( 'formCalendarFeatures',$formCalendarFeatures );

if (isset($_REQUEST["calendarfeatures"])) {
	
	foreach( $formCalendarFeatures as $item => $data ) {
		simple_set_toggle( $item );
	}
}

?>