projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make all icons using in single_photo.tpl
[phpfspot.git]
/
phpfspot.class.php
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 0e2ea44b7cd9ae92fcd8cbc04d13f2fced4f0228..d2bb907009a9a29d98809247f7699b1aecb65425 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-223,6
+223,11
@@
class PHPFSPOT {
if(isset($_SESSION['begin_with']) && $this->cfg->thumbs_per_page == 0)
unset($_SESSION['begin_with']);
if(isset($_SESSION['begin_with']) && $this->cfg->thumbs_per_page == 0)
unset($_SESSION['begin_with']);
+ // if user-friendly-url's are enabled, set also a flag for the template handler
+ if($this->is_user_friendly_url()) {
+ $this->tmpl->assign('user_friendly_url', 'true');
+ }
+
} // __construct()
public function __destruct()
} // __construct()
public function __destruct()
@@
-867,7
+872,7
@@
class PHPFSPOT {
} // resetTags()
/**
} // resetTags()
/**
- * returns the value for the autocomplet tag-search
+ * returns the value for the autocomplet
e
tag-search
* @return string
*/
public function get_xml_tag_list()
* @return string
*/
public function get_xml_tag_list()