From b4ed9bcda68a80bee15f366cb5a8a85033b8c784 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Thu, 18 Aug 2005 19:05:05 +0000 Subject: extensive calendar work --- admin/admin_calendar_inc.php | 37 ------------------------------------- admin/schema_inc.php | 12 +----------- 2 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 admin/admin_calendar_inc.php (limited to 'admin') diff --git a/admin/admin_calendar_inc.php b/admin/admin_calendar_inc.php deleted file mode 100644 index d229bd4..0000000 --- a/admin/admin_calendar_inc.php +++ /dev/null @@ -1,37 +0,0 @@ - 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', - ), -); -$gBitSmarty->assign( 'formCalendarFeatures',$formCalendarFeatures ); - -if (isset($_REQUEST["calendarfeatures"])) { - - foreach( $formCalendarFeatures as $item => $data ) { - simple_set_toggle( $item ); - } -} - -?> diff --git a/admin/schema_inc.php b/admin/schema_inc.php index f1acc9e..e099326 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -1,25 +1,15 @@ makePackageHomeable('calendar'); +$gBitInstaller->makePackageHomeable( 'calendar' ); $gBitInstaller->registerPackageInfo( CALENDAR_PKG_NAME, array( 'description' => "Calendar package to display bitweaver entries by date, and set events", 'license' => 'LGPL', ) ); -// ### Defaults - // ### Default User Permissions $gBitInstaller->registerUserPermissions( CALENDAR_PKG_NAME, array( array('bit_p_view_calendar', 'Can browse the calendar', 'basic', CALENDAR_PKG_NAME), ) ); - -// ### Default Preferences -$gBitInstaller->registerPreferences( CALENDAR_PKG_NAME, array( - array (CALENDAR_PKG_NAME, 'calendar_blogs', 'y'), - array (CALENDAR_PKG_NAME, 'calendar_users', 'y'), - array (CALENDAR_PKG_NAME, 'calendar_wiki', 'y') -) ); - ?> -- cgit v1.3