openfirst-cvscommit Mailing List for openFIRST (Page 93)
Brought to you by:
xtimg
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(41) |
Jun
(210) |
Jul
(39) |
Aug
(153) |
Sep
(147) |
Oct
(173) |
Nov
(81) |
Dec
(163) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(33) |
Feb
(18) |
Mar
|
Apr
(62) |
May
|
Jun
(100) |
Jul
(38) |
Aug
(58) |
Sep
(1) |
Oct
|
Nov
(25) |
Dec
(172) |
2005 |
Jan
(31) |
Feb
(12) |
Mar
(67) |
Apr
(92) |
May
(247) |
Jun
(34) |
Jul
(36) |
Aug
(192) |
Sep
(15) |
Oct
(42) |
Nov
(92) |
Dec
(4) |
2006 |
Jan
|
Feb
(21) |
Mar
|
Apr
|
May
|
Jun
(53) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(4) |
May
|
Jun
(15) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dav...@us...> - 2003-06-27 01:30:22
|
Update of /cvsroot/openfirst/awards/setup In directory sc8-pr-cvs1:/tmp/cvs-serv27876 Modified Files: setup.mysql Log Message: Forgot to add ; at the end. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/awards/setup/setup.mysql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** setup.mysql 27 Jun 2003 01:28:10 -0000 1.4 --- setup.mysql 27 Jun 2003 01:30:19 -0000 1.5 *************** *** 1,2 **** CREATE TABLE 'ofirst_awards' ('ID' int(6) unsigned NOT NULL auto_increment, 'AwardName' tinytext, 'Event' tinytext, 'Date' date default NULL, 'Recipient' tinytext, 'Image' tinytext, PRIMARY KEY ('ID')) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='awards',showonmenu='0',active='0',adminnavigation='<a href="$basepath/awards/admin/">Manage Awards</a>',modulenavigation='<a href="$basepath/awards/">View Awards</a>' \ No newline at end of file --- 1,2 ---- CREATE TABLE 'ofirst_awards' ('ID' int(6) unsigned NOT NULL auto_increment, 'AwardName' tinytext, 'Event' tinytext, 'Date' date default NULL, 'Recipient' tinytext, 'Image' tinytext, PRIMARY KEY ('ID')) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='awards',showonmenu='0',active='0',adminnavigation='<a href="$basepath/awards/admin/">Manage Awards</a>',modulenavigation='<a href="$basepath/awards/">View Awards</a>'; \ No newline at end of file |
From: <dav...@us...> - 2003-06-27 01:28:13
|
Update of /cvsroot/openfirst/awards/setup In directory sc8-pr-cvs1:/tmp/cvs-serv27646 Modified Files: setup.mysql Log Message: Fixed errors in script. Changed syntax a bit. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/awards/setup/setup.mysql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** setup.mysql 26 Jun 2003 15:21:48 -0000 1.3 --- setup.mysql 27 Jun 2003 01:28:10 -0000 1.4 *************** *** 1,2 **** ! CREATE TABLE `ofirst_awards` (`ID` int(6) unsigned NOT NULL auto_increment, `AwardName` tinytext, `Event` tinytext, `Date` date default NULL, `Recipient` tinytext, `Image` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename=`awards`,showonmenu=`False`,active=`False`,adminnavigation=`<a href=$basepath/awards/admin/>Manage Awards</a>`,modulenavigation=`<a href=$basepath/awards/>View Awards</a>` \ No newline at end of file --- 1,2 ---- ! CREATE TABLE 'ofirst_awards' ('ID' int(6) unsigned NOT NULL auto_increment, 'AwardName' tinytext, 'Event' tinytext, 'Date' date default NULL, 'Recipient' tinytext, 'Image' tinytext, PRIMARY KEY ('ID')) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='awards',showonmenu='0',active='0',adminnavigation='<a href="$basepath/awards/admin/">Manage Awards</a>',modulenavigation='<a href="$basepath/awards/">View Awards</a>' \ No newline at end of file |
From: <dav...@us...> - 2003-06-27 01:00:10
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv24111 Modified Files: headers.php footers.php Log Message: Edited to use $subnav and $adminnav for headers which should be set in globals. They also check if the messenger module has been developed then switches to output how many users are on the website. Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** headers.php 21 Jun 2003 22:23:23 -0000 1.7 --- headers.php 27 Jun 2003 01:00:03 -0000 1.8 *************** *** 6,13 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <title> ! Untitled Document ! </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-CA"> --- 6,11 ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <title><?php echo $title; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-CA"> *************** *** 15,50 **** <meta name="author" content="OpenFIRST - http://openfirst.sf.net"> <meta name="generator" content="OpenFIRST - http://openfirst.sf.net"> ! <style type="text/css"> ! a:link.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited.menu { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover.menu { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:link { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: Underline } ! table {border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px} ! table.menu {border-left:0px;border-right:0px;border-bottom:0px} ! td.menu {border-left:0px;border-right:0px;border-bottom:0px} ! body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } ! td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php ! echo("$basepath/images/"); ?>back-light.gif') } </style> ! </head> ! <body leftmargin="0" topmargin="0" marginwidth="0" ! marginheight="0"> ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <td class="menu"> <img src="<?php echo("$basepath/images/"); ?>openfirst.png"> </td> ! </tr> ! <tr> ! ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back.gif"> <font color="#FFFFFF">» ! <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> | » <a accesskey="r" class="menu" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease --- 13,51 ---- <meta name="author" content="OpenFIRST - http://openfirst.sf.net"> <meta name="generator" content="OpenFIRST - http://openfirst.sf.net"> ! <style type="text/css"> ! a:link.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited.menu { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover.menu { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:link.admin { color: #FFFFFF } ! a:visited.admin { color: #FFFFFF } ! a:active.admin { color: #FFFFFF } ! a:hover.admin { color: #FFFFFF } ! ! a:link { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active { color: #0000000; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: Underline } ! table { border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px } ! table.menu { border-left:0px;border-right:0px;border-bottom:0px } ! td.menu {border-left:0px;border-right:0px;border-bottom:0px } ! body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } ! td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! td.navigation { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php echo("$basepath/images/"); ?>back-light.gif') } </style> ! </head> ! <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> ! ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> <td class="menu"> <img src="<?php echo("$basepath/images/"); ?>openfirst.png"> </td> ! </tr> ! <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back.gif"> ! <font color="#FFFFFF">» <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> | » <a accesskey="r" class="menu" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease *************** *** 56,88 **** openFIRST</a> | » <a class="menu" accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> </font> </td> ! </tr> ! <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> ! <td class="menu" width="54%"> <font color="#333333"><strong>openFIRST ::</strong> ! Home System</font></td> ! <td class="menu" width="46%"> <div> ! <div align="right"><font color="#333333"> <?php ! if(ISSET($usersonline)){ ! echo $usersonline; ! }else{ ! echo "Welcome to the openFIRST setup system!"; ! } ?> ! </font></div> </div></td> </tr> ! </table> ! </td> ! </tr> ! </table> <?php if($basepath == "http://openfirst.sourceforge.net/"){ unset($basepath); } ! ?> --- 57,125 ---- openFIRST</a> | » <a class="menu" accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> </font> </td> ! </tr> ! <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> ! <td class="menu" width="72%"> <?php ! // Check if module name has been set then echo ! if(ISSET($modulename)){ ! echo "<b>$currentmodulen</b> -"; ! } ! ! // Check if navigation bar option is set then echo options ! if(ISSET($subnav)){ + // Output module navigation bar + echo $subnav; + } ?> ! </td> ! <td class="menu" width="28%"> <div> ! <div align="right"><font color="#333333"> ! <?php ! ! // Check if messenger module has activated usersonline option then echo value ! if(ISSET($usersonline)){ ! echo $usersonline; ! }else{ ! echo "Welcome to the <b>".$title."</b> website!"; ! } ! ! ?> ! </font></div> </div></td> </tr> ! </table></td> ! </tr> ! <?php ! ! if (isset($user->user)){ ! if(ISSET($adminnav)){ ! ! ?> ! <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-admin.png"><font color="#FFFFFF"><b>Admin Options -</b> ! <?php ! // Print admin navigation bar ! echo $adminnav; ! ?> ! </font></td> ! </tr> <?php + + } + } + + ?> + </table> + <?php + if($basepath == "http://openfirst.sourceforge.net/"){ unset($basepath); } ! ! ?> \ No newline at end of file Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** footers.php 21 Jun 2003 22:23:23 -0000 1.4 --- footers.php 27 Jun 2003 01:00:03 -0000 1.5 *************** *** 8,13 **** <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> <div> ! <div align="center">© Copyright 2002-2003 by the openFIRST Development ! Team </div> </div> </td> --- 8,12 ---- <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> <div> ! <div align="center">© Copyright 2002-2003 by <?php echo $title; ?>. All rights reserved.</div> </div> </td> |
From: <dav...@us...> - 2003-06-26 15:24:27
|
Update of /cvsroot/openfirst/photogallery/setup In directory sc8-pr-cvs1:/tmp/cvs-serv30373 Modified Files: setup.mysql Log Message: Edit of setup.mysql to insert module into ofirst_config Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/photogallery/setup/setup.mysql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mysql 21 Jun 2003 15:54:51 -0000 1.2 --- setup.mysql 26 Jun 2003 15:24:24 -0000 1.3 *************** *** 1 **** --- 1,2 ---- CREATE TABLE `ofirst_galleries` (`ID` tinyint(3) unsigned NOT NULL auto_increment, `GalleryName` tinytext, `Author` text, `Date` time(10) NOT NULL, `Description` text, `NumPhotos` tinyint(6) unsigned default '0', PRIMARY KEY (`ID`)) TYPE=MyISAM; + INSERT INTO ofirst_config SET modulename=`photogallery`,showonmenu=`False`,active=`False`,adminnavigation=`<a href=$basepath/awards/admin/>Gallery Manager</a>`,modulenavigation=`<a href=$basepath/awards/>View Gallery</a>` \ No newline at end of file |
From: <dav...@us...> - 2003-06-26 15:23:59
|
Update of /cvsroot/openfirst/messenger/setup In directory sc8-pr-cvs1:/tmp/cvs-serv30285 Modified Files: setup.mysql Log Message: Edit of setup.mysql to insert module into ofirst_config Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/messenger/setup/setup.mysql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** setup.mysql 21 Jun 2003 15:53:24 -0000 1.3 --- setup.mysql 26 Jun 2003 15:23:56 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- CREATE TABLE `ofirst_messages` (`ID` int(6) unsigned NOT NULL auto_increment, `Sender` tinytext, `Receiver` tinytext, `Subject` tinytext, `Body` text, `Status` tinytext, `Date` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_usersonline` (`ID` int(6) unsigned NOT NULL auto_increment, `IPAddress` tinytext, `Location` tinytext, `Timestamp` text, `Member` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; + INSERT INTO ofirst_config SET modulename=`messenger`,showonmenu=`False`,active=`False`,modulenavigation=`<a href=$basepath/messenger/>Users Online</a> <a href=$basepath/messenger/inbox.php>Inbox</a> <a href=$basepath/messenger/newmsg.php>Send Message</a>` \ No newline at end of file |
From: <dav...@us...> - 2003-06-26 15:23:41
|
Update of /cvsroot/openfirst/logger/setup In directory sc8-pr-cvs1:/tmp/cvs-serv30251 Modified Files: setup.mysql Log Message: Edit of setup.mysql to insert module into ofirst_config Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/logger/setup/setup.mysql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mysql 21 Jun 2003 15:51:37 -0000 1.2 --- setup.mysql 26 Jun 2003 15:23:39 -0000 1.3 *************** *** 1 **** --- 1,2 ---- CREATE TABLE `ofirst_logger` (`ID` int(6) unsigned NOT NULL auto_increment, `IPAddress` tinytext, `Date` tinytext, `Location` tinytext, `QueryString` tinytext, `HostLookup` tinytext, `Browser` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; + INSERT INTO ofirst_config SET modulename=`logger`,showonmenu=`False`,active=`False`,modulenavigation=`<a href=$basepath/logger/reset.php>Reset Logger</a> <a href=$basepath/logger/rawdata.php>Raw Data</a>` \ No newline at end of file |
From: <dav...@us...> - 2003-06-26 15:23:21
|
Update of /cvsroot/openfirst/guestbook/setup In directory sc8-pr-cvs1:/tmp/cvs-serv30201 Modified Files: setup.mysql Log Message: Edit of setup.mysql to insert module into ofirst_config Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/guestbook/setup/setup.mysql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mysql 21 Jun 2003 15:51:07 -0000 1.2 --- setup.mysql 26 Jun 2003 15:23:18 -0000 1.3 *************** *** 1 **** --- 1,2 ---- CREATE TABLE ofirst_guestbook (guest text, email text, ICQ text, AIM text, MSN text, YIM text, IRC text, webpage text, location text, comment text, date text, deletecode text) TYPE=MyISAM; + INSERT INTO ofirst_config SET modulename=`guestbook`,showonmenu=`False`,active=`False`,adminnavigation=`<a href=$basepath/awards/admin/>Manage Guestbook</a> <a href=$basepath/awards/admin/deleteentry.php>Delete Entry</a>`,modulenavigation=`<a href=$basepath/awards/>View Guestbook</a> <a href=$basepath/guestbook/sign.php>Sign Guestbook</a>` \ No newline at end of file |
From: <dav...@us...> - 2003-06-26 15:22:21
|
Update of /cvsroot/openfirst/feedback/setup In directory sc8-pr-cvs1:/tmp/cvs-serv30035 Modified Files: setup.mysql Log Message: Edit of setup.mysql to insert module into ofirst_config Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/feedback/setup/setup.mysql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** setup.mysql 21 Jun 2003 15:50:36 -0000 1.3 --- setup.mysql 26 Jun 2003 15:22:18 -0000 1.4 *************** *** 1 **** --- 1,2 ---- create table ofirst_feedbackusers (name TEXT, email TEXT); + INSERT INTO ofirst_config SET modulename=`feedback`,showonmenu=`False`,active=`False` \ No newline at end of file |
From: <dav...@us...> - 2003-06-26 15:21:52
|
Update of /cvsroot/openfirst/awards/setup In directory sc8-pr-cvs1:/tmp/cvs-serv29801 Modified Files: setup.mysql Log Message: Edit of setup.mysql to insert module into ofirst_config Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/awards/setup/setup.mysql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mysql 21 Jun 2003 15:49:33 -0000 1.2 --- setup.mysql 26 Jun 2003 15:21:48 -0000 1.3 *************** *** 1 **** --- 1,2 ---- CREATE TABLE `ofirst_awards` (`ID` int(6) unsigned NOT NULL auto_increment, `AwardName` tinytext, `Event` tinytext, `Date` date default NULL, `Recipient` tinytext, `Image` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; + INSERT INTO ofirst_config SET modulename=`awards`,showonmenu=`False`,active=`False`,adminnavigation=`<a href=$basepath/awards/admin/>Manage Awards</a>`,modulenavigation=`<a href=$basepath/awards/>View Awards</a>` \ No newline at end of file |
From: <xt...@us...> - 2003-06-24 13:44:22
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv5670 Modified Files: install.php Log Message: Alter table ofirst_config table structure Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** install.php 24 Jun 2003 13:20:41 -0000 1.9 --- install.php 24 Jun 2003 13:44:19 -0000 1.10 *************** *** 52,57 **** $q = mysql_query("CREATE table IF NOT EXISTS `ofirst_config` (`modulename` CHAR(25) NOT NULL, ! `showonmenu` TEXT, `active` BOOL, `adminnavigation` TEXT, ! `modulenavigation` TEXT, PRIMARY KEY (`modulename`));"); $sf = fopen($filename, "r"); --- 52,57 ---- $q = mysql_query("CREATE table IF NOT EXISTS `ofirst_config` (`modulename` CHAR(25) NOT NULL, ! `showonmenu` BOOL, `active` BOOL, `adminnavigation` TEXT, ! `modulenavigation` TEXT, `includes` TEXT, PRIMARY KEY (`modulename`));"); $sf = fopen($filename, "r"); *************** *** 80,86 **** if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { ! $q = mysql_query("CREATE table IF NOT EXISTS `ofirst_config` (`modulename` CHAR(25) NOT NULL, ! `showonmenu` TEXT, `active` BOOL, `adminnavigation` TEXT, ! `modulenavigation` TEXT, PRIMARY KEY (`modulename`));"); $filename = "$file/setup/$fil"; --- 80,86 ---- if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { ! $q = mysql_query("CREATE table IF NOT EXISTS `ofirst_config` (`modulename` CHAR(25) NOT NULL, ! `showonmenu` BOOL, `active` BOOL, `adminnavigation` TEXT, ! `modulenavigation` TEXT, `includes` TEXT, PRIMARY KEY (`modulename`));"); $filename = "$file/setup/$fil"; |
From: <xt...@us...> - 2003-06-24 13:22:29
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv2189 Modified Files: globals-default.php globals.php Log Message: Fix globals.php to work if a 3 level deep directory is reached on the first attempt (example, admin functions) Index: globals-default.php =================================================================== RCS file: /cvsroot/openfirst/base/config/globals-default.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** globals-default.php 7 Jun 2003 16:11:32 -0000 1.1.1.1 --- globals-default.php 24 Jun 2003 13:22:26 -0000 1.2 *************** *** 10,13 **** --- 10,15 ---- } elseif(file_exists("config/first.php")) { header("Location: config/first.php"); + } elseif(file_exists("../../config/first.php")) { + header("Location: ../../config/first.php"); } ?> Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** globals.php 7 Jun 2003 16:11:31 -0000 1.1.1.1 --- globals.php 24 Jun 2003 13:22:26 -0000 1.2 *************** *** 10,13 **** --- 10,15 ---- } elseif(file_exists("config/first.php")) { header("Location: config/first.php"); + } elseif(file_exists("../../config/first.php")) { + header("Location: ../../config/first.php"); } ?> |
From: <xt...@us...> - 2003-06-24 13:20:44
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv1782 Modified Files: install.php Log Message: Add ofirst_config creation before modules are installed (so that their configuration information can be stored). Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** install.php 23 Jun 2003 11:14:19 -0000 1.8 --- install.php 24 Jun 2003 13:20:41 -0000 1.9 *************** *** 50,54 **** echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { ! // This doesn't quite work. I'm not sure why. $sf = fopen($filename, "r"); $query = ""; --- 50,58 ---- echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { ! ! $q = mysql_query("CREATE table IF NOT EXISTS `ofirst_config` (`modulename` CHAR(25) NOT NULL, ! `showonmenu` TEXT, `active` BOOL, `adminnavigation` TEXT, ! `modulenavigation` TEXT, PRIMARY KEY (`modulename`));"); ! $sf = fopen($filename, "r"); $query = ""; *************** *** 75,78 **** --- 79,87 ---- echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { + + $q = mysql_query("CREATE table IF NOT EXISTS `ofirst_config` (`modulename` CHAR(25) NOT NULL, + `showonmenu` TEXT, `active` BOOL, `adminnavigation` TEXT, + `modulenavigation` TEXT, PRIMARY KEY (`modulename`));"); + $filename = "$file/setup/$fil"; $sf = fopen($filename, "r"); |
From: <xt...@us...> - 2003-06-24 02:30:47
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv18908 Modified Files: first.php Log Message: Add module detection to globals.php Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** first.php 23 Jun 2003 11:14:18 -0000 1.5 --- first.php 24 Jun 2003 02:30:44 -0000 1.6 *************** *** 74,77 **** --- 74,82 ---- \$basepath = '" . $_POST["basepath"] . "'; + // Determine what module the user is viewing + + \$currentmodule = str_replace(\$basepath, \"\", \$_SERVER[\"SCRIPT_NAME\"]); + \$currentmodule = substr(\$currentmodule, 1, strpos(\$currentmodule, \"/\", 2) - 1); + session_start(); include('auth.php'); |
From: <xt...@us...> - 2003-06-23 11:39:41
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1:/tmp/cvs-serv9096/admin Modified Files: index.php Log Message: Make recipient a table heading. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 23 Jun 2003 11:38:10 -0000 1.3 --- index.php 23 Jun 2003 11:39:37 -0000 1.4 *************** *** 78,82 **** </tr> <tr> ! <td>Recipient</td> <td><input name="recipient" type="text" id="recipient" value="Team Award"></td> </tr> --- 78,82 ---- </tr> <tr> ! <th>Recipient</th> <td><input name="recipient" type="text" id="recipient" value="Team Award"></td> </tr> |
From: <xt...@us...> - 2003-06-23 11:38:13
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1:/tmp/cvs-serv8961 Modified Files: index.php Log Message: Convert all styles to use CSS, fix indenting problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 21 Jun 2003 18:46:24 -0000 1.2 --- index.php 23 Jun 2003 11:38:10 -0000 1.3 *************** *** 37,41 **** <p>This team has won <strong><?php echo $amount; ?></strong> award(s).</p> <?php ! if($amount > 0) { ?> <table> --- 37,41 ---- <p>This team has won <strong><?php echo $amount; ?></strong> award(s).</p> <?php ! if($amount > 0) { ?> <table> *************** *** 61,64 **** </table> <?php ! } ! include($footer); ?> \ No newline at end of file --- 61,64 ---- </table> <?php ! } ! include($footer); ?> |
From: <xt...@us...> - 2003-06-23 11:38:13
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1:/tmp/cvs-serv8961/admin Modified Files: index.php Log Message: Convert all styles to use CSS, fix indenting problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 21 Jun 2003 11:45:53 -0000 1.2 --- index.php 23 Jun 2003 11:38:10 -0000 1.3 *************** *** 1,5 **** <?php /* ! * openFIRST.awards - manage.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openFIRST.awards - admin/index.php * * Copyright (C) 2003, *************** *** 26,95 **** * */ ! include("../../config/globals.php"); include($header); ! mysql_select_db("openFIRST",$sqlconnection); // Check if user is an admin then allow processes if (isset($user->user)){ ! // If user has posted delete then delete specified record in querystring DELETE ! if (ISSET($_GET['DELETE'])){ ! mysql_query("DELETE FROM ofirst_awards WHERE ID = '".$_GET['DELETE']."'") or die("DELETE: ".mysql_error()); - echo("<br><br><center>Award information has been deleted. [ <a href='./'>Manage Award</a> ]"); - die(include($footer)); - } - // If user has posted create then insert new award record ! if (ISSET($_POST['create'])){ ! mysql_query("INSERT INTO ofirst_awards (AwardName,Event,Date,Image,Recipient) values( ! '".$_POST['award']."' ! ,'".$_POST['event']."' ! ,'".$_POST['date']."' ! ,'".$_POST['type']."' ! ,'".$_POST['recipient']."')") or die("INSERT: ".mysql_error()); - echo("<br><br><center>Congratulations on your new award. Award submitted! [ <a href='./'>Manage Award</a> ]"); - die(include($footer)); - } - ?> <h1>Manage Award Information</h1> <?php membersmenu($user->membertype); ?> ! <p><a href="./">Manage Awards </a> <a href="<?php echo("$basepath/awards/"); ?>">View Awards</a> </p> ! <form name="form1" method="post" action="./"> ! <table width="500" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999"> ! <tr bgcolor="#999999"> ! <td width="142"> </td> ! <td width="248"><font color="#FFFFFF">Add A New Award</font></td> </tr> ! <tr> ! <td><div align="right">Award Name:</div></td> <td><input name="award" type="text" id="award"></td> </tr> ! <tr> ! <td><div align="right">Regional/Event:</div></td> <td><input name="event" type="text" id="event"></td> </tr> ! <tr> ! <td><div align="right">Date:</div></td> ! <td><input name="date" type="text" id="date" value="<?php echo date("Y-n-j"); ?>" size="10"> ! <font size="2">(Use this syntax: Year-Month-Day)</font></td> </tr> ! <tr> ! <td><div align="right">Recipient:</div></td> <td><input name="recipient" type="text" id="recipient" value="Team Award"></td> </tr> ! <tr> ! <td><div align="right">Award Type:</div></td> ! <td><table width="75%" border="0" cellspacing="0" cellpadding="4"> ! <tr> ! <td><div align="center"><img src="<?php echo($basepath); ?>/awards/awardsgold.png" alt="Gold" width="25" height="30"></div></td> ! <td><div align="center"><img src="<?php echo($basepath); ?>/awards/awardssilver.png" alt="Silver" width="25" height="30"></div></td> ! <td><div align="center"><img src="<?php echo($basepath); ?>/awards/awardsbronze.png" alt="Bronze" width="25" height="30"></div></td> </tr> ! <tr> <td><div align="center"> <input name="type" type="radio" value="gold" checked> --- 26,93 ---- * */ ! include("../../config/globals.php"); include($header); ! mysql_select_db($sqldatabase,$sqlconnection); // Check if user is an admin then allow processes if (isset($user->user)){ ! // If user has posted delete then delete specified record in querystring DELETE ! if (ISSET($_GET['DELETE'])){ ! mysql_query("DELETE FROM ofirst_awards WHERE ID = '".$_GET['DELETE']."'") or die("DELETE: ".mysql_error()); ! ! echo("<p>Award information has been deleted. [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); ! } // If user has posted create then insert new award record ! if (ISSET($_POST['create'])){ ! mysql_query("INSERT INTO ofirst_awards (AwardName,Event,Date,Image,Recipient) values( ! '".$_POST['award']."', '".$_POST['event']."', '".$_POST['date']. ! "', '".$_POST['type']."', '".$_POST['recipient']."')") ! or die("INSERT: ".mysql_error()); ! ! echo("<p></p>Congratulations on your new award. Award submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); ! } ?> <h1>Manage Award Information</h1> <?php membersmenu($user->membertype); ?> ! <p><a href="./">Manage Awards</a> <a href="<?php echo("$basepath/awards/"); ?>">View Awards</a> </p> ! <form method="post" action="./"> ! <table> ! <tr> ! <th> </th> ! <th>Add A New Award</th> </tr> ! <tr> ! <th>Award Name</th> <td><input name="award" type="text" id="award"></td> </tr> ! <tr> ! <th>Regional/Event</th> <td><input name="event" type="text" id="event"></td> </tr> ! <tr> ! <th>Date</th> ! <td><input name="date" type="text" id="date" value="<?php echo date("Y-n-j"); ?>" size="10"> ! <sub>(Use this syntax: Year-Month-Day)</sub></td> </tr> ! <tr> ! <td>Recipient</td> <td><input name="recipient" type="text" id="recipient" value="Team Award"></td> </tr> ! <tr> ! <th>Award Type</th> ! <td><table> ! <tr> ! <td><img src="<?php echo($basepath); ?>/awards/awardsgold.png" alt="Gold"></td> ! <td><img src="<?php echo($basepath); ?>/awards/awardssilver.png" alt="Silver"></td> ! <td><img src="<?php echo($basepath); ?>/awards/awardsbronze.png" alt="Bronze"></td> </tr> ! <tr> <td><div align="center"> <input name="type" type="radio" value="gold" checked> *************** *** 110,121 **** </table> </form> ! <table width="600" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#999999"> ! <tr bgcolor="#999999"> ! <td> </td> ! <td width="152"><center><font color="#FFFFFF">Award Name</font><center></td> ! <td width="95"><center><font color="#FFFFFF">Event</font><center></td> ! <td width="84"><center><font color="#FFFFFF">Date</font><center></td> ! <td width="118"><center><font color="#FFFFFF">Recipient</font><center></td> ! <td width="89"><center><font color="#FFFFFF">Option</font><center></td> </tr> <?php --- 108,119 ---- </table> </form> ! <table> ! <tr> ! <th> </th> ! <th>Award Name</th> ! <th>Event</th> ! <th>Date</th> ! <th>Recipient</th> ! <th>Option</th> </tr> <?php *************** *** 130,141 **** <td><?php echo $awards->Date; ?></td> <td><?php echo $awards->Recipient; ?></td> ! <td><div align="center">[ <a href='./?DELETE=<?php echo $awards->ID; ?>'>Delete</a> ]</div></td> </tr> ! <? } ?> </table> <?php ! }else{ showlogin(); } --- 128,140 ---- <td><?php echo $awards->Date; ?></td> <td><?php echo $awards->Recipient; ?></td> ! <td><div align="center">[ <a href='./?DELETE=<?php echo $awards->ID; ?>'>Delete</a> ]</div></td> </tr> ! <?php ! } ?> </table> <?php ! } else { showlogin(); } |
From: <xt...@us...> - 2003-06-23 11:14:24
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv5975 Modified Files: first.php install.php Log Message: Attempt to autodetect some settings, repair minor directory path error. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** first.php 21 Jun 2003 21:05:45 -0000 1.4 --- first.php 23 Jun 2003 11:14:18 -0000 1.5 *************** *** 137,142 **** <tr><td>Home site (the address scripts will use for linking to your main page)</td><td> <input type="text" name="home" value="http://openfirst.sourceforge.net"></td></tr> ! <tr><td>Header file (this should be a full system path)</td><td><input type="text" name="header" value="headers.php" /></td></tr> ! <tr><td>Footer file (this should be a full system path)</td><td><input type="text" name="footer" value="footers.php" /></td></tr> <tr><td>Mail Notification (the e-mail address used to notify you when significant events occur)</td><td><input type="text" name="mailnotify" value="nobody@localhost"></td></tr> --- 137,143 ---- <tr><td>Home site (the address scripts will use for linking to your main page)</td><td> <input type="text" name="home" value="http://openfirst.sourceforge.net"></td></tr> ! <tr><td>Header file (this should be a full system path)</td><td><input type="text" name="header" value="<?php echo(getcwd()); ?>/headers.php" /></td></tr> ! <tr><td>Footer file (this should be a full system path)</td><td><input type="text" name=" ! footer" value="<?php echo(getcwd()); ?>/footers.php" /></td></tr> <tr><td>Mail Notification (the e-mail address used to notify you when significant events occur)</td><td><input type="text" name="mailnotify" value="nobody@localhost"></td></tr> Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** install.php 22 Jun 2003 22:46:04 -0000 1.7 --- install.php 23 Jun 2003 11:14:19 -0000 1.8 *************** *** 45,49 **** if(function_exists("glob")) { ! foreach (glob("../../*/setup/*.mysql") as $filename) { $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); --- 45,49 ---- if(function_exists("glob")) { ! foreach (glob("../*/setup/*.mysql") as $filename) { $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); |
From: <xt...@us...> - 2003-06-22 22:46:07
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv16517 Modified Files: install.php Log Message: Apply isset() fix to version without glob() Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** install.php 22 Jun 2003 22:44:34 -0000 1.6 --- install.php 22 Jun 2003 22:46:04 -0000 1.7 *************** *** 74,78 **** $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); ! if($_POST[$dir] == "on") { $filename = "$file/setup/$fil"; $sf = fopen($filename, "r"); --- 74,78 ---- $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); ! if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { $filename = "$file/setup/$fil"; $sf = fopen($filename, "r"); |
From: <xt...@us...> - 2003-06-22 22:44:37
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv16361 Modified Files: install.php Log Message: Fix indenting problems and other miscellaneous issues. Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** install.php 22 Jun 2003 17:30:20 -0000 1.5 --- install.php 22 Jun 2003 22:44:34 -0000 1.6 *************** *** 45,65 **** if(function_exists("glob")) { ! foreach (glob("../*/setup/*.mysql") as $filename) { $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); ! if($_POST[$dir] == "on") { // This doesn't quite work. I'm not sure why. $sf = fopen($filename, "r"); $query = ""; while($line = fgets($sf)) { ! if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#" && strlen($line) > 0) { ! $q = mysql_query(trim($line)); ! } } echo(" - <b>Submitted, and added.</b>"); fclose($sf); } ! } } else { chdir(".."); --- 45,65 ---- if(function_exists("glob")) { ! foreach (glob("../../*/setup/*.mysql") as $filename) { $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); ! if(isset($_POST[$dir]) == true && $_POST[$dir] == "on") { // This doesn't quite work. I'm not sure why. $sf = fopen($filename, "r"); $query = ""; while($line = fgets($sf)) { ! if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#" && strlen($line) > 0) { ! $q = mysql_query(trim($line)); ! } } echo(" - <b>Submitted, and added.</b>"); fclose($sf); } ! } } else { chdir(".."); *************** *** 67,100 **** while ($file = readdir($handle)){ if(is_dir("$file") && $file != "." && $file != "..") { ! $handl=@opendir(getcwd() . "/$file/setup/"); while ($fil = @readdir($handl)){ if($fil != ".." && $fil != "." && $fil != "") { ! $filename = "../$file/setup/$fil"; ! ! ! $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); ! $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); ! echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); ! if($_POST[$dir] == "on") { ! $filename = "$file/setup/$fil"; ! $sf = fopen($filename, "r"); ! $query = ""; ! while($line = fgets($sf, 4096)) { ! if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#" && strlen($line) > 0) { ! $q = mysql_query(trim($line)); ! } } ! echo(" - <b>Submitted, and added.</b>"); ! fclose($sf); ! $filename = "../$file/setup/$fil"; ! }} ! }} } ! ?> <br /><input type="submit" value="Create Tables" /> </form> ! <?php } } else { showlogin(); } --- 67,100 ---- while ($file = readdir($handle)){ if(is_dir("$file") && $file != "." && $file != "..") { ! $handl=@opendir(getcwd() . "/$file/setup/"); while ($fil = @readdir($handl)){ if($fil != ".." && $fil != "." && $fil != "") { ! $filename = "../$file/setup/$fil"; ! $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); ! $dir = str_replace(".", "-", str_replace(".mysql", "", substr(strchr($filename, "/"), 1))); ! echo("<br /> <input type='checkbox' name='$dir'>$sqlf - $dir</input>"); ! if($_POST[$dir] == "on") { ! $filename = "$file/setup/$fil"; ! $sf = fopen($filename, "r"); ! $query = ""; ! while($line = fgets($sf, 4096)) { ! if(substr($line, 0, 2) != "--" && substr($line, 0, 1) != "#" && strlen($line) > 0) { ! $q = mysql_query(trim($line)); ! } ! } ! echo(" - <b>Submitted, and added.</b>"); ! fclose($sf); ! $filename = "../$file/setup/$fil"; ! } ! } } ! } } ! } ?> <br /><input type="submit" value="Create Tables" /> </form> ! <?php } else { showlogin(); } |
From: <dav...@us...> - 2003-06-22 17:30:23
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv2177 Modified Files: install.php Log Message: Fixed glob check problem for IIS+PHP systems. Seems to give errors when you use function_exist(glob), when you change syntax function_exist("glob") it works. Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** install.php 21 Jun 2003 20:42:04 -0000 1.4 --- install.php 22 Jun 2003 17:30:20 -0000 1.5 *************** *** 44,48 **** <?php ! if(function_exists(glob)) { foreach (glob("../*/setup/*.mysql") as $filename) { $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); --- 44,48 ---- <?php ! if(function_exists("glob")) { foreach (glob("../*/setup/*.mysql") as $filename) { $sqlf = str_replace(".", "-", str_replace(".mysql", "",substr(strrchr($filename, "/"), 1))); |
From: <xt...@us...> - 2003-06-21 22:23:26
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv7939 Modified Files: footers.php headers.php Log Message: Fix headers and footers for proper images and links Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** footers.php 21 Jun 2003 21:51:26 -0000 1.3 --- footers.php 21 Jun 2003 22:23:23 -0000 1.4 *************** *** 1,5 **** <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back-light.gif"> <div> <div align="center">© Copyright 2002-2003 by the openFIRST Development --- 1,10 ---- + <?php + if(! isset($basepath)){ + $basepath = "http://openfirst.sourceforge.net/"; + } + ?> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> <div> <div align="center">© Copyright 2002-2003 by the openFIRST Development *************** *** 12,19 **** <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo $basepath; ?>poweredby-small.png" width="177" height="30" border="0"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo $basepath; ?>w3c401.png" width="88" height="31" border="0"></a> </div> </div> --- 17,24 ---- <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo("$basepath/images/"); ?>poweredby-small.png" width="177" height="30" border="0"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo("$basepath/images/"); ?>w3c401.png" width="88" height="31" border="0"></a> </div> </div> *************** *** 24,26 **** <p> </p> </body> ! </html> \ No newline at end of file --- 29,31 ---- <p> </p> </body> ! </html> Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** headers.php 21 Jun 2003 22:05:53 -0000 1.6 --- headers.php 21 Jun 2003 22:23:23 -0000 1.7 *************** *** 1,5 **** <?php if(! isset($basepath)){ ! $basepath = "http://openfirst.sourceforge.net/image/"; } ?> --- 1,5 ---- <?php if(! isset($basepath)){ ! $basepath = "http://openfirst.sourceforge.net/"; } ?> *************** *** 31,35 **** body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php echo $basepath/images/; ?>back-light.gif') } </style> </head> --- 31,36 ---- body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php ! echo("$basepath/images/"); ?>back-light.gif') } </style> </head> *************** *** 39,48 **** <tr> ! <td class="menu"> <img src="<?php echo $basepath/images/; ?>openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath/images/; ?>back.gif"> <font color="#FFFFFF">» <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> --- 40,49 ---- <tr> ! <td class="menu"> <img src="<?php echo("$basepath/images/"); ?>openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back.gif"> <font color="#FFFFFF">» <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> *************** *** 57,61 **** </tr> <tr> ! <td class="menu" background="<?php echo $basepath/images/; ?>back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> --- 58,62 ---- </tr> <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 82,87 **** </table> <?php ! if($basepath == "http://openfirst.sourceforge.net/image/"){ ! $basepath = "/openfirst/"; } ?> --- 83,88 ---- </table> <?php ! if($basepath == "http://openfirst.sourceforge.net/"){ ! unset($basepath); } ?> |
From: <xt...@us...> - 2003-06-21 22:05:56
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv5971 Modified Files: headers.php Log Message: Fix to prevent basepath from being modified (this fix eliminates the many linking problems that would otherwise be encountered). Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** headers.php 21 Jun 2003 21:55:32 -0000 1.5 --- headers.php 21 Jun 2003 22:05:53 -0000 1.6 *************** *** 1,6 **** <?php ! if(ISSET($basepath)){ ! $basepath .= "/images/"; ! }else{ $basepath = "http://openfirst.sourceforge.net/image/"; } --- 1,4 ---- <?php ! if(! isset($basepath)){ $basepath = "http://openfirst.sourceforge.net/image/"; } *************** *** 33,37 **** body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php echo $basepath; ?>back-light.gif') } </style> </head> --- 31,35 ---- body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php echo $basepath/images/; ?>back-light.gif') } </style> </head> *************** *** 41,50 **** <tr> ! <td class="menu"> <img src="<?php echo $basepath; ?>openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back.gif"> <font color="#FFFFFF">» <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> --- 39,48 ---- <tr> ! <td class="menu"> <img src="<?php echo $basepath/images/; ?>openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath/images/; ?>back.gif"> <font color="#FFFFFF">» <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> *************** *** 59,63 **** </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> --- 57,61 ---- </tr> <tr> ! <td class="menu" background="<?php echo $basepath/images/; ?>back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 82,84 **** </td> </tr> ! </table> \ No newline at end of file --- 80,87 ---- </td> </tr> ! </table> ! <?php ! if($basepath == "http://openfirst.sourceforge.net/image/"){ ! $basepath = "/openfirst/"; ! } ! ?> |
From: <dav...@us...> - 2003-06-21 21:55:36
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv4690 Modified Files: headers.php Log Message: Noticed small error in basepath location. It is now fixed. Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** headers.php 21 Jun 2003 21:51:26 -0000 1.4 --- headers.php 21 Jun 2003 21:55:32 -0000 1.5 *************** *** 1,5 **** <?php if(ISSET($basepath)){ ! $basepath .= "/images5:48 PM 6/21/2003/"; }else{ $basepath = "http://openfirst.sourceforge.net/image/"; --- 1,5 ---- <?php if(ISSET($basepath)){ ! $basepath .= "/images/"; }else{ $basepath = "http://openfirst.sourceforge.net/image/"; |
From: <dav...@us...> - 2003-06-21 21:51:29
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv4095 Modified Files: footers.php headers.php Log Message: Added switch between image roots with $basepath. Added use of $usersonline depending on if the variable is set. Fixed CSS problems. Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** footers.php 21 Jun 2003 17:12:54 -0000 1.2 --- footers.php 21 Jun 2003 21:51:26 -0000 1.3 *************** *** 1,5 **** <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td class="menu" background="<?php echo $basepath; ?>/images/back-light.gif"> <div> <div align="center">© Copyright 2002-2003 by the openFIRST Development --- 1,5 ---- <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back-light.gif"> <div> <div align="center">© Copyright 2002-2003 by the openFIRST Development *************** *** 12,19 **** <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo $basepath; ?>/images/poweredby-small.png" width="177" height="30" border="0"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo $basepath; ?>/images/w3c401.png" width="88" height="31" border="0"></a> </div> </div> --- 12,19 ---- <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo $basepath; ?>poweredby-small.png" width="177" height="30" border="0"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo $basepath; ?>w3c401.png" width="88" height="31" border="0"></a> </div> </div> Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** headers.php 21 Jun 2003 17:28:02 -0000 1.3 --- headers.php 21 Jun 2003 21:51:26 -0000 1.4 *************** *** 1,2 **** --- 1,9 ---- + <?php + if(ISSET($basepath)){ + $basepath .= "/images5:48 PM 6/21/2003/"; + }else{ + $basepath = "http://openfirst.sourceforge.net/image/"; + } + ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> *************** *** 11,17 **** <meta name="generator" content="OpenFIRST - http://openfirst.sf.net"> <style type="text/css"> - body {color: black; font-weight: bolder; font-size: 30px; font-family: sans-serif; text-decoration: none; text-align: center } - td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } - .heading { } a:link.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } a:visited.menu { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none } --- 18,21 ---- *************** *** 24,31 **** a:hover { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: Underline } - td {border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px} table {border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px} table.menu {border-left:0px;border-right:0px;border-bottom:0px} td.menu {border-left:0px;border-right:0px;border-bottom:0px} </style> </head> --- 28,37 ---- a:hover { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: Underline } table {border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px} table.menu {border-left:0px;border-right:0px;border-bottom:0px} td.menu {border-left:0px;border-right:0px;border-bottom:0px} + body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } + td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } + th { background-color: #999999; color: #333333;background-image: url('<?php echo $basepath; ?>back-light.gif') } </style> </head> *************** *** 35,57 **** <tr> ! <td class="menu"> <img src="<?php echo $basepath; ?>/images/openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>/images/back.gif"> <font color="#FFFFFF">» ! <a class="menu" accesskey="h" href="openfirst.org"><u>H</u>ome</a> | » ! <a class="menu" accesskey="d" href="downloads.openfirst.org"><u>D</u>ownloads</a> ! | » <a accesskey="r" class="menu" href="http://openfirst.org/releasenotes.php"><u>R</u>elease ! Notes</a> | » <a accesskey="m" class="menu" href="modules.openfirst.org"><u>M</u>odules</a> ! | » <a class="menu" accesskey="l" href="openfirst.org/license.php"><u>L</u>icense</a> ! | » <a class="menu" accesskey="b" href="openfirst.org/bugreports.php"><u>B</u>ug ! Reports</a> | » <a accesskey="c" class="menu" href="contactus.openfirst.org"><u>C</u>ontact ! Us</a> | » <a accesskey="a" class="menu" href="openfirst.org/aboutus.php"><u>A</u>bout ! openFIRST</a> | » <a class="menu" accesskey="e" href="openfirst.org/developers.php">D<u>e</u>velopers</a> </font> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>/images/back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> --- 41,63 ---- <tr> ! <td class="menu"> <img src="<?php echo $basepath; ?>openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back.gif"> <font color="#FFFFFF">» ! <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> ! | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> ! | » <a accesskey="r" class="menu" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease ! Notes</a> | » <a accesskey="m" class="menu" href="http://openfirst.sourceforge.net/modules.php"><u>M</u>odules</a> ! | » <a class="menu" accesskey="l" href="http://openfirst.sourceforge.net/license.php"><u>L</u>icense</a> ! | » <a class="menu" accesskey="b" href="http://openfirst.sourceforge.net/bugreports.php"><u>B</u>ug ! Reports</a> | » <a accesskey="c" class="menu" href="http://openfirst.sourceforge.net/contact.php"><u>C</u>ontact ! Us</a> | » <a accesskey="a" class="menu" href="http://openfirst.sourceforge.net/about.php"><u>A</u>bout ! openFIRST</a> | » <a class="menu" accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> </font> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 60,65 **** Home System</font></td> <td class="menu" width="46%"> <div> ! <div align="right"><font color="#333333"> Currently <strong>27</strong> ! people previewing this website! </font></div> </div></td> </tr> --- 66,80 ---- Home System</font></td> <td class="menu" width="46%"> <div> ! <div align="right"><font color="#333333"> ! <?php ! ! if(ISSET($usersonline)){ ! echo $usersonline; ! }else{ ! echo "Welcome to the openFIRST setup system!"; ! } ! ! ?> ! </font></div> </div></td> </tr> |
From: <xt...@us...> - 2003-06-21 21:05:49
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv31609 Modified Files: first.php Log Message: Make form slightly more descriptive to avoid a potentially common error. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** first.php 21 Jun 2003 21:01:23 -0000 1.3 --- first.php 21 Jun 2003 21:05:45 -0000 1.4 *************** *** 134,138 **** <tr><td>MySQL User Name</td><td><input type="text" name="sqluser" value="sqluser" /></td></tr> <tr><td>MySQL User Password</td><td><input type="password" name="sqlpassword" /></td></tr> ! <tr><td>MySQL Database Name</td><td><input type="text" name="sqldatabase" value="openfirst" /></td></tr> <tr><td>Home site (the address scripts will use for linking to your main page)</td><td> <input type="text" name="home" value="http://openfirst.sourceforge.net"></td></tr> --- 134,138 ---- <tr><td>MySQL User Name</td><td><input type="text" name="sqluser" value="sqluser" /></td></tr> <tr><td>MySQL User Password</td><td><input type="password" name="sqlpassword" /></td></tr> ! <tr><td>MySQL Database Name (this database must already exist, it will not be automatically created)</td><td><input type="text" name="sqldatabase" value="openfirst" /></td></tr> <tr><td>Home site (the address scripts will use for linking to your main page)</td><td> <input type="text" name="home" value="http://openfirst.sourceforge.net"></td></tr> |