summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
da45128)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
<div style=\"display: table-cell;\">
<div style=\"display: table-row; text-align: center;\">
<a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\">
<div style=\"display: table-cell;\">
<div style=\"display: table-row; text-align: center;\">
<a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\">
- <img src=\"phpfspot_img.php?tagidx=". $tag ."\" />
+ <img src=\"". $this->cfg->web_path ."/phpfspot_img.php?tagidx=". $tag ."\" />
</a>
</div>
<div style=\"display: table-row; text-align: center;\">
<a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\">
</a>
</div>
<div style=\"display: table-row; text-align: center;\">
<a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\">
- <img src=\"resources/underbar.png\" />
+ <img src=\"". $this->cfg->web_path ."/resources/underbar.png\" />
if($last_page > 1)
$this->tmpl->assign('page_selector', $page_select);
}
if($last_page > 1)
$this->tmpl->assign('page_selector', $page_select);
}
$current_tags = $this->getCurrentTags();
$extern_link = "index.php?mode=showpi";
$current_tags = $this->getCurrentTags();
$extern_link = "index.php?mode=showpi";
break;
case 'tag':
if(is_numeric($options[2])) {
break;
case 'tag':
if(is_numeric($options[2])) {
+ $this->session_cleanup();
$_GET['tags'] = $options[2];
$_SESSION['selected_tags'] = Array($options[2]);
return $this->showPhotoIndex();
$_GET['tags'] = $options[2];
$_SESSION['selected_tags'] = Array($options[2]);
return $this->showPhotoIndex();
} // is_user_friendly_url()
} // is_user_friendly_url()
+ /**
+ * session cleanup
+ *
+ * this function will cleanup user's session information
+ */
+ private function session_cleanup()
+ {
+ unset($_SESSION['begin_with']);
+ $this->resetDateSearch();
+ $this->resetPhotoView();
+ $this->resetTagSearch();
+ $this->resetNameSearch();
+ $this->resetDateSearch();
+
+ } // session_cleanup()