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] |
02 Oct 2002 23:30:20 | postnuke_modules/postcalendar | pnadmin.php,1.32,1.33 | Roger Raymond |
squashed bug in admin settings |
Update of /home/cvsroot/postnuke_modules/postcalendar In directory ns7.hostnuke.net:/tmp/cvs-serv14774 Modified Files: pnadmin.php Log Message: squashed bug in admin settings Index: pnadmin.php =================================================================== RCS file: /home/cvsroot/postnuke_modules/postcalendar/pnadmin.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** pnadmin.php 2 Oct 2002 17:03:22 -0000 1.32 --- pnadmin.php 2 Oct 2002 23:30:18 -0000 1.33 *************** *** 1518,1522 **** $output->Text(postcalendar_adminmenu()); ! $formURL = pnModUrl('postcalendar','admin','updateconfig'); $output->Text("<form action=\"$formURL\" method=\"post\" enctype=\"application/x-www-form-urlencoded\" name=\"pcConfig\" id=\"pcConfig\">"); $output->Text('<table border="0" cellpadding="0" cellspacing="5">'); --- 1518,1522 ---- $output->Text(postcalendar_adminmenu()); ! $formURL = pnModUrl('PostCalendar','admin','updateconfig'); $output->Text("<form action=\"$formURL\" method=\"post\" enctype=\"application/x-www-form-urlencoded\" name=\"pcConfig\" id=\"pcConfig\">"); $output->Text('<table border="0" cellpadding="0" cellspacing="5">'); *************** *** 1529,1548 **** $settings[$i++][] = $output->Text(_PC_ADMIN_GLOBAL_SETTINGS); $settings[$i][] = $output->Text(_PC_ALLOW_DIRECT_SUBMIT); ! $settings[$i++][] = $output->FormCheckBox('allowdirectsubmit', pnModGetVar('postcalendar','allowdirectsubmit')); $settings[$i][] = $output->Text(_PC_LIST_HOW_MANY); ! $settings[$i++][] = $output->FormText('listhowmanyevents', pnModGetVar('postcalendar','listhowmanyevents'),5); $settings[$i][] = $output->Text(_PC_TIME24HOURS); ! $settings[$i++][] = $output->FormCheckBox('time24hours', pnModGetVar('postcalendar','time24hours')); $settings[$i][] = $output->Text(_PC_EVENTS_IN_NEW_WINDOW); ! $settings[$i++][] = $output->FormCheckBox('eventsopeninnewwindow', pnModGetVar('postcalendar','eventsopeninnewwindow')); $settings[$i][] = $output->Text(_PC_INTERNATIONAL_DATES); ! $settings[$i++][] = $output->FormCheckBox('useinternationaldates', pnModGetVar('postcalendar','useinternationaldates')); $settings[$i][] = $output->Text(_PC_EVENT_DATE_FORMAT); ! $settings[$i++][] = $output->FormText('pcEventDateFormat', pnModGetVar('postcalendar','pcEventDateFormat')); $settings[$i][] = $output->Text(_PC_DISPLAY_TOPICS); ! $settings[$i++][] = $output->FormCheckBox('displaytopics', pnModGetVar('postcalendar','displaytopics')); $settings[$i][] = $output->Text(_PC_FIRST_DAY_OF_WEEK); $options = array(); ! $selected = pnModGetVar('postcalendar','firstdayofweek'); $options[0]['id'] = '0'; $options[0]['selected'] = ($selected == 0); --- 1529,1548 ---- $settings[$i++][] = $output->Text(_PC_ADMIN_GLOBAL_SETTINGS); $settings[$i][] = $output->Text(_PC_ALLOW_DIRECT_SUBMIT); ! $settings[$i++][] = $output->FormCheckBox('allowdirectsubmit', pnModGetVar('PostCalendar','allowdirectsubmit')); $settings[$i][] = $output->Text(_PC_LIST_HOW_MANY); ! $settings[$i++][] = $output->FormText('listhowmanyevents', pnModGetVar('PostCalendar','listhowmanyevents'),5); $settings[$i][] = $output->Text(_PC_TIME24HOURS); ! $settings[$i++][] = $output->FormCheckBox('time24hours', pnModGetVar('PostCalendar','time24hours')); $settings[$i][] = $output->Text(_PC_EVENTS_IN_NEW_WINDOW); ! $settings[$i++][] = $output->FormCheckBox('eventsopeninnewwindow', pnModGetVar('PostCalendar','eventsopeninnewwindow')); $settings[$i][] = $output->Text(_PC_INTERNATIONAL_DATES); ! $settings[$i++][] = $output->FormCheckBox('useinternationaldates', pnModGetVar('PostCalendar','useinternationaldates')); $settings[$i][] = $output->Text(_PC_EVENT_DATE_FORMAT); ! $settings[$i++][] = $output->FormText('pcEventDateFormat', pnModGetVar('PostCalendar','pcEventDateFormat')); $settings[$i][] = $output->Text(_PC_DISPLAY_TOPICS); ! $settings[$i++][] = $output->FormCheckBox('displaytopics', pnModGetVar('PostCalendar','displaytopics')); $settings[$i][] = $output->Text(_PC_FIRST_DAY_OF_WEEK); $options = array(); ! $selected = pnModGetVar('PostCalendar','firstdayofweek'); $options[0]['id'] = '0'; $options[0]['selected'] = ($selected == 0); *************** *** 1556,1562 **** $settings[$i++][] = $output->FormSelectMultiple('firstdayofweek', $options); $settings[$i][] = $output->Text(_PC_DAY_HIGHLIGHT_COLOR . ' [<a HREF="#" onClick="pick(\'pick\');return false;" NAME="pick" ID="pick">pick</a>]'); ! $settings[$i++][] = $output->FormText('dayhighlightcolor', pnModGetVar('postcalendar','dayhighlightcolor')); $settings[$i][] = $output->Text(_PC_USE_JS_POPUPS); ! $settings[$i++][] = $output->FormCheckBox('usepopups', pnModGetVar('postcalendar','usepopups')); $output->SetOutputMode(_PNH_KEEPOUTPUT); --- 1556,1562 ---- $settings[$i++][] = $output->FormSelectMultiple('firstdayofweek', $options); $settings[$i][] = $output->Text(_PC_DAY_HIGHLIGHT_COLOR . ' [<a HREF="#" onClick="pick(\'pick\');return false;" NAME="pick" ID="pick">pick</a>]'); ! $settings[$i++][] = $output->FormText('dayhighlightcolor', pnModGetVar('PostCalendar','dayhighlightcolor')); $settings[$i][] = $output->Text(_PC_USE_JS_POPUPS); ! $settings[$i++][] = $output->FormCheckBox('usepopups', pnModGetVar('PostCalendar','usepopups')); $output->SetOutputMode(_PNH_KEEPOUTPUT); *************** *** 1589,1592 **** --- 1589,1593 ---- $useinternationaldates, $firstdayofweek, + $dayhighlightcolor, $usepopups, $showeventsinyear, *************** *** 1619,1633 **** if(!isset($pcEventDateFormat)) { $pcEventDateFormat='%m/$d/%Y'; } ! pnModSetVar('postcalendar', 'time24hours', $time24hours); ! pnModSetVar('postcalendar', 'eventsopeninnewwindow', $eventsopeninnewwindow); ! pnModSetVar('postcalendar', 'useinternationaldates', $useinternationaldates); ! pnModSetVar('postcalendar', 'firstdayofweek', $firstdayofweek); ! pnModSetVar('postcalendar', 'dayhighlightcolor', $dayhighlightcolor); ! pnModSetVar('postcalendar', 'usepopups', $usepopups); ! pnModSetVar('postcalendar', 'showeventsinyear', $showeventsinyear); ! pnModSetVar('postcalendar', 'allowdirectsubmit', $allowdirectsubmit); ! pnModSetVar('postcalendar', 'listhowmanyevents', $listhowmanyevents); ! pnModSetVar('postcalendar', 'displaytopics', $displaytopics); ! pnModSetVar('postcalendar', 'pcEventDateFormat', $pcEventDateFormat); --- 1620,1634 ---- if(!isset($pcEventDateFormat)) { $pcEventDateFormat='%m/$d/%Y'; } ! pnModSetVar('PostCalendar', 'time24hours', $time24hours); ! pnModSetVar('PostCalendar', 'eventsopeninnewwindow', $eventsopeninnewwindow); ! pnModSetVar('PostCalendar', 'useinternationaldates', $useinternationaldates); ! pnModSetVar('PostCalendar', 'firstdayofweek', $firstdayofweek); ! pnModSetVar('PostCalendar', 'dayhighlightcolor', $dayhighlightcolor); ! pnModSetVar('PostCalendar', 'usepopups', $usepopups); ! pnModSetVar('PostCalendar', 'showeventsinyear', $showeventsinyear); ! pnModSetVar('PostCalendar', 'allowdirectsubmit', $allowdirectsubmit); ! pnModSetVar('PostCalendar', 'listhowmanyevents', $listhowmanyevents); ! pnModSetVar('PostCalendar', 'displaytopics', $displaytopics); ! pnModSetVar('PostCalendar', 'pcEventDateFormat', $pcEventDateFormat);
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 |