X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=54308aa25ca3e109e2e4d7c7ada4e958b72a1b44;hp=f938dbc30ef4710640744fa619ec8bf19213d377;hb=b690db6fe75d323ff4f30e2be0a447a75e140cb5;hpb=8e14a6b9e1c7d2dfc25e786c425d76acc115f393 diff --git a/phpfspot.class.php b/phpfspot.class.php index f938dbc..54308aa 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -778,17 +778,10 @@ class PHPFSPOT { break; case 'img': $output.= " -
-
- tags[$tag] ."\"> - cfg->web_path ."/phpfspot_img.php?tagidx=". $tag ."\" /> - -
-
- tags[$tag] ."\"> - cfg->web_path ."/resources/underbar.png\" /> - -
+
+ tags[$tag] ."\"> + cfg->web_path ."/phpfspot_img.php?tagidx=". $tag ."\" /> +
"; break; @@ -872,7 +865,7 @@ class PHPFSPOT { } // resetTags() /** - * returns the value for the autocomplet tag-search + * returns the value for the autocomplete tag-search * @return string */ public function get_xml_tag_list() @@ -3119,14 +3112,14 @@ class PHPFSPOT { { if(preg_match('/\/photoview\/|\/photo\/|\/tag\//', $request_uri)) { - unset($_SESSION['start_action']); - unset($_SESSION['selected_tags']); - $options = explode('/', $request_uri); switch($options[1]) { case 'photoview': if(is_numeric($options[2])) { + $this->session_cleanup(); + //unset($_SESSION['start_action']); + //unset($_SESSION['selected_tags']); $_GET['mode'] = 'showp'; return $this->showPhoto($options[2]); } @@ -3186,6 +3179,7 @@ class PHPFSPOT { $this->resetTagSearch(); $this->resetNameSearch(); $this->resetDateSearch(); + $this->resetTags(); } // session_cleanup()