aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2013-01-09 00:26:54 +0000
committerpatdenice <patdenice@piwigo.org>2013-01-09 00:26:54 +0000
commitdf6940d0afca41523a60cbb0a57d70eaa3482e6f (patch)
treef8e118008c259e9e5b8bb178d225f32465864480
parentb3ab6cf8e809256d88ba23558490244d287d26ef (diff)
merge r20014 from trunk to branch 2.4
bug:2819 Link problem in menu with smartpocket Add redirect.tpl in smartpocket. git-svn-id: http://piwigo.org/svn/branches/2.4@20015 68402e56-0260-453c-a942-63ccdbb3a9ee
-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>