You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
|
From: Greg M. <bli...@us...> - 2004-11-24 22:30:37
|
Update of /cvsroot/phpwsscoreboard/scoreboard/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7882/boost Modified Files: update.php Log Message: Parse error... grrr Index: update.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/update.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** update.php 24 Nov 2004 21:23:46 -0000 1.4 --- update.php 24 Nov 2004 22:30:27 -0000 1.5 *************** *** 13,20 **** // Need to do core version check ! if(version_compare($GLOBALS['core']->version, "0.9.3-3") { ! $content .= "This module requires a phpWebSite core version of 0.9.3-3 or greater to install.<br />"; ! $content .= "You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; ! return; } --- 13,20 ---- // Need to do core version check ! if(version_compare($GLOBALS['core']->version, "0.9.3-3") < 0) { ! $content .= "This module requires a phpWebSite core version of 0.9.3-3 or greater to install.<br />"; ! $content .= "You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; ! return; } |
From: Greg M. <bli...@us...> - 2004-11-24 22:15:09
|
Update of /cvsroot/phpwsscoreboard/scoreboard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4696/docs Modified Files: INSTALL.txt README.txt UPGRADE.txt box_templates.txt changelog.txt credits.txt license.txt Log Message: Updating docs Index: box_templates.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/box_templates.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** box_templates.txt 30 Jul 2003 14:39:26 -0000 1.1.1.1 --- box_templates.txt 24 Nov 2004 22:14:54 -0000 1.2 *************** *** 1,4 **** ! Box Templates ! Author: Greg Meiste <me...@NO...> New with Scoreboard 0.9.3 you can create your own custom boxscore templates. --- 1,8 ---- ! #################################################################################### ! # Box Templates ! # $Id$ ! # ! # Author: Greg Meiste <blindman1344 [at] users dot sourceforge dot net> ! #################################################################################### New with Scoreboard 0.9.3 you can create your own custom boxscore templates. *************** *** 40,46 **** http://sourceforge.net/forum/forum.php?forum_id=290199 - We will periodicaly release "Boxscore Template Addon Packs" which will include - new templates by developers and from users just like you! - If you have questions about this feature, please post them in the forum mentioned above. --- 44,47 ---- Index: UPGRADE.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/UPGRADE.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** UPGRADE.txt 6 Dec 2003 05:11:51 -0000 1.2 --- UPGRADE.txt 24 Nov 2004 22:14:54 -0000 1.3 *************** *** 1,13 **** ! Scoreboard Upgrade Documentation ! $Id$ ! Author: Greg Meiste <me...@NO...> Scoreboard has Boost support so the upgrade process is quite easy. - ------------------------------------------------------------------------- - PHPWEBSITE 0.9.3-1 USERS! Before you begin, make sure you have installed - the supplemental files. Check out the README for details. - ------------------------------------------------------------------------- - Upgrade Steps: --- 1,11 ---- ! ########################################################################## ! # Scoreboard Upgrade Documentation ! # $Id$ ! # ! # Author: Greg Meiste <blindman1344 [at] users dot sourceforge dot net> ! ########################################################################## Scoreboard has Boost support so the upgrade process is quite easy. Upgrade Steps: *************** *** 22,26 **** 3. Start up your web browser and point it to your instance of ! phpwebsite. The scoreboard will have disappeared. Don't worry, it's supposed to do that to avoid crashing your site. --- 20,24 ---- 3. Start up your web browser and point it to your instance of ! phpWebSite. The scoreboard will have disappeared. Don't worry, it's supposed to do that to avoid crashing your site. Index: INSTALL.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/INSTALL.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** INSTALL.txt 6 Dec 2003 05:11:51 -0000 1.2 --- INSTALL.txt 24 Nov 2004 22:14:39 -0000 1.3 *************** *** 1,13 **** ! Scoreboard Installation Documentation ! $Id$ ! Author: Greg Meiste <me...@ms...> Scoreboard has Boost support so installation is quite easy: - ------------------------------------------------------------------------- - PHPWEBSITE 0.9.3-1 USERS! Before you begin, make sure you have installed - the supplemental files. Check out the README for details. - ------------------------------------------------------------------------- - 1. BACKUP YOUR DATABASE! Don't send us hate mail if this module crashes your website. (However, we do ask that you tell us --- 1,11 ---- ! ######################################################################### ! # Scoreboard Installation Documentation ! # $Id$ ! # ! # Author: Greg Meiste <blindman1344 [at] users dot sourceforge dot net> ! ######################################################################### Scoreboard has Boost support so installation is quite easy: 1. BACKUP YOUR DATABASE! Don't send us hate mail if this module crashes your website. (However, we do ask that you tell us Index: credits.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/credits.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** credits.txt 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- credits.txt 24 Nov 2004 22:14:54 -0000 1.2 *************** *** 1,5 **** ----------------------------------------------------------------------- phpwsScoreboard ! Copyright (c) 2003 Greg Meiste ----------------------------------------------------------------------- --- 1,5 ---- ----------------------------------------------------------------------- phpwsScoreboard ! Copyright (c) 2003-2004 Greg Meiste ----------------------------------------------------------------------- *************** *** 8,12 **** ----------------------------------------------------------------------- ! Greg Meiste (me...@NO...) ----------------------------------------------------------------------- --- 8,12 ---- ----------------------------------------------------------------------- ! Greg Meiste (blindman1344 [at] users dot sourceforge dot net) ----------------------------------------------------------------------- Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/changelog.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** changelog.txt 24 Nov 2004 21:23:47 -0000 1.4 --- changelog.txt 24 Nov 2004 22:14:54 -0000 1.5 *************** *** 6,11 **** ############################################################################### ! 0.9.4 -> CVS (November 24, 2004): ! --------------------------------- - Now compliant with phpWebSite 0.10.0 --- 6,11 ---- ############################################################################### ! 0.9.4 -> 0.9.5 (November 24, 2004): ! ----------------------------------- - Now compliant with phpWebSite 0.10.0 Index: license.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/license.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** license.txt 30 Jul 2003 14:39:26 -0000 1.1.1.1 --- license.txt 24 Nov 2004 22:14:54 -0000 1.2 *************** *** 294,298 **** phpwsScoreboard ! Copyright (C) 2003 Greg Meiste This program is free software; you can redistribute it and/or modify --- 294,298 ---- phpwsScoreboard ! Copyright (C) 2003-2004 Greg Meiste This program is free software; you can redistribute it and/or modify *************** *** 311,313 **** Greg Meiste ! me...@ms... --- 311,313 ---- Greg Meiste ! blindman1344 [at] users dot sourceforge dot net Index: README.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/README.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README.txt 6 Dec 2003 05:11:51 -0000 1.2 --- README.txt 24 Nov 2004 22:14:39 -0000 1.3 *************** *** 1,9 **** ! ReadMe ! $Id$ ! Author: Greg Meiste <me...@NO...> Scoreboard was developed to allow for the posting of sports scores ! on phpwebsite. It can be personalized for a certain team/school, or used as a regional/conference scoreboard. --- 1,12 ---- ! ############################################################################### ! # ReadMe ! # $Id$ ! # ! # Author: Greg Meiste <blindman1344 [at] users dot sourceforge dot net> ! ############################################################################### Scoreboard was developed to allow for the posting of sports scores ! on phpWebSite. It can be personalized for a certain team/school, or used as a regional/conference scoreboard. *************** *** 11,29 **** database and read the INSTALL.txt or UPGRADE.txt - ---------------------------------------------------------------------- - IMPORTANT! Changes for Scoreboard 0.9.4 and beyond - - There has been several changes in the phpWebSite core. Because of this, - you will need some supplemental files if you are running phpWebSite 0.9.3-1. - These files aren't necessary if you are running the new 0.9.3-2 core. - - Don Seiler has put together the necessary files in a nice package for - download. You can get these files at: - http://phpwebsite.appstate.edu/downloads/misc/phpws-0.9.3-1.supplemental.zip - - There is a README file in that archive that will explain in detail what you - need to do. Please don't email him with questions regarding this module. - ---------------------------------------------------------------------- - The interface is really self-explanatory, but if it isn't, you can click on the help bubbles for help. --- 14,17 ---- |
From: Greg M. <bli...@us...> - 2004-11-24 21:40:52
|
Update of /cvsroot/phpwsscoreboard/scoreboard/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28566/conf Modified Files: boost.php controlpanel.php help.php layout.php Log Message: Add and/or changed email address + removed old scoreboard image Index: controlpanel.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/conf/controlpanel.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** controlpanel.php 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- controlpanel.php 24 Nov 2004 21:40:41 -0000 1.2 *************** *** 1,3 **** --- 1,8 ---- <?php + /** + * @version $Id$ + * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> + */ + $image['name'] = "scoreboard.png"; $image['alt'] = "Scoreboard Administration"; *************** *** 12,14 **** "tab"=>"content"); ! ?> --- 17,19 ---- "tab"=>"content"); ! ?> \ No newline at end of file Index: layout.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/conf/layout.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** layout.php 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- layout.php 24 Nov 2004 21:40:41 -0000 1.2 *************** *** 1,4 **** <?php ! $layout_info[] = array ("content_var" => "CNT_scoreboard", --- 1,7 ---- <?php ! /** ! * @version $Id$ ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> ! */ $layout_info[] = array ("content_var" => "CNT_scoreboard", *************** *** 13,15 **** "transfer_var" => "body", "home_only"=>0); ! ?> --- 16,18 ---- "transfer_var" => "body", "home_only"=>0); ! ?> \ No newline at end of file Index: boost.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/conf/boost.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** boost.php 24 Nov 2004 21:23:46 -0000 1.3 --- boost.php 24 Nov 2004 21:40:41 -0000 1.4 *************** *** 1,3 **** --- 1,8 ---- <?php + /** + * @version $Id$ + * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> + */ + $mod_title = "scoreboard"; $mod_pname = "Scoreboard"; *************** *** 9,17 **** $admin_op = "&SCOREBOARD_op=menu"; $admin_mod = 1; ! $mod_icon = "scoreboard.gif"; $active = "on"; $priority = 50; $version = 0.95; - $admin_mod = 1; $branch_allow = 1; $deity_mod = 0; --- 14,21 ---- $admin_op = "&SCOREBOARD_op=menu"; $admin_mod = 1; ! $mod_icon = "scoreboard.png"; $active = "on"; $priority = 50; $version = 0.95; $branch_allow = 1; $deity_mod = 0; *************** *** 23,25 **** $mod_sessions = array("SES_SCOREBOARD_MANAGER", "SES_BOX_MANAGER"); ! ?> --- 27,29 ---- $mod_sessions = array("SES_SCOREBOARD_MANAGER", "SES_BOX_MANAGER"); ! ?> \ No newline at end of file Index: help.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/conf/help.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** help.php 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- help.php 24 Nov 2004 21:40:41 -0000 1.2 *************** *** 1,3 **** --- 1,7 ---- <?php + /** + * @version $Id$ + * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> + */ $settings = "Scoreboard Settings"; *************** *** 38,40 **** $lannounce = "List/Delete Announcement Links"; $lannounce_content = "To view an attached announcement, click on the announcement title. To remove the announcement link from the score, click 'Remove'. It won't ask 'Are you sure?' because it is so easy to just recreate the link again."; ! ?> --- 42,45 ---- $lannounce = "List/Delete Announcement Links"; $lannounce_content = "To view an attached announcement, click on the announcement title. To remove the announcement link from the score, click 'Remove'. It won't ask 'Are you sure?' because it is so easy to just recreate the link again."; ! ! ?> \ No newline at end of file |
From: Greg M. <bli...@us...> - 2004-11-24 21:40:52
|
Update of /cvsroot/phpwsscoreboard/scoreboard/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28566/img Removed Files: scoreboard.gif Log Message: Add and/or changed email address + removed old scoreboard image --- scoreboard.gif DELETED --- |
From: Greg M. <bli...@us...> - 2004-11-24 21:40:51
|
Update of /cvsroot/phpwsscoreboard/scoreboard/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28566/class Modified Files: BoxManager.php Boxscore.php Scoreboard.php Log Message: Add and/or changed email address + removed old scoreboard image Index: Boxscore.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/class/Boxscore.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Boxscore.php 6 Dec 2003 05:11:50 -0000 1.2 --- Boxscore.php 24 Nov 2004 21:40:40 -0000 1.3 *************** *** 5,9 **** * * @version $Id$ ! * @author Greg Meiste <me...@NO...> * @package Scoreboard */ --- 5,9 ---- * * @version $Id$ ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @package Scoreboard */ Index: Scoreboard.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/class/Scoreboard.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Scoreboard.php 6 Dec 2003 05:11:50 -0000 1.2 --- Scoreboard.php 24 Nov 2004 21:40:40 -0000 1.3 *************** *** 4,8 **** * * @version $Id$ ! * @author Greg Meiste <me...@NO...> * @package Scoreboard */ --- 4,8 ---- * * @version $Id$ ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @package Scoreboard */ *************** *** 15,19 **** * Main menu for Scoreboard class * ! * @author Greg Meiste <me...@NO...> * @access public */ --- 15,19 ---- * Main menu for Scoreboard class * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @access public */ *************** *** 191,195 **** * changes the title for the scoreboard * ! * @author Greg Meiste <me...@NO...> * @param string $title New Name to assign to the scoreboard * @access public --- 191,195 ---- * changes the title for the scoreboard * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param string $title New Name to assign to the scoreboard * @access public *************** *** 205,209 **** * Counts the number of announcements associated with a sports score * ! * @author Greg Meiste <me...@NO...> * @param string $rec Id number of the score that may have announcements * @return int $retVal Number of announcements associated with score --- 205,209 ---- * Counts the number of announcements associated with a sports score * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param string $rec Id number of the score that may have announcements * @return int $retVal Number of announcements associated with score *************** *** 227,231 **** * is now being phased out for individual functions. * ! * @author Greg Meiste <me...@NO...> * @access public */ --- 227,231 ---- * is now being phased out for individual functions. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @access public */ *************** *** 267,271 **** * Shows the form to add a score to the database. * ! * @author Greg Meiste <me...@NO...> * @param string $rec Id number of the sport that is to receive this new score * @access public --- 267,271 ---- * Shows the form to add a score to the database. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param string $rec Id number of the sport that is to receive this new score * @access public *************** *** 305,309 **** * Builds up display to edit a sport. Lists the scores that could be edited. * ! * @author Greg Meiste <me...@NO...> * @param string $rec The sports Id number in the database. * @access public --- 305,309 ---- * Builds up display to edit a sport. Lists the scores that could be edited. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param string $rec The sports Id number in the database. * @access public *************** *** 355,359 **** * Displays the user block that contains scoreboard information * ! * @author Greg Meiste <me...@NO...> * @access public */ --- 355,359 ---- * Displays the user block that contains scoreboard information * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @access public */ *************** *** 466,470 **** * Displays all the scores for the sport requested. * ! * @author Greg Meiste <me...@NO...> * @param string $rec The Id of the sport in the database * @access public --- 466,470 ---- * Displays all the scores for the sport requested. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param string $rec The Id of the sport in the database * @access public *************** *** 524,528 **** * Handles the user requests for changing/deleting scores in the database. * ! * @author Greg Meiste <me...@NO...> * @access public */ --- 524,528 ---- * Handles the user requests for changing/deleting scores in the database. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @access public */ *************** *** 608,612 **** * Shows announcements created after date passed to function * ! * @author Greg Meiste <me...@NO...> * @param date $date Date that will be the earliest dated announcements listed * @param int $score Score ID that the announcement should be associated with. --- 608,612 ---- * Shows announcements created after date passed to function * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param date $date Date that will be the earliest dated announcements listed * @param int $score Score ID that the announcement should be associated with. *************** *** 657,661 **** * Handles the user requests for adding announcement links to scores * ! * @author Greg Meiste <me...@NO...> * @param int $score Score ID that the announcement should be associated with. * @access public --- 657,661 ---- * Handles the user requests for adding announcement links to scores * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $score Score ID that the announcement should be associated with. * @access public *************** *** 679,683 **** * Handles the user requests for listing/deleting announcement links to scores * ! * @author Greg Meiste <me...@NO...> * @param int $score Score ID that the announcements are associated with. * @access public --- 679,683 ---- * Handles the user requests for listing/deleting announcement links to scores * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $score Score ID that the announcements are associated with. * @access public *************** *** 712,716 **** * Finds the Related Stories for a individual scores * ! * @author Greg Meiste <me...@NO...> * @param int $score Score ID that the announcements are associated with. * @return string $content Lists of the announcements to add --- 712,716 ---- * Finds the Related Stories for a individual scores * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $score Score ID that the announcements are associated with. * @return string $content Lists of the announcements to add *************** *** 740,744 **** * Asks the user if they REALLY want to delete all scores for a sport. * ! * @author Greg Meiste <me...@NO...> * @param int $sport Score ID that the announcements are associated with. * @access public --- 740,744 ---- * Asks the user if they REALLY want to delete all scores for a sport. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $sport Score ID that the announcements are associated with. * @access public *************** *** 758,762 **** * Deletes all Scores and Announcement Links from a sport. * ! * @author Greg Meiste <me...@NO...> * @param int $sport Score ID that the announcements are associated with. * @access public --- 758,762 ---- * Deletes all Scores and Announcement Links from a sport. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $sport Score ID that the announcements are associated with. * @access public *************** *** 783,787 **** * Asks the user if they REALLY want to delete a sport. * ! * @author Greg Meiste <me...@NO...> * @param int $sport Score ID that the announcements are associated with. * @access public --- 783,787 ---- * Asks the user if they REALLY want to delete a sport. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $sport Score ID that the announcements are associated with. * @access public *************** *** 802,806 **** * Shows the page that allows the user to change the order of sports on the scoreboard * ! * @author Greg Meiste <me...@NO...> * @param int $sport Score ID that is to have ordinal changed * @param string $direction The direction that the sport is to be moved --- 802,806 ---- * Shows the page that allows the user to change the order of sports on the scoreboard * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $sport Score ID that is to have ordinal changed * @param string $direction The direction that the sport is to be moved *************** *** 845,849 **** * Displays the interface to change the Next Event for a sport. * ! * @author Greg Meiste <me...@NO...> * @param int $sport Sport ID that the next Event should be associated with. * @access public --- 845,849 ---- * Displays the interface to change the Next Event for a sport. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $sport Sport ID that the next Event should be associated with. * @access public Index: BoxManager.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/class/BoxManager.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BoxManager.php 24 Dec 2003 01:01:40 -0000 1.3 --- BoxManager.php 24 Nov 2004 21:40:40 -0000 1.4 *************** *** 5,9 **** * * @version $Id$ ! * @author Greg Meiste <me...@NO...> * @package Scoreboard */ --- 5,9 ---- * * @version $Id$ ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @package Scoreboard */ *************** *** 379,383 **** * Displays the interface to add a new boxscore * ! * @author Greg Meiste <me...@NO...> * @param int $scoreID Score ID that the boxscore should be associated with. * @param int $step Step of the add process --- 379,383 ---- * Displays the interface to add a new boxscore * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $scoreID Score ID that the boxscore should be associated with. * @param int $step Step of the add process *************** *** 489,493 **** * Displays the interface to edit an existing boxscore * ! * @author Greg Meiste <me...@NO...> * @access public */ --- 489,493 ---- * Displays the interface to edit an existing boxscore * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @access public */ *************** *** 508,512 **** * Displays the link to a boxscore if it exists * ! * @author Greg Meiste <me...@NO...> * @param int $scoreID Score ID that might have a boxscore to view * @return string $retval The link to the boxscore --- 508,512 ---- * Displays the link to a boxscore if it exists * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $scoreID Score ID that might have a boxscore to view * @return string $retval The link to the boxscore *************** *** 531,535 **** * Displays a boxscore * ! * @author Greg Meiste <me...@NO...> * @param int $scoreID Score ID that has a boxscore to view * @access public --- 531,535 ---- * Displays a boxscore * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $scoreID Score ID that has a boxscore to view * @access public *************** *** 572,576 **** * the other input array that have the index number that's needed. * ! * @author Greg Meiste <me...@NO...> * @param array $values Array of values to use * @param array $indexes Array of indexes that need to get selected --- 572,576 ---- * the other input array that have the index number that's needed. * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param array $values Array of values to use * @param array $indexes Array of indexes that need to get selected *************** *** 597,601 **** * Calculates and returns the percentage of the two values passed in * ! * @author Greg Meiste <me...@NO...> * @param int $lowVal The numerator to use in the calculation * @param int $highVal The denominator to use in the calculation --- 597,601 ---- * Calculates and returns the percentage of the two values passed in * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $lowVal The numerator to use in the calculation * @param int $highVal The denominator to use in the calculation *************** *** 619,623 **** * Finds the high value of the array that's passed to the function * ! * @author Greg Meiste <me...@NO...> * @param array $values Array of values to look for the high value * @return int $retval The value that's found to be the highest --- 619,623 ---- * Finds the high value of the array that's passed to the function * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param array $values Array of values to look for the high value * @return int $retval The value that's found to be the highest *************** *** 648,652 **** * Finds the low value of the array that's passed to the function * ! * @author Greg Meiste <me...@NO...> * @param array $values Array of values to look for the low value * @return int $retval The value that's found to be the lowest --- 648,652 ---- * Finds the low value of the array that's passed to the function * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param array $values Array of values to look for the low value * @return int $retval The value that's found to be the lowest *************** *** 677,681 **** * Finds the sum of the values in the array that's passed to the function * ! * @author Greg Meiste <me...@NO...> * @param array $values Array of values to sum * @return int $retval Sum of the values to return --- 677,681 ---- * Finds the sum of the values in the array that's passed to the function * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param array $values Array of values to sum * @return int $retval Sum of the values to return *************** *** 699,703 **** * Finds the average of the values in the array that's passed to the function * ! * @author Greg Meiste <me...@NO...> * @param array $values Array of values to average * @return int $retval Average of the values to return --- 699,703 ---- * Finds the average of the values in the array that's passed to the function * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param array $values Array of values to average * @return int $retval Average of the values to return *************** *** 726,730 **** * Sums up values entered and stores them in the vertTemp field * ! * @author Greg Meiste <me...@NO...> * @param int $colNum The column number of the field (starting at 0) * @param int $value Value to add to the current vertTemp field --- 726,730 ---- * Sums up values entered and stores them in the vertTemp field * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $colNum The column number of the field (starting at 0) * @param int $value Value to add to the current vertTemp field *************** *** 741,745 **** * Finds the high value and stores it in the vertTemp field * ! * @author Greg Meiste <me...@NO...> * @param int $colNum The column number of the field (starting at 0) * @param int $value Value to compare to the current vertTemp field --- 741,745 ---- * Finds the high value and stores it in the vertTemp field * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $colNum The column number of the field (starting at 0) * @param int $value Value to compare to the current vertTemp field *************** *** 762,766 **** * Finds the low value and stores it in the vertTemp field * ! * @author Greg Meiste <me...@NO...> * @param int $colNum The column number of the field (starting at 0) * @param int $value Value to compare to the current vertTemp field --- 762,766 ---- * Finds the low value and stores it in the vertTemp field * ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> * @param int $colNum The column number of the field (starting at 0) * @param int $value Value to compare to the current vertTemp field *************** *** 781,783 **** }// END CLASS PHPWS_BoxManager ! ?> --- 781,783 ---- }// END CLASS PHPWS_BoxManager ! ?> \ No newline at end of file |
From: Greg M. <bli...@us...> - 2004-11-24 21:23:58
|
Update of /cvsroot/phpwsscoreboard/scoreboard/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24258/docs Modified Files: changelog.txt Log Message: Getting ready for phpWebSite 0.10.0 and removed deprecated defines Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/changelog.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** changelog.txt 24 Dec 2003 01:01:40 -0000 1.3 --- changelog.txt 24 Nov 2004 21:23:47 -0000 1.4 *************** *** 1,5 **** ! ChangeLog ! $Id$ ! Author: Greg Meiste <me...@NO...> 0.9.3 -> 0.9.4: --- 1,12 ---- ! ############################################################################### ! # ChangeLog for Scoreboard ! # $Id$ ! # ! # Author: Greg Meiste <blindman1344 [at] users dot sourceforge dot net> ! ############################################################################### ! ! 0.9.4 -> CVS (November 24, 2004): ! --------------------------------- ! - Now compliant with phpWebSite 0.10.0 0.9.3 -> 0.9.4: |
From: Greg M. <bli...@us...> - 2004-11-24 21:23:56
|
Update of /cvsroot/phpwsscoreboard/scoreboard/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24258/conf Modified Files: boost.php Log Message: Getting ready for phpWebSite 0.10.0 and removed deprecated defines Index: boost.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/conf/boost.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** boost.php 6 Dec 2003 05:11:51 -0000 1.2 --- boost.php 24 Nov 2004 21:23:46 -0000 1.3 *************** *** 12,16 **** $active = "on"; $priority = 50; ! $version = 0.94; $admin_mod = 1; $branch_allow = 1; --- 12,16 ---- $active = "on"; $priority = 50; ! $version = 0.95; $admin_mod = 1; $branch_allow = 1; |
From: Greg M. <bli...@us...> - 2004-11-24 21:23:56
|
Update of /cvsroot/phpwsscoreboard/scoreboard/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24258/boost Modified Files: install.php uninstall.php update.php Log Message: Getting ready for phpWebSite 0.10.0 and removed deprecated defines Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/uninstall.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** uninstall.php 6 Dec 2003 05:11:50 -0000 1.2 --- uninstall.php 24 Nov 2004 21:23:46 -0000 1.3 *************** *** 4,9 **** * * @version $Id$ ! * @author Greg Meiste <me...@ms...> */ if (!$_SESSION["OBJ_user"]->isDeity()){ header("location:index.php"); --- 4,10 ---- * * @version $Id$ ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ + if (!$_SESSION["OBJ_user"]->isDeity()){ header("location:index.php"); *************** *** 14,23 **** $content .= "All Scoreboard tables successfully removed.<br />"; - CLS_help::uninstall_help("scoreboard"); - $content .= "Scoreboard successfully removed from Help Module.<br /><br />"; $status = 1; } else { ! $content .= "There was a problem accessing the database.<br />"; $status = 0; } ! ?> --- 15,23 ---- $content .= "All Scoreboard tables successfully removed.<br />"; $status = 1; } else { ! $content .= "There was a problem accessing the database.<br />"; $status = 0; } ! ! ?> \ No newline at end of file Index: install.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/install.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** install.php 6 Dec 2003 05:11:50 -0000 1.2 --- install.php 24 Nov 2004 21:23:46 -0000 1.3 *************** *** 2,7 **** /** * @version $Id$ ! * @author Greg Meiste <me...@ms...> */ if (!$_SESSION["OBJ_user"]->isDeity()){ header("location:index.php"); --- 2,8 ---- /** * @version $Id$ ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ + if (!$_SESSION["OBJ_user"]->isDeity()){ header("location:index.php"); *************** *** 10,28 **** // Need to do core version check ! if($GLOBALS["core"]->version < "0.9.3-1") { ! $content .= "This module requires a phpWebSite core version of 0.9.3-1 or greater to install.<br />"; ! $content .= "<br />You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; return; } ! if($GLOBALS["core"]->sqlImport(PHPWS_SOURCE_DIR . "mod/scoreboard/boost/install.sql", TRUE)) { ! $content .= "All Scoreboard tables successfully written.<br />"; ! ! CLS_help::setup_help("scoreboard"); ! $content .= "Scoreboard registered with Help module.<br />"; ! $status = 1; ! } else ! $content .= "There was a problem writing to the database.<br />"; ! ?> --- 11,28 ---- // Need to do core version check ! if(version_compare($GLOBALS['core']->version, "0.9.3-3") < 0) { ! $content .= "This module requires a phpWebSite core version of 0.9.3-3 or greater to install.<br />"; ! $content .= "You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; return; } ! if($GLOBALS["core"]->sqlImport(PHPWS_SOURCE_DIR . "mod/scoreboard/boost/install.sql", TRUE)) { ! $content .= "All Scoreboard tables successfully written.<br />"; ! $status = 1; ! } else { ! $content .= "There was a problem writing to the database.<br />"; ! $status = 0; ! } ! ?> \ No newline at end of file Index: update.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/update.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** update.php 24 Dec 2003 01:01:40 -0000 1.3 --- update.php 24 Nov 2004 21:23:46 -0000 1.4 *************** *** 1,3 **** --- 1,9 ---- <?php + /** + * This is the update file for Scoreboard. It is used by Boost. + * + * @version $Id$ + * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> + */ if (!$_SESSION["OBJ_user"]->isDeity()){ *************** *** 7,16 **** // Need to do core version check ! if($GLOBALS["core"]->version < "0.9.3-1") { ! $content .= "This module requires a phpWebSite core version of 0.9.3-1 or greater to install.<br />"; ! $content .= "<br />You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; return; } $status = 1; --- 13,24 ---- // Need to do core version check ! if(version_compare($GLOBALS['core']->version, "0.9.3-3") { ! $content .= "This module requires a phpWebSite core version of 0.9.3-3 or greater to install.<br />"; ! $content .= "You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; return; } + require_once(PHPWS_SOURCE_DIR . "mod/help/class/CLS_help.php"); + $status = 1; *************** *** 18,33 **** $content .= "Updating Scoreboard to version 0.91<br />"; $content .= "Adding columns \"status\" and \"numCol\" to \"mod_scoreboard_conf\"."; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . ! "mod_scoreboard_conf ADD (status varchar(4) NOT NULL, ! numCol int NOT NULL)"; ! $GLOBALS["core"]->query($sql); $content .= "<br />Columns added successfully!<br />"; ! $sql = "UPDATE " . PHPWS_TBL_PREFIX . "mod_scoreboard_conf SET status=\"on\", numCol=2"; ! $GLOBALS["core"]->query($sql); $content .= "Configuration settings updated!<br />"; ! $sql = "CREATE TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_links ( scoreID int NOT NULL, announceID int NOT NULL, --- 26,39 ---- $content .= "Updating Scoreboard to version 0.91<br />"; $content .= "Adding columns \"status\" and \"numCol\" to \"mod_scoreboard_conf\"."; ! $sql = "ALTER TABLE mod_scoreboard_conf ADD (status varchar(4) NOT NULL, numCol int NOT NULL)"; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "<br />Columns added successfully!<br />"; ! $sql = "UPDATE mod_scoreboard_conf SET status=\"on\", numCol=2"; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "Configuration settings updated!<br />"; ! $sql = "CREATE TABLE mod_scoreboard_links ( scoreID int NOT NULL, announceID int NOT NULL, *************** *** 36,40 **** KEY announceID (announceID) )"; ! $GLOBALS["core"]->query($sql); $content .= "Announcement Links table created!<br />"; --- 42,46 ---- KEY announceID (announceID) )"; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "Announcement Links table created!<br />"; *************** *** 49,64 **** $content .= "Updating Scoreboard to version 0.92<br />"; $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports ADD ordinal int NOT NULL"; ! $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; $content .= "Setting ordinals for all sports to their sport ID.<br />"; ! $sql = "SELECT id FROM " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports"; ! $result = $GLOBALS["core"]->getAll($sql); if(sizeof($result) > 0) { $i = 0; foreach($result as $row) { ! $sql = "UPDATE " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports SET ordinal=id WHERE id=" . $row["id"]; ! $GLOBALS["core"]->query($sql); $i++; } --- 55,70 ---- $content .= "Updating Scoreboard to version 0.92<br />"; $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE mod_scoreboard_sports ADD ordinal int NOT NULL"; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "Column added successfully.<br />"; $content .= "Setting ordinals for all sports to their sport ID.<br />"; ! $sql = "SELECT id FROM mod_scoreboard_sports"; ! $result = $GLOBALS["core"]->getAll($sql, TRUE); if(sizeof($result) > 0) { $i = 0; foreach($result as $row) { ! $sql = "UPDATE mod_scoreboard_sports SET ordinal=id WHERE id=" . $row["id"]; ! $GLOBALS["core"]->query($sql, TRUE); $i++; } *************** *** 70,79 **** $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_conf\" table.<br />"; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_conf ADD (ordinal varchar(5) NOT NULL)"; ! $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; ! $sql = "UPDATE " . PHPWS_TBL_PREFIX . "mod_scoreboard_conf SET ordinal=\"asc\""; ! $GLOBALS["core"]->query($sql); $content .= "Configuration settings updated!<br />"; --- 76,85 ---- $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_conf\" table.<br />"; ! $sql = "ALTER TABLE mod_scoreboard_conf ADD (ordinal varchar(5) NOT NULL)"; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "Column added successfully.<br />"; ! $sql = "UPDATE mod_scoreboard_conf SET ordinal=\"asc\""; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "Configuration settings updated!<br />"; *************** *** 91,99 **** $content .= "Adding \"nextgame\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports ADD nextgame int"; ! $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; ! $sql = "CREATE TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_boxscores ( id int PRIMARY KEY, scoreID int NOT NULL, --- 97,105 ---- $content .= "Adding \"nextgame\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE mod_scoreboard_sports ADD nextgame int"; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "Column added successfully.<br />"; ! $sql = "CREATE TABLE mod_scoreboard_boxscores ( id int PRIMARY KEY, scoreID int NOT NULL, *************** *** 105,109 **** numRows text )"; ! $GLOBALS["core"]->query($sql); $content .= "Boxscores table created!<br />"; } --- 111,115 ---- numRows text )"; ! $GLOBALS["core"]->query($sql, TRUE); $content .= "Boxscores table created!<br />"; } *************** *** 115,117 **** $content .= "- Boxscore template now has justification ability<br />"; } ! ?> --- 121,130 ---- $content .= "- Boxscore template now has justification ability<br />"; } ! ! if($currentVersion < 0.95) { ! $content .= "<br />Scoreboard Updates for Version 0.9.5<br />"; ! $content .= "------------------------------------------<br />"; ! $content .= "- Now compatible with phpWebSite 0.10.0<br />"; ! } ! ! ?> \ No newline at end of file |
From: Greg M. <bli...@us...> - 2004-11-24 21:23:55
|
Update of /cvsroot/phpwsscoreboard/scoreboard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24258 Modified Files: index.php Log Message: Getting ready for phpWebSite 0.10.0 and removed deprecated defines Index: index.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 6 Dec 2003 05:11:50 -0000 1.2 --- index.php 24 Nov 2004 21:23:45 -0000 1.3 *************** *** 2,11 **** /** * @version $Id$ ! * @author Greg Meiste <me...@NO...> */ if (!($row = $GLOBALS["core"]->sqlSelect("mod_boost_version", "mod_title", $mod_title))) { } ! else if ($row[0]['version'] != "0.94") { } else { --- 2,12 ---- /** * @version $Id$ ! * @author Greg Meiste <blindman1344 [at] users dot sourceforge dot net> */ if (!($row = $GLOBALS["core"]->sqlSelect("mod_boost_version", "mod_title", $mod_title))) { } ! // Check to see if latest version running - if not... don't run module to prevent breakage ! else if ($row[0]['version'] != "0.95") { } else { *************** *** 134,136 **** } ! ?> --- 135,137 ---- } ! ?> \ No newline at end of file |
From: <bli...@us...> - 2003-12-24 01:01:48
|
Update of /cvsroot/phpwsscoreboard/scoreboard/templates/boxscores In directory sc8-pr-cvs1:/tmp/cvs-serv29383/templates/boxscores Modified Files: demo.box Log Message: Added justification to boxscore templates Index: demo.box =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/templates/boxscores/demo.box,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** demo.box 30 Jul 2003 14:39:26 -0000 1.1.1.1 --- demo.box 24 Dec 2003 01:01:40 -0000 1.2 *************** *** 6,13 **** * * Greg Meiste <me...@NO...> ! * July 3, 2003 * ! * Version 1.0 ! * Requires Scoreboard 0.9.3 *********************************************/ --- 6,13 ---- * * Greg Meiste <me...@NO...> ! * December 23, 2003 * ! * Version 1.1 ! * Requires Scoreboard 0.9.4 *********************************************/ *************** *** 52,56 **** // percentage columns, for example. "prefix"=>NULL, ! "suffix"=>NULL ); --- 52,60 ---- // percentage columns, for example. "prefix"=>NULL, ! "suffix"=>NULL, ! ! // Allows you to specify what justification you want. This requires Scoreboard ! // version 0.9.4 or later. Default: left ! "justify"=>"left" ); *************** *** 66,70 **** "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL ); --- 70,75 ---- "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL, ! "justify"=>"left" ); *************** *** 75,79 **** "colFunc"=>"lowValue", "prefix"=>"L ", ! "suffix"=>NULL ); --- 80,85 ---- "colFunc"=>"lowValue", "prefix"=>"L ", ! "suffix"=>NULL, ! "justify"=>"right" ); *************** *** 84,88 **** "colFunc"=>"highValue", "prefix"=>"H ", ! "suffix"=>NULL ); --- 90,95 ---- "colFunc"=>"highValue", "prefix"=>"H ", ! "suffix"=>NULL, ! "justify"=>"right" ); *************** *** 93,97 **** "colFunc"=>"average", "prefix"=>NULL, ! "suffix"=>"%" ); --- 100,105 ---- "colFunc"=>"average", "prefix"=>NULL, ! "suffix"=>"%", ! "justify"=>"right" ); *************** *** 102,106 **** "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL ); --- 110,115 ---- "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL, ! "justify"=>"right" ); *************** *** 111,115 **** "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL ); --- 120,125 ---- "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL, ! "justify"=>"right" ); *************** *** 120,124 **** "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL ); --- 130,135 ---- "colFunc"=>NULL, "prefix"=>NULL, ! "suffix"=>NULL, ! "justify"=>"right" ); *************** *** 129,133 **** "colFunc"=>"sum", "prefix"=>NULL, ! "suffix"=>NULL ); --- 140,145 ---- "colFunc"=>"sum", "prefix"=>NULL, ! "suffix"=>NULL, ! "justify"=>"right" ); *************** *** 138,142 **** "colFunc"=>"average", "prefix"=>NULL, ! "suffix"=>NULL ); --- 150,155 ---- "colFunc"=>"average", "prefix"=>NULL, ! "suffix"=>NULL, ! "justify"=>"right" ); *************** *** 147,151 **** "colFunc"=>"sum", "prefix"=>NULL, ! "suffix"=>NULL ); --- 160,165 ---- "colFunc"=>"sum", "prefix"=>NULL, ! "suffix"=>NULL, ! "justify"=>"right" ); |
From: <bli...@us...> - 2003-12-24 01:01:47
|
Update of /cvsroot/phpwsscoreboard/scoreboard/class In directory sc8-pr-cvs1:/tmp/cvs-serv29383/class Modified Files: BoxManager.php Log Message: Added justification to boxscore templates Index: BoxManager.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/class/BoxManager.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** BoxManager.php 6 Dec 2003 05:11:50 -0000 1.2 --- BoxManager.php 24 Dec 2003 01:01:40 -0000 1.3 *************** *** 88,92 **** if($columns != NULL) { foreach($columns as $value) { ! $this->box->boxscore .= "<td class=\"alt_bg_light\" nowrap=\"nowrap\">\n "; $this->box->boxscore .= $value["title"] . "</td>\n"; if($value["colFunc"] == NULL) { --- 88,96 ---- if($columns != NULL) { foreach($columns as $value) { ! if($value["justify"] == NULL) { ! $value["justify"] = "left"; ! } ! ! $this->box->boxscore .= "<td class=\"alt_bg_light\" nowrap=\"nowrap\" align=\"" . $value["justify"] . "\">\n "; $this->box->boxscore .= $value["title"] . "</td>\n"; if($value["colFunc"] == NULL) { *************** *** 112,116 **** require(PHPWS_SOURCE_DIR . "mod/scoreboard/templates/boxscores/" . $this->box->templateName); ! $this->box->boxscore .= "<!--ROW--><tr>"; $rowCounters = explode(":", $this->box->numRows); --- 116,120 ---- require(PHPWS_SOURCE_DIR . "mod/scoreboard/templates/boxscores/" . $this->box->templateName); ! $this->box->boxscore .= "<!--ROW--><tr>\n"; $rowCounters = explode(":", $this->box->numRows); *************** *** 155,159 **** $colNumber = 0; foreach($columns as $value) { ! $this->box->boxscore .= "<td nowrap=\"nowrap\"> " . $value["prefix"]; $this->box->boxscore .= "<!--" . $value["colName"] . "-->"; --- 159,167 ---- $colNumber = 0; foreach($columns as $value) { ! if($value["justify"] == NULL) { ! $value["justify"] = "left"; ! } ! ! $this->box->boxscore .= "\n<td nowrap=\"nowrap\" align=\"" . $value["justify"] . "\"> " . $value["prefix"]; $this->box->boxscore .= "<!--" . $value["colName"] . "-->"; *************** *** 177,181 **** $this->box->numRows = implode(":", $rowCounters); ! $this->box->boxscore .= "</tr><!--END-ROW-->"; $this->box->updateDB(); --- 185,189 ---- $this->box->numRows = implode(":", $rowCounters); ! $this->box->boxscore .= "\n</tr><!--END-ROW-->"; $this->box->updateDB(); *************** *** 198,202 **** $memNum = 0; foreach ($memory as $memVal) { ! $this->box->boxscore .= "<td bgcolor=\"" . $lastRow . "\" nowrap=\"nowrap\">\n "; if($columns[$memNum]["colFunc"] == "average") { --- 206,214 ---- $memNum = 0; foreach ($memory as $memVal) { ! if($columns[$memNum]["justify"] == NULL) { ! $columns[$memNum]["justify"] = "left"; ! } ! ! $this->box->boxscore .= "\n<td bgcolor=\"" . $lastRow . "\" nowrap=\"nowrap\" align=\"" . $columns[$memNum]["justify"] . "\">\n "; if($columns[$memNum]["colFunc"] == "average") { *************** *** 235,239 **** if($columns != NULL) { foreach($columns as $value) { ! $this->box->boxscore .= "<td class=\"alt_bg_light\" nowrap=\"nowrap\">\n "; $this->box->boxscore .= $value["title"] . "</td>\n"; if($value["colFunc"] == NULL) { --- 247,255 ---- if($columns != NULL) { foreach($columns as $value) { ! if($value["justify"] == NULL) { ! $value["justify"] = "left"; ! } ! ! $this->box->boxscore .= "<td class=\"alt_bg_light\" nowrap=\"nowrap\" align=\"" . $value["justify"] . "\">\n "; $this->box->boxscore .= $value["title"] . "</td>\n"; if($value["colFunc"] == NULL) { *************** *** 266,270 **** $memNum = 0; foreach ($memory as $memVal) { ! $this->box->boxscore .= "<td bgcolor=\"" . $lastRow . "\" nowrap=\"nowrap\">\n "; if($columns[$memNum]["colFunc"] == "average") { --- 282,290 ---- $memNum = 0; foreach ($memory as $memVal) { ! if($columns[$memNum]["justify"] == NULL) { ! $columns[$memNum]["justify"] = "left"; ! } ! ! $this->box->boxscore .= "<td bgcolor=\"" . $lastRow . "\" nowrap=\"nowrap\" align=\"" . $columns[$memNum]["justify"] . "\">\n "; if($columns[$memNum]["colFunc"] == "average") { |
From: <bli...@us...> - 2003-12-24 01:01:47
|
Update of /cvsroot/phpwsscoreboard/scoreboard/boost In directory sc8-pr-cvs1:/tmp/cvs-serv29383/boost Modified Files: update.php Log Message: Added justification to boxscore templates Index: update.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/update.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** update.php 6 Dec 2003 05:11:50 -0000 1.2 --- update.php 24 Dec 2003 01:01:40 -0000 1.3 *************** *** 113,116 **** --- 113,117 ---- $content .= "------------------------------------------<br />"; $content .= "- Now compatible with phpWebSite 0.9.3-2<br />"; + $content .= "- Boxscore template now has justification ability<br />"; } ?> |
From: <bli...@us...> - 2003-12-24 01:01:47
|
Update of /cvsroot/phpwsscoreboard/scoreboard/docs In directory sc8-pr-cvs1:/tmp/cvs-serv29383/docs Modified Files: changelog.txt Log Message: Added justification to boxscore templates Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/changelog.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** changelog.txt 6 Dec 2003 05:11:51 -0000 1.2 --- changelog.txt 24 Dec 2003 01:01:40 -0000 1.3 *************** *** 6,9 **** --- 6,10 ---- --------------- - Now compliant with phpWebSite 0.9.3-2 + - Boxscore template now has justification ability 0.9.2 -> 0.9.3: |
From: <bli...@us...> - 2003-12-06 05:11:54
|
Update of /cvsroot/phpwsscoreboard/scoreboard/docs In directory sc8-pr-cvs1:/tmp/cvs-serv9240/docs Modified Files: INSTALL.txt README.txt UPGRADE.txt changelog.txt Log Message: Changes for phpWebSite 0.9.3-2 Index: INSTALL.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/INSTALL.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** INSTALL.txt 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- INSTALL.txt 6 Dec 2003 05:11:51 -0000 1.2 *************** *** 1,12 **** Scoreboard Installation Documentation Author: Greg Meiste <me...@ms...> Scoreboard has Boost support so installation is quite easy: ! 1. Copy the Scoreboard directory structure into your phpwebsite/mod/ directory. ! 2. Start up your web browser and point it to your instance of phpwebsite. ! 3. Login as a deity and open up the Boost module. ! 4. Click the install button next to the Scoreboard module. ! 5. Enjoy! \ No newline at end of file --- 1,26 ---- Scoreboard Installation Documentation + $Id$ Author: Greg Meiste <me...@ms...> Scoreboard has Boost support so installation is quite easy: ! ------------------------------------------------------------------------- ! PHPWEBSITE 0.9.3-1 USERS! Before you begin, make sure you have installed ! the supplemental files. Check out the README for details. ! ------------------------------------------------------------------------- ! ! 1. BACKUP YOUR DATABASE! Don't send us hate mail if this module ! crashes your website. (However, we do ask that you tell us ! about it.) ! ! 2. Copy the Scoreboard directory structure into your phpwebsite/mod/ directory. ! ! 3. Start up your web browser and point it to your instance of phpwebsite. ! ! 4. Login as a deity and open up the Boost module. ! ! 5. Click the install button next to the Scoreboard module. ! ! 6. Enjoy! Index: README.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/README.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** README.txt 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- README.txt 6 Dec 2003 05:11:51 -0000 1.2 *************** *** 1,5 **** --- 1,7 ---- ReadMe + $Id$ Author: Greg Meiste <me...@NO...> + Scoreboard was developed to allow for the posting of sports scores on phpwebsite. It can be personalized for a certain team/school, or used *************** *** 8,11 **** --- 10,28 ---- BEFORE you install/upgrade the Scoreboard module, you should backup your database and read the INSTALL.txt or UPGRADE.txt + + ---------------------------------------------------------------------- + IMPORTANT! Changes for Scoreboard 0.9.4 and beyond + + There has been several changes in the phpWebSite core. Because of this, + you will need some supplemental files if you are running phpWebSite 0.9.3-1. + These files aren't necessary if you are running the new 0.9.3-2 core. + + Don Seiler has put together the necessary files in a nice package for + download. You can get these files at: + http://phpwebsite.appstate.edu/downloads/misc/phpws-0.9.3-1.supplemental.zip + + There is a README file in that archive that will explain in detail what you + need to do. Please don't email him with questions regarding this module. + ---------------------------------------------------------------------- The interface is really self-explanatory, but if it isn't, you can click Index: UPGRADE.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/UPGRADE.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** UPGRADE.txt 30 Jul 2003 14:39:26 -0000 1.1.1.1 --- UPGRADE.txt 6 Dec 2003 05:11:51 -0000 1.2 *************** *** 1,6 **** --- 1,12 ---- Scoreboard Upgrade Documentation + $Id$ Author: Greg Meiste <me...@NO...> Scoreboard has Boost support so the upgrade process is quite easy. + + ------------------------------------------------------------------------- + PHPWEBSITE 0.9.3-1 USERS! Before you begin, make sure you have installed + the supplemental files. Check out the README for details. + ------------------------------------------------------------------------- Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/docs/changelog.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** changelog.txt 30 Jul 2003 14:39:26 -0000 1.1.1.1 --- changelog.txt 6 Dec 2003 05:11:51 -0000 1.2 *************** *** 1,4 **** --- 1,9 ---- ChangeLog + $Id$ Author: Greg Meiste <me...@NO...> + + 0.9.3 -> 0.9.4: + --------------- + - Now compliant with phpWebSite 0.9.3-2 0.9.2 -> 0.9.3: |
From: <bli...@us...> - 2003-12-06 05:11:54
|
Update of /cvsroot/phpwsscoreboard/scoreboard/inc In directory sc8-pr-cvs1:/tmp/cvs-serv9240/inc Added Files: runtime.php Log Message: Changes for phpWebSite 0.9.3-2 --- NEW FILE: runtime.php --- <?php /** * @version $Id: runtime.php,v 1.1 2003/12/06 05:11:51 blindman1344 Exp $ * @author Greg Meiste <me...@NO...> */ if($GLOBALS['module'] == "home") { require_once(PHPWS_SOURCE_DIR . "mod/scoreboard/class/Scoreboard.php"); require_once(PHPWS_SOURCE_DIR . "mod/scoreboard/class/BoxManager.php"); $_SESSION["SES_SCOREBOARD_MANAGER"] = new PHPWS_Scoreboard; $_SESSION["SES_BOX_MANAGER"] = new PHPWS_BoxManager; $_SESSION["SES_SCOREBOARD_MANAGER"]->showBlock(); } ?> |
From: <bli...@us...> - 2003-12-06 05:11:53
|
Update of /cvsroot/phpwsscoreboard/scoreboard/conf In directory sc8-pr-cvs1:/tmp/cvs-serv9240/conf Modified Files: boost.php Log Message: Changes for phpWebSite 0.9.3-2 Index: boost.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/conf/boost.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** boost.php 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- boost.php 6 Dec 2003 05:11:51 -0000 1.2 *************** *** 12,16 **** $active = "on"; $priority = 50; ! $version = 0.93; $admin_mod = 1; $branch_allow = 1; --- 12,16 ---- $active = "on"; $priority = 50; ! $version = 0.94; $admin_mod = 1; $branch_allow = 1; |
From: <bli...@us...> - 2003-12-06 05:11:53
|
Update of /cvsroot/phpwsscoreboard/scoreboard/class In directory sc8-pr-cvs1:/tmp/cvs-serv9240/class Modified Files: BoxManager.php Boxscore.php Scoreboard.php Log Message: Changes for phpWebSite 0.9.3-2 Index: BoxManager.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/class/BoxManager.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** BoxManager.php 30 Jul 2003 14:39:19 -0000 1.1.1.1 --- BoxManager.php 6 Dec 2003 05:11:50 -0000 1.2 *************** *** 8,11 **** --- 8,17 ---- * @package Scoreboard */ + + require_once(PHPWS_SOURCE_DIR . "core/EZform.php"); + require_once(PHPWS_SOURCE_DIR . "core/Template.php"); + require_once(PHPWS_SOURCE_DIR . "core/Error.php"); + require_once(PHPWS_SOURCE_DIR . "mod/scoreboard/class/Boxscore.php"); + class PHPWS_BoxManager { *************** *** 362,366 **** if($step == NULL) { ! $tmplist = $GLOBALS['core']->listTemplates('scoreboard', FALSE, 'boxscores'); if ($tmplist === FALSE){ $error = new PHPWS_Error("scoreboard", "add", "Missing Scoreboard boxscore template files", "exit", 1); --- 368,372 ---- if($step == NULL) { ! $tmplist = PHPWS_Template::listTemplates('scoreboard', FALSE, 'boxscores'); if ($tmplist === FALSE){ $error = new PHPWS_Error("scoreboard", "add", "Missing Scoreboard boxscore template files", "exit", 1); *************** *** 384,388 **** $template = $form->getTemplate(); ! $content .= $GLOBALS['core']->processTemplate($template, "scoreboard", "forms/box_add.tpl"); } if($step == 2) { --- 390,394 ---- $template = $form->getTemplate(); ! $content .= PHPWS_Template::processTemplate($template, "scoreboard", "forms/box_add.tpl"); } if($step == 2) { Index: Boxscore.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/class/Boxscore.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Boxscore.php 30 Jul 2003 14:39:17 -0000 1.1.1.1 --- Boxscore.php 6 Dec 2003 05:11:50 -0000 1.2 *************** *** 5,11 **** * * @version $Id$ ! * @author Greg Meiste <me...@ms...> * @package Scoreboard */ class PHPWS_Boxscore { --- 5,12 ---- * * @version $Id$ ! * @author Greg Meiste <me...@NO...> * @package Scoreboard */ + class PHPWS_Boxscore { Index: Scoreboard.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/class/Scoreboard.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Scoreboard.php 30 Jul 2003 14:39:17 -0000 1.1.1.1 --- Scoreboard.php 6 Dec 2003 05:11:50 -0000 1.2 *************** *** 7,10 **** --- 7,13 ---- * @package Scoreboard */ + + require_once(PHPWS_SOURCE_DIR . "mod/help/class/CLS_help.php"); + class PHPWS_Scoreboard { |
From: <bli...@us...> - 2003-12-06 05:11:53
|
Update of /cvsroot/phpwsscoreboard/scoreboard/boost In directory sc8-pr-cvs1:/tmp/cvs-serv9240/boost Modified Files: install.php uninstall.php update.php Log Message: Changes for phpWebSite 0.9.3-2 Index: install.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/install.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** install.php 30 Jul 2003 14:39:16 -0000 1.1.1.1 --- install.php 6 Dec 2003 05:11:50 -0000 1.2 *************** *** 9,13 **** } ! if($GLOBALS["core"]->sqlImport($GLOBALS["core"]->source_dir . "mod/scoreboard/boost/install.sql", TRUE)) { $content .= "All Scoreboard tables successfully written.<br />"; --- 9,20 ---- } ! // Need to do core version check ! if($GLOBALS["core"]->version < "0.9.3-1") { ! $content .= "This module requires a phpWebSite core version of 0.9.3-1 or greater to install.<br />"; ! $content .= "<br />You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; ! return; ! } ! ! if($GLOBALS["core"]->sqlImport(PHPWS_SOURCE_DIR . "mod/scoreboard/boost/install.sql", TRUE)) { $content .= "All Scoreboard tables successfully written.<br />"; Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/uninstall.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** uninstall.php 30 Jul 2003 14:39:16 -0000 1.1.1.1 --- uninstall.php 6 Dec 2003 05:11:50 -0000 1.2 *************** *** 11,15 **** } ! if ($GLOBALS['core']->sqlImport($GLOBALS['core']->source_dir . "mod/scoreboard/boost/uninstall.sql", 1, 1)) { $content .= "All Scoreboard tables successfully removed.<br />"; --- 11,15 ---- } ! if ($GLOBALS['core']->sqlImport(PHPWS_SOURCE_DIR . "mod/scoreboard/boost/uninstall.sql", 1, 1)) { $content .= "All Scoreboard tables successfully removed.<br />"; Index: update.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/boost/update.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** update.php 30 Jul 2003 14:39:16 -0000 1.1.1.1 --- update.php 6 Dec 2003 05:11:50 -0000 1.2 *************** *** 6,9 **** --- 6,16 ---- } + // Need to do core version check + if($GLOBALS["core"]->version < "0.9.3-1") { + $content .= "This module requires a phpWebSite core version of 0.9.3-1 or greater to install.<br />"; + $content .= "<br />You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; + return; + } + $status = 1; *************** *** 11,15 **** $content .= "Updating Scoreboard to version 0.91<br />"; $content .= "Adding columns \"status\" and \"numCol\" to \"mod_scoreboard_conf\"."; ! $sql = "ALTER TABLE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_conf ADD (status varchar(4) NOT NULL, numCol int NOT NULL)"; --- 18,22 ---- $content .= "Updating Scoreboard to version 0.91<br />"; $content .= "Adding columns \"status\" and \"numCol\" to \"mod_scoreboard_conf\"."; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_conf ADD (status varchar(4) NOT NULL, numCol int NOT NULL)"; *************** *** 17,26 **** $content .= "<br />Columns added successfully!<br />"; ! $sql = "UPDATE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_conf SET status=\"on\", numCol=2"; $GLOBALS["core"]->query($sql); $content .= "Configuration settings updated!<br />"; ! $sql = "CREATE TABLE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_links ( scoreID int NOT NULL, announceID int NOT NULL, --- 24,33 ---- $content .= "<br />Columns added successfully!<br />"; ! $sql = "UPDATE " . PHPWS_TBL_PREFIX . "mod_scoreboard_conf SET status=\"on\", numCol=2"; $GLOBALS["core"]->query($sql); $content .= "Configuration settings updated!<br />"; ! $sql = "CREATE TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_links ( scoreID int NOT NULL, announceID int NOT NULL, *************** *** 42,56 **** $content .= "Updating Scoreboard to version 0.92<br />"; $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_sports ADD ordinal int NOT NULL"; $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; $content .= "Setting ordinals for all sports to their sport ID.<br />"; ! $sql = "SELECT id FROM " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_sports"; $result = $GLOBALS["core"]->getAll($sql); if(sizeof($result) > 0) { $i = 0; foreach($result as $row) { ! $sql = "UPDATE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_sports SET ordinal=id WHERE id=" . $row["id"]; $GLOBALS["core"]->query($sql); $i++; --- 49,63 ---- $content .= "Updating Scoreboard to version 0.92<br />"; $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports ADD ordinal int NOT NULL"; $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; $content .= "Setting ordinals for all sports to their sport ID.<br />"; ! $sql = "SELECT id FROM " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports"; $result = $GLOBALS["core"]->getAll($sql); if(sizeof($result) > 0) { $i = 0; foreach($result as $row) { ! $sql = "UPDATE " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports SET ordinal=id WHERE id=" . $row["id"]; $GLOBALS["core"]->query($sql); $i++; *************** *** 63,71 **** $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_conf\" table.<br />"; ! $sql = "ALTER TABLE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_conf ADD (ordinal varchar(5) NOT NULL)"; $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; ! $sql = "UPDATE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_conf SET ordinal=\"asc\""; $GLOBALS["core"]->query($sql); --- 70,78 ---- $content .= "Adding \"ordinal\" column to the \"mod_scoreboard_conf\" table.<br />"; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_conf ADD (ordinal varchar(5) NOT NULL)"; $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; ! $sql = "UPDATE " . PHPWS_TBL_PREFIX . "mod_scoreboard_conf SET ordinal=\"asc\""; $GLOBALS["core"]->query($sql); *************** *** 84,92 **** $content .= "Adding \"nextgame\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_sports ADD nextgame int"; $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; ! $sql = "CREATE TABLE " . $GLOBALS["core"]->tbl_prefix . "mod_scoreboard_boxscores ( id int PRIMARY KEY, scoreID int NOT NULL, --- 91,99 ---- $content .= "Adding \"nextgame\" column to the \"mod_scoreboard_sports\" table.<br />"; ! $sql = "ALTER TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_sports ADD nextgame int"; $GLOBALS["core"]->query($sql); $content .= "Column added successfully.<br />"; ! $sql = "CREATE TABLE " . PHPWS_TBL_PREFIX . "mod_scoreboard_boxscores ( id int PRIMARY KEY, scoreID int NOT NULL, *************** *** 100,105 **** $GLOBALS["core"]->query($sql); $content .= "Boxscores table created!<br />"; ! $content .= "Update successful!<br />"; } ?> --- 107,116 ---- $GLOBALS["core"]->query($sql); $content .= "Boxscores table created!<br />"; + } ! if($currentVersion < 0.94) { ! $content .= "Scoreboard Updates for Version 0.9.4<br />"; ! $content .= "------------------------------------------<br />"; ! $content .= "- Now compatible with phpWebSite 0.9.3-2<br />"; } ?> |
From: <bli...@us...> - 2003-12-06 05:11:53
|
Update of /cvsroot/phpwsscoreboard/scoreboard In directory sc8-pr-cvs1:/tmp/cvs-serv9240 Modified Files: index.php Log Message: Changes for phpWebSite 0.9.3-2 Index: index.php =================================================================== RCS file: /cvsroot/phpwsscoreboard/scoreboard/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.php 30 Jul 2003 14:39:16 -0000 1.1.1.1 --- index.php 6 Dec 2003 05:11:50 -0000 1.2 *************** *** 7,11 **** if (!($row = $GLOBALS["core"]->sqlSelect("mod_boost_version", "mod_title", $mod_title))) { } ! else if ($row[0]['version'] != "0.93") { } else { --- 7,11 ---- if (!($row = $GLOBALS["core"]->sqlSelect("mod_boost_version", "mod_title", $mod_title))) { } ! else if ($row[0]['version'] != "0.94") { } else { |
From: <bli...@us...> - 2003-12-06 04:44:19
|
Update of /cvsroot/phpwsscoreboard/scoreboard/inc In directory sc8-pr-cvs1:/tmp/cvs-serv6145/inc Log Message: Directory /cvsroot/phpwsscoreboard/scoreboard/inc added to the repository |