aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2013-01-09 00:24:52 +0000
committerpatdenice <patdenice@piwigo.org>2013-01-09 00:24:52 +0000
commit65c180b4d724204e43d57ea897b601ed04617370 (patch)
tree96df64073da2383c46cb7c9aceabbdfd0033e6b4 /themes/smartpocket
parentdf3df4fdf0874bb741479bf5a538824bd292f230 (diff)
bug:2819
Link problem in menu with smartpocket Add redirect.tpl in smartpocket. git-svn-id: http://piwigo.org/svn/trunk@20014 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/smartpocket/template/menubar.tpl1
-rw-r--r--themes/smartpocket/template/redirect.tpl9
2 files changed, 10 insertions, 0 deletions
diff --git a/themes/smartpocket/template/menubar.tpl b/themes/smartpocket/template/menubar.tpl
index e4679c98e..734ede2da 100644
--- a/themes/smartpocket/template/menubar.tpl
+++ b/themes/smartpocket/template/menubar.tpl
@@ -26,6 +26,7 @@
{footer_script}{literal}
$(document).ready(function() {
$('#identification').change(function() {
+ $(this).selectmenu('close');
window.location = this.value;
});
});
diff --git a/themes/smartpocket/template/redirect.tpl b/themes/smartpocket/template/redirect.tpl
new file mode 100644
index 000000000..61f88885e
--- /dev/null
+++ b/themes/smartpocket/template/redirect.tpl
@@ -0,0 +1,9 @@
+<div>
+ {$REDIRECT_MSG}
+</div>
+
+<p style="margin: 2em">
+ <a href="{$page_refresh.U_REFRESH}">
+ {'Click here if your browser does not automatically forward you'|@translate}
+ </a>
+</p>