Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_modules / postcalendar [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 01 Oct 2002 23:22:51 | postnuke_modules/postcalendar | pnuser.php,1.58,1.59 pnuserapi.php,1.105,1.106 | Roger Raymond |
| more code cleanup | |||
Update of /home/cvsroot/postnuke_modules/postcalendar
In directory ns7.hostnuke.net:/tmp/cvs-serv7049
Modified Files:
pnuser.php pnuserapi.php
Log Message:
more code cleanup
Index: pnuser.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/postcalendar/pnuser.php,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** pnuser.php 1 Oct 2002 23:14:36 -0000 1.58
--- pnuser.php 1 Oct 2002 23:22:48 -0000 1.59
***************
*** 27,39 ****
//=========================================================================
- // Get the module information
- //=========================================================================
- $pcModInfo = pnModGetInfo(pnModGetIDFromName('PostCalendar'));
- $pcDir = pnVarPrepForOS($pcModInfo['directory']);
- //=========================================================================
- // Require the utility functions
- //=========================================================================
- require_once("modules/$pcDir/functions.php");
- //=========================================================================
// Load the API Functions
//=========================================================================
--- 27,30 ----
Index: pnuserapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/postcalendar/pnuserapi.php,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -d -r1.105 -r1.106
*** pnuserapi.php 1 Oct 2002 23:14:36 -0000 1.105
--- pnuserapi.php 1 Oct 2002 23:22:48 -0000 1.106
***************
*** 29,33 ****
// define constants used to make the code more readable
//************************************************************************
! @define('DATE_CALC_BEGIN_WEEKDAY', pnModGetVar('postcalendar','firstdayofweek'));
@define('_IS_SUNDAY', 0);
@define('_IS_MONDAY', 1);
--- 29,33 ----
// define constants used to make the code more readable
//************************************************************************
! @define('DATE_CALC_BEGIN_WEEKDAY', pnModGetVar('PostCalendar','firstdayofweek'));
@define('_IS_SUNDAY', 0);
@define('_IS_MONDAY', 1);
***************
*** 83,93 ****
$pcModInfo = pnModGetInfo(pnModGetIDFromName('PostCalendar'));
$pcDir = pnVarPrepForOS($pcModInfo['directory']);
! require_once('modules/'.$pcDir.'/pnincludes/Date/Calc.php');
! require_once('modules/'.$pcDir.'/pnincludes/Benchmark/Timer.php');
//=========================================================================
// Setup Smarty defines
//=========================================================================
! @define('SMARTY_DIR',"modules/$pcDir/pnincludes/Smarty/");
! require_once('modules/'.$pcDir.'/smarty_plugins.php');
require_once(SMARTY_DIR.'/Smarty.class.php');
//=========================================================================
--- 83,94 ----
$pcModInfo = pnModGetInfo(pnModGetIDFromName('PostCalendar'));
$pcDir = pnVarPrepForOS($pcModInfo['directory']);
! require_once("modules/$pcDir/pnincludes/Date/Calc.php");
! require_once("modules/$pcDir/pnincludes/Benchmark/Timer.php");
! require_once("modules/$pcDir/functions.php");
//=========================================================================
// Setup Smarty defines
//=========================================================================
! define('SMARTY_DIR',"modules/$pcDir/pnincludes/Smarty/");
! require_once("modules/$pcDir/smarty_plugins.php");
require_once(SMARTY_DIR.'/Smarty.class.php');
//=========================================================================
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |