openfirst-cvscommit Mailing List for openFIRST (Page 36)
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: <bug...@we...> - 2005-03-22 20:29:40
|
http://bugzilla.openfirst.org/show_bug.cgi?id=18 ja...@op... changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|de...@op... |ja...@op... ------- Additional Comments From ja...@op... 2005-03-22 14:29 ------- Accepting bug, CVS fix soon to come. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You reported the bug, or are watching the reporter. |
From: Astronouth7303 <ast...@us...> - 2005-03-14 16:20:42
|
Update of /cvsroot/openfirst/photogallery/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28266/photogallery/admin Modified Files: upload.php Log Message: Trying to get it to work right, won't upload Index: upload.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/upload.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** upload.php 14 Mar 2005 15:38:45 -0000 1.14 --- upload.php 14 Mar 2005 16:20:30 -0000 1.15 *************** *** 24,31 **** 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)); --- 24,31 ---- 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)); *************** *** 38,45 **** if(ISSET($_POST['upload'])){ ! ini_set("max_execution_time",$gallery_execution_time); ! $dirlocate = "../".$gallerydir.$gallery->GalleryName; ! $imgtypes[] = "txt"; for ($num=1;$num<=$_POST['NUM_UPLOADS'];$num++){ --- 38,45 ---- if(ISSET($_POST['upload'])){ ! ini_set('max_execution_time',$gallery_execution_time); ! $dirlocate = "$basepath/photogallery$gallerydir".$gallery->GalleryName.'/'; ! $imgtypes[] = 'txt'; for ($num=1;$num<=$_POST['NUM_UPLOADS'];$num++){ *************** *** 47,55 **** // If upload field is empty then exit the particular loop ! if (! $_FILES['upload'.$num]['name'] == ''){ $continue = false; ! $name = basename($_FILES['upload'.$num]['name']); ! $extension = substr(strrchr($text, '.'), 1 ); foreach($imgtypes As $type){ if(strcasecmp($extension, $type) == 0){ --- 47,55 ---- // If upload field is empty then exit the particular loop ! if (! $_FILES["upload$num"]['name'] == ''){ $continue = false; ! $name = basename($_FILES["upload$num"]['name']); ! $extension = substr(strrchr($name, '.'), 1 ); foreach($imgtypes As $type){ if(strcasecmp($extension, $type) == 0){ *************** *** 60,64 **** if(! $continue){ ! echo "<center><br />".$_FILES['upload'.$num]['name']." - ".$_FILES['upload'.$num]['size']." - ".$_FILES['upload'.$num]['type']." - <font color='Red'>Illegal file type!</font></center>"; continue; } --- 60,64 ---- if(! $continue){ ! echo '<center><br />'.$_FILES["upload$num"]['name'].' - '.$_FILES["upload$num"]['size'].' - '.$_FILES["upload$num"]['type']." - <font color='Red'>Illegal file type!</font></center>"; continue; } *************** *** 66,78 **** // Copy files to the proper directory if(is_writable($dirlocate)) { ! copy($_FILES['upload'.$num]['tmp_name'], $dirlocate."/".$_FILES['upload'.$num]['name']) or $error = true; ! echo "<center><br />".$_FILES['upload'.$num]['name']." - ".$_FILES['upload'.$num]['size']." - ".$_FILES['upload'.$num]['type']." - "; } else { ! echo("It appears that the permissions on the photogallery have become incorrect. In order for uploading of pictures to work, the gallery directory within the photogallery module must be writable ! by the web-user. ! <br />On UNIX systems this is typically accomplished by: ! <br /><tt>chmod -R 666 photogallery/gallery/</tt>"); } if(empty($error)){ --- 66,78 ---- // Copy files to the proper directory if(is_writable($dirlocate)) { ! copy($_FILES["upload$num"]['tmp_name'], "$dirlocate/".$_FILES["upload$num"]['name']) or $error = true; ! echo '<center><br />'.$_FILES["upload$num"]['name'].' - '.$_FILES["upload$num"]['size'].' - '.$_FILES["upload$num"]['type'].' - '; } else { ! echo('<p>It appears that the permissions on the photogallery have become incorrect. In order for uploading of pictures to work, the gallery directory within the photogallery module must be writable ! by the web-user.</p> ! <p>On UNIX systems this is typically accomplished by: ! <br /><code>chmod -R 666 photogallery/gallery/</code></p>'); } if(empty($error)){ |
From: Astronouth7303 <ast...@us...> - 2005-03-14 15:38:57
|
Update of /cvsroot/openfirst/photogallery/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16578/photogallery/admin Modified Files: galleryglobals.php upload.php Log Message: -Removed 3-letter extension limit -made $imgtypes an array Index: galleryglobals.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/galleryglobals.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** galleryglobals.php 14 Mar 2005 00:55:00 -0000 1.6 --- galleryglobals.php 14 Mar 2005 15:38:44 -0000 1.7 *************** *** 23,35 **** */ ! $gallerydir = "/gallery"; // Declare gallery location compared to galleryglobals.php //Declare image types allowed for uploading/previewing ! $imgtypes = "gif,jpg,peg,png,bmp"; // Note that any extensions that you have beyond ! // 4 characters must be added to this variable ! // only as the last three digits. ie. jpeg = peg ! $gallery_execution_time = "1200"; // Declare maximum execution time for the galleries ! $SMTP = "smtp.localhost.com"; // Declare SMTP to use when sending photo's by e-mail ?> --- 23,37 ---- */ ! $gallerydir = '/gallery'; // Declare gallery location compared to galleryglobals.php //Declare image types allowed for uploading/previewing ! $imgtypes = array('gif', ! 'jpg', ! 'jpeg', ! 'png', ! 'bmp'); ! $gallery_execution_time = '1200'; // Declare maximum execution time for the galleries ! $SMTP = 'smtp.localhost.com'; // Declare SMTP to use when sending photo's by e-mail ?> Index: upload.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/upload.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** upload.php 28 Feb 2004 02:12:17 -0000 1.13 --- upload.php 14 Mar 2005 15:38:45 -0000 1.14 *************** *** 22,26 **** * */ ! include_once("../../config/globals.php"); include_once($header); include_once("galleryglobals.php"); --- 22,26 ---- * */ ! include_once('../../config/globals.php'); include_once($header); include_once("galleryglobals.php"); *************** *** 41,46 **** $dirlocate = "../".$gallerydir.$gallery->GalleryName; ! $imgtypes .= ",txt"; ! $imgtypes = explode(",",$imgtypes); for ($num=1;$num<=$_POST['NUM_UPLOADS'];$num++){ --- 41,45 ---- $dirlocate = "../".$gallerydir.$gallery->GalleryName; ! $imgtypes[] = "txt"; for ($num=1;$num<=$_POST['NUM_UPLOADS'];$num++){ *************** *** 48,60 **** // If upload field is empty then exit the particular loop ! if (! $_FILES['upload'.$num]['name'] == ""){ $continue = false; foreach($imgtypes As $type){ ! $extension = substr($_FILES['upload'.$num]['name'],-3); ! // NOTE: The change to uppercase in the if statement helps remove errors ! // I noticed this when I found that some software applications save images ! // extensions as upper case, so just making sure it doesn't give people problems. ! if(strtoupper($extension) == strtoupper($type)){ $continue = true; continue; --- 47,57 ---- // If upload field is empty then exit the particular loop ! if (! $_FILES['upload'.$num]['name'] == ''){ $continue = false; + $name = basename($_FILES['upload'.$num]['name']); + $extension = substr(strrchr($text, '.'), 1 ); foreach($imgtypes As $type){ ! if(strcasecmp($extension, $type) == 0){ $continue = true; continue; *************** *** 63,67 **** if(! $continue){ ! echo "<center><br>".$_FILES['upload'.$num]['name']." - ".$_FILES['upload'.$num]['size']." - ".$_FILES['upload'.$num]['type']." - <font color='Red'>Illegal file type!</font></center>"; continue; } --- 60,64 ---- if(! $continue){ ! echo "<center><br />".$_FILES['upload'.$num]['name']." - ".$_FILES['upload'.$num]['size']." - ".$_FILES['upload'.$num]['type']." - <font color='Red'>Illegal file type!</font></center>"; continue; } *************** *** 70,74 **** if(is_writable($dirlocate)) { copy($_FILES['upload'.$num]['tmp_name'], $dirlocate."/".$_FILES['upload'.$num]['name']) or $error = true; ! echo "<center><br>".$_FILES['upload'.$num]['name']." - ".$_FILES['upload'.$num]['size']." - ".$_FILES['upload'.$num]['type']." - "; } else { echo("It appears that the permissions on the photogallery have become incorrect. --- 67,71 ---- if(is_writable($dirlocate)) { copy($_FILES['upload'.$num]['tmp_name'], $dirlocate."/".$_FILES['upload'.$num]['name']) or $error = true; ! echo "<center><br />".$_FILES['upload'.$num]['name']." - ".$_FILES['upload'.$num]['size']." - ".$_FILES['upload'.$num]['type']." - "; } else { echo("It appears that the permissions on the photogallery have become incorrect. *************** *** 76,86 **** by the web-user. ! <br>On UNIX systems this is typically accomplished by: ! <br><tt>chmod -R 666 photogallery/gallery/</tt>"); } if(empty($error)){ ! echo "<font color='Green'>Successful</font><br></center>\n"; } else { ! echo "<font color='Red'>Not Successful</font><br></center>\n"; } } --- 73,83 ---- by the web-user. ! <br />On UNIX systems this is typically accomplished by: ! <br /><tt>chmod -R 666 photogallery/gallery/</tt>"); } if(empty($error)){ ! echo "<font color='Green'>Successful</font><br /></center>\n"; } else { ! echo "<font color='Red'>Not Successful</font><br /></center>\n"; } } *************** *** 107,127 **** | <a href="edit.php?DELETE=<?php echo $_GET['ID']; ?>">Delete Gallery</a></div></td> </tr> ! </table><br> <p align="center">Current Files Allowed: <?php echo $imgtypes; ?></p> <p align="center"> <form action='upload.php?ID=<?php echo $_GET['ID']; ?>' enctype="multipart/form-data" method='POST'> <input name="uploads" type="text" id="uploads" size="2" maxlength="2"> ! <input name="setuploads" type="submit" id="setuploads" value="Add Spaces"><br> <input type="hidden" name="MAX_FILE_SIZE" size="5200000"> ! <input type="hidden" name="NUM_UPLOADS" value="<?php echo $uploads; ?>"><br> <?php // Output upload fields depending on the user request or not for($n = 1; $n <= $uploads ; $n++ ){ ! echo $n.". <input type='file' name='upload".$n."' size='29'><br>\n"; } ?> ! <br> <input name="upload" type="submit" value="Upload To Gallery"> </form> --- 104,124 ---- | <a href="edit.php?DELETE=<?php echo $_GET['ID']; ?>">Delete Gallery</a></div></td> </tr> ! </table><br /> <p align="center">Current Files Allowed: <?php echo $imgtypes; ?></p> <p align="center"> <form action='upload.php?ID=<?php echo $_GET['ID']; ?>' enctype="multipart/form-data" method='POST'> <input name="uploads" type="text" id="uploads" size="2" maxlength="2"> ! <input name="setuploads" type="submit" id="setuploads" value="Add Spaces"><br /> <input type="hidden" name="MAX_FILE_SIZE" size="5200000"> ! <input type="hidden" name="NUM_UPLOADS" value="<?php echo $uploads; ?>"><br /> <?php // Output upload fields depending on the user request or not for($n = 1; $n <= $uploads ; $n++ ){ ! echo $n.". <input type='file' name='upload".$n."' size='29'><br />\n"; } ?> ! <br /> <input name="upload" type="submit" value="Upload To Gallery"> </form> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 15:19:10
|
Update of /cvsroot/openfirst/photogallery/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11704/photogallery/admin Modified Files: newgallery.php Log Message: -Removed debugging -Corrected location of folder Index: newgallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/newgallery.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** newgallery.php 14 Mar 2005 00:55:00 -0000 1.15 --- newgallery.php 14 Mar 2005 15:18:47 -0000 1.16 *************** *** 30,41 **** die(include_once($footer)); } - echo '<pre>'; - var_dump($fbasepath); - echo '</pre>'; // Check if user initiates create option and run create options if(isset($_POST['create'])){ ! if(is_writable("$fbasepath$gallerydir/") && ! file_exists("$fbasepath$gallerydir/".$_POST['galleryname'])) { ! mkdir("$fbasepath$gallerydir/".$_POST['galleryname'],0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ! mkdir("$fbasepath$gallerydir/".$_POST['galleryname']."/thumbs",0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ofirst_dbquery("INSERT INTO ofirst_photogallery_galleries (GalleryName, Author, Dates, Description) values( --- 30,38 ---- die(include_once($footer)); } // Check if user initiates create option and run create options if(isset($_POST['create'])){ ! if(is_writable("$fbasepath/photogallery$gallerydir/") && ! file_exists("$fbasepath/photogallery$gallerydir/".$_POST['galleryname'])) { ! mkdir("$fbasepath/photogallery$gallerydir/".$_POST['galleryname'],0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ! mkdir("$fbasepath/photogallery$gallerydir/".$_POST['galleryname']."/thumbs",0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ofirst_dbquery("INSERT INTO ofirst_photogallery_galleries (GalleryName, Author, Dates, Description) values( *************** *** 46,52 **** echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; ! } elseif(is_writable("$fbasepath$gallerydir/") && file_exists("$fbasepath$gallerydir/".$_POST['galleryname'])) { echo("A gallery by that name already exists.<br> [ <a href='newgallery.php'>New Gallery</a>"); ! } elseif(file_exists("$fbasepath$gallerydir")) { echo("It appears that the permissions on the photogallery have become incorrect. In order for uploading of pictures to work, the gallery directory within the photogallery module must be --- 43,49 ---- echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; ! } elseif(is_writable("$fbasepath/photogallery$gallerydir/") && file_exists("$fbasepath/photogallery$gallerydir/".$_POST['galleryname'])) { echo("A gallery by that name already exists.<br> [ <a href='newgallery.php'>New Gallery</a>"); ! } elseif(file_exists("$fbasepath/photogallery$gallerydir")) { echo("It appears that the permissions on the photogallery have become incorrect. In order for uploading of pictures to work, the gallery directory within the photogallery module must be *************** *** 56,60 **** <br><tt>chmod -R 666 photogallery/gallery/</tt>"); } else { ! echo("<p>It appears as though you have not yet created a |$fbasepath|$gallerydir|/ directory within the photogallery module. In order to use the photogallery module, this directory must be present.</p>"); } --- 53,57 ---- <br><tt>chmod -R 666 photogallery/gallery/</tt>"); } else { ! echo("<p>It appears as though you have not yet created the $gallerydir directory within the photogallery module. In order to use the photogallery module, this directory must be present.</p>"); } |
From: Astronouth7303 <ast...@us...> - 2005-03-14 04:54:05
|
Update of /cvsroot/openfirst/base In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17980 Added Files: .cvsignore Log Message: Ignores gallery folder if present --- NEW FILE: .cvsignore --- gallery |
From: Astronouth7303 <ast...@us...> - 2005-03-14 04:14:06
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7567/awards/admin Modified Files: index.php Log Message: Fixed bugs with queries Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** index.php 14 Mar 2005 02:41:13 -0000 1.20 --- index.php 14 Mar 2005 04:13:41 -0000 1.21 *************** *** 36,42 **** die(include_once($footer)); } ! // If user has posted create then insert new award record ! if (isset($_POST['create'])){ if($_POST['award']!="" || (isset($_POST['firstaward']) && $_POST['firstaward'] == '1')){ if($_POST['firstaward'] == "1") { --- 36,56 ---- die(include_once($footer)); } ! $DisplayForm = true; ! $CreateNew = true; ! if (array_key_exists('AwardID', $_POST)) { ! $CreateNew = false; ! $DisplayForm = false; ! } ! if (array_key_exists('create', $_POST)) { ! $CreateNew = true; ! $DisplayForm = false; ! } ! if (array_key_exists('modify', $_POST)) { ! $CreateNew = false; ! $DisplayForm = false; ! } ! # print_r($_POST); // If user has posted create then insert new award record ! if ($CreateNew && !$DisplayForm){ if($_POST['award']!="" || (isset($_POST['firstaward']) && $_POST['firstaward'] == '1')){ if($_POST['firstaward'] == "1") { *************** *** 48,59 **** ofirst_dbquery("INSERT INTO ofirst_awards (AwardName,FIRSTAward, Event,Date,Image,Description,Recipient) values( ! '".$_POST['award']."', ! '".$_POST['firstaward']."', ! '".$_POST['event']."', ! '".$_POST['date']."', ! '".$_POST['type']."', ! '".$_POST['description']."', ! '".$_POST['recipient']."')") ! or die("INSERT: ". ofirst_dberror()); echo("<p>Congratulations on your new award. Award submitted!</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); --- 62,75 ---- ofirst_dbquery("INSERT INTO ofirst_awards (AwardName,FIRSTAward, Event,Date,Image,Description,Recipient) values( ! '".addslashes($_POST['award'])."', ! '".addslashes($_POST['firstaward'])."', ! '".addslashes($_POST['event'])."', ! '".addslashes($_POST['date'])."', ! '".addslashes($_POST['type'])."', ! '".addslashes($_POST['description'])."', ! '".addslashes($_POST['recipient'])."')") ! /*or die("INSERT: ".ofirst_dberror())*/ ! or die(trigger_error('an openFIRST DB error')) ! ; echo("<p>Congratulations on your new award. Award submitted!</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); *************** *** 66,70 **** // If the user has submitted modifications to an award, then make them. ! if (isset($_POST['modify'])){ if($_POST['award']!="" || (isset($_POST['firstaward']) && $_POST['firstaward'] == '1')){ if($_POST['firstaward'] == "1") { --- 82,86 ---- // If the user has submitted modifications to an award, then make them. ! if (!$CreateNew && !$DisplayForm){ if($_POST['award']!="" || (isset($_POST['firstaward']) && $_POST['firstaward'] == '1')){ if($_POST['firstaward'] == "1") { *************** *** 74,87 **** $_POST['description'] = $fa->Description; } ! ofirst_dbquery("UPDATE ofirst_awards SET AwardName='".$_POST['award']."', ! FIRSTAward = '".$_POST['firstaward']."', ! Event = '".$_POST['event']."', ! Date = '".$_POST['date'] . "', ! Image = '".$_POST['type']."', ! Description = '".$_POST['description']."', ! Recipient = '".$_POST['recipient']."' WHERE ID='" . $_POST["AwardID"] . "';") or die("UPDATE: ".ofirst_dberror()); ! echo("<p>Award modifications submitted!</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); } else { --- 90,103 ---- $_POST['description'] = $fa->Description; } ! ofirst_dbquery("UPDATE ofirst_awards SET AwardName='".$_POST['award']."', ! FIRSTAward = '".addslashes($_POST['firstaward'])."', ! Event = '".addslashes($_POST['event'])."', ! Date = '".addslashes($_POST['date']). "', ! Image = '".addslashes($_POST['type'])."', ! Description = '".addslashes($_POST['description'])."', ! Recipient = '".addslashes($_POST['recipient'])."' WHERE ID='" . $_POST["AwardID"] . "';") or die("UPDATE: ".ofirst_dberror()); ! echo("<p>Award modifications submitted!</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); } else { *************** *** 93,99 **** // If the user has elected to modify an award, fill the form with those details. ! if(isset($_GET["MODIFY"])) { $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); $award->template = false; } else { $award = (object)''; --- 109,116 ---- // If the user has elected to modify an award, fill the form with those details. ! if(!$CreateNew) { $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); $award->template = false; + } else { $award = (object)''; *************** *** 191,195 **** <tr> <th> </th> ! <?php if(!is_object($award)) { ?> <td><input name="create" type="submit" id="create" value="Create Award"></td> <?php } else { ?> --- 208,212 ---- <tr> <th> </th> ! <?php if($award->template) { ?> <td><input name="create" type="submit" id="create" value="Create Award"></td> <?php } else { ?> *************** *** 228,232 **** ?> </table> ! <br> <?php } else { --- 245,249 ---- ?> </table> ! <br /> <?php } else { |
From: Astronouth7303 <ast...@us...> - 2005-03-14 02:41:23
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17561/awards/admin Modified Files: index.php Log Message: Fixed a bug with the image, fixed <br>s Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** index.php 14 Mar 2005 02:36:52 -0000 1.19 --- index.php 14 Mar 2005 02:41:13 -0000 1.20 *************** *** 159,163 **** </tr> <tr> ! <th>Description<br>(leave blank for FIRST Awards)</th> <td><textarea name="description" cols="30" rows="5"><?php echo $award->Description; ?></textarea></td> </tr> --- 159,163 ---- </tr> <tr> ! <th>Description<br />(leave blank for FIRST Awards)</th> <td><textarea name="description" cols="30" rows="5"><?php echo $award->Description; ?></textarea></td> </tr> *************** *** 173,187 **** <td><div align="center"> <input name="type" type="radio" value="gold" <?php ! if (strcasecmp($award->Image, 'gold') == 0) echo 'selected'; ?>> </div></td> <td><div align="center"> <input type="radio" name="type" value="silver" <?php ! if (strcasecmp($award->Image, 'silver') == 0) echo 'selected'; ?>> </div></td> <td><div align="center"> <input type="radio" name="type" value="bronze" <?php ! if (strcasecmp($award->Image, 'bronze') == 0) echo 'selected'; ?>> </div></td> --- 173,187 ---- <td><div align="center"> <input name="type" type="radio" value="gold" <?php ! if (strcasecmp($award->Image, 'gold') == 0) echo 'checked="checked"'; ?>> </div></td> <td><div align="center"> <input type="radio" name="type" value="silver" <?php ! if (strcasecmp($award->Image, 'silver') == 0) echo 'checked="checked"'; ?>> </div></td> <td><div align="center"> <input type="radio" name="type" value="bronze" <?php ! if (strcasecmp($award->Image, 'bronze') == 0) echo 'checked="checked"'; ?>> </div></td> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 02:37:02
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16374/awards/admin Modified Files: index.php Log Message: Fixed some access errors Should modify correctly, too Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** index.php 13 Mar 2005 02:09:00 -0000 1.18 --- index.php 14 Mar 2005 02:36:52 -0000 1.19 *************** *** 95,101 **** if(isset($_GET["MODIFY"])) { $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); } else { ! $award = ''; ! } ?> --- 95,110 ---- if(isset($_GET["MODIFY"])) { $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); + $award->template = false; } else { ! $award = (object)''; ! $award->template = true; ! $award->AwardName = 'Autodesk Visualization Award'; ! $award->Description = ''; ! $award->Event = ''; ! $award->Date = date('Y-n-j'); ! $award->Recipient = 'Team Award'; ! $award->Image = 'gold'; ! $award->FIRSTAward = '1'; ! } ?> *************** *** 106,130 **** <th> </th> <th><?php ! if ($award == "") { ! echo("Add A New Award"); ! } else { echo("Modify an Existing Award <input type='hidden' id='AwardID' name='AwardID' value='$award->ID'>"); ! } ?></th> </tr> <tr> <th>Award Name</th> <td> ! <input type='radio' name='firstaward' value='1' checked='checked'> FIRST Award <select name='firstawardname'> <?php $faq = ofirst_dbquery("SELECT * FROM ofirst_firstawards ORDER BY AwardName"); while($fa = ofirst_dbfetch_object($faq)) { ! echo("<option value='$fa->AwardName'>$fa->AwardName</option>"); } ?> </select> ! <br><input type='radio' name='firstaward' value='0'> Custom Award ! <input name="award" type="text" id="award" value="<?php echo $award->AwardName; ?>"> </td> </tr> --- 115,142 ---- <th> </th> <th><?php ! if (!$award->template) { echo("Modify an Existing Award <input type='hidden' id='AwardID' name='AwardID' value='$award->ID'>"); ! } else { ! echo("Add A New Award"); ! } ! ?></th> </tr> <tr> <th>Award Name</th> <td> ! <input type='radio' name='firstaward' value='1' <?php if ($award->FIRSTAward) echo 'checked="checked"'; ?>> FIRST Award <select name='firstawardname'> <?php $faq = ofirst_dbquery("SELECT * FROM ofirst_firstawards ORDER BY AwardName"); while($fa = ofirst_dbfetch_object($faq)) { ! echo "<option value='$fa->AwardName'"; ! if ($award->AwardName == $fa->AwardName) echo 'selected'; ! echo ">$fa->AwardName</option>"; } ?> </select> ! <br /><input type='radio' name='firstaward' value='1' <?php if (!$award->FIRSTAward) echo 'checked="checked"'; ?>> Custom Award ! <input name="award" type="text" id="award" value="<?php if (!$award->FIRSTAward) echo $award->AwardName; ?>"> </td> </tr> *************** *** 136,144 **** <th>Date</th> <td><input name="date" type="text" id="date" value="<?php ! if($award == "") { ! echo date("Y-n-j"); ! } else { ! echo $award->Date; ! } ?>" size="10"> <sub>(Use this syntax: Year-Month-Day)</sub></td> </tr> --- 148,153 ---- <th>Date</th> <td><input name="date" type="text" id="date" value="<?php ! echo $award->Date; ! ?>" size="10"> <sub>(Use this syntax: Year-Month-Day)</sub></td> </tr> *************** *** 146,154 **** <th>Recipient</th> <td><input name="recipient" type="text" id="recipient" value="<?php ! if($award == "") { ! echo ("Team Award"); ! } else { ! echo $award->Recipient; ! } ?>"></td> </tr> <tr> --- 155,160 ---- <th>Recipient</th> <td><input name="recipient" type="text" id="recipient" value="<?php ! echo $award->Recipient; ! ?>"></td> </tr> <tr> *************** *** 166,176 **** <tr> <td><div align="center"> ! <input name="type" type="radio" value="gold" checked> </div></td> <td><div align="center"> ! <input type="radio" name="type" value="silver"> </div></td> <td><div align="center"> ! <input type="radio" name="type" value="bronze"> </div></td> </tr> --- 172,188 ---- <tr> <td><div align="center"> ! <input name="type" type="radio" value="gold" <?php ! if (strcasecmp($award->Image, 'gold') == 0) echo 'selected'; ! ?>> </div></td> <td><div align="center"> ! <input type="radio" name="type" value="silver" <?php ! if (strcasecmp($award->Image, 'silver') == 0) echo 'selected'; ! ?>> </div></td> <td><div align="center"> ! <input type="radio" name="type" value="bronze" <?php ! if (strcasecmp($award->Image, 'bronze') == 0) echo 'selected'; ! ?>> </div></td> </tr> *************** *** 179,183 **** <tr> <th> </th> ! <?php if($award == "") { ?> <td><input name="create" type="submit" id="create" value="Create Award"></td> <?php } else { ?> --- 191,195 ---- <tr> <th> </th> ! <?php if(!is_object($award)) { ?> <td><input name="create" type="submit" id="create" value="Create Award"></td> <?php } else { ?> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:57:03
|
Update of /cvsroot/openfirst/sidebars In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21494/sidebars Modified Files: index.php sidebar.php Log Message: -Corrected usage of $home -Added $server Index: sidebar.php =================================================================== RCS file: /cvsroot/openfirst/sidebars/sidebar.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** sidebar.php 14 Feb 2004 15:32:56 -0000 1.10 --- sidebar.php 14 Mar 2005 00:56:52 -0000 1.11 *************** *** 37,41 **** if(isset($_GET["cdf"]) && $_GET["cdf"] == true) { echo("<?xml version=\"1.0\"?> ! <channel base=\"$home$basepath\" href=\"/sidebars/sidebar.php?sidebar=$sidebar\" self=\"/sidebars/sidebar.php?cdf=true&sidebar=$sidebar\"> <schedule stopdate=\"2005-01-01\"> --- 37,41 ---- if(isset($_GET["cdf"]) && $_GET["cdf"] == true) { echo("<?xml version=\"1.0\"?> ! <channel base=\"$server$basepath$basepath\" href=\"/sidebars/sidebar.php?sidebar=$sidebar\" self=\"/sidebars/sidebar.php?cdf=true&sidebar=$sidebar\"> <schedule stopdate=\"2005-01-01\"> *************** *** 77,86 **** $qu = ofirst_dbquery("SELECT title, poster, date FROM ofirst_news ORDER BY ID desc LIMIT 5;"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><strong><a href='$home$basepath/news' target='_content' >$q->title</a></strong> - $q->poster<br>$q->date</sub><br>"); } } elseif ($sidebar == "MANUAL" && is_readable("../manual/")) { $qu = ofirst_dbquery("SELECT document, title FROM ofirst_manual GROUP BY document;"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$home$basepath/manual' target='_content'>$q->document</a> - $q->title</sub><br>"); } } elseif ($sidebar == "EMOTICON" && is_readable("../guestbook/")) { --- 77,86 ---- $qu = ofirst_dbquery("SELECT title, poster, date FROM ofirst_news ORDER BY ID desc LIMIT 5;"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><strong><a href='$basepath/news' target='_content' >$q->title</a></strong> - $q->poster<br>$q->date</sub><br>"); } } elseif ($sidebar == "MANUAL" && is_readable("../manual/")) { $qu = ofirst_dbquery("SELECT document, title FROM ofirst_manual GROUP BY document;"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$basepath/manual' target='_content'>$q->document</a> - $q->title</sub><br>"); } } elseif ($sidebar == "EMOTICON" && is_readable("../guestbook/")) { *************** *** 93,102 **** $qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$home$basepath/awards' target='_content'>$q->AwardName</a></sub><br>"); } } elseif ($sidebar == "MESSENGER" && is_readable("../messenger/")) { ! echo("<sub><a href='$home$basepath/messenger/' target='_content'>View online users</a> ! <br><a href='$home$basepath/messenger/inbox.php' target='_content'>Message Inbox</a> ! <br><a href='$home$basepath/messenger/newmsg.php' target='_content'>Send Message</a> </sub><br>"); } else { --- 93,102 ---- $qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$basepath/awards' target='_content'>$q->AwardName</a></sub><br>"); } } elseif ($sidebar == "MESSENGER" && is_readable("../messenger/")) { ! echo("<sub><a href='$basepath/messenger/' target='_content'>View online users</a> ! <br><a href='$basepath/messenger/inbox.php' target='_content'>Message Inbox</a> ! <br><a href='$basepath/messenger/newmsg.php' target='_content'>Send Message</a> </sub><br>"); } else { *************** *** 105,109 **** ?> </div> ! <p><sup class="blue"><a class="blue" href="<?php echo $home . $basepath . "/sidebars/"; ?>" target="_content">Get more sidebars</a></sup></p> </body> </html> --- 105,109 ---- ?> </div> ! <p><sup class="blue"><a class="blue" href="<?php echo $basepath . ""; ?>/sidebars/" target="_content">Get more sidebars</a></sup></p> </body> </html> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/sidebars/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 14 Feb 2004 15:32:56 -0000 1.8 --- index.php 14 Mar 2005 00:56:52 -0000 1.9 *************** *** 48,52 **** <td>Guestbook</td> <td><a href="preview.php?sidebar=guestbook">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Guestbook Sidebar', '<?php echo $home . $basepath . "/sidebars/"; ?>sidebar.php?sidebar=guestbook','')">Add</a></td> <td><a href="sidebar.php?sidebar=guestbook&cdf=true">Add</a></td> </tr> --- 48,52 ---- <td>Guestbook</td> <td><a href="preview.php?sidebar=guestbook">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Guestbook Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=guestbook','')">Add</a></td> <td><a href="sidebar.php?sidebar=guestbook&cdf=true">Add</a></td> </tr> *************** *** 58,62 **** <td>Messenger</td> <td><a href="preview.php?sidebar=messenger">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Messenger Sidebar', '<?php echo $home . $basepath . "/sidebars/"; ?>sidebar.php?sidebar=messenger','')">Add</a></td> <td><a href="sidebar.php?sidebar=messenger&cdf=true">Add</a></td> </tr> --- 58,62 ---- <td>Messenger</td> <td><a href="preview.php?sidebar=messenger">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Messenger Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=messenger','')">Add</a></td> <td><a href="sidebar.php?sidebar=messenger&cdf=true">Add</a></td> </tr> *************** *** 68,72 **** <td>News</td> <td><a href="preview.php?sidebar=news">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('News Sidebar', '<?php echo $home . $basepath . "/sidebars/"; ?>sidebar.php?sidebar=news','')">Add</a></td> <td><a href="sidebar.php?sidebar=news&cdf=true">Add</a></td> </tr> --- 68,72 ---- <td>News</td> <td><a href="preview.php?sidebar=news">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('News Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=news','')">Add</a></td> <td><a href="sidebar.php?sidebar=news&cdf=true">Add</a></td> </tr> *************** *** 78,82 **** <td>Manual</td> <td><a href="preview.php?sidebar=manual">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Manual Sidebar', '<?php echo $home . $basepath . "/sidebars/"; ?>sidebar.php?sidebar=manual','')">Add</a></td> <td><a href="sidebar.php?sidebar=manual&cdf=true">Add</a></td> </tr> --- 78,82 ---- <td>Manual</td> <td><a href="preview.php?sidebar=manual">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Manual Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=manual','')">Add</a></td> <td><a href="sidebar.php?sidebar=manual&cdf=true">Add</a></td> </tr> *************** *** 88,92 **** <td>Emoticon</td> <td><a href="preview.php?sidebar=emoticon">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Emoticon Sidebar', '<?php echo $home . $basepath . "/sidebars/"; ?>sidebar.php?sidebar=emoticon','')">Add</a></td> <td><a href="sidebar.php?sidebar=emoticon&cdf=true">Add</a></td> </tr> --- 88,92 ---- <td>Emoticon</td> <td><a href="preview.php?sidebar=emoticon">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Emoticon Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=emoticon','')">Add</a></td> <td><a href="sidebar.php?sidebar=emoticon&cdf=true">Add</a></td> </tr> *************** *** 98,102 **** <td>Awards</td> <td><a href="preview.php?sidebar=awards">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Awards Sidebar', '<?php echo $home . $basepath . "/sidebars/"; ?>sidebar.php?sidebar=awards','')">Add</a></td> <td><a href="sidebar.php?sidebar=awards&cdf=true">Add</a></td> </tr> --- 98,102 ---- <td>Awards</td> <td><a href="preview.php?sidebar=awards">Preview</a></td> ! <td><a href="javascript:window.sidebar.addPanel('Awards Sidebar', '<?php echo "$server$basepath"; ?>/sidebars/sidebar.php?sidebar=awards','')">Add</a></td> <td><a href="sidebar.php?sidebar=awards&cdf=true">Add</a></td> </tr> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:56:44
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21353/projects Modified Files: groups.php notes.php projects.php tasks.php updates.php Log Message: -Corrected usage of $home -Added $server Index: projects.php =================================================================== RCS file: /cvsroot/openfirst/projects/projects.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** projects.php 23 Nov 2003 22:01:38 -0000 1.15 --- projects.php 14 Mar 2005 00:56:32 -0000 1.16 *************** *** 81,85 **** <b>".$_POST['projectname']."</b> within the <b>".$group->GroupName."</b> group. Here is the project description:<br><blockquote>".$_POST['description']."</blockquote><br><br> ! <a href='$home/projects/groups.php'>Click here for more info</a>"; // Since these are projects relating to this group then only send to the required persons --- 81,85 ---- <b>".$_POST['projectname']."</b> within the <b>".$group->GroupName."</b> group. Here is the project description:<br><blockquote>".$_POST['description']."</blockquote><br><br> ! <a href='$server$basepath/projects/groups.php'>Click here for more info</a>"; // Since these are projects relating to this group then only send to the required persons Index: notes.php =================================================================== RCS file: /cvsroot/openfirst/projects/notes.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** notes.php 23 Nov 2003 22:01:38 -0000 1.16 --- notes.php 14 Mar 2005 00:56:32 -0000 1.17 *************** *** 81,85 **** under the <b>".$task->TaskName."</b> task. The following is the information commited:<br><blockquote>".$_POST['description']."</blackquote><br><br> ! <a href='$home/projects/groups.php'>Click here for more info!</a>"; // Since these are projects relating to this group then only send to the required persons --- 81,85 ---- under the <b>".$task->TaskName."</b> task. The following is the information commited:<br><blockquote>".$_POST['description']."</blackquote><br><br> ! <a href='$server$basepath/projects/groups.php'>Click here for more info!</a>"; // Since these are projects relating to this group then only send to the required persons Index: groups.php =================================================================== RCS file: /cvsroot/openfirst/projects/groups.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** groups.php 23 Nov 2003 22:01:37 -0000 1.16 --- groups.php 14 Mar 2005 00:56:19 -0000 1.17 *************** *** 87,91 **** <i>".$user->user."</i> has assigned you to a new group on the $title action system called <b>".$_POST['groupname']."</b>. Here is the group description: <br><blockquote>".$_POST['description']."</blockquote><br><br> ! <a href='$home/projects/groups.php'>Click here for more info</a>"; // Query members who have been added to this group --- 87,91 ---- <i>".$user->user."</i> has assigned you to a new group on the $title action system called <b>".$_POST['groupname']."</b>. Here is the group description: <br><blockquote>".$_POST['description']."</blockquote><br><br> ! <a href='$server$basepath/projects/groups.php'>Click here for more info</a>"; // Query members who have been added to this group Index: updates.php =================================================================== RCS file: /cvsroot/openfirst/projects/updates.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** updates.php 4 Dec 2003 22:47:27 -0000 1.13 --- updates.php 14 Mar 2005 00:56:32 -0000 1.14 *************** *** 80,84 **** $message .=" <tr> ! <td><img src='$home/$basepath/members/icons/actions/project_open.png' width='32' height='32'></td> <td>New Project</td> <td><font color='red'>".$project->ProjectName."</font></td> --- 80,84 ---- $message .=" <tr> ! <td><img src='$server$basepath/members/icons/actions/project_open.png' width='32' height='32'></td> <td>New Project</td> <td><font color='red'>".$project->ProjectName."</font></td> *************** *** 101,105 **** $message .= "<tr > ! <td><img src='$home/$basepath/members/icons/filesystems/desktop.png' width='32' height='32'></td> <td>New Task</td> <td>".$taskproject->ProjectName."</td> --- 101,105 ---- $message .= "<tr > ! <td><img src='$server$basepath/members/icons/filesystems/desktop.png' width='32' height='32'></td> <td>New Task</td> <td>".$taskproject->ProjectName."</td> *************** *** 125,129 **** $message .= "<tr> ! <td><img src='$home/$basepath/members/icons/filesystems/files.png' width='32' height='32'></td> <td>New Note Commited</td> <td>".$noteproject->ProjectName."</td> --- 125,129 ---- $message .= "<tr> ! <td><img src='$server$basepath/members/icons/filesystems/files.png' width='32' height='32'></td> <td>New Note Commited</td> <td>".$noteproject->ProjectName."</td> Index: tasks.php =================================================================== RCS file: /cvsroot/openfirst/projects/tasks.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** tasks.php 23 Nov 2003 22:01:38 -0000 1.16 --- tasks.php 14 Mar 2005 00:56:32 -0000 1.17 *************** *** 86,90 **** <b>".$_POST['taskname']."</b> under the <b>".$project->ProjectName."</b> project. Here is a description:<br><blockquote>".$_POST['description']."</blockquote><br><br> ! <a href='$home/projects/groups.php'>Click here for more info!</a>"; // Since these are projects relating to this group then only send to the required persons --- 86,90 ---- <b>".$_POST['taskname']."</b> under the <b>".$project->ProjectName."</b> project. Here is a description:<br><blockquote>".$_POST['description']."</blockquote><br><br> ! <a href='$server$basepath/projects/groups.php'>Click here for more info!</a>"; // Since these are projects relating to this group then only send to the required persons *************** *** 408,410 **** } include_once($footer); ! ?> \ No newline at end of file --- 408,410 ---- } include_once($footer); ! ?> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:55:10
|
Update of /cvsroot/openfirst/photogallery/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20907/photogallery/admin Modified Files: edit.php galleryglobals.php index.php newgallery.php Log Message: -Corrected usage of $home -Added $server Index: galleryglobals.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/galleryglobals.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** galleryglobals.php 28 Feb 2004 02:12:17 -0000 1.5 --- galleryglobals.php 14 Mar 2005 00:55:00 -0000 1.6 *************** *** 23,27 **** */ ! $gallerydir = "gallery/"; // Declare gallery location compared to galleryglobals.php //Declare image types allowed for uploading/previewing --- 23,27 ---- */ ! $gallerydir = "/gallery"; // Declare gallery location compared to galleryglobals.php //Declare image types allowed for uploading/previewing Index: newgallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/newgallery.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** newgallery.php 12 Apr 2004 23:39:41 -0000 1.14 --- newgallery.php 14 Mar 2005 00:55:00 -0000 1.15 *************** *** 30,39 **** die(include_once($footer)); } ! // Check if user initiates create option and run create options if(isset($_POST['create'])){ ! if(is_writable("../" . $gallerydir) && ! file_exists("../".$gallerydir.$_POST['galleryname'])) { ! mkdir("../".$gallerydir.$_POST['galleryname'],0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ! mkdir("../".$gallerydir.$_POST['galleryname']."/thumbs",0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ofirst_dbquery("INSERT INTO ofirst_photogallery_galleries (GalleryName, Author, Dates, Description) values( --- 30,41 ---- die(include_once($footer)); } ! echo '<pre>'; ! var_dump($fbasepath); ! echo '</pre>'; // Check if user initiates create option and run create options if(isset($_POST['create'])){ ! if(is_writable("$fbasepath$gallerydir/") && ! file_exists("$fbasepath$gallerydir/".$_POST['galleryname'])) { ! mkdir("$fbasepath$gallerydir/".$_POST['galleryname'],0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ! mkdir("$fbasepath$gallerydir/".$_POST['galleryname']."/thumbs",0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); ofirst_dbquery("INSERT INTO ofirst_photogallery_galleries (GalleryName, Author, Dates, Description) values( *************** *** 44,50 **** echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; ! } elseif(is_writable("../" . $gallerydir) && file_exists("../".$gallerydir.$_POST['galleryname'])) { echo("A gallery by that name already exists.<br> [ <a href='newgallery.php'>New Gallery</a>"); ! } elseif(file_exists("../" . $gallerydir)) { echo("It appears that the permissions on the photogallery have become incorrect. In order for uploading of pictures to work, the gallery directory within the photogallery module must be --- 46,52 ---- echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; ! } elseif(is_writable("$fbasepath$gallerydir/") && file_exists("$fbasepath$gallerydir/".$_POST['galleryname'])) { echo("A gallery by that name already exists.<br> [ <a href='newgallery.php'>New Gallery</a>"); ! } elseif(file_exists("$fbasepath$gallerydir")) { echo("It appears that the permissions on the photogallery have become incorrect. In order for uploading of pictures to work, the gallery directory within the photogallery module must be *************** *** 54,58 **** <br><tt>chmod -R 666 photogallery/gallery/</tt>"); } else { ! echo("<p>It appears as though you have not yet created a $gallerydir directory within the photogallery module. In order to use the photogallery module, this directory must be present.</p>"); } --- 56,60 ---- <br><tt>chmod -R 666 photogallery/gallery/</tt>"); } else { ! echo("<p>It appears as though you have not yet created a |$fbasepath|$gallerydir|/ directory within the photogallery module. In order to use the photogallery module, this directory must be present.</p>"); } Index: edit.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/edit.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** edit.php 30 Jul 2004 00:32:16 -0000 1.15 --- edit.php 14 Mar 2005 00:55:00 -0000 1.16 *************** *** 161,166 **** ?> </td> ! <td valign="top"><a href="editphoto.php?ID=<?php echo $_GET['ID']; ?>&PHOTO=<?php echo $file; ?>"><img src='<?php echo $home.$basepath; ?>/members/icons/actions/edit.png' width="25" height="25" border="0"></a> ! <a href='edit.php?ID=<?php echo $_GET['ID']; ?>&DELETEPHOTO=True&PHOTO=<?php echo $file; ?>'><img src='<?php echo $home.$basepath; ?>/members/icons/actions/button_cancel.png' width="25" height="25" border="0"></a></td> </tr> <?php --- 161,166 ---- ?> </td> ! <td valign="top"><a href="editphoto.php?ID=<?php echo $_GET['ID']; ?>&PHOTO=<?php echo $file; ?>"><img src='<?php echo $basepath; ?>/members/icons/actions/edit.png' width="25" height="25" border="0"></a> ! <a href='edit.php?ID=<?php echo $_GET['ID']; ?>&DELETEPHOTO=True&PHOTO=<?php echo $file; ?>'><img src='<?php echo $basepath; ?>/members/icons/actions/button_cancel.png' width="25" height="25" border="0"></a></td> </tr> <?php Index: index.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/index.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** index.php 28 Feb 2004 02:12:17 -0000 1.10 --- index.php 14 Mar 2005 00:55:00 -0000 1.11 *************** *** 51,56 **** <td width="163"><?php echo $gallery->GalleryName; ?></td> <td width="329"><?php echo $gallery->Description; ?></td> ! <td width="73"><a href="edit.php?ID=<?php echo $gallery->ID; ?>"><img src='<?php echo $home.$basepath; ?>/members/icons/actions/edit.png' border="0"></a> ! <a href="edit.php?DELETE=<?php echo $gallery->ID; ?>"><img src='<?php echo $home.$basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a></td> </tr> <?php --- 51,56 ---- <td width="163"><?php echo $gallery->GalleryName; ?></td> <td width="329"><?php echo $gallery->Description; ?></td> ! <td width="73"><a href="edit.php?ID=<?php echo $gallery->ID; ?>"><img src='<?php echo $basepath; ?>/members/icons/actions/edit.png' border="0"></a> ! <a href="edit.php?DELETE=<?php echo $gallery->ID; ?>"><img src='<?php echo $basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a></td> </tr> <?php |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:55:10
|
Update of /cvsroot/openfirst/photogallery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20907/photogallery Modified Files: email.php Log Message: -Corrected usage of $home -Added $server Index: email.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/email.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** email.php 7 Aug 2004 02:10:31 -0000 1.15 --- email.php 14 Mar 2005 00:55:00 -0000 1.16 *************** *** 65,80 **** <table width='550' border='0' cellspacing='0' cellpadding='0'> <tr> ! <td height='23'><p>Hello ".$recipient.",</p> ! <p>This is a message from the <b>".$title."</b> photo ! gallery mailing system. <b>".$from." (".$email.")</b> ! has requested that you peview this image. Here are his comments:</p> <table width='400' border='1' align='center' cellpadding='6' cellspacing='0' bordercolor='#333333'> <tr> ! <td height='23'><p>".$comment."<br> </p> </td> </tr> </table> ! <p align='center'><a href='$home$basepath/photogallery/'><img src='".$home.$basepath."/photogallery/gallery/$gallery->GalleryName/".$_POST['photo']."' width='300' height='200'></a></p> <p align='left'>Thank you for your time,</p> <p align='left'>The <b>".$title."</b> photo gallery.<br> --- 65,80 ---- <table width='550' border='0' cellspacing='0' cellpadding='0'> <tr> ! <td height='23'><p>Hello $recipient,</p> ! <p>This is a message from the <b>$title</b> photo ! gallery mailing system. <b>$from ($email)</b> ! has requested that you peview this image. Here are his/her comments:</p> <table width='400' border='1' align='center' cellpadding='6' cellspacing='0' bordercolor='#333333'> <tr> ! <td height='23'><p>$comment<br> </p> </td> </tr> </table> ! <p align='center'><a href='$server$basepath/photogallery/'><img src='$server$basepath/photogallery/gallery/$gallery->GalleryName/".$_POST['photo']."' width='300' height='200'></a></p> <p align='left'>Thank you for your time,</p> <p align='left'>The <b>".$title."</b> photo gallery.<br> *************** *** 122,126 **** </table> ! <p align='center'><a href='$home$basepath/photogallery/'><img src='".$home.$basepath."/photogallery/gallery/$gallery->GalleryName/".$_POST['photo']."' width='300' height='200'></a></p> <p align='left'>Thank you for your time,</p> <p align='left'>The <b>".$title."</b> photo gallery.<br></p> --- 122,126 ---- </table> ! <p align='center'><a href='$server$basepath/photogallery/'><img src='$server$basepath/photogallery/gallery/$gallery->GalleryName/".$_POST['photo']."' width='300' height='200'></a></p> <p align='left'>Thank you for your time,</p> <p align='left'>The <b>".$title."</b> photo gallery.<br></p> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:54:08
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20619/news Modified Files: rssfeed.php viewnews.php Log Message: -Corrected usage of $home -Added $server Index: viewnews.php =================================================================== RCS file: /cvsroot/openfirst/news/viewnews.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** viewnews.php 13 Mar 2005 19:48:54 -0000 1.14 --- viewnews.php 14 Mar 2005 00:53:58 -0000 1.15 *************** *** 30,34 **** // Get a list of the users able to // be contacted via the feedback form. ! global $basepath, $home; $query = ofirst_dbquery("SELECT * FROM ofirst_news ORDER BY ID DESC LIMIT $limit;"); --- 30,34 ---- // Get a list of the users able to // be contacted via the feedback form. ! global $basepath; $query = ofirst_dbquery("SELECT * FROM ofirst_news ORDER BY ID DESC LIMIT $limit;"); *************** *** 47,54 **** echo($news->news); } ! echo("<br><br><center>[ <a href='$home$basepath/news/comments.php?ID=$news->ID'>View Comments</a> ]</center></td></tr>"); if($admin){ ! echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$home.$basepath.'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$home.$basepath.'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); ! echo('<a href="'.$home.$basepath.'/news/admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$home.$basepath.'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); } echo("</table><br>"); --- 47,54 ---- echo($news->news); } ! echo("<br><br><center>[ <a href='$basepath/news/comments.php?ID=$news->ID'>View Comments</a> ]</center></td></tr>"); if($admin){ ! echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$basepath.'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$basepath.'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); ! echo('<a href="'.$basepath.'/news/admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$basepath.'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); } echo("</table><br>"); *************** *** 59,63 **** } if($admin){ ! echo("<div align=center>[ <b><a href=\"$home$basepath/news/admin\">Post News</a></b> ]</div>"); } return(0); --- 59,63 ---- } if($admin){ ! echo("<div align=center>[ <b><a href=\"$basepath/news/admin\">Post News</a></b> ]</div>"); } return(0); Index: rssfeed.php =================================================================== RCS file: /cvsroot/openfirst/news/rssfeed.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** rssfeed.php 25 Dec 2003 18:58:22 -0000 1.7 --- rssfeed.php 14 Mar 2005 00:53:58 -0000 1.8 *************** *** 43,47 **** } ! $link = $home.$basepath."/news/rss/rss.php?headlines=".$numhead."&rss=".$_POST['version']; ?> --- 43,47 ---- } ! $link = $server.$basepath."/news/rss/rss.php?headlines=".$numhead."&rss=".$_POST['version']; ?> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:54:07
|
Update of /cvsroot/openfirst/news/rss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20619/news/rss Modified Files: rss.php Log Message: -Corrected usage of $home -Added $server Index: rss.php =================================================================== RCS file: /cvsroot/openfirst/news/rss/rss.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** rss.php 19 Jan 2004 23:49:40 -0000 1.9 --- rss.php 14 Mar 2005 00:53:57 -0000 1.10 *************** *** 65,69 **** $date = (string) date('Y-m-d\TH:i:sO'); $language = (string) 'en'; ! $rights = (string) 'Copyright © 2003 '.$title.' ('.$home.')'; $coverage = (string) ''; // spatial location , temporal period or jurisdiction $contributor = (string) ''; // person, an organization, or a service --- 65,69 ---- $date = (string) date('Y-m-d\TH:i:sO'); $language = (string) 'en'; ! $rights = (string) 'Copyright © 2003 '.$title.' ('.$server.$basepath.')'; $coverage = (string) ''; // spatial location , temporal period or jurisdiction $contributor = (string) ''; // person, an organization, or a service *************** *** 80,87 **** // Data for a single RSS item ! $query = ofirst_dbquery("SELECT * FROM ofirst_news ORDER BY `date` LIMIT ".$limit); while($news = ofirst_dbfetch_object($query)){ ! $about = $link = $home.'/news/readnews.php?ID='.$news->ID; $title = strip_tags($news->title); if (function_exists('html_entity_decode')){ --- 80,87 ---- // Data for a single RSS item ! $query = ofirst_dbquery("SELECT * FROM ofirst_news ORDER BY `date` LIMIT $limit"); while($news = ofirst_dbfetch_object($query)){ ! $about = $link = $server.$basepath.'/news/readnews.php?ID='.$news->ID; $title = strip_tags($news->title); if (function_exists('html_entity_decode')){ |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:53:45
|
Update of /cvsroot/openfirst/messenger In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20460/messenger Modified Files: inbox.php messenger.php newmsg.php viewmsg.php Log Message: -Corrected usage of $home -Added $server Index: viewmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/viewmsg.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** viewmsg.php 14 Feb 2004 15:24:04 -0000 1.15 --- viewmsg.php 14 Mar 2005 00:53:32 -0000 1.16 *************** *** 67,72 **** <tr> <td> </td> ! <td><a href='inbox.php?DELETE=<?php echo $msg->ID; ?>'><img src='<?php echo $home.$basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a> ! <a href="newmsg.php?RECIP=<?php echo $msg->Sender; ?>&SUBJECT=Re:%20<?php echo $msg->Subject; ?>"><img src='<?php echo $home.$basepath; ?>/members/icons/actions/mail_replay.png' border="0" alt="Reply"></a></td> </tr> </table> --- 67,72 ---- <tr> <td> </td> ! <td><a href='inbox.php?DELETE=<?php echo $msg->ID; ?>'><img src='<?php echo $basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a> ! <a href="newmsg.php?RECIP=<?php echo $msg->Sender; ?>&SUBJECT=Re:%20<?php echo $msg->Subject; ?>"><img src='<?php echo $basepath; ?>/members/icons/actions/mail_replay.png' border="0" alt="Reply"></a></td> </tr> </table> Index: newmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/newmsg.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** newmsg.php 28 Feb 2004 02:28:19 -0000 1.18 --- newmsg.php 14 Mar 2005 00:53:32 -0000 1.19 *************** *** 46,50 **** multipartmail($recipient->email, "New message has arrived!" , $message = "Hello ".$recipient->firstname.", you have received a new message from ".$user->user. ! ". You may pickup your message by visiting: $home/$basepath/messenger/inbox.php. Thank you and have a nice day!"); } else { --- 46,50 ---- multipartmail($recipient->email, "New message has arrived!" , $message = "Hello ".$recipient->firstname.", you have received a new message from ".$user->user. ! ". You may pickup your message by visiting: $basepath/messenger/inbox.php. Thank you and have a nice day!"); } else { *************** *** 58,62 **** $message = "Hello ".$recipient->firstname.",<br><br>You have received a new message from ".$user->user." on the <b>$title</b> ! Messenger System. You may pickup your message by visiting: $home/$basepath/messenger/inbox.php.<br><br>Thank you and have a nice day!"; mail($recipient->email,"New message has arrived!",$message,$headers); --- 58,62 ---- $message = "Hello ".$recipient->firstname.",<br><br>You have received a new message from ".$user->user." on the <b>$title</b> ! Messenger System. You may pickup your message by visiting: $basepath/messenger/inbox.php.<br><br>Thank you and have a nice day!"; mail($recipient->email,"New message has arrived!",$message,$headers); *************** *** 64,68 **** if(function_exists("send_message")) { ! send_message($recipient->user, "You have a new message waiting in your messenger inbox. $home/$basepath/messenger/inbox.php", "all"); } --- 64,68 ---- if(function_exists("send_message")) { ! send_message($recipient->user, "You have a new message waiting in your messenger inbox. $basepath/messenger/inbox.php", "all"); } Index: messenger.php =================================================================== RCS file: /cvsroot/openfirst/messenger/messenger.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** messenger.php 14 Feb 2004 15:24:04 -0000 1.14 --- messenger.php 14 Mar 2005 00:53:32 -0000 1.15 *************** *** 89,93 **** <tr> <td height="25" style="background-color: #ffffff; color: #000000;" ! ><img src="<?php echo $home.$basepath; ?>/members/icons/actions/mail_new.png" alt="New Message"> <br> <center>You have <b><?php echo $messages; ?></b> new Messages(s) in your visitor --- 89,93 ---- <tr> <td height="25" style="background-color: #ffffff; color: #000000;" ! ><img src="<?php echo $basepath; ?>/members/icons/actions/mail_new.png" alt="New Message"> <br> <center>You have <b><?php echo $messages; ?></b> new Messages(s) in your visitor Index: inbox.php =================================================================== RCS file: /cvsroot/openfirst/messenger/inbox.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** inbox.php 14 Feb 2004 15:24:04 -0000 1.15 --- inbox.php 14 Mar 2005 00:53:32 -0000 1.16 *************** *** 60,64 **** while($messages = ofirst_dbfetch_object($query)) { ?> <tr> ! <td><img src="<?php echo $home.$basepath; ?>/members/icons/actions/mail_new.png" alt="Message"></td> <td><a href='viewmsg.php?ID=<?php echo $messages->ID; ?>'> <?php --- 60,64 ---- while($messages = ofirst_dbfetch_object($query)) { ?> <tr> ! <td><img src="<?php echo $basepath; ?>/members/icons/actions/mail_new.png" alt="Message"></td> <td><a href='viewmsg.php?ID=<?php echo $messages->ID; ?>'> <?php |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:52:38
|
Update of /cvsroot/openfirst/members/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20158/members/admin Modified Files: editdivisions.php index.php Log Message: -Corrected usage of $home -Added $server Index: editdivisions.php =================================================================== RCS file: /cvsroot/openfirst/members/admin/editdivisions.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** editdivisions.php 24 Dec 2003 17:35:08 -0000 1.5 --- editdivisions.php 14 Mar 2005 00:52:25 -0000 1.6 *************** *** 97,101 **** <td width="138"><a href='editdivisions.php?update=<?php echo $div->division; ?>'><?php echo $div->division; ?></a></td> <td width="321"><?php echo $div->description; ?></td> ! <td width="44"><a href='editdivisions.php?delete=<?php echo $div->division; ?>'><img src='<?php echo $home.$basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a></td> </tr> <?php --- 97,101 ---- <td width="138"><a href='editdivisions.php?update=<?php echo $div->division; ?>'><?php echo $div->division; ?></a></td> <td width="321"><?php echo $div->description; ?></td> ! <td width="44"><a href='editdivisions.php?delete=<?php echo $div->division; ?>'><img src='<?php echo $basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a></td> </tr> <?php Index: index.php =================================================================== RCS file: /cvsroot/openfirst/members/admin/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.php 28 Feb 2004 02:38:51 -0000 1.5 --- index.php 14 Mar 2005 00:52:25 -0000 1.6 *************** *** 54,59 **** <td><a href='/members/divisions.php?division=<?php echo $member->division; ?>'><?php echo $member->division; ?></a></td> <td> ! <a href='editmember.php?user=<?php echo $member->user; ?>'><img src='<?php echo $home.$basepath; ?>/members/icons/actions/edit.png' border="0"></a> ! <a href='index.php?delete=<?php echo $member->user; ?>'><img src='<?php echo $home.$basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a> </td> </tr> --- 54,59 ---- <td><a href='/members/divisions.php?division=<?php echo $member->division; ?>'><?php echo $member->division; ?></a></td> <td> ! <a href='editmember.php?user=<?php echo $member->user; ?>'><img src='<?php echo $basepath; ?>/members/icons/actions/edit.png' border="0"></a> ! <a href='index.php?delete=<?php echo $member->user; ?>'><img src='<?php echo $basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a> </td> </tr> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:52:35
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20158/members Modified Files: forgotten.php Added Files: .cvsignore Log Message: -Corrected usage of $home -Added $server --- NEW FILE: .cvsignore --- virtfs Index: forgotten.php =================================================================== RCS file: /cvsroot/openfirst/members/forgotten.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** forgotten.php 23 Dec 2003 15:19:41 -0000 1.1 --- forgotten.php 14 Mar 2005 00:52:26 -0000 1.2 *************** *** 43,50 **** ofirst_dbquery("UPDATE ofirst_members SET authcode = '".$authcode."' WHERE email = '".$_POST['email']."';"); ! mail($member->email, "$title Account Password Reset","Hello ".$member->firstname.",\n\nYou are receiving this email because either you or someone else has requested that your password for $home be reset. ! Your reset code is: ".$authcode."\n\nClick on the following link to visit the reset password page:\n$home$basepath/members/reset.php?code=$authcode&email=".$member->email."\n\nThank you!", "From: $mailfrom"); echo "<br><br>An e-mail with information on how to reset your account password has been sent to the specified address.<br> --- 43,58 ---- ofirst_dbquery("UPDATE ofirst_members SET authcode = '".$authcode."' WHERE email = '".$_POST['email']."';"); ! mail($member->email, "$title Account Password Reset","Hello ".$member->firstname.", ! ! You are receiving this email because either you or someone else has requested that your password for $home be reset. ! Your reset code is: $authcode ! ! Click on the following link to visit the reset password page: ! ! $server$basepath/members/reset.php?code=$authcode&email=".$member->email." ! ! Thank you!", "From: $mailfrom"); echo "<br><br>An e-mail with information on how to reset your account password has been sent to the specified address.<br> |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:51:15
|
Update of /cvsroot/openfirst/logger In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19664/logger Modified Files: index.php reset.php stats.php track.php Log Message: -Corrected usage of $home -Added $server Index: track.php =================================================================== RCS file: /cvsroot/openfirst/logger/track.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** track.php 7 Aug 2004 02:09:30 -0000 1.20 --- track.php 14 Mar 2005 00:51:03 -0000 1.21 *************** *** 64,68 **** <tr> ! <td width="18%"><a href='track.php?ID=<?php echo $_GET['ID']; ?>&DELETE=true'><img src="<?php echo $home.$basepath; ?>/members/icons/actions/messagebox_critical.png" border="0"></a></td> <td width="82%">Delete all hits by this user </td> </tr> --- 64,68 ---- <tr> ! <td width="18%"><a href='track.php?ID=<?php echo $_GET['ID']; ?>&DELETE=true'><img src="<?php echo $basepath; ?>/members/icons/actions/messagebox_critical.png" border="0"></a></td> <td width="82%">Delete all hits by this user </td> </tr> *************** *** 107,111 **** echo(" <td>$log->QueryString</td>"); if($log->Member != "null"){ echo(" <td>$log->Member</td>"); }else{ echo("<td>NULL</td>"); } ! echo(" <td><a href='./?DELETE=$log->ID'><img border='0' src='$home$basepath/members/icons/actions/button_cancel.png'></a></td>"); if(function_exists("identify_browser")&&$browserid){ echo(" <td>"); --- 107,111 ---- echo(" <td>$log->QueryString</td>"); if($log->Member != "null"){ echo(" <td>$log->Member</td>"); }else{ echo("<td>NULL</td>"); } ! echo(" <td><a href='./?DELETE=$log->ID'><img border='0' src='$basepath/members/icons/actions/button_cancel.png'></a></td>"); if(function_exists("identify_browser")&&$browserid){ echo(" <td>"); Index: reset.php =================================================================== RCS file: /cvsroot/openfirst/logger/reset.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** reset.php 15 Apr 2004 01:25:43 -0000 1.9 --- reset.php 14 Mar 2005 00:51:03 -0000 1.10 *************** *** 40,44 **** <table width="29%"> <tr> ! <td width="4%"><img src="<?php echo $home.$basepath; ?>/members/icons/actions/messagebox_warning.png" border="0"></td> <td width="96%">Are you sure that you want to reset the entire logger system?<br> <br /> <input name="confirm" type="submit" id="confirm" value="Delete all Entries"> --- 40,44 ---- <table width="29%"> <tr> ! <td width="4%"><img src="<?php echo $basepath; ?>/members/icons/actions/messagebox_warning.png" border="0"></td> <td width="96%">Are you sure that you want to reset the entire logger system?<br> <br /> <input name="confirm" type="submit" id="confirm" value="Delete all Entries"> Index: stats.php =================================================================== RCS file: /cvsroot/openfirst/logger/stats.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** stats.php 15 Apr 2004 01:25:43 -0000 1.10 --- stats.php 14 Mar 2005 00:51:03 -0000 1.11 *************** *** 68,72 **** </tr> <tr> ! <td width="32"><a href='track.php?ID=<?php if(isset($_GET['ID'])) { echo $_GET['ID']; } ?>&DELETE=true'><img src="<?php echo $home.$basepath; ?>/members/icons/apps/kcalc.png" border="0"></a></td> <td width="286"><b><a href="<?php echo($_SERVER["PHP_SELF"]); ?>?graph=1">Usage Graphs</a></b></td> --- 68,72 ---- </tr> <tr> ! <td width="32"><a href='track.php?ID=<?php if(isset($_GET['ID'])) { echo $_GET['ID']; } ?>&DELETE=true'><img src="<?php echo $basepath; ?>/members/icons/apps/kcalc.png" border="0"></a></td> <td width="286"><b><a href="<?php echo($_SERVER["PHP_SELF"]); ?>?graph=1">Usage Graphs</a></b></td> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/logger/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 7 Aug 2004 02:09:30 -0000 1.14 --- index.php 14 Mar 2005 00:51:03 -0000 1.15 *************** *** 82,87 **** echo " <td>$log->HostLookup</td>"; echo "<td> ! <a href='./?DELETE=$log->IPAddress'><img border='0' src='$home$basepath/members/icons/actions/button_cancel.png'></a> ! <a href='track.php?ID=$log->IPAddress'><img src='$home$basepath/members/icons/actions/filefind.png' border='0'></a> </td>"; echo "</tr>"; --- 82,87 ---- echo " <td>$log->HostLookup</td>"; echo "<td> ! <a href='./?DELETE=$log->IPAddress'><img border='0' src='$basepath/members/icons/actions/button_cancel.png'></a> ! <a href='track.php?ID=$log->IPAddress'><img src='$basepath/members/icons/actions/filefind.png' border='0'></a> </td>"; echo "</tr>"; |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:50:13
|
Update of /cvsroot/openfirst/base In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19317 Modified Files: index.php Log Message: -Corrected usage of $home -Added $server Index: index.php =================================================================== RCS file: /cvsroot/openfirst/base/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 13 Mar 2005 19:42:47 -0000 1.6 --- index.php 14 Mar 2005 00:50:01 -0000 1.7 *************** *** 59,63 **** $qu = ofirst_dbquery("SELECT guest, date FROM ofirst_guestbook ORDER BY guest LIMIT 5;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Guestbook</th></tr><tr><td><div>Last records in our <a href=\"$home$basepath/guestbook\">guestbook</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { echo("<sub><strong><a href='/guestbook/' target='_content'>$q->guest</a></strong><br>$q->date</sub><br>"); --- 59,63 ---- $qu = ofirst_dbquery("SELECT guest, date FROM ofirst_guestbook ORDER BY guest LIMIT 5;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Guestbook</th></tr><tr><td><div>Last records in our <a href=\"$basepath/guestbook\">guestbook</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { echo("<sub><strong><a href='/guestbook/' target='_content'>$q->guest</a></strong><br>$q->date</sub><br>"); *************** *** 69,75 **** $qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Awards</th></tr><tr><td><div>Our team has received the following <a href=\"$home$basepath/awards\">awards</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$home$basepath/awards' target='_content'>$q->AwardName</a></sub><br>"); } echo("</td></tr></table><br />"); --- 69,75 ---- $qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;"); if(ofirst_dbnum_rows($qu)!=0){ ! echo("<table width=200><tr><th>Awards</th></tr><tr><td><div>Our team has received the following <a href=\"$basepath/awards\">awards</a>: </div>"); while($q = ofirst_dbfetch_object($qu)) { ! echo("<sub><a href='$basepath/awards' target='_content'>$q->AwardName</a></sub><br>"); } echo("</td></tr></table><br />"); *************** *** 79,83 **** <ul>".str_replace(" |"," ",str_replace("»","<li>",$headers))."</ul></td></tr></table><br />"); if(function_exists("get_visitors")) { ! echo("<table width=200><tr><th>Stats</th></tr><tr><td><div>Website <a href=\"$home$basepath/logger/stats.php\">usage statistics</a>: </div>"); echo("<sub><strong>".get_totalpages()." pages served to ".get_visitors()." visitors</strong></sub>"); echo("</td></tr></table><br />"); --- 79,83 ---- <ul>".str_replace(" |"," ",str_replace("»","<li>",$headers))."</ul></td></tr></table><br />"); if(function_exists("get_visitors")) { ! echo("<table width=200><tr><th>Stats</th></tr><tr><td><div>Website <a href=\"$basepath/logger/stats.php\">usage statistics</a>: </div>"); echo("<sub><strong>".get_totalpages()." pages served to ".get_visitors()." visitors</strong></sub>"); echo("</td></tr></table><br />"); *************** *** 95,99 **** //are there more news? if(ofirst_dbnum_rows(ofirst_dbquery("SELECT * FROM ofirst_news"))>5){ ! echo("<div align=right>[ <b><a href=\"$home$basepath/news/index.php?show=all\">More News</a></b> ]</div>"); } } --- 95,99 ---- //are there more news? if(ofirst_dbnum_rows(ofirst_dbquery("SELECT * FROM ofirst_news"))>5){ ! echo("<div align=right>[ <b><a href=\"$basepath/news/index.php?show=all\">More News</a></b> ]</div>"); } } |
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:50:13
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19317/config Modified Files: first.php footers.php globals.tpl headers.php Log Message: -Corrected usage of $home -Added $server Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** footers.php 13 Mar 2005 19:23:09 -0000 1.11 --- footers.php 14 Mar 2005 00:50:00 -0000 1.12 *************** *** 18,25 **** <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo("$home$basepath/images/"); ?>poweredby-small.png" width="177" height="30" border="0" alt="Powered by openFIRST Software - http://openfirst.sourceforge.net"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo("$home$basepath/images/"); ?>w3c401.png" alt="Valid HTML 4.01" width="88" height="31" border="0"></a> </div> </div> --- 18,25 ---- <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo("$basepath"); ?>/images/poweredby-small.png" width="177" height="30" border="0" alt="Powered by openFIRST Software - http://openfirst.sourceforge.net"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo("$basepath"); ?>/images/w3c401.png" alt="Valid HTML 4.01" width="88" height="31" border="0"></a> </div> </div> Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** first.php 13 Mar 2005 19:06:34 -0000 1.51 --- first.php 14 Mar 2005 00:50:00 -0000 1.52 *************** *** 81,84 **** --- 81,85 ---- '%MASTERMAIL%', '%BOTMAIL%', + '%SERVER', '%BASEPATH%', '%FBASEPATH%'); *************** *** 100,103 **** --- 101,105 ---- GetVarValue($_POST['mailnotify']), GetVarValue($_POST['mailfrom']), + GetVarValue($_POST['server']), GetVarValue($_POST['basepath']), GetVarValue($_POST['fbasepath'])); *************** *** 263,267 **** to your main page) <em>Note:</em> Do not place a slash after the link ie. http://www.yoursite.com</font></td> ! <td> <input type="text" name="home" value="<?php echo htmlentities("http://$server"); ?>" ></td> </tr> <tr> --- 265,269 ---- to your main page) <em>Note:</em> Do not place a slash after the link ie. http://www.yoursite.com</font></td> ! <td> <input type="text" name="home" value="http://<?php echo htmlentities("$server$basepath"); ?>" ></td> </tr> <tr> *************** *** 276,279 **** --- 278,287 ---- </tr> <tr> + <td>The server name of the openFIRST software<br> <font size="1">ie. example: + <strong>http://openfirst.sourceforge.net</strong>/openfirst) this should + never have an ending slash, and must contain protocol name.</font></td> + <td><input type="text" name="server" value="http://<?php echo htmlentities($server); ?>"></td> + </tr> + <tr> <td>The base path to the openFIRST software<br> <font size="1">ie. example: http://openfirst.sourceforge.net<strong>/openfirst</strong>) this should Index: globals.tpl =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** globals.tpl 13 Mar 2005 22:55:44 -0000 1.7 --- globals.tpl 14 Mar 2005 00:50:00 -0000 1.8 *************** *** 39,42 **** --- 39,43 ---- $mailnotify = %MASTERMAIL%; $mailfrom = %BOTMAIL%; + $server = %SERVER%; $basepath = %BASEPATH%; $fbasepath = %FBASEPATH%; Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** headers.php 13 Mar 2005 19:09:16 -0000 1.20 --- headers.php 14 Mar 2005 00:50:00 -0000 1.21 *************** *** 1,5 **** <?php if(! isset($basepath)){ ! $basepath = "http://openfirst.sourceforge.net/"; $title = "openFIRST Team"; } --- 1,5 ---- <?php if(! isset($basepath)){ ! $basepath = 'http://openfirst.sourceforge.net'; $title = "openFIRST Team"; } *************** *** 48,56 **** <table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td> <img src="<?php echo("$home$basepath/images/"); ?>openfirst.png" alt="openFIRST Portal System"> </td> </tr> <tr> ! <th id="topmenu" style="background-image: url('<?php echo("$home$basepath"); ?>/images/back.gif');"> <?php if(ISSET($headers)){ --- 48,56 ---- <table width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td> <img src="<?php echo("$basepath"); ?>/images/openfirst.png" alt="openFIRST Portal System"> </td> </tr> <tr> ! <th id="topmenu" style="background-image: url('<?php echo("$basepath"); ?>/images/back.gif');"> <?php if(ISSET($headers)){ *************** *** 71,75 **** </tr> <tr> ! <td style="background-image: url('<?php echo("$basepath/images/"); ?>back-light.gif'); "> <table width="100%" border="0" cellspacing="0" cellpadding="0"> --- 71,75 ---- </tr> <tr> ! <td style="background-image: url('<?php echo("$basepath"); ?>/images/back-light.gif'); "> <table width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 99,103 **** echo $usersonline; } else { ! echo "Welcome to the <b>".$title."</b> website!"; } --- 99,103 ---- echo $usersonline; } else { ! echo "Welcome to the <b>$title</b> website!"; } *************** *** 111,115 **** if (isset($user->user)){ ! if(isset($adminnav) == true && $user->membertype == "administrator"){ ?> --- 111,115 ---- if (isset($user->user)){ ! if(isset($adminnav) && (strcasecmp($user->membertype, 'administrator') == 0)) { ?> *************** *** 130,134 **** <?php ! if ($basepath == "http://openfirst.sourceforge.net/") { unset($basepath); } --- 130,134 ---- <?php ! if ($basepath == 'http://openfirst.sourceforge.net') { unset($basepath); } |
From: Astronouth7303 <ast...@us...> - 2005-03-13 22:55:57
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22418/config Modified Files: globals.tpl Log Message: NO MORE PEAR! Index: globals.tpl =================================================================== RCS file: /cvsroot/openfirst/base/config/globals.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** globals.tpl 13 Mar 2005 19:38:46 -0000 1.6 --- globals.tpl 13 Mar 2005 22:55:44 -0000 1.7 *************** *** 30,39 **** $sqlconnection = ofirst_dbconnect("$sqlserver","$sqluser","$sqlpassword"); ! ! if($peardb) { ! $sqlconnection = ofirst_select_db($sqldatabase); ! } else { ! ofirst_select_db($sqldatabase); ! } $pass_save_disabled=%COOKIE%; --- 30,34 ---- $sqlconnection = ofirst_dbconnect("$sqlserver","$sqluser","$sqlpassword"); ! ofirst_select_db($sqldatabase); $pass_save_disabled=%COOKIE%; |
From: Astronouth7303 <ast...@us...> - 2005-03-13 21:13:07
|
Update of /cvsroot/openfirst/www/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27039/inc Modified Files: headers.php Log Message: PEAR is not supported. removed image Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/www/inc/headers.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** headers.php 8 Jan 2005 14:17:53 -0000 1.10 --- headers.php 13 Mar 2005 21:12:56 -0000 1.11 *************** *** 135,139 **** <img alt="" src="http://www.openfirst.org/image/tested/sambar.png"> <img alt="" src="http://www.openfirst.org/image/tested/php.png"><br> <img alt="" src="http://www.openfirst.org/image/tested/mysql.png"><br>(Other databases are supported)<br> ! <img src="http://www.openfirst.org/image/powered_pear.png" alt="PEAR"><br>(Pear components are optional)</center> <p><b>Bugzilla Stats</b> <br><iframe --- 135,139 ---- <img alt="" src="http://www.openfirst.org/image/tested/sambar.png"> <img alt="" src="http://www.openfirst.org/image/tested/php.png"><br> <img alt="" src="http://www.openfirst.org/image/tested/mysql.png"><br>(Other databases are supported)<br> ! <!--img src="http://www.openfirst.org/image/powered_pear.png" alt="PEAR"><br>(Pear components are optional)--></center> <p><b>Bugzilla Stats</b> <br><iframe |
From: Astronouth7303 <ast...@us...> - 2005-03-13 20:45:50
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20065/config Modified Files: version.php Log Message: is_array() used. Now takes forever to work Index: version.php =================================================================== RCS file: /cvsroot/openfirst/base/config/version.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** version.php 31 Jul 2004 18:05:22 -0000 1.8 --- version.php 13 Mar 2005 20:45:39 -0000 1.9 *************** *** 41,45 **** $aFiles = glob("$sDir/$sPattern", $nFlags); ! if (isarray($aFiles)) { foreach (glob("$sDir/*", GLOB_ONLYDIR) as $sSubDir) { --- 41,45 ---- $aFiles = glob("$sDir/$sPattern", $nFlags); ! if (is_array($aFiles)) { foreach (glob("$sDir/*", GLOB_ONLYDIR) as $sSubDir) { *************** *** 48,52 **** if(! is_link($sSubDir)) { $aSubFiles = rglob($sSubDir, $sPattern, $nFlags); ! if(isarray($aFiles) && isarray($aSubFiles)) { $aFiles = array_merge($aFiles, $aSubFiles); } --- 48,52 ---- if(! is_link($sSubDir)) { $aSubFiles = rglob($sSubDir, $sPattern, $nFlags); ! if(is_array($aFiles) && is_array($aSubFiles)) { $aFiles = array_merge($aFiles, $aSubFiles); } *************** *** 87,91 **** echo("<p>The version information requires the <strong>glob</strong> function, which your version of PHP does not have. In the future there will be version for systems without ! <strong>glob</strong> glob functionality, but at the moment only a <strong>glob</strong> version is provided.</p>"); } --- 87,91 ---- echo("<p>The version information requires the <strong>glob</strong> function, which your version of PHP does not have. In the future there will be version for systems without ! <strong>glob</strong> functionality, but at the moment only a <strong>glob</strong> version is provided.</p>"); } |
From: Astronouth7303 <ast...@us...> - 2005-03-13 20:24:25
|
Update of /cvsroot/openfirst/photogallery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13871/photogallery Added Files: .cvsignore Log Message: Ignoring the 'gallery' directory --- NEW FILE: .cvsignore --- gallery |
From: Astronouth7303 <ast...@us...> - 2005-03-13 19:49:05
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3396/news Modified Files: viewnews.php Log Message: More misunderstanding stuff (I swear I'll get it one of these days) Index: viewnews.php =================================================================== RCS file: /cvsroot/openfirst/news/viewnews.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** viewnews.php 13 Mar 2005 19:47:06 -0000 1.13 --- viewnews.php 13 Mar 2005 19:48:54 -0000 1.14 *************** *** 49,53 **** echo("<br><br><center>[ <a href='$home$basepath/news/comments.php?ID=$news->ID'>View Comments</a> ]</center></td></tr>"); if($admin){ ! echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$home.$basepath.'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$GLOBALS["basepath"].'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); echo('<a href="'.$home.$basepath.'/news/admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$home.$basepath.'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); } --- 49,53 ---- echo("<br><br><center>[ <a href='$home$basepath/news/comments.php?ID=$news->ID'>View Comments</a> ]</center></td></tr>"); if($admin){ ! echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$home.$basepath.'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$home.$basepath.'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); echo('<a href="'.$home.$basepath.'/news/admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$home.$basepath.'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); } |