openfirst-cvscommit Mailing List for openFIRST (Page 72)
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: <i-...@us...> - 2003-10-13 20:07:38
|
Update of /cvsroot/openfirst/forum In directory sc8-pr-cvs1:/tmp/cvs-serv25933 Added Files: header.jpg locked.png new.png old.png Log Message: Images for the new forum module. --- NEW FILE: header.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: locked.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: new.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: old.png --- (This appears to be a binary file; contents omitted.) |
From: <xt...@us...> - 2003-10-13 18:00:59
|
Update of /cvsroot/openfirst/photogallery In directory sc8-pr-cvs1:/tmp/cvs-serv30207 Modified Files: email.php gallery.php index.php viewphoto.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: email.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/email.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** email.php 23 Aug 2003 20:32:49 -0000 1.8 --- email.php 13 Oct 2003 18:00:22 -0000 1.9 *************** *** 27,33 **** */ // Include important globals related to this module ! include("../config/globals.php"); ! include($header); ! include("admin/galleryglobals.php"); // Get gallery information --- 27,33 ---- */ // Include important globals related to this module ! include_once("../config/globals.php"); ! include_once($header); ! include_once("admin/galleryglobals.php"); // Get gallery information *************** *** 132,136 **** // Print out the completion of the e-mailing then die out echo "<br><br><br>Photo was successfully sent to the recipient, thank you! [ <a href='index.php'>Galleries</a> ]<br><br><br>"; ! die(include($footer)); } --- 132,136 ---- // Print out the completion of the e-mailing then die out echo "<br><br><br>Photo was successfully sent to the recipient, thank you! [ <a href='index.php'>Galleries</a> ]<br><br><br>"; ! die(include_once($footer)); } *************** *** 186,188 **** </form> ! <?php include($footer); ?> --- 186,188 ---- </form> ! <?php include_once($footer); ?> Index: gallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/gallery.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** gallery.php 13 Sep 2003 15:38:25 -0000 1.13 --- gallery.php 13 Oct 2003 18:00:23 -0000 1.14 *************** *** 27,33 **** */ // Include important globals related to this module ! include("../config/globals.php"); ! include($header); ! include("admin/galleryglobals.php"); // Retrieve gallery information --- 27,33 ---- */ // Include important globals related to this module ! include_once("../config/globals.php"); ! include_once($header); ! include_once("admin/galleryglobals.php"); // Retrieve gallery information *************** *** 113,115 **** contained<br> within the galleries please contact the team's webmaster or leader.</p> ! <?php include($footer); ?> --- 113,115 ---- contained<br> within the galleries please contact the team's webmaster or leader.</p> ! <?php include_once($footer); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/index.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** index.php 13 Sep 2003 15:38:25 -0000 1.11 --- index.php 13 Oct 2003 18:00:23 -0000 1.12 *************** *** 28,34 **** // Include important globals related to this module ! include("../config/globals.php"); ! include($header); ! include("admin/galleryglobals.php"); ?> --- 28,34 ---- // Include important globals related to this module ! include_once("../config/globals.php"); ! include_once($header); ! include_once("admin/galleryglobals.php"); ?> *************** *** 69,71 **** contained<br> within the galleries please contact the team's webmaster or leader.</p> ! <?php include($footer); ?> --- 69,71 ---- contained<br> within the galleries please contact the team's webmaster or leader.</p> ! <?php include_once($footer); ?> Index: viewphoto.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/viewphoto.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** viewphoto.php 4 Oct 2003 01:58:53 -0000 1.11 --- viewphoto.php 13 Oct 2003 18:00:23 -0000 1.12 *************** *** 29,35 **** // Include important globals related to this module $header_condense = true; ! include("../config/globals.php"); ! include($header); ! include("admin/galleryglobals.php"); // If a comment is being added then run process --- 29,35 ---- // Include important globals related to this module $header_condense = true; ! include_once("../config/globals.php"); ! include_once($header); ! include_once("admin/galleryglobals.php"); // If a comment is being added then run process *************** *** 45,49 **** echo "<br><br>Your comment has been successfully posted! [ <a href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>View Image</a> ]<br><br>"; ! die(include($footer)); } --- 45,49 ---- echo "<br><br>Your comment has been successfully posted! [ <a href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>View Image</a> ]<br><br>"; ! die(include_once($footer)); } *************** *** 54,58 **** ofirst_dbquery("DELETE FROM ofirst_photogallery_comments WHERE ID = '".$_GET['COMMENT']."'"); echo "<br><br>Comment has been deleted, thank you! [ <a href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>View Image</a> ]<br><br>"; ! die(include($footer)); } --- 54,58 ---- ofirst_dbquery("DELETE FROM ofirst_photogallery_comments WHERE ID = '".$_GET['COMMENT']."'"); echo "<br><br>Comment has been deleted, thank you! [ <a href='viewphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>View Image</a> ]<br><br>"; ! die(include_once($footer)); } *************** *** 190,192 **** <p>The content within the galleries is copyright. In order to use or copy content<br> contained within the galleries please contact the team's webmaster or leader.</p> ! <?php include($footer); ?> --- 190,192 ---- <p>The content within the galleries is copyright. In order to use or copy content<br> contained within the galleries please contact the team's webmaster or leader.</p> ! <?php include_once($footer); ?> |
Update of /cvsroot/openfirst/photogallery/admin In directory sc8-pr-cvs1:/tmp/cvs-serv30207/admin Modified Files: cleargallery.php editphoto.php edit.php index.php makethumb.php newgallery.php upload.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: cleargallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/cleargallery.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** cleargallery.php 23 Aug 2003 20:32:49 -0000 1.6 --- cleargallery.php 13 Oct 2003 18:00:24 -0000 1.7 *************** *** 28,39 **** // Include important globals related to this module ! include("../../config/globals.php"); ! include($header); ! include("galleryglobals.php"); // Check if user is an admin then allow processes if(! isset($user->user)){ showlogin(); ! die(include($footer)); } --- 28,39 ---- // Include important globals related to this module ! include_once("../../config/globals.php"); ! include_once($header); ! include_once("galleryglobals.php"); // Check if user is an admin then allow processes if(! isset($user->user)){ showlogin(); ! die(include_once($footer)); } *************** *** 60,64 **** } echo "<br><br><center>The <b>".$gallery->GalleryName."</b> gallery has been reset. [ <a href='index.php'>Manage</a> ]<br><br>"; ! die(include($footer)); } --- 60,64 ---- } echo "<br><br><center>The <b>".$gallery->GalleryName."</b> gallery has been reset. [ <a href='index.php'>Manage</a> ]<br><br>"; ! die(include_once($footer)); } *************** *** 68,70 **** ?><p> You are trying to clear the entire <b><?php echo $gallery->GalleryName; ?></b> gallery! <a href="cleargallery.php?ID=<?php echo $_GET['ID']; ?>&CONFIRM=True">Confirm</a></p> ! <?php include($footer); ?> --- 68,70 ---- ?><p> You are trying to clear the entire <b><?php echo $gallery->GalleryName; ?></b> gallery! <a href="cleargallery.php?ID=<?php echo $_GET['ID']; ?>&CONFIRM=True">Confirm</a></p> ! <?php include_once($footer); ?> Index: editphoto.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/editphoto.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** editphoto.php 23 Aug 2003 20:32:49 -0000 1.4 --- editphoto.php 13 Oct 2003 18:00:26 -0000 1.5 *************** *** 28,39 **** // Import globals and estbalish database connection ! include("../../config/globals.php"); ! include($header); ! include("galleryglobals.php"); // Check if user is an admin then allow processes if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include($footer)); } --- 28,39 ---- // Import globals and estbalish database connection ! include_once("../../config/globals.php"); ! include_once($header); ! include_once("galleryglobals.php"); // Check if user is an admin then allow processes if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include_once($footer)); } *************** *** 89,93 **** } echo " [ <a href='editphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>Manage</a> ]<br><br>"; ! die(include($footer)); } --- 89,93 ---- } echo " [ <a href='editphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>Manage</a> ]<br><br>"; ! die(include_once($footer)); } *************** *** 96,100 **** ofirst_dbquery("DELETE FROM ofirst_photogallery_image WHERE Gallery = '".$_GET['ID']."' AND Image = '".$_GET['PHOTO']."'"); echo "<br><br>The description of this image has been removed! [ <a href='editphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>Manage</a> ]<br><br>"; ! die(include($footer)); } --- 96,100 ---- ofirst_dbquery("DELETE FROM ofirst_photogallery_image WHERE Gallery = '".$_GET['ID']."' AND Image = '".$_GET['PHOTO']."'"); echo "<br><br>The description of this image has been removed! [ <a href='editphoto.php?ID=".$_GET['ID']."&PHOTO=".$_GET['PHOTO']."'>Manage</a> ]<br><br>"; ! die(include_once($footer)); } *************** *** 165,168 **** </form> <?php ! include($footer); ?> --- 165,168 ---- </form> <?php ! include_once($footer); ?> Index: edit.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/edit.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** edit.php 23 Aug 2003 20:32:49 -0000 1.6 --- edit.php 13 Oct 2003 18:00:27 -0000 1.7 *************** *** 28,39 **** // Include important globals related to this module ! include("../../config/globals.php"); ! include($header); ! include("galleryglobals.php"); // Check if user is an admin then allow processes if(! ISSET($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include($footer)); } --- 28,39 ---- // Include important globals related to this module ! include_once("../../config/globals.php"); ! include_once($header); ! include_once("galleryglobals.php"); // Check if user is an admin then allow processes if(! ISSET($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include_once($footer)); } *************** *** 41,45 **** if(ISSET($_GET['DELETE']) == true && isset($_GET["CONFIRMED"]) == false) { echo("<p>Are you absolutely sure you want to delete this gallery? All pictures in the gallery will be removed from the server.</p> <a href='edit.php?DELETE=" . $_GET["DELETE"] . "&CONFIRMED=1'>Yes, I am sure</a> <a href='edit.php'>No, I've changed my mind</a>"); ! die(include($footer)); } elseif(isset($_GET["DELETE"]) == true && isset($_GET["CONFIRMED"]) == true) { $query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['DELETE']."'") or die(ofirst_dberror()); --- 41,45 ---- if(ISSET($_GET['DELETE']) == true && isset($_GET["CONFIRMED"]) == false) { echo("<p>Are you absolutely sure you want to delete this gallery? All pictures in the gallery will be removed from the server.</p> <a href='edit.php?DELETE=" . $_GET["DELETE"] . "&CONFIRMED=1'>Yes, I am sure</a> <a href='edit.php'>No, I've changed my mind</a>"); ! die(include_once($footer)); } elseif(isset($_GET["DELETE"]) == true && isset($_GET["CONFIRMED"]) == true) { $query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['DELETE']."'") or die(ofirst_dberror()); *************** *** 74,78 **** ofirst_dbquery("DELETE FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['DELETE']."'") or die(ofirst_dberror()); echo "<br><br><center>The gallery has been deleted! [ <a href='index.php'>Manage</a> ]</center><br>"; ! die(include($footer)); } --- 74,78 ---- ofirst_dbquery("DELETE FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['DELETE']."'") or die(ofirst_dberror()); echo "<br><br><center>The gallery has been deleted! [ <a href='index.php'>Manage</a> ]</center><br>"; ! die(include_once($footer)); } *************** *** 161,163 **** <br> </center> ! <?php include($footer); ?> \ No newline at end of file --- 161,163 ---- <br> </center> ! <?php include_once($footer); ?> \ No newline at end of file Index: index.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 23 Aug 2003 20:32:49 -0000 1.6 --- index.php 13 Oct 2003 18:00:27 -0000 1.7 *************** *** 28,39 **** // Import globals and estbalish database connection ! include("../../config/globals.php"); ! include($header); ! include("galleryglobals.php"); // Check if user is an admin then allow processes if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include($footer)); } --- 28,39 ---- // Import globals and estbalish database connection ! include_once("../../config/globals.php"); ! include_once($header); ! include_once("galleryglobals.php"); // Check if user is an admin then allow processes if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include_once($footer)); } *************** *** 76,79 **** </p> <?php ! include($footer); ?> --- 76,79 ---- </p> <?php ! include_once($footer); ?> Index: makethumb.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/makethumb.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** makethumb.php 26 Aug 2003 03:22:54 -0000 1.6 --- makethumb.php 13 Oct 2003 18:00:27 -0000 1.7 *************** *** 28,35 **** // Import globals and estbalish database connection ! include("../../config/globals.php"); ! include($header); ! include("galleryglobals.php"); ! include("preview.php"); // Check if user is an admin then allow processes --- 28,35 ---- // Import globals and estbalish database connection ! include_once("../../config/globals.php"); ! include_once($header); ! include_once("galleryglobals.php"); ! include_once("preview.php"); // Check if user is an admin then allow processes *************** *** 39,43 **** echo("<p>Cannot create thumbnails because your version of PHP was not compiled with GD support. [ <a href='index.php'>Manage</a> ]</p>"); ! die(include($footer)); } --- 39,43 ---- echo("<p>Cannot create thumbnails because your version of PHP was not compiled with GD support. [ <a href='index.php'>Manage</a> ]</p>"); ! die(include_once($footer)); } *************** *** 51,55 **** makethumb($dirlocate,$_GET['PHOTO'],$imgtypes); echo "<p>Thumbnail created! [ <a href='edit.php?ID=".$_GET['ID']."'>Edit</a> ]</p>"; ! die(include($footer)); } --- 51,55 ---- makethumb($dirlocate,$_GET['PHOTO'],$imgtypes); echo "<p>Thumbnail created! [ <a href='edit.php?ID=".$_GET['ID']."'>Edit</a> ]</p>"; ! die(include_once($footer)); } *************** *** 64,68 **** } echo "<p>Thumbnails created for gallery! [ <a href='edit.php?ID=".$_GET['ID']."'>Edit</a> ]</p>"; ! die(include($footer)); } --- 64,68 ---- } echo "<p>Thumbnails created for gallery! [ <a href='edit.php?ID=".$_GET['ID']."'>Edit</a> ]</p>"; ! die(include_once($footer)); } *************** *** 70,73 **** showlogin(); } ! include($footer); ?> --- 70,73 ---- showlogin(); } ! include_once($footer); ?> Index: newgallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/newgallery.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** newgallery.php 24 Aug 2003 15:34:47 -0000 1.7 --- newgallery.php 13 Oct 2003 18:00:27 -0000 1.8 *************** *** 28,38 **** // Import globals and estbalish database connection ! include("../../config/globals.php"); ! include($header); ! include("galleryglobals.php"); if(! isset($user->user)){ showlogin(); ! die(include($footer)); } --- 28,38 ---- // Import globals and estbalish database connection ! include_once("../../config/globals.php"); ! include_once($header); ! include_once("galleryglobals.php"); if(! isset($user->user)){ showlogin(); ! die(include_once($footer)); } *************** *** 48,52 **** '".$_POST['description']."')"); echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; ! die(include($footer)); } --- 48,52 ---- '".$_POST['description']."')"); echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; ! die(include_once($footer)); } *************** *** 80,83 **** </form> <?php ! include($footer); ?> --- 80,83 ---- </form> <?php ! include_once($footer); ?> Index: upload.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/upload.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** upload.php 23 Aug 2003 20:32:49 -0000 1.8 --- upload.php 13 Oct 2003 18:00:28 -0000 1.9 *************** *** 28,39 **** // Import globals and estbalish database connection ! include("../../config/globals.php"); ! include($header); ! include("galleryglobals.php"); // Check if user is an admin then allow processes if(! ISSET($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include($footer)); } --- 28,39 ---- // Import globals and estbalish database connection ! include_once("../../config/globals.php"); ! include_once($header); ! include_once("galleryglobals.php"); // Check if user is an admin then allow processes if(! ISSET($user->user) || $user->membertype != "administrator"){ showlogin(); ! die(include_once($footer)); } *************** *** 115,117 **** <input name="upload" type="submit" value="Upload To Gallery"> </form> ! <?php include($footer); ?> \ No newline at end of file --- 115,117 ---- <input name="upload" type="submit" value="Upload To Gallery"> </form> ! <?php include_once($footer); ?> \ No newline at end of file |
From: <xt...@us...> - 2003-10-13 17:59:55
|
Update of /cvsroot/openfirst/news/admin In directory sc8-pr-cvs1:/tmp/cvs-serv29987/admin Modified Files: editnews.php index.php killnews.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: editnews.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/editnews.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** editnews.php 1 Oct 2003 22:52:48 -0000 1.1 --- editnews.php 13 Oct 2003 17:59:50 -0000 1.2 *************** *** 27,32 **** * */ ! include("../../config/globals.php"); ! include($header); echo("<h1>Edit News Item</h1>"); --- 27,32 ---- * */ ! include_once("../../config/globals.php"); ! include_once($header); echo("<h1>Edit News Item</h1>"); *************** *** 121,124 **** echo("You must be logged on as an administrative user to edit news."); } ! include($footer); ?> --- 121,124 ---- echo("You must be logged on as an administrative user to edit news."); } ! include_once($footer); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/index.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** index.php 6 Oct 2003 22:24:39 -0000 1.12 --- index.php 13 Oct 2003 17:59:50 -0000 1.13 *************** *** 26,31 **** * */ ! include("../../config/globals.php"); ! include($header); echo("<h1>Add News</h1>"); --- 26,31 ---- * */ ! include_once("../../config/globals.php"); ! include_once($header); echo("<h1>Add News</h1>"); *************** *** 98,101 **** echo("You must be logged on as an administrative user to add news."); } ! include($footer); ?> --- 98,101 ---- echo("You must be logged on as an administrative user to add news."); } ! include_once($footer); ?> Index: killnews.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/killnews.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** killnews.php 1 Oct 2003 22:52:48 -0000 1.1 --- killnews.php 13 Oct 2003 17:59:50 -0000 1.2 *************** *** 26,31 **** * */ ! include("../../config/globals.php"); ! include($header); ?> --- 26,31 ---- * */ ! include_once("../../config/globals.php"); ! include_once($header); ?> *************** *** 79,82 **** } echo("</td></tr></table>"); ! include($footer); ?> --- 79,82 ---- } echo("</td></tr></table>"); ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:59:55
|
Update of /cvsroot/openfirst/news/rss In directory sc8-pr-cvs1:/tmp/cvs-serv29987/rss Modified Files: rss.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: rss.php =================================================================== RCS file: /cvsroot/openfirst/news/rss/rss.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rss.php 1 Oct 2003 22:53:58 -0000 1.2 --- rss.php 13 Oct 2003 17:59:51 -0000 1.3 *************** *** 27,31 **** */ ! include("../../config/globals.php"); ob_start(); --- 27,31 ---- */ ! include_once("../../config/globals.php"); ob_start(); *************** *** 33,37 **** // Include system RSSBuilder Class ! include("class.RSSBuilder.inc.php"); // Create the object - remember, not all attibutes are supported --- 33,37 ---- // Include system RSSBuilder Class ! include_once("class.RSSBuilder.inc.php"); // Create the object - remember, not all attibutes are supported |
From: <xt...@us...> - 2003-10-13 17:59:46
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv29971 Modified Files: index.php rssfeed.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 1 Oct 2003 22:55:10 -0000 1.8 --- index.php 13 Oct 2003 17:59:42 -0000 1.9 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); ?> <h2>Top Headlines</h2> --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); ?> <h2>Top Headlines</h2> *************** *** 44,47 **** [ <a href="index.php?show=all">Show All News</a> ] <?php ! include($footer); ?> --- 44,47 ---- [ <a href="index.php?show=all">Show All News</a> ] <?php ! include_once($footer); ?> Index: rssfeed.php =================================================================== RCS file: /cvsroot/openfirst/news/rssfeed.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rssfeed.php 30 Sep 2003 12:00:19 -0000 1.2 --- rssfeed.php 13 Oct 2003 17:59:42 -0000 1.3 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); ?> <h2>RSS Feed Option</h2> --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); ?> <h2>RSS Feed Option</h2> *************** *** 89,92 **** </p> <?php ! include($footer); ?> --- 89,92 ---- </p> <?php ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:58:31
|
Update of /cvsroot/openfirst/messenger In directory sc8-pr-cvs1:/tmp/cvs-serv29754 Modified Files: inbox.php index.php newmsg.php viewmsg.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: inbox.php =================================================================== RCS file: /cvsroot/openfirst/messenger/inbox.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** inbox.php 28 Sep 2003 13:54:24 -0000 1.6 --- inbox.php 13 Oct 2003 17:58:27 -0000 1.7 *************** *** 26,35 **** * */ ! include("../config/globals.php"); ! include($header); if(! isset($user->user)){ showlogin(); ! die(include($footer)); } --- 26,35 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); if(! isset($user->user)){ showlogin(); ! die(include_once($footer)); } *************** *** 38,42 **** ofirst_dbquery("DELETE FROM ofirst_messenger_messages WHERE ID = '".$_GET['DELETE']."'") or die(ofirst_dberror()); echo "<br><p>Message has been removed, thank you! [ <a href='inbox.php'>Inbox</a> ]</p><br>"; ! die(include($footer)); } --- 38,42 ---- ofirst_dbquery("DELETE FROM ofirst_messenger_messages WHERE ID = '".$_GET['DELETE']."'") or die(ofirst_dberror()); echo "<br><p>Message has been removed, thank you! [ <a href='inbox.php'>Inbox</a> ]</p><br>"; ! die(include_once($footer)); } *************** *** 45,49 **** ofirst_dbquery("DELETE FROM ofirst_messenger_messages WHERE Receiver = '".$user->user."'") or die(ofirst_dberror()); echo "<br><p>All messages have been deleted, thank you! [ <a href='inbox.php'>Inbox</a> ]</p><br>"; ! die(include($footer)); } --- 45,49 ---- ofirst_dbquery("DELETE FROM ofirst_messenger_messages WHERE Receiver = '".$user->user."'") or die(ofirst_dberror()); echo "<br><p>All messages have been deleted, thank you! [ <a href='inbox.php'>Inbox</a> ]</p><br>"; ! die(include_once($footer)); } *************** *** 93,97 **** <p><br> <?php ! include($footer); ?> </p> --- 93,97 ---- <p><br> <?php ! include_once($footer); ?> </p> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/messenger/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 28 Sep 2003 13:54:24 -0000 1.7 --- index.php 13 Oct 2003 17:58:27 -0000 1.8 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); ?> <h1>Current Online Users</h1> --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); ?> <h1>Current Online Users</h1> *************** *** 73,76 **** </table> <?php ! include($footer); ?> --- 73,76 ---- </table> <?php ! include_once($footer); ?> Index: newmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/newmsg.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** newmsg.php 28 Sep 2003 13:54:24 -0000 1.10 --- newmsg.php 13 Oct 2003 17:58:27 -0000 1.11 *************** *** 26,35 **** * */ ! include("../config/globals.php"); ! include($header); if(! isset($user->user)){ showlogin(); ! die(include($footer)); } --- 26,35 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); if(! isset($user->user)){ showlogin(); ! die(include_once($footer)); } *************** *** 59,63 **** echo("<br><br><br><center>Message has been sent! [ <a href='inbox.php'>Inbox</a> ]<br><br>"); ! die(include($footer)); } ?> --- 59,63 ---- echo("<br><br><br><center>Message has been sent! [ <a href='inbox.php'>Inbox</a> ]<br><br>"); ! die(include_once($footer)); } ?> *************** *** 126,129 **** </form> <?php ! include($footer); ?> --- 126,129 ---- </form> <?php ! include_once($footer); ?> Index: viewmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/viewmsg.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** viewmsg.php 28 Sep 2003 13:54:24 -0000 1.6 --- viewmsg.php 13 Oct 2003 17:58:27 -0000 1.7 *************** *** 26,35 **** * */ ! include("../config/globals.php"); ! include($header); if(! isset($user->user)){ showlogin(); ! die(include($footer)); } --- 26,35 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); if(! isset($user->user)){ showlogin(); ! die(include_once($footer)); } *************** *** 83,86 **** ]</p> <?php ! include($footer); ?> --- 83,86 ---- ]</p> <?php ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:57:27
|
Update of /cvsroot/openfirst/logger In directory sc8-pr-cvs1:/tmp/cvs-serv29549 Modified Files: graph.php index.php rawdata.php reset.php stats.php track.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: graph.php =================================================================== RCS file: /cvsroot/openfirst/logger/graph.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** graph.php 1 Oct 2003 16:36:30 -0000 1.2 --- graph.php 13 Oct 2003 17:57:22 -0000 1.3 *************** *** 28,32 **** //include database functions ! include("../config/globals.php"); //set header --- 28,32 ---- //include database functions ! include_once("../config/globals.php"); //set header Index: index.php =================================================================== RCS file: /cvsroot/openfirst/logger/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 23 Aug 2003 20:30:12 -0000 1.4 --- index.php 13 Oct 2003 17:57:22 -0000 1.5 *************** *** 27,33 **** */ ! include("../config/globals.php"); ! include("$header"); if (isset($_POST['view'])) { --- 27,33 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); if (isset($_POST['view'])) { *************** *** 89,92 **** </table> <?php ! include("$footer"); ?> --- 89,92 ---- </table> <?php ! include_once("$footer"); ?> Index: rawdata.php =================================================================== RCS file: /cvsroot/openfirst/logger/rawdata.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** rawdata.php 23 Aug 2003 20:30:12 -0000 1.6 --- rawdata.php 13 Oct 2003 17:57:22 -0000 1.7 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include("$header"); if (isset($_POST['view'])) { --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once("$header"); if (isset($_POST['view'])) { *************** *** 79,82 **** </table> <?php ! include("$footer"); ?> --- 79,82 ---- </table> <?php ! include_once("$footer"); ?> Index: reset.php =================================================================== RCS file: /cvsroot/openfirst/logger/reset.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** reset.php 13 Sep 2003 15:38:26 -0000 1.6 --- reset.php 13 Oct 2003 17:57:22 -0000 1.7 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include("$header"); if (isset($_POST['confirm'])) { --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once("$header"); if (isset($_POST['confirm'])) { *************** *** 49,52 **** <br> <?php ! include("$footer"); ?> --- 49,52 ---- <br> <?php ! include_once("$footer"); ?> Index: stats.php =================================================================== RCS file: /cvsroot/openfirst/logger/stats.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** stats.php 1 Oct 2003 01:53:14 -0000 1.3 --- stats.php 13 Oct 2003 17:57:22 -0000 1.4 *************** *** 27,32 **** */ ! include("../config/globals.php"); ! include("$header"); // Check if outputting a graph --- 27,32 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); // Check if outputting a graph *************** *** 204,208 **** supplied by the web server. Consult the openFIRST manual for more information. <?php ! include("$footer"); ?> ! </font> \ No newline at end of file --- 204,208 ---- supplied by the web server. Consult the openFIRST manual for more information. <?php ! include_once("$footer"); ?> ! </font> Index: track.php =================================================================== RCS file: /cvsroot/openfirst/logger/track.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** track.php 1 Oct 2003 20:40:07 -0000 1.11 --- track.php 13 Oct 2003 17:57:22 -0000 1.12 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include("$header"); $browserid=false; --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once("$header"); $browserid=false; *************** *** 102,105 **** </table><br><br> <?php ! include("$footer"); ?> --- 102,105 ---- </table><br><br> <?php ! include_once("$footer"); ?> |
From: <xt...@us...> - 2003-10-13 17:55:33
|
Update of /cvsroot/openfirst/guestbook In directory sc8-pr-cvs1:/tmp/cvs-serv29149 Modified Files: deleteentry.php deleteyes.php emoticons.php index.php sign.php signthanks.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: deleteentry.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/deleteentry.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** deleteentry.php 13 Sep 2003 16:20:07 -0000 1.8 --- deleteentry.php 13 Oct 2003 17:55:29 -0000 1.9 *************** *** 27,32 **** */ ! include("../config/globals.php"); ! include("$header"); ?> --- 27,32 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); ?> *************** *** 63,66 **** echo "You may delete entries by viewing them then clicking delete below them.<br><br>"; } ! include("$footer"); ?> --- 63,66 ---- echo "You may delete entries by viewing them then clicking delete below them.<br><br>"; } ! include_once("$footer"); ?> Index: deleteyes.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/deleteyes.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** deleteyes.php 13 Sep 2003 15:38:26 -0000 1.7 --- deleteyes.php 13 Oct 2003 17:55:29 -0000 1.8 *************** *** 27,32 **** */ ! include("../config/globals.php"); ! include("$header"); ?> --- 27,32 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); ?> *************** *** 46,49 **** <?php ! include("$footer"); ?> --- 46,49 ---- <?php ! include_once("$footer"); ?> Index: emoticons.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/emoticons.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** emoticons.php 24 Jul 2003 00:42:20 -0000 1.5 --- emoticons.php 13 Oct 2003 17:55:29 -0000 1.6 *************** *** 28,33 **** */ ! include("../config/globals.php"); ! include("$header"); ?> --- 28,33 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); ?> *************** *** 43,46 **** } ! include("$footer"); ?> --- 43,46 ---- } ! include_once("$footer"); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/index.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** index.php 13 Sep 2003 16:20:07 -0000 1.9 --- index.php 13 Oct 2003 17:55:29 -0000 1.10 *************** *** 28,33 **** */ ! include("../config/globals.php"); ! include("$header"); ?> <h1>View Guest Book</h1> --- 28,33 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); ?> <h1>View Guest Book</h1> *************** *** 99,103 **** } ! include("$footer"); ?> </p> --- 99,103 ---- } ! include_once("$footer"); ?> </p> Index: sign.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/sign.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** sign.php 13 Sep 2003 15:38:26 -0000 1.8 --- sign.php 13 Oct 2003 17:55:29 -0000 1.9 *************** *** 28,33 **** */ ! include("../config/globals.php"); ! include("$header"); ?> --- 28,33 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); ?> *************** *** 107,110 **** <?php ! include("$footer"); ?> --- 107,110 ---- <?php ! include_once("$footer"); ?> Index: signthanks.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/signthanks.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** signthanks.php 23 Aug 2003 20:21:00 -0000 1.9 --- signthanks.php 13 Oct 2003 17:55:29 -0000 1.10 *************** *** 28,33 **** */ ! include("../config/globals.php"); ! include("$header"); ?> --- 28,33 ---- */ ! include_once("../config/globals.php"); ! include_once("$header"); ?> *************** *** 112,115 **** <?php ! include("$footer"); ?> --- 112,115 ---- <?php ! include_once("$footer"); ?> |
From: <xt...@us...> - 2003-10-13 17:53:25
|
Update of /cvsroot/openfirst/feedback In directory sc8-pr-cvs1:/tmp/cvs-serv28643 Modified Files: index.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/index.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** index.php 28 Sep 2003 13:34:35 -0000 1.11 --- index.php 13 Oct 2003 17:53:21 -0000 1.12 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); echo("<h1>Give Feedback</h1>"); --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); echo("<h1>Give Feedback</h1>"); *************** *** 112,115 **** echo("Before you can use this, someone must first set up users able to be e-mailed by modifying the database."); } ! include($footer); ?> --- 112,115 ---- echo("Before you can use this, someone must first set up users able to be e-mailed by modifying the database."); } ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:53:25
|
Update of /cvsroot/openfirst/feedback/admin In directory sc8-pr-cvs1:/tmp/cvs-serv28643/admin Modified Files: index.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/admin/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 28 Sep 2003 13:34:35 -0000 1.8 --- index.php 13 Oct 2003 17:53:21 -0000 1.9 *************** *** 26,31 **** * */ ! include("../../config/globals.php"); ! include($header); if(isset($_POST["feedbackusers"])) { --- 26,31 ---- * */ ! include_once("../../config/globals.php"); ! include_once($header); if(isset($_POST["feedbackusers"])) { *************** *** 42,46 **** } echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); ! die(include($footer)); } } --- 42,46 ---- } echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); ! die(include_once($footer)); } } *************** *** 65,68 **** echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); ! include($footer); ?> --- 65,68 ---- echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:52:33
|
Update of /cvsroot/openfirst/emoticon In directory sc8-pr-cvs1:/tmp/cvs-serv28393 Modified Files: index.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/emoticon/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.php 13 Sep 2003 16:26:17 -0000 1.5 --- index.php 13 Oct 2003 17:52:29 -0000 1.6 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); if(function_exists("emoticon_preview")) { if(! isset($_GET["perpage"])) { $_GET["perpage"] = 25; } --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); if(function_exists("emoticon_preview")) { if(! isset($_GET["perpage"])) { $_GET["perpage"] = 25; } *************** *** 41,44 **** echo("Emoticon functions are not enabled"); } ! include($footer); ?> --- 41,44 ---- echo("Emoticon functions are not enabled"); } ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:51:20
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1:/tmp/cvs-serv27926/admin Modified Files: index.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** index.php 13 Sep 2003 16:41:26 -0000 1.9 --- index.php 13 Oct 2003 17:51:13 -0000 1.10 *************** *** 26,31 **** * */ ! include("../../config/globals.php"); ! include($header); // Check if user is an admin then allow processes --- 26,31 ---- * */ ! include_once("../../config/globals.php"); ! include_once($header); // Check if user is an admin then allow processes *************** *** 37,41 **** echo("<p>Award information has been deleted. [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); } --- 37,41 ---- echo("<p>Award information has been deleted. [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); } *************** *** 48,52 **** echo("<p></p>Congratulations on your new award. Award submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); } --- 48,52 ---- echo("<p></p>Congratulations on your new award. Award submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); } *************** *** 62,66 **** echo("<p></p>Award modifications submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include($footer)); } --- 62,66 ---- echo("<p></p>Award modifications submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); } *************** *** 180,183 **** showlogin(); } ! include($footer); ?> --- 180,183 ---- showlogin(); } ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:51:20
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1:/tmp/cvs-serv27926 Modified Files: index.php Log Message: Change include to include_once so that scripts may be easily included from other scripts without problems. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 23 Aug 2003 20:15:21 -0000 1.7 --- index.php 13 Oct 2003 17:51:13 -0000 1.8 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); // Query database for award information --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); // Query database for award information *************** *** 62,64 **** <?php } ! include($footer); ?> --- 62,64 ---- <?php } ! include_once($footer); ?> |
From: <xt...@us...> - 2003-10-13 17:12:34
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv20470 Modified Files: auth.php Log Message: Change date format of last seen to actually make sense (use minutes instead of months). Bug pointed out by Greg. Index: auth.php =================================================================== RCS file: /cvsroot/openfirst/base/config/auth.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** auth.php 23 Aug 2003 20:37:30 -0000 1.5 --- auth.php 13 Oct 2003 17:12:29 -0000 1.6 *************** *** 162,166 **** } if(isset($user->user)) { ! $query = "UPDATE ofirst_members SET lastseen='" . date("h:m:s M d, Y") . "' WHERE user='$user->user';"; $q = ofirst_dbquery($query); unset($q); --- 162,166 ---- } if(isset($user->user)) { ! $query = "UPDATE ofirst_members SET lastseen='" . date("h:i:s M d, Y") . "' WHERE user='$user->user';"; $q = ofirst_dbquery($query); unset($q); |
From: <dav...@us...> - 2003-10-13 03:32:37
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv18235 Modified Files: notes.php projects.php tasks.php Log Message: Minor changes, getting closer to the final commits to making this module complete. These commits are just smaller minor changes. Index: notes.php =================================================================== RCS file: /cvsroot/openfirst/projects/notes.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** notes.php 12 Oct 2003 23:39:14 -0000 1.9 --- notes.php 13 Oct 2003 03:32:33 -0000 1.10 *************** *** 37,40 **** --- 37,44 ---- // Create button process if(isset($_POST['create'])){ + + $bindata = file_get_contents($_FILES['notefile']['tmp_name'])){ + $bindata = base64_encode($bindata); + ofirst_dbquery("INSERT INTO ofirst_projects_notes SET TaskID = '".$_GET['TaskID']."', *************** *** 43,46 **** --- 47,51 ---- Description = '".$_POST['description']."', Commiter = '".$user->user."', + AttachedFile = '".$bindata."', Dates = '".time()."'") or die(ofirst_dberror()); *************** *** 140,144 **** ?> <br> ! <form onsubmit="return dhtmlEditorPrepareSubmit();" action='notes.php?GroupID=<?php echo $_GET['GroupID']; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>&TaskID=<?php echo $_GET['TaskID'];?>' method='POST'> <table width="39%"> <tr> --- 145,149 ---- ?> <br> ! <form enctype="multipart/form-data" onsubmit="return dhtmlEditorPrepareSubmit();" action='notes.php?GroupID=<?php echo $_GET['GroupID']; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>&TaskID=<?php echo $_GET['TaskID'];?>' method='POST'> <table width="39%"> <tr> *************** *** 160,163 **** --- 165,174 ---- ?> </td> + </tr> + <tr> + <td><div align="right">Upload File:</div></td> + <td><input name="notefile" type="file" id="notefile"> + (Files may be attached to notes. These files are stored directly within + the action register database.)</td> </tr> <tr> Index: projects.php =================================================================== RCS file: /cvsroot/openfirst/projects/projects.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** projects.php 12 Oct 2003 23:39:14 -0000 1.11 --- projects.php 13 Oct 2003 03:32:33 -0000 1.12 *************** *** 181,185 **** <td><?php echo $projects->Description; ?></td> <td><?php echo str_replace(",",", ",$projects->Assigned); ?></td> ! <?php if($user->membertype == "administrator"){ ?><td id="adminmenu" background="/openfirst/images/back-admin.png"><div align="center"><a href="edit.php">Edit</a></div></td> <?php } ?> </tr> --- 181,185 ---- <td><?php echo $projects->Description; ?></td> <td><?php echo str_replace(",",", ",$projects->Assigned); ?></td> ! <?php if($user->membertype == "administrator"){ ?><td id="adminmenu" background="/openfirst/images/back-admin.png"><div align="center"><a href="admin/editprojects.php?ProjectID=<?php echo $projects->ID; ?>">Edit</a></div></td> <?php } ?> </tr> Index: tasks.php =================================================================== RCS file: /cvsroot/openfirst/projects/tasks.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** tasks.php 12 Oct 2003 23:39:14 -0000 1.11 --- tasks.php 13 Oct 2003 03:32:33 -0000 1.12 *************** *** 191,195 **** <?php if($user->membertype == "administrator"){ ! echo '<td id="adminmenu" background="/openfirst/images/back-admin.png"><center><a href="edit.php">Edit</a></center></td>'; } ?> </tr> --- 191,195 ---- <?php if($user->membertype == "administrator"){ ! echo '<td id="adminmenu" background="/openfirst/images/back-admin.png"><center><a href="admin/edittasks.php?TaskID='.$tasks->ID.'">Edit</a></center></td>'; } ?> </tr> |
From: <dav...@us...> - 2003-10-13 03:32:37
|
Update of /cvsroot/openfirst/projects/admin In directory sc8-pr-cvs1:/tmp/cvs-serv18235/admin Modified Files: editgroups.php edittasks.php Log Message: Minor changes, getting closer to the final commits to making this module complete. These commits are just smaller minor changes. Index: editgroups.php =================================================================== RCS file: /cvsroot/openfirst/projects/admin/editgroups.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** editgroups.php 12 Oct 2003 23:41:04 -0000 1.1 --- editgroups.php 13 Oct 2003 03:32:33 -0000 1.2 *************** *** 61,78 **** $group = mysql_fetch_object($group_query); ! if(isset($_POST['removemoderators'])){ ! $newmod = $group->Moderators; ! $assigned = explode(",",$group->Members); ! foreach($assigned as $assign){ ! if(isset($_POST[$assign])){ ! unset($assigned[array_search("$assign",$assigned)]); ! echo "<br>User $assign removed!"; ! } ! } ! $assigned = implode(",",$assigned); ! mysql_query("UPDATE ofirst_projects_groups SET Moderators = '$assigned' WHERE ID = '".$_GET['GroupID']."';") or die(mysql_error()); $group_query = mysql_query("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); $group = mysql_fetch_object($group_query); } --- 61,83 ---- $group = mysql_fetch_object($group_query); ! if(isset($_POST['editmods'])){ ! ! mysql_query("UPDATE ofirst_projects_groups SET Moderators = '".$_POST['moderators']."' WHERE ID = '".$_GET['GroupID']."';") or die(mysql_error()); ! ! $group_query = mysql_query("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); ! $group = mysql_fetch_object($group_query); ! ! echo "<br>Moderators list has been updated!"; ! ! } ! ! if(isset($_POST['editmembers'])){ ! ! mysql_query("UPDATE ofirst_projects_groups SET Members = '".$_POST['members']."' WHERE ID = '".$_GET['GroupID']."';"); $group_query = mysql_query("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); $group = mysql_fetch_object($group_query); + + echo "<br>Members list has been updated!"; } *************** *** 80,86 **** ?> <h2>Edit Group <font color="red"><?php echo $group->GroupName; ?></font></h2> <form action="editgroups.php?GroupID=<?php echo $_GET['GroupID']; ?>" method="POST"> <p> ! <textarea name="textarea" cols="60" rows="10"><?php echo $group->Members; ?></textarea> </p> <p> --- 85,110 ---- ?> <h2>Edit Group <font color="red"><?php echo $group->GroupName; ?></font></h2> + <table width="600"> + <tr> + <td>To edit the users assigned to this group you must add/remove user names + from the boxes below. User names should be separated by a comma ie. jsomebody,mnobody,ahypithetical + etc. No spaces should be added either. </td> + </tr> + </table> + <p> </p> <form action="editgroups.php?GroupID=<?php echo $_GET['GroupID']; ?>" method="POST"> + <p><strong>Group Moderator List </strong></p> <p> ! <textarea name="moderators" cols="60" rows="10" id="moderators"><?php echo $group->Members; ?></textarea> ! </p> ! <p> ! <input name="editmods" type="submit" id="editmods" value="Edit Moderators"> ! </p> ! <p><strong>Group Member List</strong> </p> ! <p> ! <textarea name="members" cols="60" rows="10" id="members"><?php echo $group->Members; ?></textarea> ! </p> ! <p> ! <input name="editmembers" type="submit" id="editmembers" value="Edit Members"> </p> <p> Index: edittasks.php =================================================================== RCS file: /cvsroot/openfirst/projects/admin/edittasks.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** edittasks.php 12 Oct 2003 23:41:04 -0000 1.1 --- edittasks.php 13 Oct 2003 03:32:33 -0000 1.2 *************** *** 28,36 **** // Include globals and set header condense (not coded yet) ! include("../config/globals.php"); $header_condense = true; include($header); ! // Remove button process if(isset($_POST['remove'])){ --- 28,40 ---- // Include globals and set header condense (not coded yet) ! include("../../config/globals.php"); $header_condense = true; include($header); ! // Check if user is a member ! if(! isset($user->user)){ ! showlogin(); ! } else { ! // Remove button process if(isset($_POST['remove'])){ *************** *** 45,50 **** ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE ID = '".$_POST['task']."'") or die(ofirst_dberror()); ofirst_dbquery("DELETE FROM ofirst_projects_notes WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_projects WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); echo "<br><br>Task removed! [ <a href='tasks.php?GroupID=".$_GET['GroupID']."&ProjectID=".$_GET['ProjectID']."'>Projects</a> ]<br><br>"; --- 49,52 ---- *************** *** 53,60 **** } ?> ! <h2>Task Edit</h2> <?php } include($footer); --- 55,96 ---- } + $task_query = mysql_query("SELECT * FROM ofirst_projects_tasks WHERE ID = '".$_GET['TaskID']."'"); + $task = mysql_fetch_object($task_query); + if(isset($_POST['editmembers'])){ + + mysql_query("UPDATE ofirst_projects_tasks SET Assigned = '".$_POST['members']."' WHERE ID = '".$_GET['TaskID']."';"); + + $task_query = mysql_query("SELECT * FROM ofirst_projects_tasks WHERE ID = '".$_GET['TaskID']."'"); + $task = mysql_fetch_object($group_query); + + echo "<br>Members list has been updated!"; + + } ?> ! <h2>Edit Task <font color="red"><?php echo $task->TaskName; ?></font></h2> ! <h2><font color="red"></font></h2> ! <table width="600"> ! <tr> ! <td>To edit the users assigned to this task you must add/remove user names ! from the boxes below. User names should be separated by a comma ie. jsomebody,mnobody,ahypithetical ! etc. No spaces should be added either. </td> ! </tr> ! </table> ! <p> </p> ! <form action="editgroups.php?GroupID=<?php echo $_GET['GroupID']; ?>" method="POST"> ! <p><strong>Group Member List</strong> </p> ! <p> ! <textarea name="members" cols="60" rows="10" id="members"><?php echo $task->Assigned; ?></textarea> ! </p> ! <p> ! <input name="editmembers" type="submit" id="editmembers" value="Edit Members"> ! </p> ! <p> ! <input name="confirm" type="checkbox" id="confirm" value="checkbox"> ! Remove this task and all its related data from the database. ! <input name="remove" type="submit" id="remove" value="Remove Task"> ! </form> <?php } include($footer); |
From: <dav...@us...> - 2003-10-13 02:17:27
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv8830 Modified Files: updatesetup.php Log Message: Edited the info note at the bottom. Index: updatesetup.php =================================================================== RCS file: /cvsroot/openfirst/projects/updatesetup.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** updatesetup.php 7 Oct 2003 11:31:23 -0000 1.3 --- updatesetup.php 13 Oct 2003 02:17:23 -0000 1.4 *************** *** 104,122 **** <p align="left"><font size="2"><strong>Note:</strong> This update installer works by using the Microsoft Task Schedule Service. It automatically ! creates and performs the (at) command in cmd. .To view, edit, or remove this task you can use the schtasks command in cmd. To make sure ! this task will work you<br> ! must make sure the schedule service is on. <strong>You must also ensure ! that the updatesetup.php script is set set as a user who has complete ! access to cmd</strong>, if this does not work then trying setting php.exe ! with a user. Read more about this in the Microsoft Help ! and Support option on your operating system or on the Windows website.</font> <br> ! works by using the Microsoft Task Schedule Service. It combines ! the information you provide above and automatically creates and performs ! the (at) command in cmd.exe. To view, edit, or remove this task you can ! use the schtasks command in cmd.exe. To make sure this task will work you<br> ! must make sure the schedule service is on. Read more about this in the Microsoft<br> ! Help and Support option on your operating system.</font> <br> ! <br> </p></td> </tr> --- 104,116 ---- <p align="left"><font size="2"><strong>Note:</strong> This update installer works by using the Microsoft Task Schedule Service. It automatically ! creates and performs the (at) command in cmd.exe .To view, edit, or remove this task you can use the schtasks command in cmd. To make sure ! this task will work, you<br> ! must make ensure that the schedule service is on. <strong>You must ! also ensure that the updatesetup.php script is set set as a user who ! has complete access to cmd</strong>, if this does not work then trying ! setting php.exe with a user. Read more about this in the Microsoft ! Help and Support option on your operating system or on the Windows ! website.</font><br> </p></td> </tr> |
From: <dav...@us...> - 2003-10-12 23:41:36
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv21182 Added Files: viewmembers.php Log Message: initial upload --- NEW FILE: viewmembers.php --- <?php /* * openFIRST.projects - meetings.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. * 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 globals and set header condense (not coded yet) include("../config/globals.php"); $header_condense = true; include($header); if(! isset($user->user)){ showlogin(); } else { $group_query = mysql_query("SELECT * FROM ofirst_projects_groups"); $group = mysql_fetch_object($group_query); ?> <h2 align="center">Members for the <font color='red'><?php echo $group->GroupName; ?></font> Group</h2> <table width="299" align="center"> <tr> <td class="sub" width="123">Username</td> <td class="sub" width="164">Full Name </td> </tr> <tr> <?php // View assigned members to related project $assigned = explode(",",$group->Members); foreach($assigned as $assign){ $member_query = mysql_query("SELECT * FROM ofirst_members WHERE user = '".$assign."'"); $member = mysql_fetch_object($member_query); echo "<td>$assign</td>"; echo "<td>".$member->firstname." ".$member->lastname."</td>"; } ?> </tr> </table> <p> </p> <?php } include($footer); ?> |
From: <dav...@us...> - 2003-10-12 23:41:09
|
Update of /cvsroot/openfirst/projects/admin In directory sc8-pr-cvs1:/tmp/cvs-serv21096/admin Added Files: editgroups.php edittasks.php updatesetup.php Log Message: initial upload --- NEW FILE: editgroups.php --- <?php /* * openFIRST.projects - groups.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. * 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 globals and set header condense (not coded yet) include("../../config/globals.php"); $header_condense = true; include($header); // Check if user is a member if(! isset($user->user)){ showlogin(); } else { // Remove button process if(isset($_POST['remove'])){ // If the confirmation button is selected then remove all group data if(! isset($_POST['confirm'])){ echo "<br><br>Your request to remove the group was denied because you have not confirmed! [ <a href='editgroups.php?GroupID=".$_GET['GroupID']."'>Groups</a> ]<br><br>"; die(include($footer)); } // Remove data from every table that is related ofirst_dbquery("DELETE FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'") or die(ofirst_dberror()); ofirst_dbquery("DELETE FROM ofirst_projects_notes WHERE GroupID = '".$_GET['GroupID']."'") or die(ofirst_dberror()); ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE GroupID = '".$_GET['GroupID']."'") or die(ofirst_dberror()); ofirst_dbquery("DELETE FROM ofirst_projects_projects WHERE GroupID = '".$_GET['GroupID']."'") or die(ofirst_dberror()); echo "<br><br>Group removed! [ <a href='../groups.php'>Groups</a> ]<br><br>"; die(include($footer)); } $group_query = mysql_query("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); $group = mysql_fetch_object($group_query); if(isset($_POST['removemoderators'])){ $newmod = $group->Moderators; $assigned = explode(",",$group->Members); foreach($assigned as $assign){ if(isset($_POST[$assign])){ unset($assigned[array_search("$assign",$assigned)]); echo "<br>User $assign removed!"; } } $assigned = implode(",",$assigned); mysql_query("UPDATE ofirst_projects_groups SET Moderators = '$assigned' WHERE ID = '".$_GET['GroupID']."';") or die(mysql_error()); $group_query = mysql_query("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); $group = mysql_fetch_object($group_query); } ?> <h2>Edit Group <font color="red"><?php echo $group->GroupName; ?></font></h2> <form action="editgroups.php?GroupID=<?php echo $_GET['GroupID']; ?>" method="POST"> <p> <textarea name="textarea" cols="60" rows="10"><?php echo $group->Members; ?></textarea> </p> <p> <input name="confirm" type="checkbox" id="confirm" value="checkbox"> Remove this group and all its related data from the database. <input name="remove" type="submit" id="remove" value="Remove Group"> </form></p> <p> </p> <?php } include($footer); ?> --- NEW FILE: edittasks.php --- <?php /* * openFIRST.projects - groups.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. * 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 globals and set header condense (not coded yet) include("../config/globals.php"); $header_condense = true; include($header); // Remove button process if(isset($_POST['remove'])){ // If a remove confirm is selected then allow the process to continue if(! isset($_POST['confirm'])){ echo "<br><br>Your request to remove the task was denied because you have not confirmed! [ <a href='tasks.php?GroupID=".$_GET['GroupID']."&ProjectID=".$_GET['ProjectID']."'>Tasks</a> ]<br><br>"; die(include($footer)); } // Remove every task related value in the database ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE ID = '".$_POST['task']."'") or die(ofirst_dberror()); ofirst_dbquery("DELETE FROM ofirst_projects_notes WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); ofirst_dbquery("DELETE FROM ofirst_projects_projects WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); echo "<br><br>Task removed! [ <a href='tasks.php?GroupID=".$_GET['GroupID']."&ProjectID=".$_GET['ProjectID']."'>Projects</a> ]<br><br>"; die(include($footer)); } ?> <h2>Task Edit</h2> <?php } include($footer); ?> --- NEW FILE: updatesetup.php --- <?php /* * openFIRST.projects - updatesetup.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. * 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 globals and set header condense (not coded yet) include("../config/globals.php"); $header_condense = true; include($header); // Check if user is a member if(! isset($user->user)){ showlogin(); } else { if(isset($_POST['addtask'])){ $time = $_POST['when']; $when = $_POST['perform']; $script = $_POST['scriptlocation']; $engine = $_POST['engine']; if(isset($_POST['useoutput'])){ $output = "^>".getcwd()."\updatelog.txt"; } else { $output = ""; } $command = "at $time /every:$when $engine -f $script $output"; system($command,$message); echo "<br><br><b>Command returned:</b> "; echo $message; } ?> <h2>Update System </h2> <table width="494" align="center"> <?php if($ostype == "windows"){ ?> <tr> <th><div align="center"><font color="#000000">Windows Update Setup</font></div></th> </tr> <tr> <td><p align="center"> <form method="POST" action="updatesetup.php"> <div align="center"> <p>Confirm Update Script Location:<br> <input name="scriptlocation" type="text" id="scriptlocation" value="<?php echo getcwd()."\updates.php"; ?>" size="70"> <br> <font size="1">(This value is automatically set, although please check to see if this<br> file location is correct.)</font></p> <p>Please note the location of your PHP engine:<br> <input name="engine" type="text" id="engine" value="c:\PHP\php.exe" size="50"> <br> <font size="1">(Some users may have to specify the loaction of their<br> PHP engine, if they have installed it in a different location) </font> </p> </div> <p align="center"> <input name="useoutput" type="checkbox" id="useoutput" value="checkbox"> Record update schedule task for review.</p> <p align="center">Perform Task: <select name="perform" id="perform"> <option value="M,T,W,Th,F,S,Su" selected>Daily</option> <option value="M,W,F,Su">Every 2 Days</option> <option value="Th,S">Every 3 Days</option> <option value="Th">Every 4 Days</option> <option value="F">Every 5 Days</option> <option value="S">Every 6 Days</option> <option value="Su">Weekly</option> </select> </p> <p align="center">Send Update At: <input name="when" type="text" id="when" value="24:00" size="10" maxlength="5"> <font size="2"><br> (Enter time using 24 hour clock time)</font></p> <p align="center"> <input name="addtask" type="submit" id="addtask" value="Add Update"> <input type="reset" name="Submit2" value="Reset"> </p> </form> <p align="left"><font size="2"><strong>Note:</strong> This update installer works by using the Microsoft Task Schedule Service. It automatically creates and performs the (at) command in cmd. .To view, edit, or remove this task you can use the schtasks command in cmd. To make sure this task will work you<br> must make sure the schedule service is on. <strong>You must also ensure that the updatesetup.php script is set set as a user who has complete access to cmd</strong>, if this does not work then trying setting php.exe with a user. Read more about this in the Microsoft Help and Support option on your operating system or on the Windows website.</font> <br> works by using the Microsoft Task Schedule Service. It combines the information you provide above and automatically creates and performs the (at) command in cmd.exe. To view, edit, or remove this task you can use the schtasks command in cmd.exe. To make sure this task will work you<br> must make sure the schedule service is on. Read more about this in the Microsoft<br> Help and Support option on your operating system.</font> <br> <br> </p></td> </tr> <?php } else { ?> <tr> <th>Unix Crontab Setup</th> </tr> <tr> <td>Not implemented yet! </td> </tr> </table> <?php } } include($footer); ?> |
From: <dav...@us...> - 2003-10-12 23:39:55
|
Update of /cvsroot/openfirst/projects/setup In directory sc8-pr-cvs1:/tmp/cvs-serv20904/setup Modified Files: setup.mssql setup.mysql Log Message: Added new design and features to scripts. I am aware of the mysql commands that are in the module, but for the sake of documenting my work, I will upload the current versions. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/projects/setup/setup.mssql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** setup.mssql 10 Oct 2003 01:38:47 -0000 1.3 --- setup.mssql 12 Oct 2003 23:39:51 -0000 1.4 *************** *** 1,8 **** ! CREATE TABLE `ofirst_projects_groups` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_meetings` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `Dates` text, `ForDate` text, `Description` text, `ArrangedFor` text, `AbsentList` text, `Notes` text, `Status` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_notes` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` tinytext, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_projects` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_tasks` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>',includes='projectsmodule.php'; ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext --- 1,8 ---- ! CREATE TABLE `ofirst_projects_groups` ( `ID` int(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_meetings` ( `ID` int(3) unsigned NOT NULL auto_increment, `Dates` text, `ForDate` text, `Description` text, `ArrangedFor` text, `AbsentList` text, `Notes` text, `Status` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_notes` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` tinytext, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_projects` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_tasks` ( `ID` int(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',adminnavigation='<a href="$basepath/projects/admin/updatesetup.php">Update Service Setup</a>',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>',includes='projectsmodule.php'; ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/projects/setup/setup.mysql,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** setup.mysql 10 Oct 2003 01:38:47 -0000 1.5 --- setup.mysql 12 Oct 2003 23:39:51 -0000 1.6 *************** *** 1,9 **** ! CREATE TABLE `ofirst_projects_groups` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_meetings` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `Dates` text, `ForDate` text, `Description` text, `ArrangedFor` text, `AbsentList` text, `Notes` text, `Status` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_notes` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` tinytext, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_projects` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_tasks` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>',includes='projectsmodule.php'; ! ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ! ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext ! ALTER TABLE ofirst_members ADD COLUMN ProjectsSendTemplate tinytext \ No newline at end of file --- 1,9 ---- ! CREATE TABLE `ofirst_projects_groups` ( `ID` int(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_meetings` ( `ID` int(3) unsigned NOT NULL auto_increment, `Dates` text, `ForDate` text, `Description` text, `ArrangedFor` text, `AbsentList` text, `Notes` text, `Status` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_notes` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` tinytext, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_projects` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_tasks` ( `ID` int(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',adminnavigation='<a href="$basepath/projects/admin/updatesetup.php">Update Service Setup</a>',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>',includes='projectsmodule.php'; ! ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext; ! ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext; ! ALTER TABLE ofirst_members ADD COLUMN ProjectsSendTemplate tinytext; \ No newline at end of file |
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv20757 Modified Files: groups.php meetings.php mytask.php notes.php projects.php projectsmodule.php tasks.php viewmeeting.php Log Message: Added new design and features to scripts. I am aware of the mysql commands that are in the module, but for the sake of documenting my work, I will upload the current versions. Index: groups.php =================================================================== RCS file: /cvsroot/openfirst/projects/groups.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** groups.php 10 Oct 2003 01:36:34 -0000 1.11 --- groups.php 12 Oct 2003 23:39:14 -0000 1.12 *************** *** 78,107 **** } - // Remove button process - if(isset($_POST['remove'])){ - - // If the confirmation button is selected then remove all group data - if(! isset($_POST['confirm'])){ - echo "<br><br>Your request to remove the group was denied because you have not confirmed! [ <a href='groups.php'>Groups</a> ]<br><br>"; - die(include($footer)); - } - - // Remove data from every table that is related - ofirst_dbquery("DELETE FROM ofirst_projects_groups WHERE ID = '".$_POST['group']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_notes WHERE GroupID = '".$_POST['group']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE GroupID = '".$_POST['group']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_projects WHERE GroupID = '".$_POST['group']."'") or die(ofirst_dberror()); - - echo "<br><br>Group removed! [ <a href='groups.php'>Groups</a> ]<br><br>"; - die(include($footer)); - - } - ?> <h2>System Work Groups</h2> - <p>These are workgroups that are currently setup with the - action register system. Only administrators have<br> - access to editing - these groups. </p> <table width="100%" align="center" cellpadding="0" cellspacing="0"> <tr> --- 78,83 ---- *************** *** 118,162 **** <table width="100%"> <tr> ! <td class="sub" width="7%"> </td> ! <td class="sub" width="21%">Group Name</td> ! <td class="sub" width="10%">Projects</td> ! <td class="sub" width="44%">Description</td> ! <?php if($user->membertype == "administrator"){ ?><td class="sub" width="18%">Option</td><?php } ?> </tr> ! <?php // Query the current group values and loop through them ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups GROUP BY GroupName"); while($groups = ofirst_dbfetch_object($query)){ ?> <tr <?php if(date("F j, Y",time()) == date("F j, Y",$groups->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td> ! <div align="center"><a href="projects.php?GroupID=<?php echo $groups->ID; ?>"><img src="../members/icons/apps/kuser.png" width="32" height="32" border="0"></a></div></td> <td><a href='projects.php?GroupID=<?php echo $groups->ID; ?>'><?php echo $groups->GroupName; ?></a></td> ! <td> ! <?php ! $projquery = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$groups->ID."'"); echo ofirst_dbnum_rows($projquery); ! ?> ! </td> ! <td><?php echo $groups->Description; ?></td> ! <?php if($user->membertype == "administrator"){ ?> ! <td><p align="center"><a href="admin/edit.php?ID=<?php echo $groups->ID; ?>">Edit</a> | <a href="admin/delete.php?ID=<?php echo $groups->ID; ?>">Delete</a></p> </td> ! <?php } ?> </tr> ! <?php ! } if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td>--</td><td>--</td><td>--</td><td><center>No group has been found!</center></td><td>--</td><td>--</td>"; } ?> ! </table></td> </tr> </table> <br> ! <?php if($user->membertype == "administrator"){ ?> <form action='groups.php' method='POST'> <table width="39%"> --- 94,152 ---- <table width="100%"> <tr> ! <td class="sub" width="5%"> </td> ! <td class="sub" width="13%">Group Name</td> ! <td class="sub" width="7%">Projects</td> ! <td class="sub" width="62%">Description</td> ! <td class="sub" width="7%">Option</td> ! <?php if($user->membertype == "administrator"){ ?> ! <td class="sub" width="6%"><div align="center">Admin</div></td> ! <?php ! } ! ?> </tr> ! <?php // Query the current group values and loop through them ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups GROUP BY ID"); while($groups = ofirst_dbfetch_object($query)){ ?> <tr <?php if(date("F j, Y",time()) == date("F j, Y",$groups->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td><div align="center"><a href="projects.php?GroupID=<?php echo $groups->ID; ?>"><img src="../members/icons/apps/kuser.png" width="32" height="32" border="0"></a></div></td> <td><a href='projects.php?GroupID=<?php echo $groups->ID; ?>'><?php echo $groups->GroupName; ?></a></td> ! <?php ! // Display number of related projects in group ! echo "<td>"; ! $projquery = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$groups->ID."'"); echo ofirst_dbnum_rows($projquery); ! echo "</td>"; ! ?> ! <td><?php echo $groups->Description; ?></td> ! <td><a href='viewmembers.php?GroupID=<?php echo $groups->ID; ?>'>Members</a></td> ! <?php ! // If administrator is logged in then show the admin edit option ! if($user->membertype == "administrator"){ ?> ! <td id="adminmenu" background="/openfirst/images/back-admin.png"><p align="center"><a href="admin/editgroups.php?GroupID=<?php echo $groups->ID; ?>">Edit</a></p></td>'; ! <?php } ! ?> </tr> ! <?php } + + // If there are no groups then display message if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td> </td><td> </td><td> </td><td><center>No group has been found!</center></td><td> </td><td> </td>"; } ?> ! </table> ! </td> </tr> </table> <br> ! <?php ! // Allow to add groups if user is an administrator ! if($user->membertype == "administrator"){ ! ?> <form action='groups.php' method='POST'> <table width="39%"> *************** *** 204,206 **** </table> </form> ! <?php } } include($footer); ?> --- 194,199 ---- </table> </form> ! <?php ! } ! } include($footer); ! ?> Index: meetings.php =================================================================== RCS file: /cvsroot/openfirst/projects/meetings.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** meetings.php 13 Sep 2003 15:38:24 -0000 1.7 --- meetings.php 12 Oct 2003 23:39:14 -0000 1.8 *************** *** 85,100 **** ?> ! <h2><font face="Verdana, Arial, Helvetica, sans-serif"> Meetings Organizer</font></h2> ! <table width="100%"> <tr> <th>Upcoming Meetings</th> </tr> </table> ! <table width="100%"> <tr> ! <td class="sub" width="6%"> </td> ! <td class="sub" width="21%"><div align="center"><strong>Date</strong></div></td> ! <td class="sub" width="52%"><div align="center"><strong>Description</strong></div></td> ! <td class="sub" width="21%"><div align="center"><strong>Arranged For</strong></div></td> </tr> <?php --- 85,101 ---- ?> ! <h2><font face="Verdana, Arial, Helvetica, sans-serif"> Meeting Organizer</font></h2> ! <p><font face="Verdana, Arial, Helvetica, sans-serif">Click on the image to view ! more infomation about the meeting.</font></p> ! <table width="57%"> <tr> <th>Upcoming Meetings</th> </tr> </table> ! <table width="57%"> <tr> ! <td class="sub" width="7%"> </td> ! <td class="sub" width="28%"><div align="left">Date</div></td> ! <td class="sub" width="65%"><div align="left">Arranged For</div></td> </tr> <?php *************** *** 108,112 **** <td><div align="center"><a href="viewmeeting.php?ID=<?php echo $meeting->ID; ?>"><img src="../members/icons/apps/date.png" width="32" height="32" border="0"></a></div></td> <td><?php echo date("F j, Y",$meeting->ForDate); ?></td> - <td><?php echo $meeting->Description; ?></td> <td> <?php --- 109,112 ---- *************** *** 126,146 **** // If there are no values then output a no value message if(ofirst_dbnum_rows($meetquery) == 0){ ! echo "<tr><td> </td><td> </td><td>There are no planned meetings!</td><td> </td></tr>"; } ?> </table> ! <table width="100%"> <tr> <th>Past Meetings</th> </tr> </table> ! <table width="100%"> <tr> ! <td class="sub" width="6%"> </td> ! <td class="sub" width="21%">Date</th> ! <td class="sub" width="52%">Description</th> ! <td class="sub" width="21%">Arranged For</th> ! </tr> <?php // Check for passed meetings and preview them --- 126,150 ---- // If there are no values then output a no value message if(ofirst_dbnum_rows($meetquery) == 0){ ! echo "<tr><td> </td><td> </td><td>There are no planned meetings!</td></tr>"; } ?> </table> ! <br> ! <table width="57%"> <tr> <th>Past Meetings</th> </tr> </table> ! <table width="57%"> <tr> ! <td class="sub" width="7%"> </td> ! <td class="sub" width="28%"><div align="left">Date ! </th> ! </div> ! <td class="sub" width="65%"><div align="left">Arranged For ! </th> ! </div> ! </tr> <?php // Check for passed meetings and preview them *************** *** 152,156 **** <img src="../members/icons/apps/date.png" width="32" height="32" border="0"></a></div></td> <td><?php echo date("F j, Y",$meeting->ForDate); ?></td> - <td><?php echo $meeting->Description; ?></td> <td> <?php --- 156,159 ---- *************** *** 169,173 **** // If there are no values then output a message if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td> </td><td> </td><td>There are no past meetings!</td><td> </td></tr>"; } --- 172,176 ---- // If there are no values then output a message if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td> </td><td> </td><td>There are no past meetings!</td></tr>"; } *************** *** 175,178 **** --- 178,182 ---- </table> <br> + <?php if($user->membertype == "administrator"){ ?> <form onsubmit="return dhtmlEditorPrepareSubmit();" action='meetings.php' method='POST'> <table width="64%"> *************** *** 195,199 **** ?> ! </td> </tr> <tr> --- 199,203 ---- ?> ! </td> </tr> <tr> *************** *** 323,327 **** <br> <?php ! } include($footer); --- 327,331 ---- <br> <?php ! } } include($footer); Index: mytask.php =================================================================== RCS file: /cvsroot/openfirst/projects/mytask.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mytask.php 1 Sep 2003 17:29:10 -0000 1.5 --- mytask.php 12 Oct 2003 23:39:14 -0000 1.6 *************** *** 40,44 **** <h2>My Tasks Summarized</h2> <p>The information listed below is a list of summarized tasks that you have been ! assigned to.</p> <table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> --- 40,46 ---- <h2>My Tasks Summarized</h2> <p>The information listed below is a list of summarized tasks that you have been ! assigned to<br> ! and that are currently active within the action register system (pend tasks ! are not shown). </p> <table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> *************** *** 58,62 **** // Run through the current tasks ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks"); while($tasks = ofirst_dbfetch_object($query)){ --- 60,64 ---- // Run through the current tasks ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE Pend = 'none'"); while($tasks = ofirst_dbfetch_object($query)){ *************** *** 71,124 **** if($showtask){ - - // If value is pending then select the proper information - if($tasks->Pend == "none"){ - $pend = false; - } else { - - $taskquery = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE ID = '".$tasks->Pend."'"); - $pendtask = ofirst_dbfetch_object($taskquery); - - if($pendtask->Completion == 100){ - $pend = false; - } else { - $pend = true; - } - } - } ?> <tr <?php if(date("F j, Y",time()) == date("F j, Y",$tasks->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> <td><a href="notes.php?GroupID=<?php echo $_GET['GroupID']; ?>&TaskID=<?php echo $tasks->ID; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>"> <?php - - // If value is pending then show pend graphics - if($pend){ - echo "<img src='../members/icons/actions/encrypted.png' border='0'>"; - } else { echo "<a href='notes.php?GroupID=".$tasks->GroupID."&TaskID=".$tasks->ID."&ProjectID=".$tasks->ProjectID."'><img src='../members/icons/filesystems/desktop.png' border='0'></a>"; - } - ?> </a></td> <td> ! <?php ! echo $tasks->TaskName." ("; ! if(! $pend){ ! echo $tasks->Completion."%"; ! } else { ! echo "PEND ON: ".$pendtask->TaskName; ! } ! echo ")"; ?> </td> <td> ! <?php echo date("F j, Y",$tasks->TarDate); ?> </td> <td><?php echo $tasks->Description; ?></td> ! <td><?php echo $tasks->Assigned; ?></td> </tr> <? } --- 73,99 ---- if($showtask){ ?> <tr <?php if(date("F j, Y",time()) == date("F j, Y",$tasks->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> <td><a href="notes.php?GroupID=<?php echo $_GET['GroupID']; ?>&TaskID=<?php echo $tasks->ID; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>"> <?php echo "<a href='notes.php?GroupID=".$tasks->GroupID."&TaskID=".$tasks->ID."&ProjectID=".$tasks->ProjectID."'><img src='../members/icons/filesystems/desktop.png' border='0'></a>"; ?> </a></td> <td> ! <?php ! echo "<a href='notes.php?GroupID=".$tasks->GroupID."&TaskID=".$tasks->ID."&ProjectID=".$tasks->ProjectID."'>".$tasks->TaskName."</a> ("; ! echo $tasks->Completion."%)"; ?> </td> <td> ! <?php echo date("F j, Y",$tasks->TarDate); ?> </td> <td><?php echo $tasks->Description; ?></td> ! <td><?php echo str_replace(",",", ",$tasks->Assigned); ?></td> </tr> <? + } } Index: notes.php =================================================================== RCS file: /cvsroot/openfirst/projects/notes.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** notes.php 1 Sep 2003 17:29:10 -0000 1.8 --- notes.php 12 Oct 2003 23:39:14 -0000 1.9 *************** *** 77,102 **** ?> <h2>Notes and Descriptions</h2> ! <table width="540"> ! <tr> ! <td width="0" height="0"> <div align="left"><em>Location:</em> <a href="groups.php"><?php echo $group->GroupName; ?> ! Group</a> / <a href="projects.php?GroupID=<?php echo $_GET['GroupID']; ?>"><?php echo $project->ProjectName; ?> ! Project</a> / <a href="tasks.php?GroupID=<?php echo $_GET['GroupID']; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>"><?php echo $task->TaskName; ?> ! Task</a> / <a href="notes.php?GroupID=<?php echo $_GET['GroupID']; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>&TaskID=<?php echo $_GET['TaskID']; ?>"><strong>Notes</strong></a></div></td> ! </tr> ! </table> ! <br> ! <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th>Notes for Task <?php echo $task->TaskName; ?></th> ! </tr> ! </table> ! <table width="100%"> <tr> ! <td class="sub" width="5%"> </td> ! <td class="sub" width="17%">Date</td> ! <td class="sub" width="63%">Note Write Up</td> ! <td class="sub" width="15%">Commiter</td> ! </tr> ! <?php // List the notes --- 77,102 ---- ?> <h2>Notes and Descriptions</h2> ! <h2></h2> ! <table width="100%" align="center" cellpadding="0" cellspacing="0"> <tr> ! <td width="22%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th> Navigation </th> ! <tr> ! <td><?php projecttree("tasks",$_GET['ProjectID']); ?></td> ! </table></td> ! <td width="78%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th>Notes for Task <font color='red'><?php echo $task->TaskName; ?></font></th> ! </tr> ! </table> ! <table width="100%"> ! <tr> ! <td class="sub" width="5%"> </td> ! <td class="sub" width="17%">Date</td> ! <td class="sub" width="63%">Note Write Up</td> ! <td class="sub" width="15%">Commiter</td> ! </tr> ! <?php // List the notes *************** *** 105,116 **** ?> ! ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$notes->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td><img src="../members/icons/filesystems/files.png" width="32" height="32"></td> ! <td><?php echo date("F j, Y h:i a",$notes->Dates); ?></td> ! <td><?php echo $notes->Description; ?></td> ! <td><?php echo $notes->Commiter; ?></td> ! </tr> ! <?php } --- 105,115 ---- ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$notes->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td><img src="../members/icons/filesystems/files.png" width="32" height="32"></td> ! <td><?php echo date("F j, Y h:i a",$notes->Dates); ?></td> ! <td><?php echo $notes->Description; ?></td> ! <td><?php echo $notes->Commiter; ?></td> ! </tr> ! <?php } *************** *** 120,124 **** --- 119,126 ---- } ?> + </table></td> + </tr> </table> + <br> <?php *************** *** 131,134 **** --- 133,139 ---- } } + + // Show administrator the add option no matter what + if($user->membertype == "administrator"){ $show = true; } if($show){ *************** *** 160,201 **** <td><input name="create" type="submit" id="create2" value="Create Note"> <input type="reset" name="Reset" value="Reset"> </td> - </tr> - <tr> - <th> </th> - <th>Add Task Completion</th> - </tr> - <tr> - <td><div align="right">Completion:</div></td> - <td><select name="completion" id="completion"> - <option selected><?php echo $task->Completion; ?></option> - <option>----</option> - <option>CLOSE</option> - <option>0</option> - <option>5</option> - <option>10</option> - <option>15</option> - <option>20</option> - <option>25</option> - <option>30</option> - <option>35</option> - <option>40</option> - <option>45</option> - <option>50</option> - <option>55</option> - <option>60</option> - <option>65</option> - <option>70</option> - <option>75</option> - <option>80</option> - <option>85</option> - <option>90</option> - <option>95</option> - <option>100</option> - </select> - %</td> - </tr> - <tr> - <td> </td> - <td><input name="addcompletion" type="submit" id="create" value="Add Completion"></td> </tr> </table> --- 165,168 ---- Index: projects.php =================================================================== RCS file: /cvsroot/openfirst/projects/projects.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** projects.php 10 Oct 2003 11:19:38 -0000 1.10 --- projects.php 12 Oct 2003 23:39:14 -0000 1.11 *************** *** 101,105 **** <td width="78%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <th>Project Listings for <?php echo $group->GroupName; ?> Group</th> </tr> </table> --- 101,105 ---- <td width="78%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <th>Project Listings for <font color='red'><?php echo $group->GroupName; ?></font> Group</th> </tr> </table> *************** *** 107,119 **** <tr> <td class="sub" width="3%"> </td> ! <td class="sub" width="22%">Project Name</td> ! <td class="sub" width="15%">Completion</td> ! <td class="sub" width="41%">Description</td> ! <?php if($user->membertype == "administrator"){ ?><td class="sub" width="19%">Option</td><?php } ?> </tr> <?php // List current projects in database ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$_GET['GroupID']."' ORDER BY ProjectName;"); while($projects = ofirst_dbfetch_object($query)){ --- 107,122 ---- <tr> <td class="sub" width="3%"> </td> ! <td class="sub" width="19%">Project Name</td> ! <td class="sub" width="10%">Completion</td> ! <td class="sub" width="35%">Description</td> ! <td width="27%" class="sub">Assigned To Project </td> ! <?php if($user->membertype == "administrator"){ ?> ! <td class="sub" width="6%">Admin</td> ! <?php } ?> </tr> <?php // List current projects in database ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$_GET['GroupID']."' ORDER BY ID;"); while($projects = ofirst_dbfetch_object($query)){ *************** *** 137,141 **** <tr <?php if(date("F j, Y",time()) == date("F j, Y",$projects->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> <td> ! <?php // If project completion is 100 then display completion graphic --- 140,144 ---- <tr <?php if(date("F j, Y",time()) == date("F j, Y",$projects->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> <td> ! <?php // If project completion is 100 then display completion graphic *************** *** 150,154 **** // Decide on graphic depending on the value of pend if($pend){ ! echo "<img src='../members/icons/actions/encrypted.png' border='0'>"; } else { echo "<a href='tasks.php?GroupID=".$_GET['GroupID']."&ProjectID=".$projects->ID."'><img src='../members/icons/actions/project_open.png' border='0'></a>"; --- 153,157 ---- // Decide on graphic depending on the value of pend if($pend){ ! echo "<img src='project-pend.png' border='0'>"; } else { echo "<a href='tasks.php?GroupID=".$_GET['GroupID']."&ProjectID=".$projects->ID."'><img src='../members/icons/actions/project_open.png' border='0'></a>"; *************** *** 158,162 **** ?> </td> ! <td> <a href="tasks.php?GroupID=<?php echo $projects->GroupID; ?>&ProjectID=<?php echo $projects->ID; ?>"><?php echo $projects->ProjectName; ?></a></td> <td> <?php --- 161,173 ---- ?> </td> ! <td> ! <?php ! if(! $pend){ ! echo '<a href="tasks.php?GroupID='.$projects->GroupID.'&ProjectID='.$projects->ID.'">'.$projects->ProjectName.'</a>'; ! }else{ ! echo $projects->ProjectName; ! } ! ?> ! </td> <td> <?php *************** *** 169,173 **** </td> <td><?php echo $projects->Description; ?></td> ! <?php if($user->membertype == "administrator"){ ?><td><a href="edit.php">Edit</a> | <a href="delete.php">Delete</a> </td><?php } ?> </tr> <? --- 180,186 ---- </td> <td><?php echo $projects->Description; ?></td> ! <td><?php echo str_replace(",",", ",$projects->Assigned); ?></td> ! <?php if($user->membertype == "administrator"){ ?><td id="adminmenu" background="/openfirst/images/back-admin.png"><div align="center"><a href="edit.php">Edit</a></div></td> ! <?php } ?> </tr> <? *************** *** 217,221 **** <?php ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$_GET['GroupID']."'"); while($projects = ofirst_dbfetch_object($query)){ --- 230,234 ---- <?php ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$_GET['GroupID']."' ORDER BY 'ID'"); while($projects = ofirst_dbfetch_object($query)){ Index: projectsmodule.php =================================================================== RCS file: /cvsroot/openfirst/projects/projectsmodule.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** projectsmodule.php 10 Oct 2003 11:19:02 -0000 1.2 --- projectsmodule.php 12 Oct 2003 23:39:14 -0000 1.3 *************** *** 47,51 **** // Case if user wants to view tasks in a project case "tasks": ! $task_query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE ProjectID = ".$value); $task = ofirst_dbfetch_object($task_query); --- 47,51 ---- // Case if user wants to view tasks in a project case "tasks": ! $task_query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE ProjectID = ".$value." ORDER BY 'ID'"); $task = ofirst_dbfetch_object($task_query); *************** *** 86,89 **** --- 86,90 ---- echo ' <img src="../members/icons/actions/project_open.png" width="18" height="20" border="0"> <a href="tasks.php?GroupID='.$groups.'&ProjectID='.$project->ID.'">'.$project->ProjectName.'</a><br>'; + // Preview current tasks if($tasks != "" && $project->ID == $projects){ *************** *** 93,97 **** // Preview and image and name of task ! echo ' <img src="../members/icons/filesystems/desktop.png" width="18" height="20" border="0"> '.$task->TaskName.'<br>'; } --- 94,104 ---- // Preview and image and name of task ! echo ' <img src="../members/icons/filesystems/desktop.png" width="18" height="20" border="0"><a href="notes.php?GroupID='.$task->GroupID.'&ProjectID='.$task->ProjectID.'&TaskID='.$task->ID.'"> '; ! if(isset($_GET['TaskID']) && $_GET['TaskID'] == $task->ID){ ! echo "<b>".$task->TaskName."</b>"; ! }else{ ! echo $task->TaskName; ! } ! echo "</a><br>"; } Index: tasks.php =================================================================== RCS file: /cvsroot/openfirst/projects/tasks.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** tasks.php 10 Oct 2003 11:19:38 -0000 1.10 --- tasks.php 12 Oct 2003 23:39:14 -0000 1.11 *************** *** 81,104 **** } - // Remove button process - if(isset($_POST['remove'])){ - - // If a remove confirm is selected then allow the process to continue - if(! isset($_POST['confirm'])){ - echo "<br><br>Your request to remove the task was denied because you have not confirmed! [ <a href='tasks.php?GroupID=".$_GET['GroupID']."&ProjectID=".$_GET['ProjectID']."'>Tasks</a> ]<br><br>"; - die(include($footer)); - } - - // Remove every task related value in the database - ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE ID = '".$_POST['task']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_notes WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_tasks WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); - ofirst_dbquery("DELETE FROM ofirst_projects_projects WHERE TaskID = '".$_POST['task']."'") or die(ofirst_dberror()); - - echo "<br><br>Task removed! [ <a href='tasks.php?GroupID=".$_GET['GroupID']."&ProjectID=".$_GET['ProjectID']."'>Projects</a> ]<br><br>"; - die(include($footer)); - - } - // Gather information to show the following tasks $query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups WHERE ID = '".$_GET['GroupID']."'"); --- 81,84 ---- *************** *** 113,124 **** <tr> <td width="22%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th> Navigation </th> ! <tr> ! <td><?php projecttree("tasks",$_GET['ProjectID']); ?></td> </table></td> ! <td width="78%" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <th>Task Listings for <?php echo $project->ProjectName; ?> Project</th> </tr> </table> --- 93,102 ---- <tr> <td width="22%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr><th>Navigation</th><tr> ! <td><?php projecttree("tasks",$_GET['ProjectID']); ?></td> </table></td> ! <td width="78%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <th>Task Listings for the <font color='red'><?php echo $project->ProjectName; ?></font> Project</th> </tr> </table> *************** *** 126,134 **** <tr> <td class="sub" width="3%"> </td> ! <td class="sub" width="17%">Task Name</td> <td class="sub" width="10%">Completion</td> <td class="sub" width="16%">Target Date</td> ! <td class="sub" width="37%">Description</td> ! <?php if($user->membertype == "administrator"){ ?><td class="sub" width="17%">Option</td><?php } ?> </tr> <?php --- 104,115 ---- <tr> <td class="sub" width="3%"> </td> ! <td class="sub" width="15%">Task Name</td> <td class="sub" width="10%">Completion</td> <td class="sub" width="16%">Target Date</td> ! <td class="sub" width="31%">Description</td> ! <td width="19%" class="sub">Assigned To Members</td> ! <?php if($user->membertype == "administrator"){ ?> ! <td class="sub" width="6%">Admin</td> ! <?php } ?> </tr> <?php *************** *** 160,175 **** <?php ! // If the task comletion is 100% then display the completion graphic if($tasks->Completion == "100"){ echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'><img src='../members/icons/actions/button_ok.png' border='0'></a>"; ! // If the task is closed then display the close value } elseif($tasks->Completion == "CLOSE") { echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'><img src='../members/icons/actions/button_cancel.png' border='0'></a>"; } else { ! // If the value is still pending then display the pend value if($pend){ ! echo "<img src='../members/icons/actions/encrypted.png' border='0'>"; } else { echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'><img src='../members/icons/filesystems/desktop.png' border='0'></a>"; --- 141,156 ---- <?php ! // If the task comletion is 100% then display the completion image if($tasks->Completion == "100"){ echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'><img src='../members/icons/actions/button_ok.png' border='0'></a>"; ! // If the task is closed then display the close value image } elseif($tasks->Completion == "CLOSE") { echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'><img src='../members/icons/actions/button_cancel.png' border='0'></a>"; } else { ! // If the value is still pending then display the pend value image if($pend){ ! echo "<img src='task-pend.png' border='0'>"; } else { echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'><img src='../members/icons/filesystems/desktop.png' border='0'></a>"; *************** *** 180,203 **** </td> <td> ! <?php ! // Decide between pend, close and completion value to display - echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'>".$tasks->TaskName."</a>"; if(! $pend){ ! if($tasks->Completion == "CLOSE"){ echo "--<b>CLOSED</b>"; } ! } else { ! echo "PEND ON: ".$pendtask->TaskName; } ?> </td> ! <td>dsfg</td> <td><?php echo date("F j, Y",$tasks->TarDate); ?></td> <td><?php echo $tasks->Description; ?></td> ! <?php if($user->membertype == "administrator"){ ?> ! <td><a href="edit.php">Edit</a> | <a href="delete.php">Close</a> | ! <a href="open.php">Open</a> </td><?php } ?> </tr> <? --- 161,196 ---- </td> <td> ! <?php ! // Show link or not for pend text ! if(! $pend){ ! echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'>".$tasks->TaskName."</a>"; ! }else{ ! echo $tasks->TaskName; ! } // Decide between pend, close and completion value to display if(! $pend){ ! if($tasks->Completion == "CLOSE"){ echo "-- <b>CLOSED</b>"; } } ?> </td> ! <td> ! <?php ! if(! $pend){ ! if($tasks->Completion == "CLOSE"){ echo "CLOSED"; }else{ echo $tasks->Completion."%"; } ! } else { ! echo "PEND ON: ".$pendtask->TaskName; ! } ! ?> ! </td> <td><?php echo date("F j, Y",$tasks->TarDate); ?></td> <td><?php echo $tasks->Description; ?></td> ! <td><?php echo str_replace(",",", ",$tasks->Assigned); ?></td> ! <?php ! if($user->membertype == "administrator"){ ! echo '<td id="adminmenu" background="/openfirst/images/back-admin.png"><center><a href="edit.php">Edit</a></center></td>'; ! } ?> </tr> <? *************** *** 223,226 **** --- 216,222 ---- } } + + // Give administrator access no matter what + if($user->membertype == "administrator"){ $show = true; } if($show){ Index: viewmeeting.php =================================================================== RCS file: /cvsroot/openfirst/projects/viewmeeting.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** viewmeeting.php 13 Sep 2003 15:38:24 -0000 1.5 --- viewmeeting.php 12 Oct 2003 23:39:14 -0000 1.6 *************** *** 108,112 **** </table> <br> ! <?php if($meeting->Status != "done"){ ?> <form onsubmit="return dhtmlEditorPrepareSubmit();" action='viewmeeting.php?ID=<?php echo $_GET['ID']; ?>' method='POST'> <table width="48%"> --- 108,115 ---- </table> <br> ! <?php ! if($meeting->Status != "done"){ ! if($user->membertype = "administrator"){ ! ?> <form onsubmit="return dhtmlEditorPrepareSubmit();" action='viewmeeting.php?ID=<?php echo $_GET['ID']; ?>' method='POST'> <table width="48%"> *************** *** 170,174 **** <br> <?php ! } } --- 173,177 ---- <br> <?php ! } } } |
From: <xt...@us...> - 2003-10-12 22:45:51
|
Update of /cvsroot/openfirst/manual/openfirst.awards In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.awards Modified Files: awards.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: awards.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.awards/awards.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** awards.php 29 Sep 2003 21:31:54 -0000 1.1 --- awards.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 46,50 **** <td>The openFIRST.awards module was designed to manage team awards and accomplishments in a neat and organized manner. The module presents the awards to visitors ! and hides management options.</td> </tr> <tr> --- 46,50 ---- <td>The openFIRST.awards module was designed to manage team awards and accomplishments in a neat and organized manner. The module presents the awards to visitors ! and hides management options from those who are not administrators.</td> </tr> <tr> *************** *** 71,75 **** <tr> <td>This is a very basic script that inserts and views award data in ofirst_awards. ! It uses images to depict 1st, 2nd and 3rd positions.</td> </tr> <tr> --- 71,75 ---- <tr> <td>This is a very basic script that inserts and views award data in ofirst_awards. ! It uses images to depict 1st, 2nd and 3rd place positions.</td> </tr> <tr> *************** *** 77,81 **** </tr> <tr> ! <td>We are planning to incorporate catagory selection for awards, this we you can organize awards based on competitions, years etc.</td> </tr> --- 77,81 ---- </tr> <tr> ! <td>We are planning to incorporate category selection for awards, with this you can organize awards based on competitions, years etc.</td> </tr> *************** *** 101,104 **** </tr> </table> ! <p><strong></strong></p> ! <?php include("$footer"); \ No newline at end of file --- 101,104 ---- </tr> </table> ! <p></p> ! <?php include("$footer"); |
From: <xt...@us...> - 2003-10-12 22:43:31
|
Update of /cvsroot/openfirst/manual In directory sc8-pr-cvs1:/tmp/cvs-serv12646 Modified Files: index.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/manual/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 29 Sep 2003 21:19:45 -0000 1.4 --- index.php 12 Oct 2003 22:40:49 -0000 1.5 *************** *** 100,110 **** files according. For Unix users there is a module called bashinstall written by Tim Ginn that automatically retrieves and arranges the files. Unfortunately ! there is no equivelent for our Windows users, therefor we will have to ! do it the older fashioned way. Follow the following steps to ensure that you are installing and preparing your computer properly:</p> <ol> ! <li>Visit http://www.openfirst.org or http://www.openfirst.org/nightly/ and download the latest version of the full openFIRST system.</li> ! <li>Its time to configure your system with the proper software. Click on one of the following links to learn how to setup your webserver technology: IIS/PWS with PHP on Windows, Apache with PHP on Windows, Apache with --- 100,110 ---- files according. For Unix users there is a module called bashinstall written by Tim Ginn that automatically retrieves and arranges the files. Unfortunately ! there is no equivelent for our Windows users, therefore we will have to ! do it the old-fashioned way. Follow these steps to ensure that you are installing and preparing your computer properly:</p> <ol> ! <li>Visit <a href='http://www.openfirst.org/'>http://www.openfirst.org</a> or <a href='http://www.openfirst.org/nightly/'>http://www.openfirst.org/nightly/</a> and download the latest version of the full openFIRST system.</li> ! <li>It's time to configure your system with the proper software. Click on one of the following links to learn how to setup your webserver technology: IIS/PWS with PHP on Windows, Apache with PHP on Windows, Apache with *************** *** 114,130 **** on Windows, ODBC on Windows, ODBC on Linux.</li> <li>Now that you have your webserver and database software setup and running ! properly lets unpack the files that you download in Step 1 and place ! the files somewhere in your root directory. For IIS/PWS users you may ! find this at c:/inetpub/wwwroot/ for Apache users on Windows your root ! is located at c:/Apache Group/Apache/htdocs/, for Apache users on Linux ! your root would be /home/apache/htdocs/.<br> <br> ! If you are using another server technology then you must find the root ! folder by reading their supplied help documents. openFIRST has been tested on IIS/PWS, Apache and Sambar using MySQL, MSSQL and ODBC. If you find any complications in compatibility contact our development team as soon as possible.</li> ! <li>This is a good time to make sure that all read/write permission on ! files are set properly. You will want to make sure that you have write capability set for the globals file located at /config/globals.php.</li> <li>Now that you have your webserver, database and openFIRST base files --- 114,133 ---- on Windows, ODBC on Windows, ODBC on Linux.</li> <li>Now that you have your webserver and database software setup and running ! properly lets unpack the files that you downloaded in Step 1 and place ! them somewhere beneath your document root directory. Here are some common locations of this directory: ! <table> ! <tr><th>Operating System</th><th>Web Server</th><th>Location</th></tr> ! <tr><td>Windows</td><td>Microsoft IIS/PWS</td><td>c:/inetpub/wwwroot/</td></tr> ! <tr><td>Windows</td><td>Apache</td><td>c:/Apache Group/Apache/htdocs/</td></tr> ! <tr><td>Unix</td><td>Apache</td><td>/home/<b>yourusernamehere</b>/public_html/</td></tr> ! </table> <br> ! If you are using another server technology then you must find the root ! folder by reading the server software's accompanying help documents. openFIRST has been tested on IIS/PWS, Apache and Sambar using MySQL, MSSQL and ODBC. If you find any complications in compatibility contact our development team as soon as possible.</li> ! <li>This is a good time to make sure that all read/write permissions on ! files are set properly. You will want to make sure that you have write capability set for the globals file located at /config/globals.php.</li> <li>Now that you have your webserver, database and openFIRST base files *************** *** 133,139 **** for you will have to enter them into the openFIRST installer.</li> <li> If you are running opeFIRST on a local system you can use (http://localhost ! or 127.0.0.1) to access your webserver files. Open your web browser ! and navigate yourself localhost/config/index.php which should automatically ! direct you to the install shield.</li> <li>At this point you will be able to use our installer to guide you through the installation process.<br> --- 136,142 ---- for you will have to enter them into the openFIRST installer.</li> <li> If you are running opeFIRST on a local system you can use (http://localhost ! or 127.0.0.1) to access your webserver files. In some versions of IIS this will not work, if this is the case you will have to access your webserver using an alternative address. Open your web browser ! and navigate to localhost/config/index.php which should automatically ! direct you to the base configuration wizard.</li> <li>At this point you will be able to use our installer to guide you through the installation process.<br> *************** *** 147,152 **** and password. By default openFIRST sets an admin account for you. Login with this information: username: admin, password: openfirst.</li> ! <li>You should make sure there are no security holes by remove the write ! permissions to config/global.php or deleting config/first.php. We are not responsible for any damaged websites or webservers if this security hole is not closed.</li> --- 150,155 ---- and password. By default openFIRST sets an admin account for you. Login with this information: username: admin, password: openfirst.</li> ! <li>You should make sure there are no security holes by removing the write ! permissions from config/globals.php or deleting config/first.php. We are not responsible for any damaged websites or webservers if this security hole is not closed.</li> *************** *** 155,166 **** directory you basically placed all the modules that come with the system in their correct spots. Now you will have to actually install the modules ! you wish to use. Click Install Components. Select the modules which ! you would like to run on the openFIRST system. Note that you dont have to use all the modules that come with openFIRST. There are many people ! who would just like to use our modules for specific reasons. For more information on how to do this read the Modules & Components section of the manual.</li> <li>Once you have the modules installed you have to activate them and ! decide if you want them shown on the menu. Click Module Administration. A list of all the currently installed modules will be shown.</li> <li>Click on the checkboxes that correspond to each module. The Includes --- 158,169 ---- directory you basically placed all the modules that come with the system in their correct spots. Now you will have to actually install the modules ! you wish to use. To do this, login to the openFIRST system from the screen following setup. Click Install Components. Select the modules which ! you would like to run on the openFIRST system. Note that you don't have to use all the modules that come with openFIRST. There are many people ! who would just like to a few of our modules for specific reasons. For more information on how to do this read the Modules & Components section of the manual.</li> <li>Once you have the modules installed you have to activate them and ! decide if you want them to be shown on the menu. Click Module Administration. A list of all the currently installed modules will be shown.</li> <li>Click on the checkboxes that correspond to each module. The Includes *************** *** 170,176 **** includes textbox will be found in the directory of the module. For example the logger module has an include file called logger.php. This file may ! be found iat/logger/logger.php.</li> <li>Congratulations, you have just installed openFIRST, the first open-source ! robotics driven website for teams and students of the FIRST Robotics Competition.</li> </ol> --- 173,179 ---- includes textbox will be found in the directory of the module. For example the logger module has an include file called logger.php. This file may ! be found at /logger/logger.php.</li> <li>Congratulations, you have just installed openFIRST, the first open-source ! robotics-oriented website for teams and students of the FIRST Robotics Competition.</li> </ol> *************** *** 180,185 **** there are any new versions that you can download.</p> <p>If you are still having problems with installing openFIRST then please ! review the steps over one more time and read carefully. If all else fails ! please report the problem to our technical support staff at http://www.openfirst.org.</p> <p>Thank you for using openFIRST and enjoy!</p></td> </tr> --- 183,188 ---- there are any new versions that you can download.</p> <p>If you are still having problems with installing openFIRST then please ! review the preceding steps over one more time and read carefully. If all else fails ! please report the problem to our technical support staff at <a href='http://www.openfirst.org/'>http://www.openfirst.org</a>.</p> <p>Thank you for using openFIRST and enjoy!</p></td> </tr> *************** *** 192,206 **** </tr> <tr> ! <td>So you like a few openFIRST modules but you dont want to have to use the entire system. We are perfectly fine with this; in fact we have developed openFIRST to enocourage this. In order to use just a few modules all you ! have to do is download the base module, pop it into your website root and ! run the install shield. You can use headers and footers directly from your ! website or you can modify our headers and footers directly. <p>You can even use your original website database. All you have to do is use the same connection information. We made sure that openfirst tables wouldnt interfere with your websites table so we named each of our tables with a prefix of ofirst_.</p> ! <p>Its that easy. Just download and install the modules you want and viola!</p></td> </tr> <?php --- 195,209 ---- </tr> <tr> ! <td>So you'd like a few openFIRST modules but you don't want to have to use the entire system. We are perfectly fine with this; in fact we have developed openFIRST to enocourage this. In order to use just a few modules all you ! have to do is download the base module, plop it into your website root and ! run the base configuration utility. You can use headers and footers directly from your ! website or you can modify our provided headers and footers. <p>You can even use your original website database. All you have to do is use the same connection information. We made sure that openfirst tables wouldnt interfere with your websites table so we named each of our tables with a prefix of ofirst_.</p> ! <p>It's that easy. Just download and install the modules you want and viola!</p></td> </tr> <?php *************** *** 223,231 **** you already have a website then you could adapt your header and footer files to work seemlesly with the openFIRST system. The headers and footers ! you specify are adapted everywhere on the system. Even the e-mail outputs ! include the system headers.</p> <p>Our team has adopted CSS in the headers because we wanted to give our users more power in the design and look of the website. You will have ! to code the CSS to our specifications but atleast you will be able to control colors, backgrounds etc.</p></td> </tr> --- 226,234 ---- you already have a website then you could adapt your header and footer files to work seemlesly with the openFIRST system. The headers and footers ! you specify are adapted everywhere on the system. Even the e-mail output ! includes the system headers.</p> <p>Our team has adopted CSS in the headers because we wanted to give our users more power in the design and look of the website. You will have ! to code the CSS to our specifications but at least you will be able to control colors, backgrounds etc.</p></td> </tr> *************** *** 245,253 **** functions. The functions folder (/config/functions/) contains files which are automatically included into the globals. When globals is first called ! the system scans the folder and includes the functions. Functions in this ! folder are usually vital to the overall system. They provide the system ! with functions such like multipartmail(), the openFIRST mail function and make_wysiwyg(), which is the basic WYSIWYG function.</p> ! <p>Although if you would like you may remove the file with the function you wish to disable. The great thing about this is that even though you remove the function files the system has a fall-back function. For example --- 248,256 ---- functions. The functions folder (/config/functions/) contains files which are automatically included into the globals. When globals is first called ! the system scans the functions/ folder and includes the functions. Functions in this ! folder are never vital to the overall system. They provide the system ! with enhanced functions such like multipartmail(), the openFIRST mail function and make_wysiwyg(), which is the basic WYSIWYG function.</p> ! <p>If you like you may remove the file with the function you wish to disable. The great thing about this is that even though you remove the function files the system has a fall-back function. For example *************** *** 256,267 **** automatically revert to using a normal text box.</p> <p>Each module uses relative paths to configure the modules which means ! that you have o have the module folders in the systems base root. This is because when globals runs it depends on the include value from the ! ofirst_config which will automatically include module specific include files from each folder. For example logger has an include that is carried throughout the website to help log visitors. When globals is called it ! automatically gets the logger include files from the databaes and includes /logger/logger.php. It was programmed this way so that users will have ! more power over increasing the systems features and power.</p> <p>Another great feature that we implemented into openFIRST is the database selection. openFIRST supports MySQL, MSSQL and ODBC. The way this works --- 259,270 ---- automatically revert to using a normal text box.</p> <p>Each module uses relative paths to configure the modules which means ! that you have to place the module folders in the system's base root. This is because when globals runs it depends on the include value from the ! ofirst_config which will automatically include any module-specific include files from each folder. For example logger has an include that is carried throughout the website to help log visitors. When globals is called it ! automatically gets the logger include files from the database and includes /logger/logger.php. It was programmed this way so that users will have ! more power over increasing the system's features and power.</p> <p>Another great feature that we implemented into openFIRST is the database selection. openFIRST supports MySQL, MSSQL and ODBC. The way this works *************** *** 274,278 **** <p align="left">So as you can see openFIRST is very extensible and neatly coded to allow for PHP programmers to easily develop something or adapt ! to the website. Note: this chart does not list all the avaiable variables/functions avaiable globally throughout the website. You must read the descriptions of each individual module manual to get that information.</p> --- 277,281 ---- <p align="left">So as you can see openFIRST is very extensible and neatly coded to allow for PHP programmers to easily develop something or adapt ! the website. Note: this chart does not list all the avaiable variables/functions avaiable globally throughout the website. You must read the descriptions of each individual module manual to get that information.</p> *************** *** 283,285 **** <?php } ?> ! <?php include("$footer"); ?> \ No newline at end of file --- 286,288 ---- <?php } ?> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:43:26
|
Update of /cvsroot/openfirst/manual/openfirst.sidebars In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.sidebars Modified Files: sidebars.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: sidebars.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.sidebars/sidebars.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sidebars.php 29 Sep 2003 21:41:59 -0000 1.1 --- sidebars.php 12 Oct 2003 22:40:50 -0000 1.2 *************** *** 45,51 **** </tr> <tr> ! <td>The openFIRST.sidebars is used to provide information from modules directly ! within the main contant of the entire openFIRST system. This is a great ! feature because it keeps the website dynamic and up-to-date with the latest news. </td> </tr> --- 45,50 ---- </tr> <tr> ! <td>The openFIRST.sidebars is used to provide information from modules directly to browsers which support Netscape/Mozilla style sidebars or Microsoft Active Desktop. This is a great ! feature because it keeps visitors and team members up-to-date with the latest news. </td> </tr> *************** *** 74,79 **** <tr> <td><p>The sidebars module creates information specific to each module and ! displays it on the side of the website this way visitors can view information ! quicker.</p> </td> </tr> --- 73,77 ---- <tr> <td><p>The sidebars module creates information specific to each module and ! displays it in the browser's sidebar so that visitors can view information more quickly.</p> </td> </tr> *************** *** 109,111 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 107,109 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |