diff options
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_calendar_inc.php | 37 | ||||
| -rw-r--r-- | admin/schema_inc.php | 12 |
2 files changed, 1 insertions, 48 deletions
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 @@ -<?php - -// $Header: /cvsroot/bitweaver/_bit_calendar/admin/admin_calendar_inc.php,v 1.4 2005/07/30 12:00:32 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', - ), -); -$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 @@ <?php global $gBitInstaller; -$gBitInstaller->makePackageHomeable('calendar'); +$gBitInstaller->makePackageHomeable( 'calendar' ); $gBitInstaller->registerPackageInfo( CALENDAR_PKG_NAME, array( 'description' => "Calendar package to display bitweaver entries by date, and set events", 'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>', ) ); -// ### 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') -) ); - ?> |
