From b3caf0ff75d38cd20cfbdaa8a661cd157845871d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 27 Apr 2008 14:35:05 +0200 Subject: issue15, for now disable the show_tags-checks because it blocks the get_random_tag_photo() function Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index 97deb96..943c57a 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -2620,12 +2620,12 @@ class PHPFSPOT { pt.tag_id LIKE '". $tagidx ."' "; - if(isset($this->cfg->show_tags) && !empty($this->cfg->show_tags)) { + /*if(isset($this->cfg->show_tags) && !empty($this->cfg->show_tags)) { $query_str.= " AND t.name IN ('".implode("','",$this->cfg->show_tags)."') "; - } + }*/ $result = $this->db->db_query($query_str); -- cgit v1.2.3-18-g5258 From c6096e5ba0d1e2ba95469a30108b4497b94451bb Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 27 Apr 2008 09:47:40 -0700 Subject: edited tool tips for links in single_image Signed-off-by: Arun Persaud --- themes/default/templates/single_photo.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index a16776e..78e489d 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -16,13 +16,13 @@
- + {if $extern_link } {/if} - + original resolution
-- cgit v1.2.3-18-g5258 From 43071ed9b32e3368aae01852abd70fa6b3afd877 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 27 Apr 2008 09:46:28 -0700 Subject: wrong argument to get_mime_info function Signed-off-by: Arun Persaud --- phpfspot.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index 943c57a..094746c 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -3004,7 +3004,7 @@ class PHPFSPOT { */ public function get_mime_info($file) { - $details = getimagesize($orig_image); + $details = getimagesize($file); /* if getimagesize() returns empty, try at least to find out the mime type. -- cgit v1.2.3-18-g5258