aboutsummaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2007-09-26 08:15:05 +0000
committerjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2007-09-26 08:15:05 +0000
commit789a9d2629fd0f40d951444e9bf68a552e391cd9 (patch)
treeee20fb486c4e56a96260a3f2c6ae70d646480c10 /www/index.php
parent3af0abbe0dcae33ac0d3f39d455d072785120ad9 (diff)
downloadoriginal-789a9d2629fd0f40d951444e9bf68a552e391cd9.tar.gz
original-789a9d2629fd0f40d951444e9bf68a552e391cd9.tar.bz2
Remove metacam and jhead exif support, mainly due to a possible exploit.
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@20 4fa712ea-3c06-0410-9261-c11b4c06c003
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/www/index.php b/www/index.php
index ad143ad..894ba99 100644
--- a/www/index.php
+++ b/www/index.php
@@ -36,13 +36,6 @@ $cmnt='';
if (isset($_GET["cmnt"])) $cmnt=$_GET["cmnt"];
$show_thumbs='';
if (isset($_GET["show_thumbs"])) $show_thumbs=$_GET["show_thumbs"];
-$exif_style='';
-if (isset($_GET["exif_style"])) $exif_style=$_GET["exif_style"];
-
-/*
-if(!$exif_style) {
- $exif_style="descriptive";
-} */
$page = new C_www;
//default colors
@@ -329,7 +322,7 @@ if (!$galerie) {
if ($show_thumbs) {
print "\n<!--mini thumbnail roll-->\n<div class=\"thumbroll\">";
print "<a id=\"minus\" href=\"$ThisScript?galerie=$galerie&amp;photo=$snimek";
- print "&amp;exif_style=$exif_style\">";
+ print "\">";
print "</a>\n";
print " : \n";
while ($thumbfile = $imgfiles->read()) {
@@ -367,7 +360,7 @@ if (!$galerie) {
// show the popup button
print "\n<!--mini thumbnail popup-->\n<div class=\"thumbroll\">";
print "<a id=\"plus\" href=\"$ThisScript?galerie=$galerie&amp;photo=$snimek";
- print "&amp;exif_style=$exif_style&amp;show_thumbs=yes\"";
+ print "&amp;show_thumbs=yes\"";
print " title=\"" . __('Show Thumbnail Navigation') . "\">";
print "</a>\n";
print "</div>\n";
@@ -382,7 +375,7 @@ if (!$galerie) {
- if ($exif_prog) require("$root/inc/exif.inc.php");
+ require("$root/inc/exif.inc.php");
/* Image comment
really poor naming here, it is caption.
*/