From df6940d0afca41523a60cbb0a57d70eaa3482e6f Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 9 Jan 2013 00:26:54 +0000 Subject: 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 --- themes/smartpocket/template/menubar.tpl | 1 + themes/smartpocket/template/redirect.tpl | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 themes/smartpocket/template/redirect.tpl 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 @@ +
+ {$REDIRECT_MSG} +
+ +

+ + {'Click here if your browser does not automatically forward you'|@translate} + +

-- cgit v1.2.3