summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Calendar.php4
-rw-r--r--box.php2
-rw-r--r--user_preferences_inc.php4
3 files changed, 5 insertions, 5 deletions
diff --git a/Calendar.php b/Calendar.php
index 5b387d1..146b42b 100644
--- a/Calendar.php
+++ b/Calendar.php
@@ -11,7 +11,7 @@
/**
* Required setup
*/
-include_once( KERNEL_PKG_PATH . 'BitDate.php' );
+include_once( KERNEL_PKG_CLASS_PATH.'BitDate.php' );
// set week offset - start with a day other than monday
define( 'WEEK_OFFSET', !empty( $gBitUser->mUserPrefs['calendar_week_offset'] ) ? $gBitUser->mUserPrefs['calendar_week_offset'] : $gBitSystem->getConfig( 'calendar_week_offset', 0 ) );
@@ -76,7 +76,7 @@ class Calendar extends LibertyContent {
$item['created'] = $item['created'] + $this->display_offset;
$item['last_modified'] = $item['last_modified'] + $this->display_offset;
$item['event_time'] = $item['event_time'] + $this->display_offset;
- $item['parsed'] = self::parseDataHash( $item['data'] );
+ $item['parsed'] = self::parseDataHash( $item );
$dstart = $this->mDate->gmmktime( 0, 0, 0, $this->mDate->date( "m", $item['timestamp'], true ), $this->mDate->date( "d", $item['timestamp'], true ), $this->mDate->date( "Y", $item['timestamp'], true ) );
$ret[$dstart][] = $item;
}
diff --git a/box.php b/box.php
index 1f895ce..cc6dc99 100644
--- a/box.php
+++ b/box.php
@@ -15,7 +15,7 @@
require_once( '../kernel/setup_inc.php' );
global $gContent, $gBitSystem;
-include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' );
+include_once( LIBERTY_PKG_INCLUDE_PATH.'lookup_content_inc.php' );
$gContent->mInfo['rendered'] = $gContent->getPreview();
diff --git a/user_preferences_inc.php b/user_preferences_inc.php
index 84bad93..3c6b43b 100644
--- a/user_preferences_inc.php
+++ b/user_preferences_inc.php
@@ -13,7 +13,7 @@
* Setup
*/
if( $gBitSystem->isFeatureActive('calendar_user_prefs') ) {
- include_once( CALENDAR_PKG_PATH.'admin/admin_calendar_inc.php' );
+ include_once( CALENDAR_PKG_INCLUDE_PATH.'admin/admin_calendar_inc.php' );
if( !empty( $_REQUEST['calendar_submit'] ) ) {
foreach( $calendarValues as $item ) {
if( !empty( $_REQUEST[$item] ) ) {
@@ -22,4 +22,4 @@ if( $gBitSystem->isFeatureActive('calendar_user_prefs') ) {
}
}
}
-?> \ No newline at end of file
+?>