[Openfirst-cvscommit] photogallery email.php,1.13,1.14 gallery.php,1.17,1.18 index.php,1.13,1.14 pho
Brought to you by:
xtimg
From: <xt...@us...> - 2004-02-28 02:21:25
|
Update of /cvsroot/openfirst/photogallery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5421 Modified Files: email.php gallery.php index.php photogallery.php viewphoto.php Log Message: A number of non-critial bug fixes, license repetition errors (found by Daniel Schilling of 1006), and minor feature-enhancements. Index: email.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/email.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** email.php 30 Jan 2004 22:54:16 -0000 1.13 --- email.php 28 Feb 2004 02:12:17 -0000 1.14 *************** *** 16,23 **** * 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 --- 16,19 ---- *************** *** 33,37 **** if (! isset($_GET['ID']) || ! isset($_GET['PHOTO'])) { echo "You have not selected an image to view!"; ! die(include($footer)); } --- 29,33 ---- if (! isset($_GET['ID']) || ! isset($_GET['PHOTO'])) { echo "You have not selected an image to view!"; ! die(include_once($footer)); } Index: gallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/gallery.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** gallery.php 30 Jan 2004 22:59:02 -0000 1.17 --- gallery.php 28 Feb 2004 02:12:17 -0000 1.18 *************** *** 16,23 **** * 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 --- 16,19 ---- *************** *** 34,38 **** if (! isset($_GET['ID'])) { echo "You have not selected a gallery to view!"; ! die(include($footer)); } --- 30,34 ---- if (! isset($_GET['ID'])) { echo "You have not selected a gallery to view!"; ! die(include_once($footer)); } *************** *** 91,97 **** // Check if there is a thumb available for this image, if so then use it or else preview the actual reduced image if(file_exists($dirlocate."/thumbs/".$file)){ ! echo "<img border='1px' height=100 width=152 alt='Photo Gallery Image' src='".$dirlocate."/thumbs/".$file."'>"; } else { ! echo "<img border='1px' height=100 width=152 alt='Photo Gallery Image' src='".$dirlocate."/".$file."'>"; } --- 87,93 ---- // Check if there is a thumb available for this image, if so then use it or else preview the actual reduced image if(file_exists($dirlocate."/thumbs/".$file)){ ! echo "<img border='1px' alt='Photo Gallery Image' src='".$dirlocate."/thumbs/".$file."'>"; } else { ! echo "<img border='1px' alt='Photo Gallery Image' src='".$dirlocate."/".$file."'>"; } Index: index.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/index.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** index.php 24 Dec 2003 01:01:36 -0000 1.13 --- index.php 28 Feb 2004 02:12:17 -0000 1.14 *************** *** 16,23 **** * 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 --- 16,19 ---- *************** *** 32,36 **** ?> <h2>View Galleries</h2> ! <p>Welcome to the gallery viewer. Please select a gallery from the list below:<br> </p> <table width="637"> --- 28,35 ---- ?> <h2>View Galleries</h2> ! <p>Welcome to the gallery viewer. There are <strong><?php echo ! mysql_num_rows(mysql_query("SELECT * FROM ofirst_photogallery_image")); ?></strong> image(s) in ! <strong><?php echo ofirst_dbnum_rows(ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries")); ?></strong> ! galleries. Please select a gallery from the list below:<br> </p> <table width="637"> Index: photogallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/photogallery.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** photogallery.php 24 Dec 2003 01:01:36 -0000 1.6 --- photogallery.php 28 Feb 2004 02:12:17 -0000 1.7 *************** *** 16,23 **** * 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 --- 16,19 ---- Index: viewphoto.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/viewphoto.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** viewphoto.php 30 Jan 2004 22:53:39 -0000 1.14 --- viewphoto.php 28 Feb 2004 02:12:17 -0000 1.15 *************** *** 16,23 **** * 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 --- 16,19 ---- *************** *** 58,62 **** if (! isset($_GET['ID']) || ! isset($_GET['PHOTO'])) { echo "You have not selected an image to view!"; ! die(include($footer)); } --- 54,58 ---- if (! isset($_GET['ID']) || ! isset($_GET['PHOTO'])) { echo "You have not selected an image to view!"; ! die(include_once($footer)); } *************** *** 140,144 **** // Declare dir location $dirlocate = $gallerydir.$gallery->GalleryName."/"; ! echo "<img height='400' width='500' src='".$dirlocate.$_GET['PHOTO']."'>"; ?> </td> --- 136,142 ---- // Declare dir location $dirlocate = $gallerydir.$gallery->GalleryName."/"; ! echo "<a href='" . $dirlocate . $_GET['PHOTO'] . "'> ! <img width='400' src='".$dirlocate.$_GET['PHOTO']."'> ! <br>View image alone</a>"; ?> </td> |