openfirst-cvscommit Mailing List for openFIRST (Page 4)
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: <ast...@us...> - 2006-06-21 02:13:38
|
Revision: 161 Author: astronouth7303 Date: 2006-06-20 19:13:17 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=161&view=rev Log Message: ----------- commiting directory structure while I finish EOLs Added Paths: ----------- trunk/src/awards/ trunk/src/awards/admin/ trunk/src/config/ trunk/src/includes/ trunk/src/includes/functions/ trunk/src/includes/functions/wysiwyg/ trunk/src/includes/functions/wysiwyg/css/ trunk/src/includes/functions/wysiwyg/dialog/ trunk/src/includes/functions/wysiwyg/gecko/ trunk/src/includes/functions/wysiwyg/gecko/dev/ trunk/src/includes/functions/wysiwyg/gecko/dev/Converting an app using document_designMode from IE to Midas-Dateien/ trunk/src/includes/functions/wysiwyg/gecko/dev/Midas Demo-Dateien/ trunk/src/includes/functions/wysiwyg/gecko/gfx/ trunk/src/includes/functions/wysiwyg/gecko/js/ trunk/src/includes/functions/wysiwyg/gecko/uti/ trunk/src/includes/functions/wysiwyg/images/ trunk/src/includes/functions/wysiwyg/js/ trunk/src/includes/functions/wysiwyg/modules/ trunk/src/includes/functions/wysiwyg/modules/imagemap/ trunk/src/modules/ trunk/src/news/ trunk/src/news/admin/ trunk/src/news/images/ trunk/src/news/rss/ trunk/src/style/ trunk/src/style/images/ Property changes on: trunk/src/awards ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.awards Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/awards/admin ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.awards Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/config ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: svn:ignore + sitesettings.php Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/css ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/dialog ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/gecko ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/gecko/dev ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/gecko/dev/Converting an app using document_designMode from IE to Midas-Dateien ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/gecko/dev/Midas Demo-Dateien ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/gecko/gfx ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/gecko/js ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/gecko/uti ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/images ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/js ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/modules ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/includes/functions/wysiwyg/modules/imagemap ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/modules ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.modules Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/news ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.news Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/news/admin ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.news Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/news/images ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.news Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/news/rss ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.news Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/style ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src/style/images ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: of:module + openfirst.base Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <xt...@us...> - 2006-06-20 23:11:53
|
Revision: 160 Author: xtimg Date: 2006-06-20 16:11:49 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=160&view=rev Log Message: ----------- Revert any local changes made on shell server before doing updates from Subversion (this prevents any possibility of conflicts which generate parse errors, etc.) Modified Paths: -------------- trunk/www/www/updatesite.sh Modified: trunk/www/www/updatesite.sh =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <xt...@us...> - 2006-06-20 22:40:31
|
Revision: 159 Author: xtimg Date: 2006-06-20 15:40:18 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=159&view=rev Log Message: ----------- Lots of updates to the website; most of these are in preparation for the conversion to a new layout which likely won't make use of tables. There's some more error trapping on certain pages, now, too. Update the Contributor's HOWTO. My Bio was awfully out of date (it's still not completely done; but, is an improvement) Modified Paths: -------------- trunk/www/www/htdocs/.htaccess trunk/www/www/htdocs/about.php trunk/www/www/htdocs/bugreports.php trunk/www/www/htdocs/contact.php trunk/www/www/htdocs/doc/index.php trunk/www/www/htdocs/doc/tut/howto/atmosphere.php trunk/www/www/htdocs/doc/tut/howto/glossary.php trunk/www/www/htdocs/doc/tut/howto/index.php trunk/www/www/htdocs/doc/tut/howto/preface.php trunk/www/www/htdocs/doc/tut/howto/roles.php trunk/www/www/htdocs/doc/tut/howto/technology.php trunk/www/www/htdocs/downloads.php trunk/www/www/htdocs/index.php trunk/www/www/htdocs/license.php trunk/www/www/htdocs/modules/index.php trunk/www/www/htdocs/modules/screens.php trunk/www/www/htdocs/oflogo.php trunk/www/www/htdocs/quickstart-sambar.php trunk/www/www/htdocs/roadmap.php trunk/www/www/htdocs/source.php trunk/www/www/htdocs/volunteers/tim.php trunk/www/www/htdocs/which-file-type.php Removed Paths: ------------- trunk/www/www/htdocs/cvsupdate.php trunk/www/www/htdocs/rankings.php trunk/www/www/htdocs/rankings.sh trunk/www/www/htdocs/volunteers/historical-sf-access.php Modified: trunk/www/www/htdocs/.htaccess =================================================================== --- trunk/www/www/htdocs/.htaccess 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/.htaccess 2006-06-20 22:40:18 UTC (rev 159) @@ -33,10 +33,10 @@ ErrorDocument 509 /error/error-handler.php ErrorDocument 510 /error/error-handler.php -Redirect Permanent /screens.php http://openfirst.sourceforge.net/modules/screens.php -Redirect Permanent /modules.php http://openfirst.sourceforge.net/modules/ -Redirect Permanent /developers.php http://openfirst.sourceforge.net/developers/ -Redirect Permanent /images/ http://openfirst.sourceforge.net/image/ +Redirect Permanent /screens.php http://www.openfirst.org/modules/screens.php +Redirect Permanent /modules.php http://www.openfirst.org/modules/ +Redirect Permanent /developers.php http://www.openfirst.org/developers/ +Redirect Permanent /images/ http://www.openfirst.org/image/ Redirect Permanent /demo/ http://demo.openfirst.org/ Redirect Permanent /release.php http://www.openfirst.org/downloads.php Redirect Permanent /image/firstteams-map.png http://update.openfirst.org/firstteams-map.png @@ -45,5 +45,4 @@ Redirect Permanent /developers http://www.openfirst.org/volunteers/ Redirect Permanent /cvs http://www.openfirst.org/doc/ Redirect Permanent /cvs/smartcvs http://www.openfirst.org/doc/smartcvs -Redirect Permanent /cvs/smartcvs3 http://www.openfirst.org/doc/smartcvs3 - +Redirect Permanent /cvs/smartcvs3 http://www.openfirst.org/doc/smartcvs3 \ No newline at end of file Modified: trunk/www/www/htdocs/about.php =================================================================== --- trunk/www/www/htdocs/about.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/about.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,8 +1,5 @@ -<table width="100%"> - <tr> - <td><h1><img alt="" src="http://www.openfirst.org/image/help.png"> About openFIRST</h1></td> - </tr> -</table> +<div id="title"><img alt="" src="http://www.openfirst.org/image/help.png"> About openFIRST</h1></div> + <h2>History</h2> <blockquote><p>openFIRST is an initiative to help FIRST Robotics web sites prosper by aiding their developers with design and construction of components for their team's Modified: trunk/www/www/htdocs/bugreports.php =================================================================== --- trunk/www/www/htdocs/bugreports.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/bugreports.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,8 +1,5 @@ -<table width="100%"> - <tr> - <td><h1><img alt="" src="http://www.openfirst.org/image/edit.png"> Bug Reports</h1></td> - </tr> -</table> +<div id="title"><img alt="" src="http://www.openfirst.org/image/edit.png"> Bug Reports</h1></div> + <p>To submit a new bug report, or view detailed information about existing bug reports: <b><a href="http://bugzilla.openfirst.org">Access the openFIRST Bugzilla site</a></b></p> Modified: trunk/www/www/htdocs/contact.php =================================================================== --- trunk/www/www/htdocs/contact.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/contact.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,21 +1,10 @@ -<table width="100%"> - <tr> - <td><h1><img alt="" src="http://www.openfirst.org/image/email.png"> Contacts</h1></td> - </tr> -</table> -<p>The e-mail addresses for the active staff members are below. For general inquiries or unless you know otherwise your best bet is to contact <a href="mailto:ti...@op...">ti...@op...</a>.</p> -<ul> - <li><a href="mailto:ja...@op...">ja...@op...</a></li> - <li><a href="mailto:bh...@op...">bh...@op...</a></li> - <li><a href="mailto:da...@op...">da...@op...</a></li> - <li><a href="mailto:jo...@op...">jo...@op...</a></li> -<!-- Dave, you're e-mail is bouncing. Either say you want -openfirst.org mail forwarded to another address, or stop it from -bouncing and re-add yourself here. -<li><a href="mailto:da...@op...">da...@op...</a></li> --> - <li><a href="mailto:ti...@op...">ti...@op...</a></li> - <li><a href="mailto:gr...@op...">gr...@op...</a></li> -</ul> +<div id="title"><img alt="" src="http://www.openfirst.org/image/email.png"> Contacts</h1></div> + +<p>The best way to contact openFIRST staff is to use the <a href="http://sourceforge.net/mail/?group_id=78233">project mailing lists</a>. + +</p> + + <p><b>Founding teams:</b></p> <p>St. Michael's College School Archangel Robotics<br> <a href="http://www.archangelrobotics.com/">http://www.archangelrobotics.com</a></p> Deleted: trunk/www/www/htdocs/cvsupdate.php =================================================================== --- trunk/www/www/htdocs/cvsupdate.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/cvsupdate.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,3 +0,0 @@ -<?php - mail("xt...@us...", $_SERVER["QUERY_STRING"]); -?> Modified: trunk/www/www/htdocs/doc/index.php =================================================================== --- trunk/www/www/htdocs/doc/index.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/doc/index.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,5 +1,6 @@ - +<div id="title"> <h1><img src="/image/news_subscribe.png" alt="" title=""> Documentation</h1> +</div> <p>Firstly, recognise that openFIRST is completely run by volunteers, and we all have other things to keep track of and manage too, so, while we will usually try and help you with just about anything openFIRST related circumstances may make this impossible. Sorry in advance if this is the case.</p> Modified: trunk/www/www/htdocs/doc/tut/howto/atmosphere.php =================================================================== --- trunk/www/www/htdocs/doc/tut/howto/atmosphere.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/doc/tut/howto/atmosphere.php 2006-06-20 22:40:18 UTC (rev 159) @@ -10,7 +10,7 @@ <p>The people you'll meet through working on openFIRST tend to be diligent workers who love what they do. That's not to say everyone's happy all the time, deadlines and release dates can be stressful. Throughout your time contributing to openFIRST, you'll face challenges with the group, conflicts with people, clashes of ideas, and eventually triumph over adversity to make a lasting difference to the project.</p> - <p>It's worth noting that all developers are students (and not University/College mentors) on FIRST Robotics, or FIRST Lego League teams; this is one of the fundamental ideals within openFIRST-- that the project must be student-driven. It's likely that the people you meet doing openFIRST could be the people you go to University or College with in the future, and that they will become your friends. They can also be the people you decide to join or form future projects/companies with. openFIRST isn't an end in itself, it's a starting point. The web portal itself is a starting point for a website and a community; and the relationships with the other contributors can be a starting point for future endeavours.</p> + <p>It's worth noting that all developers are students (and not University/College mentors) on FIRST Robotics, or FIRST Lego League/Vex teams; this is one of the fundamental ideals within openFIRST-- that the project must be student-driven. It's likely that the people you meet doing openFIRST could be the people you go to University or College with in the future, and that they will become your friends. They can also be the people you decide to join or form future projects/companies with. openFIRST isn't an end in itself, it's a starting point. The web portal itself is a starting point for a website and a community; and the relationships with the other contributors can be a starting point for future endeavours.</p> <h2><span id="theenvironment">The environment</span></h2> <h3>Applies to: All</h3> Modified: trunk/www/www/htdocs/doc/tut/howto/glossary.php =================================================================== --- trunk/www/www/htdocs/doc/tut/howto/glossary.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/doc/tut/howto/glossary.php 2006-06-20 22:40:18 UTC (rev 159) @@ -4,6 +4,6 @@ <p><span id="bz"><b>BZ</b></span> - BZ is often used as a short form to refer to the openFIRST project's Bugzilla Site (<a href="http://bugzilla.openfirst.org/">http://bugzilla.openfirst.org</a>).</p> - <p><span id="module"><b>module</b><span> - when referring to the distributed modules (as in the modules produced by the openFIRST project), a module is a component of a complete site. People can pick and choose which modules to install from a wide selection (eg, a guestbook, a members area, etc.). When referring to CVS, a module is a given component within the project CVS archive. There are modules which are only used internally by the project (for example, there's a module that houses the website, and one that is home to the remote update server software). The internal modules, and some modules that may be in CVS are not necessarily packaged and distributed to external users; however, external users can access them if they're so inclined (but doing so requires the use of a CVS client).</p> + <p><span id="module"><b>module</b><span> - when referring to the distributed modules (as in the modules produced by the openFIRST project), a module is a component of a complete site. People can pick and choose which modules to install from a wide selection (eg, a guestbook, a members area, etc.).</p> <p><center><a href="technology.php">Previous</a> | <a href="index.php">Table of Contents</a> | <a href="index.php">Next</a></center></p> \ No newline at end of file Modified: trunk/www/www/htdocs/doc/tut/howto/index.php =================================================================== --- trunk/www/www/htdocs/doc/tut/howto/index.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/doc/tut/howto/index.php 2006-06-20 22:40:18 UTC (rev 159) @@ -67,6 +67,7 @@ <li><a href="technology.php#asp">ASP</a></li> <li><a href="technology.php#database">MySQL/Database Software</a></li> <li><a href="technology.php#cvs">CVS</a></li> + <li><a href="technology.php#subversion">Subversion</a></li> <li><a href="technology.php#profiles">Volunteer Profiles</a></li> <li><a href="technology.php#hackergotchi">Hackergotchi</a></li> </ul> Modified: trunk/www/www/htdocs/doc/tut/howto/preface.php =================================================================== --- trunk/www/www/htdocs/doc/tut/howto/preface.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/doc/tut/howto/preface.php 2006-06-20 22:40:18 UTC (rev 159) @@ -10,7 +10,7 @@ <h2><span id="prerequisites">Prerequisites</span></h2> <h3>Applies to: All</h3> - <p>To contribute to the openFIRST project, you require at least a basic knowledge in one or more of the following subject areas: English, e-mail, a web browser, HTML, CSS, Bugzilla, PHP, MySQL (and/or other database software), CVS. Aside from that, you should be able to work independently and as part of a team with whom you will have little or no physical contact. Communications skills are very important, and are arguably more important than raw coding ability. In general, the more technically adept you are, the more options are available for you to choose how you'd like to contribute. However, if you're not all that technically adept it may be reassuring to know that it is certainly possible to make a valuable, lasting contribution to openFIRST without writing a single line of code. It is certainly possible to work in complete isolation from the rest of the openFIRST team, and only submit patches to the source code, or documentation, or do publicity work; but, I wouldn't recommend it.</p> + <p>To contribute to the openFIRST project, you require at least a basic knowledge in one or more of the following subject areas: English, e-mail, a web browser, HTML, CSS, Bugzilla, PHP, MySQL (and/or other database software), Subversion. Aside from that, you should be able to work independently and as part of a team with whom you will have little or no physical contact. Communications skills are very important, and are arguably more important than raw coding ability. In general, the more technically adept you are, the more options are available for you to choose how you'd like to contribute. However, if you're not all that technically adept it may be reassuring to know that it is certainly possible to make a valuable, lasting contribution to openFIRST without writing a single line of code. It is certainly possible to work in complete isolation from the rest of the openFIRST team, and only submit patches to the source code, or documentation, or do publicity work; but, I wouldn't recommend it.</p> <h2><span id="approach">Approach</span></h2> <h3>Applies to: All</h3> Modified: trunk/www/www/htdocs/doc/tut/howto/roles.php =================================================================== --- trunk/www/www/htdocs/doc/tut/howto/roles.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/doc/tut/howto/roles.php 2006-06-20 22:40:18 UTC (rev 159) @@ -15,7 +15,7 @@ <p>It's important to the project that everyone who's contributing has at least a general idea of what the other contributors are doing. People who are interested in starting to contribute to the project may not be entirely clear on how they can help. The following paragraphs give a brief overview of each position. More detailed information, including information about what people who are considering taking on a position should now, is included below the brief overview paragraphs.</p> - <p><b>Administrator</b> - Administrative positions are open to anyone who meets the requirements of the position. Administrators make sure that the servers which the openFIRST project use remain operational, and add/manage users and permissions for other contributors. An administrator is expected to audit developers' code, and to commit patches to the CVS repository on behalf of patch writers. In general, if a particular role is not being filled, it is expected that an administrator will take over that role on a temporary basis.</p> + <p><b>Administrator</b> - Administrative positions are open to anyone who meets the requirements of the position. Administrators make sure that the servers which the openFIRST project use remain operational, and add/manage users and permissions for other contributors. An administrator is expected to commit patches to the Subversion repository on behalf of patch writers. In general, if a particular role is not being filled, it is expected that an administrator will take over that role on a temporary basis.</p> <p><b>Developer</b> - Development positions are only open to students who are at the elementary or high school level (and not to University/College/alumni). Developers are the ones who actually write the code for the openFIRST project. A developer produces the modules that are used by teams which use the openFIRST software. A developer is also expected to audit other developers' code, and to commit patches to the CVS repository on behalf of patch writers.</p> Modified: trunk/www/www/htdocs/doc/tut/howto/technology.php =================================================================== --- trunk/www/www/htdocs/doc/tut/howto/technology.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/doc/tut/howto/technology.php 2006-06-20 22:40:18 UTC (rev 159) @@ -11,20 +11,23 @@ <li><a href="#asp">ASP</a></li> <li><a href="#database">MySQL/Database Software</a></li> <li><a href="#cvs">CVS</a></li> + <li><a href="#subversion">Subversion</a></li> + <li><a href="#profiles">Volunteer Profiles</a></li> + <li><a href="#hackergotchi">Hackergotchi</a></li> </ul> <h2><span id="email">E-mail</span></h2> <h3>Applies to: All</h3> - <p>The openFIRST project maintains the <a href="http://www.openfirst.org/">openfirst.org</a> e-mail addresses (eg. <a href="mailto: ti...@op...">ti...@op...</a>). These addresses are most often set to forward to a contributors personal e-mai -l account by an administrator. E-mail addresses are assigned as fir...@op.... If you did not get an e-mail address assigned to you when you joined, or would like to change the address that mail is forwarded to, contact an administrator.</p> + <p>The openFIRST project maintains the <a href="http://www.openfirst.org/">openfirst.org</a> e-mail addresses (eg. tim [at] openfirst.org). These addresses are most often set to forward to a contributors personal e-mai +l account by an administrator. E-mail addresses are assigned as firstname [at] openfirst.org. If you did not get an e-mail address assigned to you when you joined, or would like to change the address that mail is forwarded to, contact an administrator.</p> <p>A series of mailing lists is also maintained. See the <a href="information.php#mailinglists">Mailing lists heading</a> of the <a href="information.php">Information and Resources section</a> for more information about these mailing lists.</p> <h2><span id="webbrowser">The web browser</span></h2> <h3>Applies to: All</h3> <p>Since the openFIRST project is inherently web-based it is expected that contributors have at least a basic understanding of the usage of a web browser. It is recommended especially for those working with code/html to make use of the <a href="http://w -ww.mozilla.org/firefox/">Firefox</a> web browser. There are a wide variety of plugins which are of use to website developers and general users (in Firefox, see <b>Tools</b> - <b>Extensions</b> - <b>Get More Extensions</b> for a catalogue of the available +ww.mozilla.com/">Firefox</a> web browser. There are a wide variety of plugins which are of use to website developers and general users (in Firefox, see <b>Tools</b> - <b>Extensions</b> - <b>Get More Extensions</b> for a catalogue of the available Firefox extensions).</p> <h3>Applies to: Developer, Patch Writer, Webmaster, Documentation Writer</h3> @@ -71,7 +74,7 @@ <p>Automated bug reports are filed by openFIRST installations and are clearly marked as such. You, as one who browses Bugzilla should change the subject of Automated bug reports to better reflect their content and/or mark them as DUPLICATE if applicable . Automated bug reports are reported through <a href="http://bugzilla.openfirst.org/openfirst/">http://bugzilla.openfirst.org/openfirst/</a> and bug crusher statistics are available at <a href="http://bugzilla.openfirst.org/openfirst/bugcrushers.php">htt -p://bugzilla.openfirst.org/openfirst/bugcrushers.php</a>. The style sheet and design information for the Bugzilla site is present within the CVS repository in the <b>htdocs/bugzilla</b> directory of the <b>www</b> module. Upgrades to Bugzilla may requir +p://bugzilla.openfirst.org/openfirst/bugcrushers.php</a>. The style sheet and design information for the Bugzilla site is present within the Subversion repository in <b>trunk/www/bugzilla</b>. Upgrades to Bugzilla may requir e remaking these templates in order for the Bugzilla site to function as expected.</p> <h2><span id="updatesystem">openFIRST Update System</span></h2> @@ -82,7 +85,7 @@ process to get the full openFIRST system. Third parties will be able to submit packages to be managed by the openFIRST Update System, and can mark security updates, new versions, etc. which will notify end users who have set their preferences as such.</ p> - <p>The openFIRST Update System resides in the <b>update</b> module of the openFIRST CVS repository.</p> + <p>The openFIRST Update System resides in the <b>update</b> module of the openFIRST CVS repository but will be moved to Subversion in the future.</p> <h2><span id="shellaccess">Shell Access</span></h2> <h3>Applies to: Administrator, Developer, Webmaster</h3> @@ -94,25 +97,21 @@ <p>Doing so will create a symbolic link in your home directory to the openFIRST project directory on the shell server. Certain instructions throughout this document will assume that the symbolic link exists.</p> - <p>To update the website, from CVS, on the project webserver, first login. Type:<br> - <tt>cd openfirst</tt><br> - <tt>./updatesite.sh</tt></p> - <p>Administrators and webmasters of other openFIRST sites may be able to access them via SSH using a different login name and password. If you require shell access to one of these other sites, or to the SF.net Project Shell Server, contact an administra tor.</p> - <p>...</p> + <p>Some people may be used to updating the project web space through the Shell server. For the openFIRST project you should not do this; you should instead make your changes in Subversion in <b>trunk/www/htdocs/</b>. The project web space is automatically updated from Subversion ever hour.</p> +<p>...</p> + <h2><span id="php">PHP</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Release Technician, Webmaster</h3> <p><a href="http://www.php.net/">PHP</a> is the language used to write the vast majority of the code that openFIRST uses/distributes. When writing/patching openFIRST software it may be assumed that the user is using at least PHP version 4.3 (released December, 2002). PHP 3 and versions of PHP prior to 4.3.0 are no -longer officially supported by the openFIRST project. Some of the openFIRST servers run PHP4 versions and others run PHP5; when writing code, you should test with both PHP4 and PHP5.</p> +longer officially supported by the openFIRST project. Some of the openFIRST servers run PHP4 versions and others run PHP5; when writing code, you should make sure it is tested with both PHP4 and PHP5 before being released.</p> <h2><span id="asp">ASP</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Release Technician, Webmaster</h3> - <p>Very little of the project is written in ASP at the moment, and the ASP versions have been unmaintained for quite some time now. The original creator of the ASP modules graduated before the project had any real plan for replacing graduated developers. - Ideally we'd find someone who could take them over, but the focus is on the PHP versions of modules. If you happen to be interested in bringing the ASP versions up to date (with features that parallel the PHP versions of modules) contact an Administrat -or.</p> + <p>Very little of the project is written in ASP at the moment, and the ASP versions have been unmaintained for many years now. The original creator of the ASP modules graduated before the project had any real plan for replacing graduated developers. There are no plans to continue development in ASP.</p> <h2><span id="database">MySQL/Database Software</span></h2> <h3>Applies to: Administrator, Developer, Webmaster</h3> @@ -122,27 +121,11 @@ <h2><span id="cvs">CVS</span></h2> <h3>Applies to: Administrator, Developer, Documentation Writer, Release Technician, Webmaster</h3> - <p>CVS is used by the openFIRST project for version control. It allows multiple contributors to work on the project at one time without interfering with one another's work. CVS can merge different changes to a file in an intelligent way; but it's mergi -ng attempts should be verfied manually just to be certain. To login to CVS, use your SourceForge.net username and password.</p> - - <p>One possible route for accessing the CVS repository is using Smart CVS (<a href="http://www.smartcvs.com/">http://www.smartcvs.com/</a>). Documentation about how to configure Smart CVS 3 (the newer version) is available at <a href="http://www.openfir -st.org/cvs/smartcvs3/">http://www.openfirst.org/cvs/smartcvs3/</a> and documentation for Smart CVS 2 (an older version) is available at <a href="http://www.openfirst.org/cvs/smartcvs/">http://www.openfirst.org/cvs/smartcvs/</a>. There are other CVS clien -ts which will work, and may be more suited to your personal preference. It is recommended that contributors who will be using CVS, especially Administrators, also skim/read the SourceForge.net Project Documentation pertaining to CVS available at: <a href -="http://www.sourceforge.net/docman/?group_id=1">http://www.sourceforge.net/docman/?group_id=1</a> (the documentation includes a list of several alternatives to SmartCVS at <a href="http://sourceforge.net/docman/display_doc.php?docid=14033&group_id=1#howt -oaccess">http://sourceforge.net/docman/display_doc.php?docid=14033&group_id=1#howtoaccess</a>). Read-only access to the CVS repository is available through a web browser using viewcvs at <a href="http://cvs.sourceforge.net/viewcvs.py/openfirst/">http://c -vs.sourceforge.net/viewcvs.py/openfirst/</a>; but at the current time, viewcvs does not keep in perfect sync with the cvs repository as developers see it; it lags behind a bit.</p> + <p>CVS was used by the openFIRST project for version control. It is being phased out in favour of Subversion. You may refer to the <a href="http://sourceforge.net/cvs/?group_id=78233">About CVS</a> documentation on the Source Forge Project page.</p> - <p>Some general rules for CVS include:</p> - <ul> - <li>Always run a diff before making a commit, to make sure you're committing only the changes you think you are</li> - <li>Always update before making a commit</li> - </ul> - - <p>Important Note: the <b>config</b> module is <b>depreciated</b>. Please use the base module instead. That is to say, <b>don't use the config module</b>. The idea behind the move from <b>config</b> to <b>base</b> is that using <b>base</b> a common in -dex page could be created, and resources such as images that are used throughout the site could be in one place (Release technicians rename base to openfirst when distributing the base package. On the webserver, modules are installed within the root of t -he base module [eg openfirst/guestbook or base/guestbook]. This is why some modules may <b>appear</b> to use the config module, when in fact they do not). The reason that the <b>config</b> module is still in CVS, is because very old versions of openFIRS -T used to use it. SourceForge doesn't allow the removal of modules; and even if it did, config is part of the history of the project. <b>config</b> remains in the CVS repository on the off chance that someone running a very old version may want to upgra -de/patch their install, in which case the <b>config</b> module provides all of the patches up until the point that it became unsupported (which was after the last official release that made use of the module).</p> + <h2><span id="subversion">Subversion</span></h2> + <h3>Applies to: Administrator, Developer, Documentation Writer, Release Technician, Webmaster</h3> + <p>Subversion is the tool used by the openFIRST project for version control. You may refer to the <a href="http://sourceforge.net/svn/?group_id=78233">About Subversion</a> documentation on the Source Forge Project page.</p> <h2><span id="profiles">Volunteer Profiles</span></h2> <h3>Applies to: All</h3> Modified: trunk/www/www/htdocs/downloads.php =================================================================== --- trunk/www/www/htdocs/downloads.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/downloads.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,8 +1,5 @@ -<table width="100%"> - <tr> - <td><h1><img alt="" src="http://www.openfirst.org/image/kdevelop_down.png">Downloads</h1></td> - </tr> -</table> +<div id="title"><img alt="" src="http://www.openfirst.org/image/kdevelop_down.png">Downloads</h1></div> + <p>If you encounter a problem while using the openFIRST system, please <a href='mailto:ope...@li...'>report the bug via e-mail</a> or <a href='http://bugzilla.openfirst.org/'>via Bugzilla</a>. We greatly appreciate all bug reports, and will work with you to resolve all issues you encounter while using the openFIRST system, including feature requests and information about customising/extending the system with your own custom coding.</p> <p>The modules are inter-operable with multiple versions of each other, as long as the major and minor release version is identical (<a href="#curious">how do I tell?</a>). In general, it is a good idea to use only the most current base version.</p> Modified: trunk/www/www/htdocs/index.php =================================================================== --- trunk/www/www/htdocs/index.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/index.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,6 +1,7 @@ -<h1><img +<div id="title"><img src="/image/news_subscribe.png" -alt="" title=""> News & Updates</h1> +alt="" title=""> News & Updates</h1></div> + <?php if(! $sqlconnection) { Modified: trunk/www/www/htdocs/license.php =================================================================== --- trunk/www/www/htdocs/license.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/license.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,13 +1,5 @@ -<table width="100%"> +<div id="title"><h1><img alt="" src="http://www.openfirst.org/image/files.png">License</h1></div> - <tr> - - <td><h1><img alt="" src="http://www.openfirst.org/image/files.png">License</h1></td> - - </tr> - -</table><br> - <blockquote> <p>openFIRST components are distributed under the GPL. The following is Modified: trunk/www/www/htdocs/modules/index.php =================================================================== --- trunk/www/www/htdocs/modules/index.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/modules/index.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,16 +1,10 @@ -<table width="100%"> - <tr> - <td><h1><img src="http://www.openfirst.org/image/kthememgr.png">openFIRST - Modules</h1></td> - </tr> -</table> +<div id="title"><h1><img src="http://www.openfirst.org/image/kthememgr.png">openFIRST Modules</h1></div> + <p>Here is a list of current modules packaged in the basic openFIRST system. If you have a module you wish to submit then please contact one of the founding members to get your module listed here.</p> <p> <?php - mysql_select_db($sqldatabase, -$sqlconnection); if(! isset($_GET["module"]) || $_GET["module"] == "") { $query = mysql_query("SELECT * FROM Modified: trunk/www/www/htdocs/modules/screens.php =================================================================== --- trunk/www/www/htdocs/modules/screens.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/modules/screens.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,4 +1,8 @@ <h1>Screen Shots</h1> + +<p><b>These screen shots are particularly out of date and are here mainly +for historical interest.</b></p> + <?php if($_GET["module"] != "") { $modname = Modified: trunk/www/www/htdocs/oflogo.php =================================================================== --- trunk/www/www/htdocs/oflogo.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/oflogo.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,4 +1,6 @@ <?php +if(isset($_GET['img']) && isset($_GET['type'])) { + $img = $_GET["img"]; $type = $_GET["type"]; @@ -12,4 +14,6 @@ passthru("cat image/$img-$type.gif"); } +} + ?> Modified: trunk/www/www/htdocs/quickstart-sambar.php =================================================================== --- trunk/www/www/htdocs/quickstart-sambar.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/quickstart-sambar.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,11 +1,5 @@ +<div id="title"><img alt="" src="http://www.openfirst.org/image/kjots.png">Quick Start Guide - Sambar Server</h1></div> -<table width="100%"> - <tr> - <td><h1><img alt="" src="http://www.openfirst.org/image/kjots.png">Quick Start Guide - Sambar Server - </h1></td> - </tr> -</table> - <p><b>This documentation is out of date and is being maintained for historical reference only. A new version of this documentation should be written in the future.</b></p> Deleted: trunk/www/www/htdocs/rankings.php =================================================================== --- trunk/www/www/htdocs/rankings.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/rankings.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,104 +0,0 @@ -<h1>Canadian Team National Rankings</h1> -<p>Statistics are updated from the FIRST database. The statistics -may be delayed for up to two minutes after the time they are -published by the FIRST organization. -</p><p> The following option will -allow you to set what part of the page you view as soon as the -statistics are updated.</p> -<form method="get" action="rankings.php"> - <select name="view"> - <option value="Championship">Championship</option> - <option value="Archimedes">Archimedes</option> - <option value="Curie">Curie</option> - <option value="Newton">Newton</option> - <option value="Galileo">Galileo</option> - </select> - <input type="submit" value="View" /> -</form> -<?php - - for($x = 1; $x <= 5; $x++) { - if($x == 1) { - $v = "Championship"; - } elseif($x == 2) { - $v="Archimedes"; -echo("</table>"); - } elseif($x == 3) { -echo("</table>"); - $v="Curie"; - } elseif($x == 4) { -echo("</table>"); - $v="Newton"; - } else { -echo("</table>"); - $v="Galileo"; - } - - echo("<a name=\"$v\" id=\"$v\"><h2>$v Division</h2></a>"); - if(file_exists("res/$x.html")) { - $rank = fopen("res/$x.html", "r"); -?> -<table> -<tr> - <td>Overall Ranking</td><td>Team Number</td><td>Team Name</td><td> -Average Points</td><td>Highest Points/match</td><td>Matches Played</td> -</tr> -<tr> -<?php - while (!feof ($rank)) { - $line = fgets ($rank, 1024); - if (eregi ("(.*)Crescent(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - } elseif (eregi ("(.*)771(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - - } elseif (eregi ("(.*)Kincardine(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - - } elseif (eregi ("(.*)Mobotics(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - - } elseif (eregi ("(.*)Lyons(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - - } elseif (eregi ("(.*)Martingrove(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - - } elseif (eregi ("(.*)SWATT(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - - } elseif (eregi ("(.*)SIMBOT(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - - } elseif (eregi ("(.*)Woburn(.*)", $line, $out)) { - $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); - echo $line; - echo("</tr>"); - } elseif (eregi("(.*)data is not yet available(.*)",$line, $out)) { - echo("<td><b>This data has not yet been published by the Regional administration.</b></td>"); - echo("</tr>"); - } - } - - fclose($rank); - - } - - } -?> Deleted: trunk/www/www/htdocs/rankings.sh =================================================================== (Binary files differ) Modified: trunk/www/www/htdocs/roadmap.php =================================================================== --- trunk/www/www/htdocs/roadmap.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/roadmap.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,4 +1,4 @@ -<h1><img src="/image/news_subscribe.png" alt="" title=""> Roadmap</h1> +<div id="title"><h1><img src="/image/news_subscribe.png" alt="" title=""> Roadmap</h1></div> <h2 id="dev">Development</h2> <h3>Coordinator: <a href="mailto:ja...@op...">Jamie</a></h3> Modified: trunk/www/www/htdocs/source.php =================================================================== --- trunk/www/www/htdocs/source.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/source.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,5 +1,9 @@ <?php +if(! isset($_GET['url'])) { + echo "You must pass a page to view the source of."; +} else { + echo("<h1>View Source: " . $_GET["url"] . "</h1>"); $url = "/home/groups/o/op/openfirst/htdocs" . $_GET["url"]; @@ -8,4 +12,6 @@ } else { echo("File does not exist."); } + +} ?> Deleted: trunk/www/www/htdocs/volunteers/historical-sf-access.php =================================================================== --- trunk/www/www/htdocs/volunteers/historical-sf-access.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/volunteers/historical-sf-access.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,61 +0,0 @@ -<h2 align="center">Project Members (Developers)</h2> - -<p>To modify the permissions granted to a developer, click on their -username. Project Administrators are shown in bold. Project -Administrators may perform all project operations (you need not flag -them as a Release Technician, DocManager Editor, etc.; but you will -still need them to be listed as a Technician if you wish to assign -Tasks or Tracker items to them). Certain project operations, such as -posting job listings, posting of news, and changes to project settings -may only be performed by project administrators. -</p><p>To remove a developer from this project, click on the Trash Can -icon next to their name. To remove a project administrator from this -project, first remove their Project Administrator flag. -</p><p><br> - -<table border="0" cellpadding="2" cellspacing="0" width="100%"> - -<tbody><tr align="center"> -<td><font size="-1"><b>X</b></font></td> -<td><font size="-1"><b>Username</b></font></td> - -<td><font size="-1"><b>Real Name</b></font></td> -<td><font size="-1"><b>CVS<br>Access</b></font></td> -<td><font size="-1"><b>Shell<br>Access</b></font></td> -<td><font size="-1"><b>Release<br>Tech</b></font></td> -<td><font size="-1"><b>Snapshot<br>Manager</b></font></td> -<td><font size="-1"><b>Tracker<br>Manager</b></font></td> - -<td><font size="-1"><b>Task<br>Manager</b></font></td> -<td><font size="-1"><b>Forums</b></font></td> -<td><font size="-1"><b>Doc.<br>Manager</b></font></td> -<td><font size="-1"><b>News</b></font></td> -<td><font size="-1"><b>Screenshots</b></font></td> -</tr> - - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1186776&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1186776">aignam</a></td><td>Anthony Mangia</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - - <tr align="center" bgcolor="#eaecef"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1063449&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1063449">astronouth7303</a></td><td>Astronouth7303</td><td>Yes</td><td>Yes</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1197565&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1197565">cdawzrd</a></td><td>cdawzrd</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - - <tr align="center" bgcolor="#eaecef"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=762996&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=762996">chris_p_781</a></td><td>Chris Pellett</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1279135&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1279135">coastertux</a></td><td>coastertux</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - - <tr align="center" bgcolor="#eaecef"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=751988&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash-x.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=751988"><b>daviddibiase</b></a></td><td>David Di Biase</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1069764&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1069764">hhsjosh</a></td><td>Josh May</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - - <tr align="center" bgcolor="#eaecef"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=876651&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=876651">i-greg</a></td><td>Greg Inozemtsev</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1186848&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1186848">roboticsguy1988</a></td><td>Larry</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - - <tr align="center" bgcolor="#eaecef"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1019757&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1019757">schill</a></td><td>Dan</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=751938&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=751938">steph025</a></td><td>Stephanie Closs</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - - <tr align="center" bgcolor="#eaecef"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1069771&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1069771">teknobramha</a></td><td>Tekno Bramha</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=875009&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=875009">trashed20</a></td><td>Mike Marantis</td><td>Yes</td><td>No</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - - <tr align="center" bgcolor="#eaecef"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=1316540&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=1316540">webdesignmind</a></td><td>Daniel W. Zollman</td><td>Yes</td><td>Yes</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - <tr align="center" bgcolor="#ffffff"><td><a href="rmuser.php?func=rmuser&return_to=/project/admin/userperms.php?group_id=78233&rm_id=750423&group_id=78233"><img src="https://images-ssl.sourceforge.net/images/ic/trash-x.png" alt="Remove" border="0" height="16" width="16"></a></td><td align="left"><a href="userpermedit.php?group_id=78233&user_id=750423"><b>xtimg</b></a></td><td>Tim Ginn</td><td>Yes</td><td>Yes</td><td>No</td><td>No</td><td>-</td><td></td><td>-</td><td>-</td><td>Editor</td><td>-</td></tr> - -</tbody></table> - -</p><p><a href="/project/admin/adduser.php?group_id=78233">[Add a developer to this project]</a> Modified: trunk/www/www/htdocs/volunteers/tim.php =================================================================== --- trunk/www/www/htdocs/volunteers/tim.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/volunteers/tim.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,25 +1,9 @@ - <table width="100%"> - <tr> - <td><h1><img alt="" src="http://www.openfirst.org/image/misc.png">Developers - Tim Ginn</h1></td> - </tr> -</table> +<div id="title"><h1><img alt="" src="http://www.openfirst.org/image/misc.png">Developers - Tim Ginn</h1></div> + <p><img alt="" src="http://www.openfirst.org/image/developers/timginn.jpg" border="1"></p> -<p>Tim Ginn is a founding member of openFIRST. He is responsible for -developing - various modules and maintaining the openFIRST website itself. Tim is -well known - for his strive for excellence. His constant push for excellence has -helped to - land one of the most advanced FIRST team websites: <a -href="http://www.portperryrobotics.ca">http://www.portperryrobotics.ca</a>. - Tim is well known for his wide knowledge of Unix-based systems such as -Linux.<br> - <br> - During the development project Tim has taught the team many new -skills, and - has introduced them to a wide range or project management and -open-source utilities - which have made the development of openFIRST possible.</p> +<p>Tim Ginn is a founding member of openFIRST. He is now an administrator responsible +for maintaining the openFIRST project website.</p> + <p><strong>Skills:</strong> PHP, Visual Basic, MySQL, Bash Shell Scripting, some Perl<br> <strong>OS:</strong> Linux (Redhat 7.1, 7.3, 9; Slackware 8.1, 9; @@ -40,13 +24,13 @@ <a href="http://www.openfirst.org/demo/news/">openfirst.news</a>, openfirst.bashinstall, <a -href="http://openfirst.sourceforge.net/demo/emoticon.">openfirst.emoticon</a>, +href="http://www.openfirst.org/demo/emoticon.">openfirst.emoticon</a>, <a -href="http://openfirst.sourceforge.net/demo/members/">openfirst.members</a>, +href="http://www.openfirst.org/demo/members/">openfirst.members</a>, openfirst.sidebars, openfirst.search </p> <p><a href="mailto: ti...@op...">E-mail Tim Ginn</a><br> - <a href="http://www.portperryrobotics.ca/">Visit Website</a></p> + <a href="http://www.timginn.com/">Visit Personal Website</a></p> Modified: trunk/www/www/htdocs/which-file-type.php =================================================================== --- trunk/www/www/htdocs/which-file-type.php 2006-06-20 20:46:38 UTC (rev 158) +++ trunk/www/www/htdocs/which-file-type.php 2006-06-20 22:40:18 UTC (rev 159) @@ -1,8 +1,5 @@ -<table width="100%"> - <tr> - <td><h1><img alt="" src="http://www.openfirst.org/image/kthememgr.png">Which File Type Do I Choose?</h1></td> - </tr> -</table> +<div id="title"><h1><img alt="" src="http://www.openfirst.org/image/kthememgr.png">Which File Type Do I Choose?</h1></div> + <p>In general, the openFIRST project consistently releases packages in three different formats, Tar-Gzip, Tar-Bzip, and Zip.</p> <p>The Tar-Gzip and Tar-Bzip versions contain unix-style end-of-line characters, which means that Microsoft ® Windows ® users who download these versions may see odd-looking black boxes throughout the code which make it difficult to interpret. The Zip file version contains Windows-style end-of-line This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ast...@us...> - 2006-06-20 20:47:25
|
Revision: 158 Author: astronouth7303 Date: 2006-06-20 13:46:38 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=158&view=rev Log Message: ----------- - Added bugtraq:* properties for Bugzilla integration Added Paths: ----------- trunk/src/ Property Changed: ---------------- branches/ tags/ trunk/ trunk/www/ trunk/www/bugzilla/ trunk/www/bugzilla/account/ trunk/www/bugzilla/account/auth/ trunk/www/bugzilla/account/email/ trunk/www/bugzilla/account/password/ trunk/www/bugzilla/account/prefs/ trunk/www/bugzilla/admin/ trunk/www/bugzilla/admin/attachstatus/ trunk/www/bugzilla/admin/flag-type/ trunk/www/bugzilla/admin/groups/ trunk/www/bugzilla/admin/keywords/ trunk/www/bugzilla/admin/products/ trunk/www/bugzilla/admin/products/groupcontrol/ trunk/www/bugzilla/attachment/ trunk/www/bugzilla/bug/ trunk/www/bugzilla/bug/activity/ trunk/www/bugzilla/bug/create/ trunk/www/bugzilla/bug/process/ trunk/www/bugzilla/bug/votes/ trunk/www/bugzilla/flag/ trunk/www/bugzilla/global/ trunk/www/bugzilla/list/ trunk/www/bugzilla/pages/ trunk/www/bugzilla/reports/ trunk/www/bugzilla/request/ trunk/www/bugzilla/search/ trunk/www/www/ trunk/www/www/htdocs/ trunk/www/www/htdocs/config/ trunk/www/www/htdocs/doc/ trunk/www/www/htdocs/doc/smartcvs/ trunk/www/www/htdocs/doc/smartcvs3/ trunk/www/www/htdocs/doc/tut/ trunk/www/www/htdocs/doc/tut/howto/ trunk/www/www/htdocs/error/ trunk/www/www/htdocs/image/ trunk/www/www/htdocs/image/developers/ trunk/www/www/htdocs/image/hackergotchi/ trunk/www/www/htdocs/image/icon/ trunk/www/www/htdocs/image/icon/emote/ trunk/www/www/htdocs/image/icon/flag/ trunk/www/www/htdocs/image/night-before/ trunk/www/www/htdocs/image/powered/ trunk/www/www/htdocs/image/poweredby/ trunk/www/www/htdocs/image/screens/ trunk/www/www/htdocs/image/tested/ trunk/www/www/htdocs/image/userbar/ trunk/www/www/htdocs/installer/ trunk/www/www/htdocs/media-centre/ trunk/www/www/htdocs/modules/ trunk/www/www/htdocs/night-before/ trunk/www/www/htdocs/nightly/ trunk/www/www/htdocs/nightly/pkg/ trunk/www/www/htdocs/volunteers/ trunk/www/www/inc/ trunk/www/www/pkg/ trunk/www/www/tmp/ Property changes on: branches ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: tags ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/src ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/account ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/account/auth ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/account/email ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/account/password ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/account/prefs ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/admin ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/admin/attachstatus ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/admin/flag-type ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/admin/groups ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/admin/keywords ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/admin/products ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/admin/products/groupcontrol ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/attachment ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/bug ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/bug/activity ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/bug/create ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/bug/process ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/bug/votes ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/flag ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/global ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/list ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/pages ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/reports ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/request ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/bugzilla/search ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/config ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/doc ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/doc/smartcvs ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/doc/smartcvs3 ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/doc/tut ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/doc/tut/howto ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/error ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/developers ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/hackergotchi ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/icon ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/icon/emote ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/icon/flag ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/night-before ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/powered ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/poweredby ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/screens ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/tested ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/image/userbar ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/installer ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/media-centre ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/modules ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/night-before ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/nightly ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/nightly/pkg ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/htdocs/volunteers ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/inc ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/pkg ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) Property changes on: trunk/www/www/tmp ___________________________________________________________________ Name: bugtraq:label + Bug #: Name: bugtraq:url + http://bugzilla.openfirst.org/show_bug.cgi?id=%BUGID% Name: bugtraq:number + true Name: bugtraq:logregex + [Bb][Uu][Gg] #(\d+) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <xt...@us...> - 2006-06-20 19:04:25
|
Revision: 157 Author: xtimg Date: 2006-06-20 12:04:16 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=157&view=rev Log Message: ----------- Fix errors when running PHP scripts from command line (as in updatesite.sh) Modified Paths: -------------- trunk/www/www/inc/headers.php Modified: trunk/www/www/inc/headers.php =================================================================== --- trunk/www/www/inc/headers.php 2006-06-20 19:02:33 UTC (rev 156) +++ trunk/www/www/inc/headers.php 2006-06-20 19:04:16 UTC (rev 157) @@ -1,6 +1,6 @@ <?php // Check to see if the browser supports gzip -if(strpos(" " . $_SERVER["HTTP_ACCEPT_ENCODING"], "gzip")) { +if(isset($_SERVER['HTTP_ACCEPT_ENCODING']) && strpos(" " . $_SERVER["HTTP_ACCEPT_ENCODING"], "gzip")) { // Enable gzip compression (this shrinks the size of pages dramatically-- see http://www.whatsmyip.org/mod_gzip_test/ for a test) if (extension_loaded('zlib') && ini_get("zlib.output_compression") == 0) { ob_start("ob_gzhandler"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <xt...@us...> - 2006-06-20 19:02:42
|
Revision: 156 Author: xtimg Date: 2006-06-20 12:02:33 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=156&view=rev Log Message: ----------- Manual no longer updated, I missed switching an occurance of cvs1 Modified Paths: -------------- trunk/www/www/updatesite.sh Modified: trunk/www/www/updatesite.sh =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <xt...@us...> - 2006-06-20 19:00:31
|
Revision: 155 Author: xtimg Date: 2006-06-20 12:00:17 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=155&view=rev Log Message: ----------- Bring update script to where it should be Modified Paths: -------------- trunk/www/www/updatesite.sh Modified: trunk/www/www/updatesite.sh =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ast...@us...> - 2006-06-20 18:22:28
|
Revision: 154 Author: astronouth7303 Date: 2006-06-20 11:22:22 -0700 (Tue, 20 Jun 2006) ViewCVS: http://svn.sourceforge.net/openfirst/?rev=154&view=rev Log Message: ----------- Taking Tim out of the loop. Modified Paths: -------------- trunk/www/www/htdocs/downloads.php Modified: trunk/www/www/htdocs/downloads.php =================================================================== --- trunk/www/www/htdocs/downloads.php 2006-06-19 21:03:17 UTC (rev 153) +++ trunk/www/www/htdocs/downloads.php 2006-06-20 18:22:22 UTC (rev 154) @@ -3,7 +3,7 @@ <td><h1><img alt="" src="http://www.openfirst.org/image/kdevelop_down.png">Downloads</h1></td> </tr> </table> -<p>If you encounter a problem while using the openFIRST system, please <a href='mailto: ti...@op...'>report the bug via e-mail</a> or <a href='http://bugzilla.openfirst.org/'>via Bugzilla</a>. We greatly appreciate all bug reports, and will work with you to resolve all issues you encounter while using the openFIRST system, including feature requests and information about customising/extending the system with your own custom coding.</p> +<p>If you encounter a problem while using the openFIRST system, please <a href='mailto:ope...@li...'>report the bug via e-mail</a> or <a href='http://bugzilla.openfirst.org/'>via Bugzilla</a>. We greatly appreciate all bug reports, and will work with you to resolve all issues you encounter while using the openFIRST system, including feature requests and information about customising/extending the system with your own custom coding.</p> <p>The modules are inter-operable with multiple versions of each other, as long as the major and minor release version is identical (<a href="#curious">how do I tell?</a>). In general, it is a good idea to use only the most current base version.</p> <hr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Jamie <ast...@us...> - 2006-02-23 18:11:33
|
Update of /cvsroot/openfirst/www/htdocs/nightly In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20909/www/htdocs/nightly Modified Files: package.py Log Message: Added some enhancements. Index: package.py =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/nightly/package.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** package.py 21 Nov 2005 19:51:17 -0000 1.3 --- package.py 23 Feb 2006 18:11:23 -0000 1.4 *************** *** 15,19 **** from subprocess import * import warnings ! warnings.filterwarnings(action='ignore', message='.*tempnam.*') ## Declare CLI options --- 15,19 ---- from subprocess import * import warnings ! warnings.filterwarnings(action='ignore', message='.*tmpnam.*') ## Declare CLI options *************** *** 54,59 **** return False def checkOutCVS(module, target=None): ! command = "cvs -d%s export -r%s -R " % (CVSROOT, CVSTag) if target is not None: command += "-d %s " % (target) --- 54,73 ---- return False + def makeNiceList(list): + ret = '' + if len(list) == 0: + return '' + elif len(list) == 1: + return list[0] + else: + for i in list[:-1]: + ret += i + ret += ', ' + ret += 'and ' + ret += list[-1] + return ret + def checkOutCVS(module, target=None): ! command = "cvs -d%s export -kb -r%s -R " % (CVSROOT, CVSTag) if target is not None: command += "-d %s " % (target) *************** *** 149,153 **** failed = [] ! print "Generating package %s using modules %s." % (package, modules) ## Checkout CVS first --- 163,167 ---- failed = [] ! print "Generating package %s using modules %s." % (package, makeNiceList(modules)) ## Checkout CVS first *************** *** 176,179 **** for m in failed: mods += m+", " print """%u module(s) failed to be exported, and were not included in ! the package. They are: ! %s""" % (len(failed), failed) --- 190,193 ---- for m in failed: mods += m+", " print """%u module(s) failed to be exported, and were not included in ! the package. They are ! %s""" % (len(failed), makeNiceList(failed)) |
From: Tim G. <xt...@us...> - 2006-02-23 17:47:36
|
Update of /cvsroot/openfirst/www/htdocs/doc/tut/howto In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3319 Modified Files: technology.php Log Message: Update the Technology requirements to reflect that the project now requires PHP 4.3 at minimum Index: technology.php =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/doc/tut/howto/technology.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** technology.php 15 Jul 2005 22:54:26 -0000 1.9 --- technology.php 23 Feb 2006 17:47:28 -0000 1.10 *************** *** 17,21 **** <h3>Applies to: All</h3> ! <p>The openFIRST project maintains the <a href="http://www.openfirst.org/">openfirst.org</a> e-mail addresses (eg. <a href="mailto: ti...@op...">ti...@op...</a>). These addresses are most often set to forward to a contributors personal e-mail account by an administrator. E-mail addresses are assigned as fir...@op.... If you did not get an e-mail address assigned to you when you joined, or would like to change the address that mail is forwarded to, contact an administrator.</p> <p>A series of mailing lists is also maintained. See the <a href="information.php#mailinglists">Mailing lists heading</a> of the <a href="information.php">Information and Resources section</a> for more information about these mailing lists.</p> --- 17,22 ---- <h3>Applies to: All</h3> ! <p>The openFIRST project maintains the <a href="http://www.openfirst.org/">openfirst.org</a> e-mail addresses (eg. <a href="mailto: ti...@op...">ti...@op...</a>). These addresses are most often set to forward to a contributors personal e-mai ! l account by an administrator. E-mail addresses are assigned as fir...@op.... If you did not get an e-mail address assigned to you when you joined, or would like to change the address that mail is forwarded to, contact an administrator.</p> <p>A series of mailing lists is also maintained. See the <a href="information.php#mailinglists">Mailing lists heading</a> of the <a href="information.php">Information and Resources section</a> for more information about these mailing lists.</p> *************** *** 23,27 **** <h2><span id="webbrowser">The web browser</span></h2> <h3>Applies to: All</h3> ! <p>Since the openFIRST project is inherently web-based it is expected that contributors have at least a basic understanding of the usage of a web browser. It is recommended especially for those working with code/html to make use of the <a href="http://www.mozilla.org/firefox/">Firefox</a> web browser. There are a wide variety of plugins which are of use to website developers and general users (in Firefox, see <b>Tools</b> - <b>Extensions</b> - <b>Get More Extensions</b> for a catalogue of the available Firefox extensions).</p> <h3>Applies to: Developer, Patch Writer, Webmaster, Documentation Writer</h3> --- 24,30 ---- <h2><span id="webbrowser">The web browser</span></h2> <h3>Applies to: All</h3> ! <p>Since the openFIRST project is inherently web-based it is expected that contributors have at least a basic understanding of the usage of a web browser. It is recommended especially for those working with code/html to make use of the <a href="http://w ! ww.mozilla.org/firefox/">Firefox</a> web browser. There are a wide variety of plugins which are of use to website developers and general users (in Firefox, see <b>Tools</b> - <b>Extensions</b> - <b>Get More Extensions</b> for a catalogue of the available ! Firefox extensions).</p> <h3>Applies to: Developer, Patch Writer, Webmaster, Documentation Writer</h3> *************** *** 30,35 **** <ul> <li><b>Live HTTP Headers</b> - View HTTP headers of a page and while browsing.</li> ! <li><b>netcrafttoolbar</b> - Blocks Phishing Sites (can also be used to look up in depth information about where a website is hosted, by whom, etc which may be of particular use for detecting obscure configuration problems that are applicable to all users of a particular web host).</li> ! <li><b>Checky</b> - Easy to use interface to many free and commercial online validation and analysis services. Validate and analyse HTML, XHTML, CSS, RDF, RSS, XML, WAI, Section 508, P3P, hyperlinks, metadata and many more. Adds a context and tools menu.</li> <li><b>Fangs Screen Reader Emulator</b> - Renders a text version of a web page similar to screen reader output.</li> <li><b>LinkChecker</b> - Checks the validity of links on any webpage.</li> --- 33,40 ---- <ul> <li><b>Live HTTP Headers</b> - View HTTP headers of a page and while browsing.</li> ! <li><b>netcrafttoolbar</b> - Blocks Phishing Sites (can also be used to look up in depth information about where a website is hosted, by whom, etc which may be of particular use for detecting obscure configuration problems that are applicable to all use ! rs of a particular web host).</li> ! <li><b>Checky</b> - Easy to use interface to many free and commercial online validation and analysis services. Validate and analyse HTML, XHTML, CSS, RDF, RSS, XML, WAI, Section 508, P3P, hyperlinks, metadata and many more. Adds a context and tools men ! u.</li> <li><b>Fangs Screen Reader Emulator</b> - Renders a text version of a web page similar to screen reader output.</li> <li><b>LinkChecker</b> - Checks the validity of links on any webpage.</li> *************** *** 41,66 **** <h2><span id="html">HTML</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Webmaster, Documentation Writer</h3> ! <p>The openFIRST project tries when possible to produce valid HTML (matching the particular doctype of any given document). In most cases, the standard currently used is HTML 4. Pages should have valid HTML and should be checked with the W3C HTML Validator at <a href="http://validator.w3.org/">http://validator.w3.org/</a> or a similar tool. It is suggested that you be familiar with HTML, and the HTML standard itself available at <a href="http://w3.org/MarkUp/">http://w3.org/MarkUp/</a> rather than just blindly following a validator.</p> ! <p>The openFIRST project site, and the software created by the project should be as accessible as possible. More information about making web pages accessible is available from the Web Accessibility Initiative at <a href="http://w3.org/WAI/">http://w3.org/WAI/</a>. An Accessibility testing tool called Bobby™ is available at <a href="http://bobby.watchfire.com/bobby/html/en/index.jsp">http://bobby.watchfire.com/bobby/html/en/index.jsp</a>.</p> <h2><span id="css">CSS</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Webmaster</h3> ! <p>The openFIRST project tries when possible to sue valid CSS when possible. The current version of the Cascading Style Sheets standard that is used is CSS 2. It is recommended that stylesheets and pages be checked using the CSS validator at <a href="http://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator/</a> or a similar tool. It is suggested that you use the CSS standard for reference; the standard is available at <a href="http://w3.org/Style/CSS/">http://w3.org/Style/CSS/</a>.</p> ! <p>Where possible, CSS should be used to make web pages more accessible. More information about making web pages accessible is available from the Web Accessibility Initiative at <a href="http://w3.org/WAI/">http://w3.org/WAI/</a>. An Accessibility testing tool called Bobby™ is available at <a href="http://bobby.watchfire.com/bobby/html/en/index.jsp">http://bobby.watchfire.com/bobby/html/en/index.jsp</a>.</p> <h2><span id="bugzilla">Bugzilla</span></h2> <h3>Applies to: Administrator, Developer, Documentation Writer, Patch Writer, Webmaster</h3> ! <p>Bugzilla (<a href="http://bugzilla.openfirst.org/">http://bugzilla.openfirst.org/</a>) keeps track of bug reports and feature requests for both source code and documentation. Issues of an administrative nature may also be posted on Bugzilla. As a contributor to the openFIRST project you should register for a Bugzilla account using your @openfirst.org e-mail address. Only e-mail addresses that are @openfirst.org show up in the bug crusher statistics on the openfirst.org site and installations of the openFIRST System. To be credited as having crushed a bug, the bug must be finished (eg marked CLOSED, FIXED, etc.) but not DUPLICATE and the bug must be assigned to you at the time it is closed.</p> ! <p>Jobs which are suitable for those people with only an entry level of experience with the openFIRST project are (or should be) <a href="http://bugzilla.openfirst.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=&content=%5BJJ%5D">marked with the [JJ] tag</a>. Junior Jobs are typically expected to take under an hour to research/isolate (if required) and implement.</p> ! <p>Automated bug reports are filed by openFIRST installations and are clearly marked as such. You, as one who browses Bugzilla should change the subject of Automated bug reports to better reflect their content and/or mark them as DUPLICATE if applicable. Automated bug reports are reported through <a href="http://bugzilla.openfirst.org/openfirst/">http://bugzilla.openfirst.org/openfirst/</a> and bug crusher statistics are available at <a href="http://bugzilla.openfirst.org/openfirst/bugcrushers.php">http://bugzilla.openfirst.org/openfirst/bugcrushers.php</a>. The style sheet and design information for the Bugzilla site is present within the CVS repository in the <b>htdocs/bugzilla</b> directory of the <b>www</b> module. Upgrades to Bugzilla may require remaking these templates in order for the Bugzilla site to function as expected.</p> <h2><span id="updatesystem">openFIRST Update System</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Webmaster</h3> ! <p>The openFIRST Update System is currently under development at <a href="http://update.openfirst.org/test/">http://update.openfirst.org/test/</a>. The goal of the system is to create a simple interface for end users to remotely install and manage any number of openFIRST installations. The system will be able to automate installation of updates and security patches, and communicates directly with the end-user's web server, preventing users on slow connections from having to undergo the lengthy download process to get the full openFIRST system. Third parties will be able to submit packages to be managed by the openFIRST Update System, and can mark security updates, new versions, etc. which will notify end users who have set their preferences as such.</p> <p>The openFIRST Update System resides in the <b>update</b> module of the openFIRST CVS repository.</p> --- 46,85 ---- <h2><span id="html">HTML</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Webmaster, Documentation Writer</h3> ! <p>The openFIRST project tries when possible to produce valid HTML (matching the particular doctype of any given document). In most cases, the standard currently used is HTML 4. Pages should have valid HTML and should be checked with the W3C HTML Valid ! ator at <a href="http://validator.w3.org/">http://validator.w3.org/</a> or a similar tool. It is suggested that you be familiar with HTML, and the HTML standard itself available at <a href="http://w3.org/MarkUp/">http://w3.org/MarkUp/</a> rather than jus ! t blindly following a validator.</p> ! <p>The openFIRST project site, and the software created by the project should be as accessible as possible. More information about making web pages accessible is available from the Web Accessibility Initiative at <a href="http://w3.org/WAI/">http://w3.o ! rg/WAI/</a>. An Accessibility testing tool called Bobby™ is available at <a href="http://bobby.watchfire.com/bobby/html/en/index.jsp">http://bobby.watchfire.com/bobby/html/en/index.jsp</a>.</p> <h2><span id="css">CSS</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Webmaster</h3> ! <p>The openFIRST project tries when possible to sue valid CSS when possible. The current version of the Cascading Style Sheets standard that is used is CSS 2. It is recommended that stylesheets and pages be checked using the CSS validator at <a href="h ! ttp://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator/</a> or a similar tool. It is suggested that you use the CSS standard for reference; the standard is available at <a href="http://w3.org/Style/CSS/">http://w3.org/Style/CSS/</a>.</p> ! <p>Where possible, CSS should be used to make web pages more accessible. More information about making web pages accessible is available from the Web Accessibility Initiative at <a href="http://w3.org/WAI/">http://w3.org/WAI/</a>. An Accessibility test ! ing tool called Bobby™ is available at <a href="http://bobby.watchfire.com/bobby/html/en/index.jsp">http://bobby.watchfire.com/bobby/html/en/index.jsp</a>.</p> <h2><span id="bugzilla">Bugzilla</span></h2> <h3>Applies to: Administrator, Developer, Documentation Writer, Patch Writer, Webmaster</h3> ! <p>Bugzilla (<a href="http://bugzilla.openfirst.org/">http://bugzilla.openfirst.org/</a>) keeps track of bug reports and feature requests for both source code and documentation. Issues of an administrative nature may also be posted on Bugzilla. As a co ! ntributor to the openFIRST project you should register for a Bugzilla account using your @openfirst.org e-mail address. Only e-mail addresses that are @openfirst.org show up in the bug crusher statistics on the openfirst.org site and installations of the ! openFIRST System. To be credited as having crushed a bug, the bug must be finished (eg marked CLOSED, FIXED, etc.) but not DUPLICATE and the bug must be assigned to you at the time it is closed.</p> ! <p>Jobs which are suitable for those people with only an entry level of experience with the openFIRST project are (or should be) <a href="http://bugzilla.openfirst.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__& ! ;product=&content=%5BJJ%5D">marked with the [JJ] tag</a>. Junior Jobs are typically expected to take under an hour to research/isolate (if required) and implement.</p> ! <p>Automated bug reports are filed by openFIRST installations and are clearly marked as such. You, as one who browses Bugzilla should change the subject of Automated bug reports to better reflect their content and/or mark them as DUPLICATE if applicable ! . Automated bug reports are reported through <a href="http://bugzilla.openfirst.org/openfirst/">http://bugzilla.openfirst.org/openfirst/</a> and bug crusher statistics are available at <a href="http://bugzilla.openfirst.org/openfirst/bugcrushers.php">htt ! p://bugzilla.openfirst.org/openfirst/bugcrushers.php</a>. The style sheet and design information for the Bugzilla site is present within the CVS repository in the <b>htdocs/bugzilla</b> directory of the <b>www</b> module. Upgrades to Bugzilla may requir ! e remaking these templates in order for the Bugzilla site to function as expected.</p> <h2><span id="updatesystem">openFIRST Update System</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Webmaster</h3> ! <p>The openFIRST Update System is currently under development at <a href="http://update.openfirst.org/test/">http://update.openfirst.org/test/</a>. The goal of the system is to create a simple interface for end users to remotely install and manage any n ! umber of openFIRST installations. The system will be able to automate installation of updates and security patches, and communicates directly with the end-user's web server, preventing users on slow connections from having to undergo the lengthy download ! process to get the full openFIRST system. Third parties will be able to submit packages to be managed by the openFIRST Update System, and can mark security updates, new versions, etc. which will notify end users who have set their preferences as such.</ ! p> <p>The openFIRST Update System resides in the <b>update</b> module of the openFIRST CVS repository.</p> *************** *** 68,72 **** <h2><span id="shellaccess">Shell Access</span></h2> <h3>Applies to: Administrator, Developer, Webmaster</h3> ! <p>All developers, webmasters, and administrators are able to access the SourceForge.net Project Shell Server via SSH at <b>shell.sourceforge.net</b>. A suitable SSH client for Windows is PuTTY, and is available at <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a>; many other operating systems already include an SSH client, on UNIX or Linux consult <tt>man ssh</tt> for more information. To login, you should use your SourceForge.net username and passsword. It is recommended, for the sake of convenience, that upon logging into the system for the first time, you perform these command:</p> <p><tt>ln -s /home/groups/o/op/openfirst openfirst</tt></p> --- 87,93 ---- <h2><span id="shellaccess">Shell Access</span></h2> <h3>Applies to: Administrator, Developer, Webmaster</h3> ! <p>All developers, webmasters, and administrators are able to access the SourceForge.net Project Shell Server via SSH at <b>shell.sourceforge.net</b>. A suitable SSH client for Windows is PuTTY, and is available at <a href="http://www.chiark.greenend.or ! g.uk/~sgtatham/putty/download.html">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a>; many other operating systems already include an SSH client, on UNIX or Linux consult <tt>man ssh</tt> for more information. To login, you should use ! your SourceForge.net username and passsword. It is recommended, for the sake of convenience, that upon logging into the system for the first time, you perform these command:</p> <p><tt>ln -s /home/groups/o/op/openfirst openfirst</tt></p> *************** *** 78,82 **** <tt>./updatesite.sh</tt></p> ! <p>Administrators and webmasters of other openFIRST sites may be able to access them via SSH using a different login name and password. If you require shell access to one of these other sites, or to the SF.net Project Shell Server, contact an administrator.</p> <p>...</p> --- 99,104 ---- <tt>./updatesite.sh</tt></p> ! <p>Administrators and webmasters of other openFIRST sites may be able to access them via SSH using a different login name and password. If you require shell access to one of these other sites, or to the SF.net Project Shell Server, contact an administra ! tor.</p> <p>...</p> *************** *** 84,92 **** <h2><span id="php">PHP</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Release Technician, Webmaster</h3> ! <p><a href="http://www.php.net/">PHP</a> is the language used to write the vast majority of the code that openFIRST uses/distributes. When writing/patching openFIRST software it may be assumed that the user is using at least PHP version 4. PHP 3 is no longer officially supported by the openFIRST project. Some of the openFIRST servers run PHP4 versions and others run PHP5; when writing code, you should test with both PHP4 and PHP5.</p> <h2><span id="asp">ASP</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Release Technician, Webmaster</h3> ! <p>Very little of the project is written in ASP at the moment, and the ASP versions have been unmaintained for quite some time now. The original creator of the ASP modules graduated before the project had any real plan for replacing graduated developers. Ideally we'd find someone who could take them over, but the focus is on the PHP versions of modules. If you happen to be interested in bringing the ASP versions up to date (with features that parallel the PHP versions of modules) contact an Administrator.</p> <h2><span id="database">MySQL/Database Software</span></h2> --- 106,117 ---- <h2><span id="php">PHP</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Release Technician, Webmaster</h3> ! <p><a href="http://www.php.net/">PHP</a> is the language used to write the vast majority of the code that openFIRST uses/distributes. When writing/patching openFIRST software it may be assumed that the user is using at least PHP version 4.3 (released December, 2002). PHP 3 and versions of PHP prior to 4.3.0 are no ! longer officially supported by the openFIRST project. Some of the openFIRST servers run PHP4 versions and others run PHP5; when writing code, you should test with both PHP4 and PHP5.</p> <h2><span id="asp">ASP</span></h2> <h3>Applies to: Administrator, Developer, Patch Writer, Release Technician, Webmaster</h3> ! <p>Very little of the project is written in ASP at the moment, and the ASP versions have been unmaintained for quite some time now. The original creator of the ASP modules graduated before the project had any real plan for replacing graduated developers. ! Ideally we'd find someone who could take them over, but the focus is on the PHP versions of modules. If you happen to be interested in bringing the ASP versions up to date (with features that parallel the PHP versions of modules) contact an Administrat ! or.</p> <h2><span id="database">MySQL/Database Software</span></h2> *************** *** 98,104 **** <h2><span id="cvs">CVS</span></h2> <h3>Applies to: Administrator, Developer, Documentation Writer, Release Technician, Webmaster</h3> ! <p>CVS is used by the openFIRST project for version control. It allows multiple contributors to work on the project at one time without interfering with one another's work. CVS can merge different changes to a file in an intelligent way; but it's merging attempts should be verfied manually just to be certain. To login to CVS, use your SourceForge.net username and password.</p> ! <p>One possible route for accessing the CVS repository is using Smart CVS (<a href="http://www.smartcvs.com/">http://www.smartcvs.com/</a>). Documentation about how to configure Smart CVS 3 (the newer version) is available at <a href="http://www.openfirst.org/cvs/smartcvs3/">http://www.openfirst.org/cvs/smartcvs3/</a> and documentation for Smart CVS 2 (an older version) is available at <a href="http://www.openfirst.org/cvs/smartcvs/">http://www.openfirst.org/cvs/smartcvs/</a>. There are other CVS clients which will work, and may be more suited to your personal preference. It is recommended that contributors who will be using CVS, especially Administrators, also skim/read the SourceForge.net Project Documentation pertaining to CVS available at: <a href="http://www.sourceforge.net/docman/?group_id=1">http://www.sourceforge.net/docman/?group_id=1</a> (the documentation includes a list of several alternatives to SmartCVS at <a href="http://sourceforge.net/docman/display_doc.php?docid=14033&group_id=1#howtoaccess">http://sourceforge.net/docman/display_doc.php?docid=14033&group_id=1#howtoaccess</a>). Read-only access to the CVS repository is available through a web browser using viewcvs at <a href="http://cvs.sourceforge.net/viewcvs.py/openfirst/">http://cvs.sourceforge.net/viewcvs.py/openfirst/</a>; but at the current time, viewcvs does not keep in perfect sync with the cvs repository as developers see it; it lags behind a bit.</p> <p>Some general rules for CVS include:</p> --- 123,135 ---- <h2><span id="cvs">CVS</span></h2> <h3>Applies to: Administrator, Developer, Documentation Writer, Release Technician, Webmaster</h3> ! <p>CVS is used by the openFIRST project for version control. It allows multiple contributors to work on the project at one time without interfering with one another's work. CVS can merge different changes to a file in an intelligent way; but it's mergi ! ng attempts should be verfied manually just to be certain. To login to CVS, use your SourceForge.net username and password.</p> ! <p>One possible route for accessing the CVS repository is using Smart CVS (<a href="http://www.smartcvs.com/">http://www.smartcvs.com/</a>). Documentation about how to configure Smart CVS 3 (the newer version) is available at <a href="http://www.openfir ! st.org/cvs/smartcvs3/">http://www.openfirst.org/cvs/smartcvs3/</a> and documentation for Smart CVS 2 (an older version) is available at <a href="http://www.openfirst.org/cvs/smartcvs/">http://www.openfirst.org/cvs/smartcvs/</a>. There are other CVS clien ! ts which will work, and may be more suited to your personal preference. It is recommended that contributors who will be using CVS, especially Administrators, also skim/read the SourceForge.net Project Documentation pertaining to CVS available at: <a href ! ="http://www.sourceforge.net/docman/?group_id=1">http://www.sourceforge.net/docman/?group_id=1</a> (the documentation includes a list of several alternatives to SmartCVS at <a href="http://sourceforge.net/docman/display_doc.php?docid=14033&group_id=1#howt ! oaccess">http://sourceforge.net/docman/display_doc.php?docid=14033&group_id=1#howtoaccess</a>). Read-only access to the CVS repository is available through a web browser using viewcvs at <a href="http://cvs.sourceforge.net/viewcvs.py/openfirst/">http://c ! vs.sourceforge.net/viewcvs.py/openfirst/</a>; but at the current time, viewcvs does not keep in perfect sync with the cvs repository as developers see it; it lags behind a bit.</p> <p>Some general rules for CVS include:</p> *************** *** 108,121 **** </ul> ! <p>Important Note: the <b>config</b> module is <b>depreciated</b>. Please use the base module instead. That is to say, <b>don't use the config module</b>. The idea behind the move from <b>config</b> to <b>base</b> is that using <b>base</b> a common index page could be created, and resources such as images that are used throughout the site could be in one place (Release technicians rename base to openfirst when distributing the base package. On the webserver, modules are installed within the root of the base module [eg openfirst/guestbook or base/guestbook]. This is why some modules may <b>appear</b> to use the config module, when in fact they do not). The reason that the <b>config</b> module is still in CVS, is because very old versions of openFIRST used to use it. SourceForge doesn't allow the removal of modules; and even if it did, config is part of the history of the project. <b>config</b> remains in the CVS repository on the off chance that someone running a very old version may want to upgrade/patch their install, in which case the <b>config</b> module provides all of the patches up until the point that it became unsupported (which was after the last official release that made use of the module).</p> <h2><span id="profiles">Volunteer Profiles</span></h2> <h3>Applies to: All</h3> ! <p>Those wishing to create a <a href="http://www.openfirst.org/developers/">volunteer profile</a> (previously called developer profile) must check out the www module from CVS and add their profile to the www/htdocs/developer directory then edit index.php of that directory in order to have their profile listed. Alternatively, contact a developer/administrator to have them do this on your behalf. Information about the "Hackergotchi" section of the Volunteer Profiles follows.</p> <h2><span id="hackergotchi">Hackergotchi</span></h2> <h3>Applies to: All</h3> ! <p>Those wishing to create a "Hackergotchi" character may do so. The dimensions recommended are 80 pixels by 80 pixels. To have the Hackergotchi used for news postings, etc. on the main site, using CVS add it to the www/htdocs/image/hackergotchi directory. The Hackergotchi image should be named using your SourceForge.net username and should be of type PNG, JPEG or GIF; the filename must be all lowercase letters. A tutorial on how to create Hackergotchi images is available at <a href="http://www.livejournal.com/users/wouterverhelst/21322.html">http://www.livejournal.com/users/wouterverhelst/21322.html</a>.</p> ! <p><center><a href="roles.php">Previous</a> | <a href="index.php">Table of Contents</a> | <a href="glossary.php">Next</a></center></p> \ No newline at end of file --- 139,159 ---- </ul> ! <p>Important Note: the <b>config</b> module is <b>depreciated</b>. Please use the base module instead. That is to say, <b>don't use the config module</b>. The idea behind the move from <b>config</b> to <b>base</b> is that using <b>base</b> a common in ! dex page could be created, and resources such as images that are used throughout the site could be in one place (Release technicians rename base to openfirst when distributing the base package. On the webserver, modules are installed within the root of t ! he base module [eg openfirst/guestbook or base/guestbook]. This is why some modules may <b>appear</b> to use the config module, when in fact they do not). The reason that the <b>config</b> module is still in CVS, is because very old versions of openFIRS ! T used to use it. SourceForge doesn't allow the removal of modules; and even if it did, config is part of the history of the project. <b>config</b> remains in the CVS repository on the off chance that someone running a very old version may want to upgra ! de/patch their install, in which case the <b>config</b> module provides all of the patches up until the point that it became unsupported (which was after the last official release that made use of the module).</p> <h2><span id="profiles">Volunteer Profiles</span></h2> <h3>Applies to: All</h3> ! <p>Those wishing to create a <a href="http://www.openfirst.org/developers/">volunteer profile</a> (previously called developer profile) must check out the www module from CVS and add their profile to the www/htdocs/developer directory then edit index.php ! of that directory in order to have their profile listed. Alternatively, contact a developer/administrator to have them do this on your behalf. Information about the "Hackergotchi" section of the Volunteer Profiles follows.</p> <h2><span id="hackergotchi">Hackergotchi</span></h2> <h3>Applies to: All</h3> ! <p>Those wishing to create a "Hackergotchi" character may do so. The dimensions recommended are 80 pixels by 80 pixels. To have the Hackergotchi used for news postings, etc. on the main site, using CVS add it to the www/htdocs/image/hackergo ! tchi directory. The Hackergotchi image should be named using your SourceForge.net username and should be of type PNG, JPEG or GIF; the filename must be all lowercase letters. A tutorial on how to create Hackergotchi images is available at <a href="http: ! //www.livejournal.com/users/wouterverhelst/21322.html">http://www.livejournal.com/users/wouterverhelst/21322.html</a>.</p> ! <p><center><a href="roles.php">Previous</a> | <a href="index.php">Table of Contents</a> | <a href="glossary.php">Next</a></center></p> |
From: Jamie <ast...@us...> - 2006-02-23 17:37:29
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29419/includes Modified Files: globals.php Log Message: Added minimum version warning. Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/globals.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** globals.php 23 Feb 2006 16:38:47 -0000 1.24 --- globals.php 23 Feb 2006 17:37:24 -0000 1.25 *************** *** 29,32 **** --- 29,34 ---- // Purpose: Initialize the openFIRST system. + define('OPENFIRST_MINIMUM_PHP_VERSION', '4.3.0'); + $configdir = dirname(__FILE__); if( !defined('OPENFIRST_INSTALLATION_SCRIPT') && !file_exists( "$configdir/sitesettings.php" ) ) { |
From: Jamie <ast...@us...> - 2006-02-23 17:37:29
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29419/config Modified Files: first.php Log Message: Added minimum version warning. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** first.php 23 Feb 2006 16:38:47 -0000 1.69 --- first.php 23 Feb 2006 17:37:23 -0000 1.70 *************** *** 194,197 **** --- 194,204 ---- then you may receive a collection of errors after submitting this form).</p> </div> + <?php + if (version_compare(OPENFIRST_MINIMUM_PHP_VERSION, phpversion(), '>')) { + echo '<p class="warning">Your version of PHP ('.htmlentities(phpversion()).') + is less than that supported ('.htmlentities(OPENFIRST_MINIMUM_PHP_VERSION).'). + Use at your own risk.</p>'; + } + ?> <form action="<?php echo htmlentities("http://$server$basepath/config/first.php"); ?>" method="post"> <fieldset> |
From: Jamie <ast...@us...> - 2006-02-23 17:14:39
|
Update of /cvsroot/openfirst/base/includes/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15257/includes/functions Modified Files: debug.php Log Message: Updated variable names Now taking the MD5 hash of the file that threw the error, not the file that handled the request. Index: debug.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/functions/debug.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** debug.php 22 Aug 2005 17:36:57 -0000 1.6 --- debug.php 23 Feb 2006 17:14:34 -0000 1.7 *************** *** 1,139 **** ! <?php ! /* ! * openFIRST.base - config/functions/debug.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Provide some useful features for debugging certain problems. ! // This entire process is optional, of course. Anyone may easily ! // simply remove this file in order to eliminate the debugging. ! ! set_error_handler("ofirst_error_handler"); ! if (!isset($NO_ADD_BUG)) $NO_ADD_BUG = false; ! ! // Handles errors by displaying a message and contacting openFIRST ! // developers for assistance. ! function ofirst_error_handler($errno,$error,$file,$line,$context) { ! global $DBaseType, $Encryption, $Title, $Version, $sqlServer, $sqlUser, $sqlPassword, $sqlDatabase, ! $sqlConnection, $PassSaveDisabled, $regEnabled, $Server, $BasePath, $fBasePath, $Home, ! $StylePath, $fStylePath, $Header, $Footer, $MailNotify, $MailFrom, $ogDB; ! global $osType, $currentmodule, $user, $lastquery, $usingPHP5; ! global $NO_ADD_BUG; ! $dberrno = $ogDB->errorNumber(); ! $dberror = $ogDB->errorString(); ! ! if(! function_exists("md5_file")) { ! $checksum = "na"; ! } else { ! if (isset($_SERVER['SCRIPT_FILENAME'])) { ! $checksum = md5_file($_SERVER['SCRIPT_FILENAME']); ! } ! } ! ! if ($usingPHP5 && $errno == 2048) return; ! ! $details = "MD5: $checksum ! Database Type: $DBaseType ! Operating System: $osType ! SQL Server: $sqlServer ! Current Module: $currentmodule ! Error Number: $errno"; ! ! $specifics = "PHP_SELF: {$_SERVER['PHP_SELF']}"; ! if (isset($_SERVER['HTTP_HOST'])) ! $specifics .= " ! HTTP Host: {$_SERVER['HTTP_HOST']}"; ! ! if (isset($_SERVER['HTTP_REFERER'])) { ! $specifics .= " ! HTTP Referer: {$_SERVER['HTTP_REFERER']}"; ! } ! $specifics .= " ! Translated Path: {$_SERVER['SCRIPT_FILENAME']}"; ! if (isset($user) ) { ! $specifics .= " ! User: {$user->user} ! User Access Level: {$user->membertype}"; ! } ! $specifics .= " ! Error Description: {$error} in {$file} on line {$line}"; ! if ($dberrno != 0) { ! $specifics .= " ! DB Error Number: {$dberrno} ! DB Error: {$dberror} ! Last Query: {$lastquery}"; ! } ! ! if ($NO_ADD_BUG) ! { ! echo "<br /><div class=\"error\"><h2>Error:</h2><dl>"; ! echo "<dt>Details:</dt><dd><pre>"; ! echo $details; ! echo "</pre></dd>\n"; ! echo "<dt>Specifics:</dt><dd><pre>"; ! echo $specifics; ! echo "</pre></dd>\n"; ! echo "<dt>Backtrace:</dt><dd><pre>"; ! debug_print_backtrace(); ! echo "</pre></dd>\n"; ! echo "</dl>"; ! echo "</div>"; ! } else { ! // Notify the appropriate local contact ! mail($mailnotify, "$error in $file on line $line", "Error Description: $error in $file on line $line ! ! There is additional information regarding this bug stored on ! the openFIRST Bugzilla Server at: ! ! http://bugzilla.openfirst.org/", "From: $mailfrom"); ! ! // Attempt to contact the openFIRST Bugzilla Server ! $bugzilla = fopen( "http://bugzilla.openfirst.org/openfirst/". ! "?module=$currentmodule". ! "&uri=" . urlencode($_SERVER["HTTP_HOST"] . $_SERVER["SCRIPT_NAME"]). ! "&details=".urlencode($details). ! "&specifics=".urlencode($specifics) . ! ($NO_ADD_BUG ? "&no-commit=true" : ""), "r"); ! ! if(! $bugzilla) { ! // If a connection cannot be established to the Bugzilla server ! echo("Could not contact the openFIRST Bugzilla server."); ! echo("<h3><strong>$errno</strong> - <strong>$error</strong> in ! <strong>$file</strong> on line <strong>$line</strong></h3> ! <p><strong>The openFIRST system has encountered an error. This ! may be due to a misconfiguration on the behalf of the person installing it, ! or an error in the openFIRST code.</strong></p> ! <p>Debugging may be disabled by removing (config/functions/debug.php)"); ! ! } else { ! // If a connection is established to the Bugzilla server then rely ! // completely on it for the appropriate error message to show. ! while(!feof($bugzilla)) { ! $line = fgets($bugzilla, 2048); ! echo $line; ! } ! } ! } ! } ! ?> --- 1,136 ---- ! <?php ! /* openFIRST.base - config/functions/debug.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Provide some useful features for debugging certain problems. ! // This entire process is optional, of course. Anyone may easily ! // simply remove this file in order to eliminate the debugging. ! ! set_error_handler("ofirst_error_handler"); ! if (!isset ($NO_ADD_BUG)) ! $NO_ADD_BUG = false; ! ! // Handles errors by displaying a message and contacting openFIRST ! // developers for assistance. ! function ofirst_error_handler($errno, $error, $file, $line, $context) { ! global $ogDataBaseType, $ogEncryptionType, $ogSiteTitle, $ogVersion, ! $ogSQLServer, $ogSQLUser, $ogSQLPassword, $ogSQLDatabase, ! $ogSQLConnection, $ogPasswordSaveEnabled, $regEnabled, $Server, ! $BasePath, $fBasePath, $Home, $StylePath, $fStylePath, $ogHeader, ! $ogFooter, $ogMailNotify, $ogMailFrom, $ogDB, $osType, ! $ogCurrentModule, $ogUser, $lastquery, $usingPHP5; ! global $NO_ADD_BUG; ! $dberrno = $ogDB->errorNumber(); ! $dberror = $ogDB->errorString(); ! ! if (!function_exists("md5_file")) { ! $checksum = "na"; ! } else { ! if (isset ($file)) { ! $checksum = md5_file($file); ! } ! } ! ! if ($usingPHP5 && $errno == 2048) ! return; // Don't handle E_STRICT ! ! $details = "MD5: $checksum ! Database Type: $ogDataBaseType ! Operating System: $osType ! SQL Server: $ogSQLServer ! Current Module: $ogCurrentModule ! Error Number: $errno"; ! ! $specifics = "PHP_SELF: {$_SERVER['PHP_SELF']}"; ! if (isset ($_SERVER['HTTP_HOST'])) ! $specifics .= " ! HTTP Host: {$_SERVER['HTTP_HOST']}"; ! ! if (isset ($_SERVER['HTTP_REFERER'])) { ! $specifics .= " ! HTTP Referer: {$_SERVER['HTTP_REFERER']}"; ! } ! $specifics .= " ! Translated Path: {$_SERVER['SCRIPT_FILENAME']}"; ! if (isset ($user)) { ! $specifics .= " ! User: {$user->user} ! User Access Level: {$user->membertype}"; ! } ! $specifics .= " ! Error Description: {$error} in {$file} on line {$line}"; ! if ($dberrno != 0) { ! $specifics .= " ! DB Error Number: {$dberrno} ! DB Error: {$dberror} ! Last Query: {$lastquery}"; ! } ! ! if ($NO_ADD_BUG) { ! echo "<br /><div class=\"error\"><h2>Error:</h2><dl>"; ! echo "<dt>Details:</dt><dd><pre>"; ! echo $details; ! echo "</pre></dd>\n"; ! echo "<dt>Specifics:</dt><dd><pre>"; ! echo $specifics; ! echo "</pre></dd>\n"; ! echo "<dt>Backtrace:</dt><dd><pre>"; ! debug_print_backtrace(); ! echo "</pre></dd>\n"; ! echo "</dl>"; ! echo "</div>"; ! } else { ! // Notify the appropriate local contact ! mail($ogMailNotify, "$error in $file on line $line", "Error Description: $error in $file on line $line ! ! There is additional information regarding this bug stored on ! the openFIRST Bugzilla Server at: ! ! http://bugzilla.openfirst.org/", "From: $mailfrom"); ! ! // Attempt to contact the openFIRST Bugzilla Server ! $bugzilla = fopen("http://bugzilla.openfirst.org/openfirst/"."?module=$currentmodule"."&uri=".urlencode($_SERVER["HTTP_HOST"].$_SERVER["SCRIPT_NAME"])."&details=".urlencode($details)."&specifics=".urlencode($specifics). ($NO_ADD_BUG ? "&no-commit=true" : ""), "r"); ! ! if (!$bugzilla) { ! // If a connection cannot be established to the Bugzilla server ! echo ("Could not contact the openFIRST Bugzilla server."); ! echo ("<h3><strong>$errno</strong> - <strong>$error</strong> in ! <strong>$file</strong> on line <strong>$line</strong></h3> ! <p><strong>The openFIRST system has encountered an error. This ! may be due to a misconfiguration on the behalf of the person installing it, ! or an error in the openFIRST code.</strong></p> ! <p>Debugging may be disabled by removing (config/functions/debug.php)"); ! ! } else { ! // If a connection is established to the Bugzilla server then rely ! // completely on it for the appropriate error message to show. ! while (!feof($bugzilla)) { ! $line = fgets($bugzilla, 2048); ! echo $line; ! } ! } ! } ! } ! ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2006-02-23 16:58:40
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5931/config Modified Files: openfirst.info.xml Log Message: Removed includes Index: openfirst.info.xml =================================================================== RCS file: /cvsroot/openfirst/base/config/openfirst.info.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** openfirst.info.xml 19 Oct 2005 04:18:44 -0000 1.7 --- openfirst.info.xml 23 Feb 2006 16:58:32 -0000 1.8 *************** *** 1,103 **** ! <?xml version="1.0"?> ! <module xmlns="http://openfirst.org/xml/module/1.0" id="openfirst.base"> ! <!-- NOTE: This file defines the basic DB layout when installing or upgrading. ! openfirst.base is a psuedo-module for the oF core. --> ! <name>openFIRST portal system</name> ! <version>CVS</version> ! <author>The openFIRST Team</author> ! ! <includes> ! <include>$fBasePath/includes/settings.php</include> ! <include>$fBasePath/includes/slug.php</include> ! </includes> ! ! <!-- Database setup --> ! <db> ! <table name="config"> ! <fields> ! <!--field name="c_id" null="no" autoincrement="yes"><type unsigned="yes">int</type></field--> ! <field name="modulename" null="no"><type length="25">varchar</type> <default></default></field> ! <field name="dir" null="no"><type length="25">varchar</type></field> ! <field name="UpdateDate" null="no"><type>datetime</type></field> ! <field name="label" ><type length="25">varchar</type></field> ! <field name="Author" ><type>tinytext</type></field> ! <field name="Maintainer" ><type>tinytext</type></field> ! <field name="version" null="no"><type length="10">varchar</type> <default>CVS</default></field> ! <field name="showonmenu" null="no"><type>BOOL</type> <default>0</default></field> ! <field name="active" null="no"><type>BOOL</type> <default>0</default></field> ! <field name="adminnavigation" ><type>text</type></field> ! <field name="modulenavigation" ><type>text</type></field> ! <field name="includes" ><type>text</type></field> ! </fields> ! <keys> ! <key type="primary"> ! <col>dir</col> ! </key> ! </keys> ! </table> ! ! <table name="members"> ! <fields> ! <!--field name="m_id" null="no" autoincrement="yes"><type unsigned="yes">int</type></field--> ! <field name="user" null="no"><type length="128">varchar</type></field> ! <field name="firstname"><type>tinytext</type></field> ! <field name="lastname"><type>tinytext</type></field> ! <field name="lastseen"><type>datetime</type></field> ! <field name="ip"><type>tinytext</type></field> ! <field name="password"><type>text</type></field> ! <field name="authcode"><type>text</type></field> ! <field name="membertype"><type>tinytext</type></field> ! <field name="division"><type>tinytext</type></field> ! <field name="year"><type>year</type></field> ! <field name="email"><type>text</type></field> ! <field name="icq"><type length="11">int</type></field> ! <field name="aim"><type>tinytext</type></field> ! <field name="msn"><type>tinytext</type></field> ! <field name="yim"><type>tinytext</type></field> ! <field name="jabber"><type>tinytext</type></field> ! <field name="description"><type>text</type></field> ! <field name="signature"><type>tinytext</type></field> ! <field name="dateregistered"><type>datetime</type></field> ! <field name="picturelocation"><type>tinytext</type></field> ! <field name="team"><type length="11">int</type></field> ! <field name="skills"><type>text</type></field> ! </fields> ! <keys> ! <key name="user" type="unique"> ! <col>user</col> ! </key> ! </keys> ! </table> ! ! <table name="sitesettings"> ! <fields> ! <field name="ss_module" null="no"><type unsigned="yes">int</type></field> ! <field name="ss_setting" null="no"><type length="25">varchar</type></field> ! <field name="ss_value"><type>longtext</type><default></default></field> ! </fields> ! <keys> ! <key name="PRIMARY"> ! <col>ss_module</col> ! <col>ss_setting</col> ! </key> ! </keys> ! </table> ! ! <table name="usersettings"> ! <fields> ! <field name="us_user" null="no"><type unsigned="yes">int</type></field> ! <field name="us_module" null="no"><type unsigned="yes">int</type></field> ! <field name="us_setting" null="no"><type length="25">varchar</type></field> ! <field name="us_value"><type>longtext</type><default></default></field> ! </fields> ! <keys> ! <key name="PRIMARY"> ! <col>us_user</col> ! <col>us_module</col> ! <col>us_setting</col> ! </key> ! </keys> ! </table> ! ! </db> ! </module> --- 1,101 ---- ! <?xml version="1.0"?> ! <module xmlns="http://openfirst.org/xml/module/1.0" id="openfirst.base"> ! <!-- NOTE: This file defines the basic DB layout when installing or upgrading. ! openfirst.base is a psuedo-module for the oF core. --> ! <name>openFIRST portal system</name> ! <version>CVS</version> ! <author>The openFIRST Team</author> ! ! <includes> ! </includes> ! ! <!-- Database setup --> ! <db> ! <table name="config"> ! <fields> ! <!--field name="c_id" null="no" autoincrement="yes"><type unsigned="yes">int</type></field--> ! <field name="modulename" null="no"><type length="25">varchar</type> <default></default></field> ! <field name="dir" null="no"><type length="25">varchar</type></field> ! <field name="UpdateDate" null="no"><type>datetime</type></field> ! <field name="label" ><type length="25">varchar</type></field> ! <field name="Author" ><type>tinytext</type></field> ! <field name="Maintainer" ><type>tinytext</type></field> ! <field name="version" null="no"><type length="10">varchar</type> <default>CVS</default></field> ! <field name="showonmenu" null="no"><type>BOOL</type> <default>0</default></field> ! <field name="active" null="no"><type>BOOL</type> <default>0</default></field> ! <field name="adminnavigation" ><type>text</type></field> ! <field name="modulenavigation" ><type>text</type></field> ! <field name="includes" ><type>text</type></field> ! </fields> ! <keys> ! <key type="primary"> ! <col>dir</col> ! </key> ! </keys> ! </table> ! ! <table name="members"> ! <fields> ! <!--field name="m_id" null="no" autoincrement="yes"><type unsigned="yes">int</type></field--> ! <field name="user" null="no"><type length="128">varchar</type></field> ! <field name="firstname"><type>tinytext</type></field> ! <field name="lastname"><type>tinytext</type></field> ! <field name="lastseen"><type>datetime</type></field> ! <field name="ip"><type>tinytext</type></field> ! <field name="password"><type>text</type></field> ! <field name="authcode"><type>text</type></field> ! <field name="membertype"><type>tinytext</type></field> ! <field name="division"><type>tinytext</type></field> ! <field name="year"><type>year</type></field> ! <field name="email"><type>text</type></field> ! <field name="icq"><type length="11">int</type></field> ! <field name="aim"><type>tinytext</type></field> ! <field name="msn"><type>tinytext</type></field> ! <field name="yim"><type>tinytext</type></field> ! <field name="jabber"><type>tinytext</type></field> ! <field name="description"><type>text</type></field> ! <field name="signature"><type>tinytext</type></field> ! <field name="dateregistered"><type>datetime</type></field> ! <field name="picturelocation"><type>tinytext</type></field> ! <field name="team"><type length="11">int</type></field> ! <field name="skills"><type>text</type></field> ! </fields> ! <keys> ! <key name="user" type="unique"> ! <col>user</col> ! </key> ! </keys> ! </table> ! ! <table name="sitesettings"> ! <fields> ! <field name="ss_module" null="no"><type unsigned="yes">int</type></field> ! <field name="ss_setting" null="no"><type length="25">varchar</type></field> ! <field name="ss_value"><type>longtext</type><default></default></field> ! </fields> ! <keys> ! <key name="PRIMARY"> ! <col>ss_module</col> ! <col>ss_setting</col> ! </key> ! </keys> ! </table> ! ! <table name="usersettings"> ! <fields> ! <field name="us_user" null="no"><type unsigned="yes">int</type></field> ! <field name="us_module" null="no"><type unsigned="yes">int</type></field> ! <field name="us_setting" null="no"><type length="25">varchar</type></field> ! <field name="us_value"><type>longtext</type><default></default></field> ! </fields> ! <keys> ! <key name="PRIMARY"> ! <col>us_user</col> ! <col>us_module</col> ! <col>us_setting</col> ! </key> ! </keys> ! </table> ! ! </db> ! </module> |
From: Jamie <ast...@us...> - 2006-02-23 16:55:16
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3955/awards Modified Files: index.php Log Message: Fixes in variable names Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/index.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** index.php 30 Jun 2005 03:28:30 -0000 1.20 --- index.php 23 Feb 2006 16:55:01 -0000 1.21 *************** *** 1,103 **** ! <?php ! /* ! * openFIRST.awards - index.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: David Di Biase <dav...@ea...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! include_once("../includes/globals.php"); ! include_once($Header); ! ! $where = array(); ! if (isset($_REQUEST['id'])) { ! $where[] = $ogDB->quoteField('ID').'='.$ogDB->quoteData($_REQUEST['id']); ! } ! if (isset($_REQUEST['name'])) { ! $where[] = $ogDB->quoteField('AwardName').'='.$ogDB->quoteData($_REQUEST['name']); ! } ! if (isset($_REQUEST['event'])) { ! $where[] = $ogDB->quoteField('Event').'='.$ogDB->quoteData($_REQUEST['event']); ! } ! if (isset($_REQUEST['date'])) { ! $where[] = $ogDB->quoteField('Date').'='.$ogDB->quoteData($_REQUEST['date']); ! } ! if (isset($_REQUEST['recipient'])) { ! $where[] = $ogDB->quoteField('Recipient').'='.$ogDB->quoteData($_REQUEST['recipient']); ! } ! if (isset($_REQUEST['image'])) { ! $where[] = $ogDB->quoteField('Image').'='.$ogDB->quoteData($_REQUEST['image']); ! } ! if (isset($_REQUEST['first'])) { ! $firstarg = trim($_REQUEST['first']); ! if (strcasecmp($firstarg, 'yes') == 0 || strcasecmp($firstarg, 'y') == 0 || strcasecmp($firstarg, 1) == 0 || strcasecmp($firstarg, 'true' ) == 0) $first = true; ! if (strcasecmp($firstarg, 'no' ) == 0 || strcasecmp($firstarg, 'n') == 0 || strcasecmp($firstarg, 0) == 0 || strcasecmp($firstarg, 'false') == 0) $first = false; ! $where[] = $ogDB->quoteField('FIRSTAward').'='.$ogDB->quoteData($first); ! } ! ! ! // Query database for award information ! $sql = 'SELECT * FROM '.$ogDB->quoteTable('awards'). ! ((count($where) > 0) ? ' WHERE '.implode(' OR ', $where) : ''). ! ' ORDER BY '.$ogDB->quoteField('Date').' DESC'; ! $query = $ogDB->query($sql); ! if ($query === false) { ! echo $ogDB->errorNumber().': '.$ogDB->errorString().'<br />'; ! var_dump($sql); ! } ! $amount = $ogDB->numberOfRows($query); ! ?> ! <h1>Team Awards</h1> ! <p>This team has won <b><?php echo $amount; ?></b> award(s)<?php if (count($where) > 0) echo ' that fit the criteria'; ?>.</p> ! <?php ! // If more then one award is present then show the values ! if($amount > 0) { ! ?> ! <table> ! <tr> ! <th colspan="2">Award Name</th> ! <th>Event</th> ! <th>Date</th> ! <th>Recipient</th> ! </tr> ! <?php ! // Loop through awards ordered by date ! while($awards = $ogDB->fetchObject($query)){ ! ?> ! <tr valign="top"> ! <td> ! <img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>" /> ! <?php if ($awards->FIRSTAward) { ?><img src="awardsfirst.gif" /><?php } ?> ! </td> ! <td> ! <h3><?php echo $awards->AwardName; ?></h3> ! <p><?php echo $awards->Description; ?></p> ! </td> ! <td><?php echo $awards->Event; ?></td> ! <td><?php echo $awards->Date; ?></td> ! <td><?php echo $awards->Recipient; ?></td> ! </tr> ! <?php } ?> ! </table> ! ! <?php ! } ! $ogDB->freeResult($query); ! ! include_once($Footer); ! ?> --- 1,103 ---- ! <?php ! /* ! * openFIRST.awards - index.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: David Di Biase <dav...@ea...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! include_once("../includes/globals.php"); ! include_once($ogHeader); ! ! $where = array(); ! if (isset($_REQUEST['id'])) { ! $where[] = $ogDB->quoteField('ID').'='.$ogDB->quoteData($_REQUEST['id']); ! } ! if (isset($_REQUEST['name'])) { ! $where[] = $ogDB->quoteField('AwardName').'='.$ogDB->quoteData($_REQUEST['name']); ! } ! if (isset($_REQUEST['event'])) { ! $where[] = $ogDB->quoteField('Event').'='.$ogDB->quoteData($_REQUEST['event']); ! } ! if (isset($_REQUEST['date'])) { ! $where[] = $ogDB->quoteField('Date').'='.$ogDB->quoteData($_REQUEST['date']); ! } ! if (isset($_REQUEST['recipient'])) { ! $where[] = $ogDB->quoteField('Recipient').'='.$ogDB->quoteData($_REQUEST['recipient']); ! } ! if (isset($_REQUEST['image'])) { ! $where[] = $ogDB->quoteField('Image').'='.$ogDB->quoteData($_REQUEST['image']); ! } ! if (isset($_REQUEST['first'])) { ! $firstarg = trim($_REQUEST['first']); ! if (strcasecmp($firstarg, 'yes') == 0 || strcasecmp($firstarg, 'y') == 0 || strcasecmp($firstarg, 1) == 0 || strcasecmp($firstarg, 'true' ) == 0) $first = true; ! if (strcasecmp($firstarg, 'no' ) == 0 || strcasecmp($firstarg, 'n') == 0 || strcasecmp($firstarg, 0) == 0 || strcasecmp($firstarg, 'false') == 0) $first = false; ! $where[] = $ogDB->quoteField('FIRSTAward').'='.$ogDB->quoteData($first); ! } ! ! ! // Query database for award information ! $sql = 'SELECT * FROM '.$ogDB->quoteTable('awards'). ! ((count($where) > 0) ? ' WHERE '.implode(' OR ', $where) : ''). ! ' ORDER BY '.$ogDB->quoteField('Date').' DESC'; ! $query = $ogDB->query($sql); ! if ($query === false) { ! echo $ogDB->errorNumber().': '.$ogDB->errorString().'<br />'; ! var_dump($sql); ! } ! $amount = $ogDB->numberOfRows($query); ! ?> ! <h1>Team Awards</h1> ! <p>This team has won <b><?php echo $amount; ?></b> award(s)<?php if (count($where) > 0) echo ' that fit the criteria'; ?>.</p> ! <?php ! // If more then one award is present then show the values ! if($amount > 0) { ! ?> ! <table> ! <tr> ! <th colspan="2">Award Name</th> ! <th>Event</th> ! <th>Date</th> ! <th>Recipient</th> ! </tr> ! <?php ! // Loop through awards ordered by date ! while($awards = $ogDB->fetchObject($query)){ ! ?> ! <tr valign="top"> ! <td> ! <img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>" /> ! <?php if ($awards->FIRSTAward) { ?><img src="awardsfirst.gif" /><?php } ?> ! </td> ! <td> ! <h3><?php echo $awards->AwardName; ?></h3> ! <p><?php echo $awards->Description; ?></p> ! </td> ! <td><?php echo $awards->Event; ?></td> ! <td><?php echo $awards->Date; ?></td> ! <td><?php echo $awards->Recipient; ?></td> ! </tr> ! <?php } ?> ! </table> ! ! <?php ! } ! $ogDB->freeResult($query); ! ! include_once($ogFooter); ! ?> |
From: Jamie <ast...@us...> - 2006-02-23 16:55:15
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3955/awards/admin Modified Files: index.php Log Message: Fixes in variable names Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** index.php 22 Nov 2005 16:37:09 -0000 1.26 --- index.php 23 Feb 2006 16:55:00 -0000 1.27 *************** *** 24,28 **** include_once("../../includes/globals.php"); $ogUser->mustBeAdmin(); ! include_once($Header); // Check if user is an admin then allow processes --- 24,28 ---- include_once("../../includes/globals.php"); $ogUser->mustBeAdmin(); ! include_once($ogHeader); // Check if user is an admin then allow processes *************** *** 102,105 **** --- 102,107 ---- if ($firstaward) { $faq = $ogDB->select('awards', '*', array('AwardName' => $firstawardname)); + if ($ogDB->rowCount($faq) <= 0) + die('Error in getting award:'.$ogDB->errorNumber().': '.$ogDB->errorString()); $fa = $ogDB->fetchObject($faq); $award = $fa->AwardName; *************** *** 290,293 **** <br /> <?php ! include_once($Footer); ?> --- 292,295 ---- <br /> <?php ! include_once($ogFooter); ?> |
From: Jamie <ast...@us...> - 2006-02-23 16:53:46
|
Update of /cvsroot/openfirst/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3271/modules Modified Files: export.php extended.php index.php info.php Log Message: Fixes, typos Index: extended.php =================================================================== RCS file: /cvsroot/openfirst/modules/extended.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** extended.php 12 Sep 2005 01:40:50 -0000 1.1 --- extended.php 23 Feb 2006 16:53:40 -0000 1.2 *************** *** 59,63 **** /*** Columns ***/ echo '<table class="table-columns"> ! <cpation>Columns</caption> <thead> <tr> --- 59,63 ---- /*** Columns ***/ echo '<table class="table-columns"> ! <caption>Columns</caption> <thead> <tr> *************** *** 135,139 **** if (count($table->getKeys()) >= 1) { echo '<table class="table-keys"> ! <cpation>Keys</caption> <thead> <tr> --- 135,139 ---- if (count($table->getKeys()) >= 1) { echo '<table class="table-keys"> ! <caption>Keys</caption> <thead> <tr> *************** *** 177,181 **** $cols = $table->getCols(); echo '<table class="table-data"> ! <cpation>Data</caption> <thead> <tr>'; --- 177,181 ---- $cols = $table->getCols(); echo '<table class="table-data"> ! <caption>Data</caption> <thead> <tr>'; *************** *** 217,221 **** ENDSTYLESHEET; ! include($Header); if (count($dirs) < 1) { ?> --- 217,221 ---- ENDSTYLESHEET; ! include($ogHeader); if (count($dirs) < 1) { ?> *************** *** 313,316 **** } echo '</div>'; ! include($Footer); ?> \ No newline at end of file --- 313,316 ---- } echo '</div>'; ! include($ogFooter); ?> \ No newline at end of file Index: export.php =================================================================== RCS file: /cvsroot/openfirst/modules/export.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** export.php 23 Aug 2005 18:22:19 -0000 1.5 --- export.php 23 Feb 2006 16:53:40 -0000 1.6 *************** *** 1,93 **** ! <?php ! /* ! * openFIRST.modules - export.php ! * ! * Copyright (C) 2005, ! * openFIRST Project ! * Original Author: Jamie Bliss <ja...@op...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! require_once("../includes/globals.php"); ! ! include_once($Header); ! ?> ! <p class="into">This takes module info in the database and generates XML for it. Note that it does ! <strong>not</strong> include table information.</p> ! ! <dl> ! <?php ! foreach($ogModuleManager->getDirs() as $moddir) { ! $mod = $ogModuleManager->addModuleFromDir($moddir); ! ! $id = $mod->getID(); ! $name = $mod->getName(); ! $version = $mod->getVersion(); ! $includes = $mod->getIncludes(); ! $adminbar = $mod->getAdminBar(); ! $navbar = $mod->getNavBar(); ! $author = $mod->getAuthor(); ! $maintainer = $mod->getMaintainer(); ! $dir = $mod->getDir(); ! ! $XMLCode = '<module id="'.htmlspecialchars($id).'"> ! <name>'.htmlspecialchars($name).'</name> ! <version>'.htmlspecialchars($version).'</version> ! <author>'.htmlspecialchars($author).'</author> ! '; ! ! if ($maintainer != '') ! $XMLCode .= ' <maintainer>'.htmlspecialchars($maintainer).'</maintainer> ! '; ! ! if (count($includes) > 0) { ! $XMLCode .= ' <includes> ! '; ! foreach($includes as $inc) { ! $XMLCode .= ' <include>'; ! $XMLCode .= htmlspecialchars($inc); ! $XMLCode .= '</include> ! '; ! } ! } ! ! if ($adminbar != '') ! $XMLCode .= ' <adminbar><![CDATA['.$adminbar.']]></adminbar> ! '; ! if ($navbar != '') ! $XMLCode .= ' <navbar><![CDATA['.$navbar.']]></navbar> ! '; ! $XMLCode .= '</module>'; ! ! if (isset($_REQUEST['save'])) { ! $save_len = file_put_contents("$fBasePath/$dir/openfirst.info.xml", $XMLCode); ! } ! ! ?><dt style="font-weight:bold;"><h2><?php echo htmlentities($name); ?></h2><?php ! if (isset($_REQUEST['save'])) { ! echo htmlentities("$save_len / ".strlen($PHPCode)); ! } ! ?></dt><dd> ! <textarea class="code xml" readonly="readonly" rows="18" cols="75"><?php ! ! echo htmlentities($XMLCode); ! ?></textarea></dd><?php ! } ! ?> ! </dl> ! <?php ! include_once($Footer); ! ?> --- 1,93 ---- ! <?php ! /* ! * openFIRST.modules - export.php ! * ! * Copyright (C) 2005, ! * openFIRST Project ! * Original Author: Jamie Bliss <ja...@op...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! require_once("../includes/globals.php"); ! ! include_once($ogHeader); ! ?> ! <p class="into">This takes module info in the database and generates XML for it. Note that it does ! <strong>not</strong> include table information.</p> ! ! <dl> ! <?php ! foreach($ogModuleManager->getDirs() as $moddir) { ! $mod = $ogModuleManager->addModuleFromDir($moddir); ! ! $id = $mod->getID(); ! $name = $mod->getName(); ! $version = $mod->getVersion(); ! $includes = $mod->getIncludes(); ! $adminbar = $mod->getAdminBar(); ! $navbar = $mod->getNavBar(); ! $author = $mod->getAuthor(); ! $maintainer = $mod->getMaintainer(); ! $dir = $mod->getDir(); ! ! $XMLCode = '<module id="'.htmlspecialchars($id).'"> ! <name>'.htmlspecialchars($name).'</name> ! <version>'.htmlspecialchars($version).'</version> ! <author>'.htmlspecialchars($author).'</author> ! '; ! ! if ($maintainer != '') ! $XMLCode .= ' <maintainer>'.htmlspecialchars($maintainer).'</maintainer> ! '; ! ! if (count($includes) > 0) { ! $XMLCode .= ' <includes> ! '; ! foreach($includes as $inc) { ! $XMLCode .= ' <include>'; ! $XMLCode .= htmlspecialchars($inc); ! $XMLCode .= '</include> ! '; ! } ! } ! ! if ($adminbar != '') ! $XMLCode .= ' <adminbar><![CDATA['.$adminbar.']]></adminbar> ! '; ! if ($navbar != '') ! $XMLCode .= ' <navbar><![CDATA['.$navbar.']]></navbar> ! '; ! $XMLCode .= '</module>'; ! ! if (isset($_REQUEST['save'])) { ! $save_len = file_put_contents("$fBasePath/$dir/openfirst.info.xml", $XMLCode); ! } ! ! ?><dt style="font-weight:bold;"><h2><?php echo htmlentities($name); ?></h2><?php ! if (isset($_REQUEST['save'])) { ! echo htmlentities("$save_len / ".strlen($PHPCode)); ! } ! ?></dt><dd> ! <textarea class="code xml" readonly="readonly" rows="18" cols="75"><?php ! ! echo htmlentities($XMLCode); ! ?></textarea></dd><?php ! } ! ?> ! </dl> ! <?php ! include_once($ogFooter); ! ?> Index: info.php =================================================================== RCS file: /cvsroot/openfirst/modules/info.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** info.php 26 May 2005 23:27:30 -0000 1.4 --- info.php 23 Feb 2006 16:53:40 -0000 1.5 *************** *** 84,88 **** ); ! include_once($Header); ?><html> <form method="post" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" enctype="multipart/form-data"> --- 84,88 ---- ); ! include_once($ogHeader); ?><html> <form method="post" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" enctype="multipart/form-data"> *************** *** 173,176 **** } ! include_once($Footer); ?> --- 173,176 ---- } ! include_once($ogFooter); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/modules/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 12 Sep 2005 01:40:50 -0000 1.6 --- index.php 23 Feb 2006 16:53:40 -0000 1.7 *************** *** 33,37 **** } ! include($Header); ?> <p class="intro">Below is a table showing the modules available in this installation. The data is loaded from the <tt class="file">openfirst.info.xml</tt> file distrubuted with each module. --- 33,37 ---- } ! include($ogHeader); ?> <p class="intro">Below is a table showing the modules available in this installation. The data is loaded from the <tt class="file">openfirst.info.xml</tt> file distrubuted with each module. *************** *** 145,148 **** </table> <?php ! include($Footer); ?> \ No newline at end of file --- 145,148 ---- </table> <?php ! include($ogFooter); ?> \ No newline at end of file |
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26737/includes Modified Files: MSSQLDataBase.php Skin.php User.php dbase.php functions.php globals.php sitesettings.tpl xmlModule.php Log Message: - Many various bugfixes - Added type aliases to DB - Login/logout pages (login a little buggy) Index: xmlModule.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/xmlModule.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** xmlModule.php 24 Nov 2005 01:34:23 -0000 1.11 --- xmlModule.php 23 Feb 2006 16:38:47 -0000 1.12 *************** *** 537,541 **** if (is_array($value)) { ! $vals = array_combine($values, $values); } else { $vals = array((string)$value => (string)$value); --- 537,541 ---- if (is_array($value)) { ! $vals = array_combine($value, $value); } else { $vals = array((string)$value => (string)$value); *************** *** 693,697 **** function addCol($value) { if (is_array($value)) { ! $vals = array_combine($values, $values); $this->mCols = $vals + $this->mCols; // Union operator won't overwrite values } else { --- 693,697 ---- function addCol($value) { if (is_array($value)) { ! $vals = array_combine($value, $value); $this->mCols = $vals + $this->mCols; // Union operator won't overwrite values } else { Index: sitesettings.tpl =================================================================== RCS file: /cvsroot/openfirst/base/includes/sitesettings.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** sitesettings.tpl 22 Nov 2005 16:15:35 -0000 1.6 --- sitesettings.tpl 23 Feb 2006 16:38:47 -0000 1.7 *************** *** 12,16 **** $ogSiteTitle = %TITLE%; ! $Version = %VER%; $ogSQLServer = %DBSERVER%; --- 12,16 ---- $ogSiteTitle = %TITLE%; ! $ogVersion = %VER%; $ogSQLServer = %DBSERVER%; *************** *** 29,35 **** $StylePath = "$BasePath/style"; $fStylePath = "$fBasePath/style"; ! $Header = %HEADER%; ! $Footer = %FOOTER%; ! $MailNotify = %MASTERMAIL%; ! $MailFrom = %BOTMAIL%; ?> \ No newline at end of file --- 29,35 ---- $StylePath = "$BasePath/style"; $fStylePath = "$fBasePath/style"; ! $ogHeader = %HEADER%; ! $ogFooter = %FOOTER%; ! $ogMailNotify = %MASTERMAIL%; ! $ogMailFrom = %BOTMAIL%; ?> \ No newline at end of file Index: functions.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/functions.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** functions.php 23 Nov 2005 22:00:25 -0000 1.15 --- functions.php 23 Feb 2006 16:38:47 -0000 1.16 *************** *** 227,231 **** ofFixMagicQuotes($_GET); ofFixMagicQuotes($_POST); ! ofFixMagicQuotes($_COOKIES); } } --- 227,231 ---- ofFixMagicQuotes($_GET); ofFixMagicQuotes($_POST); ! ofFixMagicQuotes($_COOKIE); } } Index: User.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/User.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** User.php 22 Nov 2005 16:25:39 -0000 1.3 --- User.php 23 Feb 2006 16:38:47 -0000 1.4 *************** *** 138,145 **** function mustBeAdmin() { if (!$this->isAdmin()) { ! global $Header, $Footer; ! include_once($Header); ofShowLogin(); ! include($Footer); die; } --- 138,145 ---- function mustBeAdmin() { if (!$this->isAdmin()) { ! global $ogHeader, $ogFooter; ! include_once($ogHeader); ofShowLogin(); ! include($ogFooter); die; } *************** *** 619,623 **** function hasScreenName($medium) { ! return in_array($medium, $this->mScreenNames) && $this->mScreenNames[$mediums] != ''; } --- 619,623 ---- function hasScreenName($medium) { ! return in_array($medium, $this->mScreenNames) && $this->mScreenNames[$medium] != ''; } Index: MSSQLDataBase.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/MSSQLDataBase.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MSSQLDataBase.php 22 Nov 2005 03:32:42 -0000 1.3 --- MSSQLDataBase.php 23 Feb 2006 16:38:47 -0000 1.4 *************** *** 59,63 **** // <http://us3.php.net/manual/en/function.mssql-get-last-message.php#53572> $sql = "select @@ERROR as code"; ! $result = mssql_query($sql, $con); $row = mssql_fetch_array($result); $code = $row["code"]; // error code --- 59,63 ---- // <http://us3.php.net/manual/en/function.mssql-get-last-message.php#53572> $sql = "select @@ERROR as code"; ! $result = mssql_query($sql, $this->connection); $row = mssql_fetch_array($result); $code = $row["code"]; // error code *************** *** 69,73 **** // <http://us3.php.net/manual/en/function.mssql-get-last-message.php#53572> $sql = "select @@ERROR as code"; ! $result = mssql_query($sql, $con); $row = mssql_fetch_array($result); $code = $row["code"]; // error code --- 69,73 ---- // <http://us3.php.net/manual/en/function.mssql-get-last-message.php#53572> $sql = "select @@ERROR as code"; ! $result = mssql_query($sql, $this->connection); $row = mssql_fetch_array($result); $code = $row["code"]; // error code *************** *** 83,87 **** */ $sql = "SELECT CAST(description AS varchar(255)) AS errtxt FROM master.dbo.sysmessages WHERE error=$code AND msglangid=$lang"; ! $result = mssql_query($sql, $con); $row = mssql_fetch_array($result); if ($row) { --- 83,87 ---- */ $sql = "SELECT CAST(description AS varchar(255)) AS errtxt FROM master.dbo.sysmessages WHERE error=$code AND msglangid=$lang"; ! $result = mssql_query($sql, $this->connection); $row = mssql_fetch_array($result); if ($row) { Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/globals.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** globals.php 23 Nov 2005 21:52:26 -0000 1.23 --- globals.php 23 Feb 2006 16:38:47 -0000 1.24 *************** *** 45,51 **** if (defined('OPENFIRST_NO_INSTALLATION')) { if(is_readable("style/headers.php")) { ! $Header = "style/headers.php"; } else { ! $Header = "../style/headers.php"; } } --- 45,51 ---- if (defined('OPENFIRST_NO_INSTALLATION')) { if(is_readable("style/headers.php")) { ! $ogHeader = "style/headers.php"; } else { ! $ogHeader = "../style/headers.php"; } } Index: dbase.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/dbase.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** dbase.php 25 Nov 2005 18:15:03 -0000 1.18 --- dbase.php 23 Feb 2006 16:38:47 -0000 1.19 *************** *** 51,55 **** */ class DataBase { ! /*private*/ var $type, $connection, $lastquery, $db, $prefix; // Wrapper for database selection. function DataBase($type = dbUNKNOWN, $server = '', $username = '', $password = '', $newlink = '', $flags = '') { --- 51,55 ---- */ class DataBase { ! /*private*/ var $type, $connection, $lastquery, $db, $prefix, $overrides; // Wrapper for database selection. function DataBase($type = dbUNKNOWN, $server = '', $username = '', $password = '', $newlink = '', $flags = '') { *************** *** 57,60 **** --- 57,63 ---- global $sqlTablePrefix; $this->prefix = $sqlTablePrefix; + $this->overrides = array( + 'datetime' => 'int' + ); } *************** *** 541,544 **** --- 544,550 ---- } $type = $col->getType(); + if (in_array(strtolower($type), $this->overrides)) { + $type = $this->overrides[strtolower($type)]; + } if ($type == 'SET' || $type == 'ENUM') { $type .= '('.$this->quoteData($col->getValues()).')'; *************** *** 641,644 **** --- 647,651 ---- $sql .= implode(",\n", $cols + $keys); $sql .= ')'; + var_dump($sql); $this->query($sql); } Index: Skin.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/Skin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Skin.php 30 Jun 2005 02:27:16 -0000 1.1 --- Skin.php 23 Feb 2006 16:38:47 -0000 1.2 *************** *** 1,48 **** ! <?php ! /* ! * openFIRST.base - includes/Skin.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Jamie Bliss <ja...@op...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Defines the Skin class, which handles skinning openFIRST. ! ! class Skin { ! ! /*private*/ var $title; ! ! /*public*/ function getTitle() { ! return $this->title; ! } ! ! /*public*/ function setTitle($title) { ! $this->title = $title; ! } ! ! /*public*/ function getSlugText($slug) { ! } ! ! /*public*/ function outputHeader() { ! } ! ! ! /*public*/ function outputFooter() { ! } ! } ! ?> --- 1,48 ---- ! <?php ! /* ! * openFIRST.base - includes/Skin.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Jamie Bliss <ja...@op...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Defines the Skin class, which handles skinning openFIRST. ! ! class Skin { ! ! /*private*/ var $title; ! ! /*public*/ function getTitle() { ! return $this->title; ! } ! ! /*public*/ function setTitle($title) { ! $this->title = $title; ! } ! ! /*public*/ function getSlugText($slug) { ! } ! ! /*public*/ function outputHeader() { ! } ! ! ! /*public*/ function outputFooter() { ! } ! } ! ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2006-02-23 16:38:54
|
Update of /cvsroot/openfirst/base/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26737/style Modified Files: headers.php slugs.css Log Message: - Many various bugfixes - Added type aliases to DB - Login/logout pages (login a little buggy) Index: slugs.css =================================================================== RCS file: /cvsroot/openfirst/base/style/slugs.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** slugs.css 12 Dec 2005 03:01:53 -0000 1.1 --- slugs.css 23 Feb 2006 16:38:48 -0000 1.2 *************** *** 3,6 **** --- 3,11 ---- float: left; /* Set font size, etc. to normal */ + /* border: solid red; + padding: .1em;*/ + } + .slug > * { + vertical-align: middle; } .slug > img { *************** *** 11,14 **** --- 16,23 ---- display: none; border: thin solid silver; + height: 15px; /* Change with image */ + line-height: 15px; + margin-left: 2px; + padding: 0 2px; } /*.slug > img:active + span, Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/style/headers.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** headers.php 12 Dec 2005 03:01:53 -0000 1.14 --- headers.php 23 Feb 2006 16:38:48 -0000 1.15 *************** *** 52,56 **** <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($StylePath); ?>/style.css" /> <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($StylePath); ?>/slugs.css" /> ! <script type="application/x-javascript" src="<?php echo htmlentities($StylePath); ?>/slugs.js" /> <?php if (isset($ogMoreHeadItems) && is_array($ogMoreHeadItems)) { --- 52,56 ---- <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($StylePath); ?>/style.css" /> <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($StylePath); ?>/slugs.css" /> ! <script type="application/x-javascript" src="<?php echo htmlentities($StylePath); ?>/slugs.js"></script> <?php if (isset($ogMoreHeadItems) && is_array($ogMoreHeadItems)) { |
From: Jamie <ast...@us...> - 2006-02-23 16:38:53
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26737/config Modified Files: first.php index.php install.php modules.php version.php Log Message: - Many various bugfixes - Added type aliases to DB - Login/logout pages (login a little buggy) Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** first.php 23 Nov 2005 18:29:54 -0000 1.68 --- first.php 23 Feb 2006 16:38:47 -0000 1.69 *************** *** 108,112 **** $base = xmlModule::createFromFile(dirname(__FILE__).'/openfirst.info.xml'); ! include_once($Header); // This a series of statements, each of which are executed. If an error condition occurs, that // branch is ran. --- 108,112 ---- $base = xmlModule::createFromFile(dirname(__FILE__).'/openfirst.info.xml'); ! include_once($ogHeader); // This a series of statements, each of which are executed. If an error condition occurs, that // branch is ran. *************** *** 131,135 **** echo '<p class="big">Continue to the <a href="'.htmlentities($BasePath).'/config/">administration page</a>.</p>'; } ! include_once($Footer); die; } else { --- 131,135 ---- echo '<p class="big">Continue to the <a href="'.htmlentities($BasePath).'/config/">administration page</a>.</p>'; } ! include_once($ogFooter); die; } else { Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** install.php 19 Oct 2005 04:17:09 -0000 1.28 --- install.php 23 Feb 2006 16:38:47 -0000 1.29 *************** *** 1,127 **** ! <?php ! /* ! * openFIRST.base - config/install.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: set up OpenFIRST modules ! ! include_once("../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include_once('xmlModule.php'); ! include_once($Header); ! ! ini_set("max_execution_time", 600); // Bypass problem of timeouts when many modules are installed ! // 10 minutes should be sufficient, even for remote database servers ! ! ?> ! ! <h1>Module Installer</h1> ! <p>This utility will create the tables required for certain openFIRST components ! to run.<br /> ! Select the modules you would like to install.<br /> ! <br /> ! <span style="color:red;">Once installed, modules must be enabled from the <a href="modules.php"><strong>Module ! Administrator</strong></a>.</span></p> ! ! <?php ! ! $InstalledModules = $ogModuleManager->getDirs(); ! ! $Modules = array(); ! ! $files = glob("$fBasePath/*/openfirst.info.xml"); ! if (count($files) < 1) { ! ?> ! <p class="error">You have no modules to install or are misconfigured. You can go to <a href="http://www.openfirst.org/">openFIRST.org</a> ! to download them.</p> ! <?php ! include($Footer); ! die(); ! } ! ! foreach($files as $file) { ! $mod = xmlModule::createFromFile($file); ! $Modules[$mod->getDir()] = $mod; ! } ! ! ?> ! <form method="post" action="install.php"> ! <table id="moduleInstall"> ! <colgroup> ! <col /> ! <col /> ! <col class="file" /> ! </colgroup> ! <colgroup> ! <col /> ! </colgroup> ! <thead> ! <tr><th colspan="3">Module</th><th>Status</th></tr> ! </thead> ! <tbody> ! <?php ! ! # Get the meta data ! foreach($Modules as $mod) { ! if ($mod->isBase()) { ! // Hide openfirst.base ! continue; ! } ! ! $dir = $mod->getDir(); ! ! $WasInstalled = $IsInstalled = in_array($dir, $InstalledModules); ! $InstallFailed = $UpgradeFailed = false; ! if(isset($_POST[$dir]) && $_POST[$dir] == "on" && !$IsInstalled) { ! if (($err = $mod->install()) === true) { ! $IsInstalled = true; ! } else { ! $InstallFailed = true; ! } ! } ! echo '<tr><td><input type="checkbox" name="'.htmlentities($dir).'" '; ! if ($IsInstalled) echo 'checked="checked" '; ! echo '/><label for="'.htmlentities($dir).'">'.htmlentities($mod->getName()).'</label></td> ! <td>('.htmlentities($mod->getVersion()).')'.'</td> ! <td>'.htmlentities($dir)."</td>"; ! ! if ($IsInstalled && !$WasInstalled) { ! echo('<td style="background-color: lime; color:black; font-weight:bold;">Module Installation succeeded!</td></tr>'); ! } else if ($InstallFailed) { ! echo('<td style="background-color: red; color:black; font-weight:bold;">Module Installation failed:<br/>'.htmlentities($err).'</td></tr>'); ! } else if ($IsInstalled && $WasInstalled) { ! echo('<td style="background-color: green; color:white;">Module Installed</td></tr>'); ! } else { ! echo('<td style="background-color: gray; color:white;">Module available</td></tr>'); ! } ! } ! ?> ! </table> ! <br /><input type="submit" value="Install Modules" /> ! </form> ! ! <?php ! include($Footer); ?> \ No newline at end of file --- 1,127 ---- ! <?php ! /* ! * openFIRST.base - config/install.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: set up OpenFIRST modules ! ! include_once("../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include_once('xmlModule.php'); ! include_once($ogHeader); ! ! ini_set("max_execution_time", 600); // Bypass problem of timeouts when many modules are installed ! // 10 minutes should be sufficient, even for remote database servers ! ! ?> ! ! <h1>Module Installer</h1> ! <p>This utility will create the tables required for certain openFIRST components ! to run.<br /> ! Select the modules you would like to install.<br /> ! <br /> ! <span style="color:red;">Once installed, modules must be enabled from the <a href="modules.php"><strong>Module ! Administrator</strong></a>.</span></p> ! ! <?php ! ! $InstalledModules = $ogModuleManager->getDirs(); ! ! $Modules = array(); ! ! $files = glob("$fBasePath/*/openfirst.info.xml"); ! if (count($files) < 1) { ! ?> ! <p class="error">You have no modules to install or are misconfigured. You can go to <a href="http://www.openfirst.org/">openFIRST.org</a> ! to download them.</p> ! <?php ! include($Footer); ! die(); ! } ! ! foreach($files as $file) { ! $mod = xmlModule::createFromFile($file); ! $Modules[$mod->getDir()] = $mod; ! } ! ! ?> ! <form method="post" action="install.php"> ! <table id="moduleInstall"> ! <colgroup> ! <col /> ! <col /> ! <col class="file" /> ! </colgroup> ! <colgroup> ! <col /> ! </colgroup> ! <thead> ! <tr><th colspan="3">Module</th><th>Status</th></tr> ! </thead> ! <tbody> ! <?php ! ! # Get the meta data ! foreach($Modules as $mod) { ! if ($mod->isBase()) { ! // Hide openfirst.base ! continue; ! } ! ! $dir = $mod->getDir(); ! ! $WasInstalled = $IsInstalled = in_array($dir, $InstalledModules); ! $InstallFailed = $UpgradeFailed = false; ! if(isset($_POST[$dir]) && $_POST[$dir] == "on" && !$IsInstalled) { ! if (($err = $mod->install()) === true) { ! $IsInstalled = true; ! } else { ! $InstallFailed = true; ! } ! } ! echo '<tr><td><input type="checkbox" name="'.htmlentities($dir).'" '; ! if ($IsInstalled) echo 'checked="checked" '; ! echo '/><label for="'.htmlentities($dir).'">'.htmlentities($mod->getName()).'</label></td> ! <td>('.htmlentities($mod->getVersion()).')'.'</td> ! <td>'.htmlentities($dir)."</td>"; ! ! if ($IsInstalled && !$WasInstalled) { ! echo('<td style="background-color: lime; color:black; font-weight:bold;">Module Installation succeeded!</td></tr>'); ! } else if ($InstallFailed) { ! echo('<td style="background-color: red; color:black; font-weight:bold;">Module Installation failed:<br/>'.htmlentities($err).'</td></tr>'); ! } else if ($IsInstalled && $WasInstalled) { ! echo('<td style="background-color: green; color:white;">Module Installed</td></tr>'); ! } else { ! echo('<td style="background-color: gray; color:white;">Module available</td></tr>'); ! } ! } ! ?> ! </table> ! <br /><input type="submit" value="Install Modules" /> ! </form> ! ! <?php ! include($ogFooter); ?> \ No newline at end of file Index: version.php =================================================================== RCS file: /cvsroot/openfirst/base/config/version.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** version.php 26 Oct 2005 20:14:59 -0000 1.12 --- version.php 23 Feb 2006 16:38:47 -0000 1.13 *************** *** 30,34 **** include("../includes/globals.php"); $ogUser->mustBeAdmin(); ! include($Header); // Recursive glob functionality based on original code from: --- 30,34 ---- include("../includes/globals.php"); $ogUser->mustBeAdmin(); ! include($ogHeader); // Recursive glob functionality based on original code from: *************** *** 109,112 **** <?php ! include($Footer); ?> \ No newline at end of file --- 109,112 ---- <?php ! include($ogFooter); ?> \ No newline at end of file Index: modules.php =================================================================== RCS file: /cvsroot/openfirst/base/config/modules.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** modules.php 22 Nov 2005 16:21:55 -0000 1.12 --- modules.php 23 Feb 2006 16:38:47 -0000 1.13 *************** *** 30,34 **** include("../includes/globals.php"); $ogUser->mustBeAdmin(); ! include($Header); // Check if user wishes to make updates --- 30,34 ---- include("../includes/globals.php"); $ogUser->mustBeAdmin(); ! include($ogHeader); // Check if user wishes to make updates *************** *** 105,107 **** <?php ! include($Footer); ?> \ No newline at end of file --- 105,107 ---- <?php ! include($ogFooter); ?> \ No newline at end of file Index: index.php =================================================================== RCS file: /cvsroot/openfirst/base/config/index.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** index.php 19 Oct 2005 04:16:14 -0000 1.17 --- index.php 23 Feb 2006 16:38:47 -0000 1.18 *************** *** 1,104 **** ! <?php ! /* ! * openFIRST.base - config/index.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Provide a control center for configuration activities. ! ! include("../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include_once($Header); ! ! ?> ! <h1>openFIRST Configuration Area</h1> ! ! <table width="50%"> ! <tr> ! <th>Administrative Options</th> ! </tr> ! </table> ! ! <?php ! if(is_writable("$fBasePath/includes/sitesettings.php") && file_exists("$fBasePath/includes/first.php")) { ! echo "<p class='warning'><strong>Warning</strong>: Your ! <span class='file'>sitesettings.php</span> file is writable by the web user. ! Also, <span class='file'>first.php</span> is still in existance. After you ! have setup the openFIRST web portal system, it is safe to remove ! <span class='file'>first.php</span>. Removing ! <span class='file'>first.php</span> prevents the accidental reset of ! configuration information and prevents external users from altering your ! configuration. For maximal security, you should also change the filesystem ! permissions so that <span class='file'>sitesettings.php</span> is not ! writable by the web user."; ! } elseif(is_writable("$fBasePath/includes/sitesettings.php")) { ! echo "<p class='warning'><strong>Warning</strong>: Your ! <span class='file'>sitesettings.php</span> file is writable by the web user. ! For maximal security, you should change the filesystem permissions to correct ! this.</p>"; ! } ! ?> ! ! <table> ! <tr> ! <th colspan="2">Statistics</th> ! </tr> ! <tr> ! <th>Database Version</th><td> ! <?php ! // The statistics feature is loosely inspired by that of phpBB. ! echo $ogDB->getVersion(); ! ?></td> ! </tr> ! <tr> ! <th>Database Size</th><td> ! <?php ! echo $ogDB->getSize(); ! ?> ! </td> ! </tr> ! <tr><th>openFIRST Project Statistics</th><td> ! <script type='application/x-javascript' src='http://bugzilla.openfirst.org/openfirst/bugcrushers.php?style=js'></script> ! </td></tr> ! </table> ! ! <br/> ! <table width="50%"> ! <tr> ! <td valign="top"><a href="install.php">Install Modules</a></td> ! <td valign="top">Required to install several new openFIRST modules.</td> ! </tr> ! <tr> ! <td valign="top"><a href="modules.php">Module Administrator</a></td> ! <td valign="top">Required to manage openFIRST modules.</td> ! </tr> ! <tr> ! <td width="30%" valign="top"><a href="version.php">Version Check</a></td> ! <td width="70%" valign="top">Ensure that your version of the openFIRST and ! modules are up to date</td> ! </tr> ! </table> ! <?php ! include($Footer); ?> \ No newline at end of file --- 1,104 ---- ! <?php ! /* ! * openFIRST.base - config/index.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Provide a control center for configuration activities. ! ! include("../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include_once($ogHeader); ! ! ?> ! <h1>openFIRST Configuration Area</h1> ! ! <table width="50%"> ! <tr> ! <th>Administrative Options</th> ! </tr> ! </table> ! ! <?php ! if(is_writable("$fBasePath/includes/sitesettings.php") && file_exists("$fBasePath/includes/first.php")) { ! echo "<p class='warning'><strong>Warning</strong>: Your ! <span class='file'>sitesettings.php</span> file is writable by the web user. ! Also, <span class='file'>first.php</span> is still in existance. After you ! have setup the openFIRST web portal system, it is safe to remove ! <span class='file'>first.php</span>. Removing ! <span class='file'>first.php</span> prevents the accidental reset of ! configuration information and prevents external users from altering your ! configuration. For maximal security, you should also change the filesystem ! permissions so that <span class='file'>sitesettings.php</span> is not ! writable by the web user."; ! } elseif(is_writable("$fBasePath/includes/sitesettings.php")) { ! echo "<p class='warning'><strong>Warning</strong>: Your ! <span class='file'>sitesettings.php</span> file is writable by the web user. ! For maximal security, you should change the filesystem permissions to correct ! this.</p>"; ! } ! ?> ! ! <table> ! <tr> ! <th colspan="2">Statistics</th> ! </tr> ! <tr> ! <th>Database Version</th><td> ! <?php ! // The statistics feature is loosely inspired by that of phpBB. ! echo $ogDB->getVersion(); ! ?></td> ! </tr> ! <tr> ! <th>Database Size</th><td> ! <?php ! echo $ogDB->getSize(); ! ?> ! </td> ! </tr> ! <tr><th>openFIRST Project Statistics</th><td> ! <script type='application/x-javascript' src='http://bugzilla.openfirst.org/openfirst/bugcrushers.php?style=js'></script> ! </td></tr> ! </table> ! ! <br/> ! <table width="50%"> ! <tr> ! <td valign="top"><a href="install.php">Install Modules</a></td> ! <td valign="top">Required to install several new openFIRST modules.</td> ! </tr> ! <tr> ! <td valign="top"><a href="modules.php">Module Administrator</a></td> ! <td valign="top">Required to manage openFIRST modules.</td> ! </tr> ! <tr> ! <td width="30%" valign="top"><a href="version.php">Version Check</a></td> ! <td width="70%" valign="top">Ensure that your version of the openFIRST and ! modules are up to date</td> ! </tr> ! </table> ! <?php ! include($ogFooter); ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2006-02-23 16:38:53
|
Update of /cvsroot/openfirst/base In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26737 Modified Files: index.php Added Files: login.php logout.php Log Message: - Many various bugfixes - Added type aliases to DB - Login/logout pages (login a little buggy) --- NEW FILE: login.php --- <?php /* * openFIRST.base - logout.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Jamie Bliss <ja...@op...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ // Purpose: configure OpenFIRST modules, including their position on menus include_once("includes/globals.php"); include_once($ogHeader); ?> <h1>User Log In</h1> <?php ofShowLogin(); include_once($ogFooter); ?> --- NEW FILE: logout.php --- <?php /* * openFIRST.base - logout.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Jamie Bliss <ja...@op...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ // Purpose: configure OpenFIRST modules, including their position on menus include_once("includes/globals.php"); include_once($ogHeader); $ogUser->updateLastSeen(); $ogUser->logOut(); ?> <h1>User Log Out</h1> <p>You are now logged out.</p> <?php include_once($ogFooter); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/base/index.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** index.php 16 Oct 2005 22:49:02 -0000 1.20 --- index.php 23 Feb 2006 16:38:48 -0000 1.21 *************** *** 30,34 **** require_once("includes/globals.php"); ! include($Header); $count = 0; --- 30,35 ---- require_once("includes/globals.php"); ! include_once('skinfunctions.php'); ! include($ogHeader); $count = 0; *************** *** 36,39 **** --- 37,41 ---- ?> <h1>openFIRST Web Portal</h1> + <?php slug('slug:/'); ?> <table> <tr> *************** *** 122,125 **** echo(" </td></tr></table>"); ! include($Footer); ! ?> --- 124,127 ---- echo(" </td></tr></table>"); ! include($ogFooter); ! ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2006-02-23 16:35:28
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24914/news Modified Files: comments.php index.php newcomment.php openfirst.info.xml rssfeed.php viewnews.php Log Message: The basics are mostly working, still have a long, long ways to go. Index: openfirst.info.xml =================================================================== RCS file: /cvsroot/openfirst/news/openfirst.info.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** openfirst.info.xml 6 Feb 2006 01:42:54 -0000 1.1 --- openfirst.info.xml 23 Feb 2006 16:35:17 -0000 1.2 *************** *** 1,3 **** ! <?xml version="1.0"?> <module xmlns="http://openfirst.org/xml/module/1.0" id="openfirst.news"> <!-- Info --> --- 1,3 ---- ! <?xml version="1.0" ?> <module xmlns="http://openfirst.org/xml/module/1.0" id="openfirst.news"> <!-- Info --> *************** *** 29,33 **** <!-- Should be self explainatory --> <field name="ID" null="no" autoincrement="yes"><type length="6" unsigned="yes">int</type></field> ! <field name="post_date"><type>date</type></field> <field name="poster"><type>text</type></field> <field name="title"><type>tinytext</type></field> --- 29,33 ---- <!-- Should be self explainatory --> <field name="ID" null="no" autoincrement="yes"><type length="6" unsigned="yes">int</type></field> ! <field name="post_date"><type>datetime</type></field> <field name="poster"><type>text</type></field> <field name="title"><type>tinytext</type></field> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/index.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** index.php 6 Feb 2006 01:52:07 -0000 1.13 --- index.php 23 Feb 2006 16:35:17 -0000 1.14 *************** *** 1,5 **** <?php /* ! * openFIRST.news - index.php * * Copyright (C) 2005, --- 1,5 ---- <?php /* ! * openfirst.news - index.php * * Copyright (C) 2005, Index: viewnews.php =================================================================== RCS file: /cvsroot/openfirst/news/viewnews.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** viewnews.php 6 Feb 2006 01:42:54 -0000 1.16 --- viewnews.php 23 Feb 2006 16:35:17 -0000 1.17 *************** *** 1,5 **** <?php /* ! * openFIRST.news - viewnews.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openfirst.news - viewnews.php * * Copyright (C) 2003, *************** *** 26,39 **** * */ - function shownews($limit = 5,$admin=false) { // Get a list of the users able to // be contacted via the feedback form. global $BasePath, $ogDB; ! $query = $ogDB->select('news', '*', '', array('order' => 'ID', 'limit' => $limit)); if ($ogDB->numberOfRows($query) != 0){ while($news = $ogDB->fetchObject($query)){ echo("<br /><table width='500'> <tr><th><strong>{$news->title}</strong></th></tr>"); --- 26,39 ---- * */ function shownews($limit = 5,$admin=false) { // Get a list of the users able to // be contacted via the feedback form. global $BasePath, $ogDB; ! $query = $ogDB->select('news', '*', '', array('ORDER BY' => '`post_date` DESC', 'limit' => $limit)); if ($ogDB->numberOfRows($query) != 0){ while($news = $ogDB->fetchObject($query)){ + $date = date('r', $news->post_date); echo("<br /><table width='500'> <tr><th><strong>{$news->title}</strong></th></tr>"); *************** *** 41,45 **** echo("<tr><td><center><img src='{$news->image}' alt='{$news->title}'></center></td></tr>"); } ! echo("<tr><td class='sub'>Posted on {$news->date} by {$news->poster}</td></tr><tr><td>"); if(function_exists("emoticon_translate")){ echo(emoticon_translate($news->news)); --- 41,45 ---- echo("<tr><td><center><img src='{$news->image}' alt='{$news->title}'></center></td></tr>"); } ! echo("<tr><td class='sub'>Posted on {$date} by {$news->poster}</td></tr><tr><td>"); if(function_exists("emoticon_translate")){ echo(emoticon_translate($news->news)); *************** *** 50,54 **** if ($admin) { echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$BasePath.'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$BasePath.'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); ! echo('<a href="'.$BasePath.'admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$BasePath.'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); } echo("</table><br />"); --- 50,54 ---- if ($admin) { echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$BasePath.'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$BasePath.'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); ! echo('<a href="'.$BasePath.'/news/admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$BasePath.'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); } echo("</table><br />"); Index: newcomment.php =================================================================== RCS file: /cvsroot/openfirst/news/newcomment.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** newcomment.php 24 Dec 2003 00:46:37 -0000 1.3 --- newcomment.php 23 Feb 2006 16:35:17 -0000 1.4 *************** *** 1,5 **** <?php /* ! * openFIRST.news - newcomment.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openfirst.news - newcomment.php * * Copyright (C) 2003, *************** *** 27,32 **** */ ! include_once("../config/globals.php"); ! include_once($header); if(isset($_POST["comment"])&&$_POST["comment"]!=""&&isset($_POST["uname"])&&$_POST["uname"]!=""){ --- 27,32 ---- */ ! include_once("../includes/globals.php"); ! include_once($ogHeader); if(isset($_POST["comment"])&&$_POST["comment"]!=""&&isset($_POST["uname"])&&$_POST["uname"]!=""){ *************** *** 52,55 **** echo('[ <a href="index.php">News Main</a> ]'); ! include_once($footer); ?> --- 52,55 ---- echo('[ <a href="index.php">News Main</a> ]'); ! include_once($ogFooter); ?> Index: comments.php =================================================================== RCS file: /cvsroot/openfirst/news/comments.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** comments.php 8 Jan 2004 00:48:50 -0000 1.8 --- comments.php 23 Feb 2006 16:35:17 -0000 1.9 *************** *** 1,5 **** <?php /* ! * openFIRST.news - comments.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openfirst.news - comments.php * * Copyright (C) 2003, *************** *** 27,31 **** */ define("newsforum","news"); ! include_once("../config/globals.php"); $id=0; --- 27,31 ---- */ define("newsforum","news"); ! include_once("../includes/globals.php"); $id=0; *************** *** 34,43 **** } ! $admin=false; ! if (isset($user->membertype)){ ! $admin=($user->membertype == "administrator"); ! } ! if(function_exists("latest_posts")){ /*!!!important!!! The StoryID Field is required for Forum integration. --- 34,41 ---- } ! $admin = $ogUser->isAdmin(); ! if (function_exists("latest_posts")) { ! /// @todo Add this to openfirst.forum module class. /*!!!important!!! The StoryID Field is required for Forum integration. *************** *** 57,61 **** } } else { ! include_once($header); ?> <h2>Comments</h2> --- 55,59 ---- } } else { ! include_once($ogHeader); ?> <h2>Comments</h2> *************** *** 114,118 **** [ <a href="index.php">News Main</a> ] <?php ! include_once($footer); } ?> --- 112,116 ---- [ <a href="index.php">News Main</a> ] <?php ! include_once($ogFooter); } ?> Index: rssfeed.php =================================================================== RCS file: /cvsroot/openfirst/news/rssfeed.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** rssfeed.php 14 Mar 2005 00:53:58 -0000 1.8 --- rssfeed.php 23 Feb 2006 16:35:17 -0000 1.9 *************** *** 1,5 **** <?php /* ! * openFIRST.news - index.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openfirst.news - index.php * * Copyright (C) 2003, *************** *** 26,31 **** * */ ! include_once("../config/globals.php"); ! include_once($header); ?> <h2>RSS Feed Option</h2> --- 26,31 ---- * */ ! include_once("../includes/globals.php"); ! include_once($ogHeader); ?> <h2>RSS Feed Option</h2> *************** *** 89,92 **** </p> <?php ! include_once($footer); ?> --- 89,92 ---- </p> <?php ! include_once($ogFooter); ?> |
From: Jamie <ast...@us...> - 2006-02-23 16:35:22
|
Update of /cvsroot/openfirst/news/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24914/news/admin Modified Files: delcomment.php editnews.php index.php killnews.php Log Message: The basics are mostly working, still have a long, long ways to go. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/index.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** index.php 6 Feb 2006 01:52:07 -0000 1.17 --- index.php 23 Feb 2006 16:35:15 -0000 1.18 *************** *** 27,30 **** --- 27,31 ---- */ include_once("../../includes/globals.php"); + $ogUser->mustBeAdmin(); include_once($ogHeader); *************** *** 33,37 **** $ogUser->mustBeAdmin(); ! if(! isset($_POST["news"])) { // Display a form for news. $upload_dir = dirname(__FILE__)."/../images/upload/"; --- 34,38 ---- $ogUser->mustBeAdmin(); ! if(!isset($_POST["title"])) { // Display a form for news. $upload_dir = dirname(__FILE__)."/../images/upload/"; *************** *** 48,52 **** <tr> <td><div align="right">Headline</div></td> ! <td><input name="title" type="text" value="openFIRST News" style="width: 250px;"></td> </tr> <tr valign="top"> --- 49,53 ---- <tr> <td><div align="right">Headline</div></td> ! <td><input name="title" id="title" type="text" value="openFIRST News" style="width: 250px;"></td> </tr> <tr valign="top"> *************** *** 59,63 **** foreach(glob($upload_dir.'*') as $filename) { if ($filename != "." && $filename != "..") { ! echo("<option>$filename</option>"); } } --- 60,64 ---- foreach(glob($upload_dir.'*') as $filename) { if ($filename != "." && $filename != "..") { ! echo "<option>".htmlentities(basename($filename))."</option>"; } } *************** *** 65,76 **** ?> </select> ! <br><input type="radio" name="imagesrc" id="imagesrc2" value="2"><label for="imagesrc2">Upload New Image</label> <?php if(is_writeable($upload_dir)){ ! echo('<input type="file" name="imgfile" accept="image/*" style="width: 250px;">'); }else{ ! echo('<br>Image uploading is disabled'); }?> ! <br><input type="radio" name="imagesrc" id="imagesrc3" value="3"><label for="imagesrc3">Specify Filename (Advanced)</label> <input type="text" name="customimg" style="width: 250px;"> </td> --- 66,77 ---- ?> </select> ! <br /><input type="radio" name="imagesrc" id="imagesrc2" value="2"><label for="imagesrc2">Upload New Image</label> <?php if(is_writeable($upload_dir)){ ! echo '<input type="file" name="imgfile" accept="image/*" style="width: 250px;">'; }else{ ! echo '<br />Image uploading is disabled'; }?> ! <br /><input type="radio" name="imagesrc" id="imagesrc3" value="3"><label for="imagesrc3">Specify Filename (Advanced)</label> <input type="text" name="customimg" style="width: 250px;"> </td> *************** *** 81,91 **** <td> <?php ! $dhtml=function_exists("make_wysiwyg"); ! if($dhtml){ ! make_wysiwyg("news", 500, 300, "Insert your news here."); ! } ! else{ ! echo('<textarea name="news" cols="60" rows="20">Insert your news here.</textarea>'); ! } ?> </td> --- 82,86 ---- <td> <?php ! echo $ogEditorPlugin->getEditField('news', 20, 60, "Insert your news here."); ?> </td> *************** *** 94,105 **** <td> </td> <td> ! <?php ! if($dhtml){ ! echo('<input name="news2" type="button" value="Add News Item" onclick="dhtmlEditorPrepareSubmit(); document.NewsForm.submit();" />'); ! } ! else { ! echo('<input name="news2" type="submit" value="Add News Item" />'); ! } ! ?> <input name="reset" type="reset" value="Clear News Item" /> </td> </tr> --- 89,93 ---- <td> </td> <td> ! <input name="news2" type="submit" value="Add News Item" /> <input name="reset" type="reset" value="Clear News Item" /> </td> </tr> *************** *** 110,118 **** } else { // Add the news. ! $now = date("D M j G:i:s T Y"); include('uploader.php'); ! $query = ofirst_dbquery("INSERT INTO ofirst_news (date, poster, title, news, image) VALUES ('$now', '$user->user', '" . $_POST["title"] . "', '" . $_POST["news"] . "', '" . $image . "');"); ! ! echo("The news item " . $_POST["title"] . " has been added. [ <a href='../index.php'>Main</a> ]"); } --- 98,118 ---- } else { // Add the news. ! $now = time(); include('uploader.php'); ! $res = $ogDB->insert('news', array( ! 'post_date' => $now, ! 'poster' => $ogUser->getName(), ! 'title' => $_POST['title'], ! 'news' => $ogEditorPlugin->getFieldValue('news'), ! 'image' => $image ! )); ! if (!$res) { ! echo "Error: "; ! echo $ogDB->errorNumber(); ! echo "<br />"; ! echo $ogDB->errorString(); ! } else { ! echo("The news item " . $_POST["title"] . " has been added. [ <a href='../index.php'>Main</a> ]"); ! } } Index: editnews.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/editnews.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** editnews.php 6 Jan 2004 17:16:23 -0000 1.5 --- editnews.php 23 Feb 2006 16:35:15 -0000 1.6 *************** *** 27,37 **** * */ ! include_once("../../config/globals.php"); ! include_once($header); echo("<h1>Edit News Item</h1>"); - if(isset($user->membertype)){ - if($user->membertype == "administrator") { $articleid=0; if(isset($_GET["id"])){ --- 27,36 ---- * */ ! include_once("../../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include_once($ogHeader); echo("<h1>Edit News Item</h1>"); $articleid=0; if(isset($_GET["id"])){ *************** *** 41,47 **** if(! isset($_POST["news"])) { // Display a form for news. ! $query = ofirst_dbquery("SELECT * FROM ofirst_news WHERE ID='$articleid'"); ! if (ofirst_dbnum_rows($query) != 0){ ! $news = ofirst_dbfetch_object($query); ?> <form name="NewsForm" id="NewsForm" method="post" action="editnews.php" enctype="multipart/form-data"> --- 40,46 ---- if(! isset($_POST["news"])) { // Display a form for news. ! $query = $ogDB->select('news', '*', array('ID' => $articleid)); ! if ($ogDB->numberOfRows($query) != 0){ ! $news = $ogDB->fetchObject($query); ?> <form name="NewsForm" id="NewsForm" method="post" action="editnews.php" enctype="multipart/form-data"> *************** *** 76,80 **** <br><input type="radio" name="imagesrc" id="imagesrc2" value="2"><label for="imagesrc2">Upload New Image</label> <?php ! if(is_writeable($fbasepath."/news/images/upload/")){ echo('<input type="file" name="imgfile" accept="image/*" style="width: 250px;">'); }else{ --- 75,79 ---- <br><input type="radio" name="imagesrc" id="imagesrc2" value="2"><label for="imagesrc2">Upload New Image</label> <?php ! if(is_writeable($ogCurrentModule->getDir()."/images/upload/")){ echo('<input type="file" name="imgfile" accept="image/*" style="width: 250px;">'); }else{ *************** *** 90,100 **** <td> <?php ! $dhtml=function_exists("make_wysiwyg"); ! if($dhtml){ ! make_wysiwyg("news", 500, 300, $news->news); ! } ! else{ ! echo('<textarea name="news" cols="60" rows="20">$news->news</textarea>'); ! } ?> </td> --- 89,93 ---- <td> <?php ! echo $ogEditorPlugin->getEditField('news', 20, 60, "Insert your news here."); ?> </td> *************** *** 103,114 **** <td> </td> <td> ! <?php ! if($dhtml){ ! echo('<input name="news2" type="button" id="news2" value="Save Changes" onclick="dhtmlEditorPrepareSubmit(); document.NewsForm.submit();" />'); ! } ! else { ! echo('<input name="news2" type="submit" id="news2" value="Save Changes" />'); ! } ! ?> <input name="reset" type="reset" /> <input name="StoryID" id="StoryID" type="hidden" value="<?php echo($news->ID); ?>"/> </td> --- 96,100 ---- <td> </td> <td> ! <input name="news2" type="submit" id="news2" value="Save Changes" /> <input name="reset" type="reset" /> <input name="StoryID" id="StoryID" type="hidden" value="<?php echo($news->ID); ?>"/> </td> *************** *** 123,137 **** } } else { ! // Add the news. ! $now = date("D M j G:i:s T Y"); include('uploader.php'); ! $query=ofirst_dbquery("UPDATE ofirst_news SET date='".$now."', poster='".$user->user."', title='".$_POST["title"]."', news='".$_POST["news"]."', image='".$image."' WHERE ID='".$_POST["StoryID"]."';"); ! ! echo("The news item "" . $_POST["title"] . "" has been modified. [ <a href='../index.php'>Main</a> ]"); ! } ! } ! } else { ! echo("You must be logged on as an administrative user to edit news."); } ! include_once($footer); ?> --- 109,132 ---- } } else { ! // Update the news. ! $now = time(); include('uploader.php'); ! $res = $ogDB->insert('news', array( ! 'post_date' => $now, ! 'poster' => $ogUser->getName(), ! 'title' => $_POST['title'], ! 'news' => $ogEditorPlugin->getFieldValue('news'), ! 'image' => $image ! )); ! if (!$res) { ! echo "Error: "; ! echo $ogDB->errorNumber(); ! echo "<br />"; ! echo $ogDB->errorString(); ! } else { ! echo("The news item " . $_POST["title"] . " has been added. [ <a href='../index.php'>Main</a> ]"); ! } } ! ! include_once($ogFooter); ?> Index: delcomment.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/delcomment.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** delcomment.php 24 Dec 2003 00:48:14 -0000 1.3 --- delcomment.php 23 Feb 2006 16:35:12 -0000 1.4 *************** *** 1,5 **** <?php /* ! * openFIRST.news - delcomment.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openfirst.news - delcomment.php * * Copyright (C) 2003, *************** *** 26,31 **** * */ ! include_once("../../config/globals.php"); ! include_once($header); ?> <br> --- 26,32 ---- * */ ! include_once("../../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include_once($ogHeader); ?> <br> *************** *** 37,67 **** <td align="center"> <?php ! $admin=false; ! if (isset($user->membertype)){ ! $admin=($user->membertype == "administrator"); ! } ! ! if($admin) { ! if(!isset($_POST["CommentID"])) { ! $query = ofirst_dbquery("SELECT * FROM ofirst_news_comments WHERE ID='".$_GET["id"]."'"); ! if (ofirst_dbnum_rows($query) != 0){ ! echo('<form action="'.$_SERVER["PHP_SELF"].'" method="POST">'); ! echo('<input name="CommentID" type="hidden" value="'.$_GET["id"].'">'); ! echo('<div>Delete comment?</div><br>'); ! echo('<input type="submit" value="Confirm"></form>'); ! } else { ! echo('<div>This comment does not exist.</div>'); ! } ! } else { ! // Delete the news by ID. ! ofirst_dbquery("DELETE FROM ofirst_news_comments WHERE ID=".$_POST["CommentID"].";"); ! echo("The comment has been deleted. [ <a href='../index.php'>Main</a> ]"); } } else { ! echo("You must be logged on as an administrative user to delete comments."); } echo("</td></tr></table>"); ! include_once($footer); ?> --- 38,59 ---- <td align="center"> <?php ! if(!isset($_POST["CommentID"])) { ! $query = ofirst_dbquery("SELECT * FROM ofirst_news_comments WHERE ID='".$_GET["id"]."'"); ! if (ofirst_dbnum_rows($query) != 0){ ! echo('<form action="'.$_SERVER["PHP_SELF"].'" method="POST">'); ! echo('<input name="CommentID" type="hidden" value="'.$_GET["id"].'">'); ! echo('<div>Delete comment?</div><br>'); ! echo('<input type="submit" value="Confirm"></form>'); } else { ! echo('<div>This comment does not exist.</div>'); } + } else { ! // Delete the news by ID. ! ofirst_dbquery("DELETE FROM ofirst_news_comments WHERE ID=".$_POST["CommentID"].";"); ! echo("The comment has been deleted. [ <a href='../index.php'>Main</a> ]"); } echo("</td></tr></table>"); ! include_once($ogFooter); ?> Index: killnews.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/killnews.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** killnews.php 24 Dec 2003 00:48:14 -0000 1.4 --- killnews.php 23 Feb 2006 16:35:15 -0000 1.5 *************** *** 1,3 **** --- 1,5 ---- <?php + + /* * openFIRST.news - admin/killnews.php *************** *** 26,31 **** * */ ! include_once("../../config/globals.php"); ! include_once($header); ?> <br> --- 28,34 ---- * */ ! include_once ("../../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include_once ($ogHeader); ?> <br> *************** *** 37,80 **** <td align="center"> <?php - $admin=false; - if (isset($user->membertype)){ - $admin=($user->membertype == "administrator"); - } - if($admin) { - $id=0; - if(isset($_GET["id"])){ - $id=$_GET["id"]; - } - if(!isset($_POST["StoryID"])) { - $query = ofirst_dbquery("SELECT * FROM ofirst_news WHERE ID='".$id."'"); - $title=""; - $found=false; - if (ofirst_dbnum_rows($query) != 0){ - $news = ofirst_dbfetch_object($query); - $found=true; - $title=$news->title; - } - if($found){ - echo('<form action="'.$_SERVER["PHP_SELF"].'" method="POST">'); - echo('<input name="StoryID" type="hidden" value="'.$_GET["id"].'">'); - echo('<div>Delete news item "'.$title.'"?</div><br>'); - echo('<input type="submit" value="Confirm"></form>'); - } - else { - echo('<div>This news item does not exist.</div>'); - } ! } else { ! // Delete the news by ID. ! ofirst_dbquery("DELETE FROM ofirst_news WHERE ID=".$_POST["StoryID"].";"); ! echo("The news item has been deleted. [ <a href='../index.php'>Main</a> ]"); ! } } ! else { ! echo("You must be logged on as an administrative user to delete news."); } - echo("</td></tr></table>"); ! include_once($footer); ?> --- 40,84 ---- <td align="center"> <?php ! $admin = false; ! if (isset ($user->membertype)) { ! $admin = ($user->membertype == "administrator"); ! } ! $id = 0; ! if (isset ($_GET["id"])) { ! $id = $_GET["id"]; ! } ! if (!isset ($_POST["StoryID"])) { ! $query = $ogDB->select('news', '*', array('ID' => $id)); ! $title = ""; ! $found = false; ! if ($ogDB->numberOfRows($query) != 0) { ! $news = $ogDB->fetchObject($query); ! $found = true; ! $title = $news->title; } ! ! if ($found) { ! echo ('<form action="'.$_SERVER["PHP_SELF"].'" method="POST">'); ! echo ('<input name="StoryID" type="hidden" value="'.$_GET["id"].'">'); ! echo ('<div>Delete news item "'.$title.'"?</div><br>'); ! echo ('<input type="submit" value="Confirm"></form>'); ! } else { ! echo ('<div>This news item does not exist.</div>'); } ! } else { ! // Delete the news by ID. ! if ($ogDB->delete('news', array('ID' => $_POST["StoryID"]))) ! echo ("The news item has been deleted. [ <a href='../index.php'>Main</a> ]"); ! else ! echo "<p class=\"error\">Error: ".htmlentities($ogDB->errorText()).'</p>'; ! } ! ! echo ("</td></tr></table>"); ! ! include_once ($ogFooter); ?> + + |
From: Jamie <ast...@us...> - 2006-02-23 02:07:53
|
Update of /cvsroot/openfirst/base/news In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5700/news Log Message: Directory /cvsroot/openfirst/base/news added to the repository |
From: Tim G. <xt...@us...> - 2006-02-22 20:46:12
|
Update of /cvsroot/openfirst/www/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24765 Modified Files: headers.php Log Message: Update the headers; some team websites are gone/down now, we use openfirst.org not openfirst.sf.net for things, the description of what the project is was lacking, etc. Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/www/inc/headers.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** headers.php 15 Nov 2005 15:14:13 -0000 1.32 --- headers.php 22 Feb 2006 20:45:52 -0000 1.33 *************** *** 42,54 **** <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en-CA" /> ! <meta name="copyright" content="Copyright 2003-2006 openFIRST http://openfirst.sf.net." /> ! <meta name="author" content="OpenFIRST - http://openfirst.sf.net" /> ! <meta name="generator" content="OpenFIRST - http://openfirst.sf.net" /> <link href="/global.css" rel="stylesheet" type="text/css" /> - <style type="text/css"> - <?php - // Internal styles moved to global.css 9/5/05 - ?> - </style> </head> <body> --- 42,49 ---- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en-CA" /> ! <meta name="copyright" content="Copyright 2003-2006 openFIRST http://www.openfirst.org" /> ! <meta name="author" content="openFIRST - http://www.openfirst.org" /> ! <meta name="generator" content="openFIRST - http://www.openfirst.org" /> <link href="/global.css" rel="stylesheet" type="text/css" /> </head> <body> *************** *** 71,75 **** </div><br /> <div style="background-image: url('/image/back-light.gif');"> ! <p>Welcome to the OpenFIRST Portal Development Website!</p> </div> </div><!-- end div.top --> --- 66,70 ---- </div><br /> <div style="background-image: url('/image/back-light.gif');"> ! <p>Welcome to the openFIRST Portal Development Website!</p> </div> </div><!-- end div.top --> *************** *** 82,93 **** <div> <img alt="?" src="/image/help.png" /> <h3>What is openFIRST?</h3> ! <p>OpenFIRST is an integrated set of modules which may be used together to create or enhance a web site. It is directed towards teams participating in the FIRST competition.</p> </div> <div> <img alt="?" src="/image/misc.png" /> <h3>Developers?</h3> ! <p>OpenFIRST is developed by a number of students from the FIRST Robotics ! competition teams <a href="http://www.portperryrobotics.ca/">#1006</a>, ! <a href="http://www.archangelrobotics.com/">#1049</a>, ! <a href="http://www.kineticknights.com/">#781</a>, <a href="http://www.sinclairsprockets.com/">#1075</a>, <a href="http://www.teamthrust.us/">#1501</a>, --- 77,93 ---- <div> <img alt="?" src="/image/help.png" /> <h3>What is openFIRST?</h3> ! <p> ! ! The openFIRST Portal System is an integrated set of modules which may be ! used together to create or enhance a web site. It is directed towards ! teams participating in the FIRST robotics competition. The openFIRST ! Portal System is a completely student-developed project that has had ! contributions from a wide variety of teams from Brasil, Canada and the ! United States.</p> </div> <div> <img alt="?" src="/image/misc.png" /> <h3>Developers?</h3> ! <p>openFIRST is developed by a number of students from the FIRST Robotics ! competition teams #1006, #1049, #781, <a href="http://www.sinclairsprockets.com/">#1075</a>, <a href="http://www.teamthrust.us/">#1501</a>, *************** *** 97,100 **** --- 97,101 ---- + <a href="/doc/tut/howto/">openFIRST Contributor's HOWTO</a>. New contributors are always welcome.</p> </div> |