Changeset 1468 for plugins/dayMode
- Timestamp:
- 09/17/09 16:39:43 (14 years ago)
- Location:
- plugins/dayMode
- Files:
-
- 2 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dayMode/_define.php
r954 r1468 16 16 /* Description*/ "Provides daily archives and an associated calendar widget.", 17 17 /* Author */ "Pep and contributors", 18 /* Version */ '1.0 ',18 /* Version */ '1.0.1', 19 19 /* Permissions */ 'admin' 20 20 ); -
plugins/dayMode/_prepend.php
r947 r1468 12 12 if (!defined('DC_RC_PATH')) { return; } 13 13 14 $GLOBALS['__autoload']['dcCalendar'] = dirname(__FILE__).'/ class.dc.calendar.php';15 $GLOBALS['__autoload']['dcDayTools'] = dirname(__FILE__).'/ class.dc.calendar.php';14 $GLOBALS['__autoload']['dcCalendar'] = dirname(__FILE__).'/inc/class.dc.calendar.php'; 15 $GLOBALS['__autoload']['dcDayTools'] = dirname(__FILE__).'/inc/class.dc.calendar.php'; 16 16 17 17 class dayModeBehaviors -
plugins/dayMode/_public.php
r952 r1468 159 159 global $_ctx,$core; 160 160 161 if (preg_match('|^/([0-9]{4})/([0-9]{2})/([0-9]{2})$|',$args,$m)) 162 { 161 if (preg_match('|^/([0-9]{4})/([0-9]{2})/([0-9]{2})$|',$args,$m)) { 163 162 $params['year'] = $m[1]; 164 163 $params['month'] = $m[2]; … … 169 168 if ($_ctx->day->isEmpty()) { 170 169 self::p404(); 170 return; 171 171 } 172 172 173 173 self::serveDocument('archive_day.html'); 174 exit;175 174 } 176 parent::archive($args); 175 else { 176 parent::archive($args); 177 } 178 return; 177 179 } 178 180 }
Note: See TracChangeset
for help on using the changeset viewer.