diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-09-12 02:17:35 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-09-12 02:17:35 +0000 |
commit | 4d86bb2234af3939f1e8add3633deaa425fe526e (patch) | |
tree | bfc5274c3fa9e427dc7407288173355e585a9080 /template | |
parent | 272113c4175992de5dee7fed77fa2ab9fdef2850 (diff) |
- images.file categories.permalink old_permalinks.permalink - become binary
- session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range)
- metadata sync from the sync button does not overwrite valid data with empty metadata
- other small fixes/enhancements:
- added event get_category_image_orders
- fix display issue with redirect.tpl (h1/h2 within h1)
- fix known_script smarty function registration
- query search form not submitted if q is empty
- better admin css rules
- some other minor changes (ws_core, rest_handler, functions_search...)
git-svn-id: http://piwigo.org/svn/trunk@2521 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/yoga/menubar_menu.tpl | 4 | ||||
-rw-r--r-- | template/yoga/redirect.tpl | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/template/yoga/menubar_menu.tpl b/template/yoga/menubar_menu.tpl index b9d26376b..c16fae690 100644 --- a/template/yoga/menubar_menu.tpl +++ b/template/yoga/menubar_menu.tpl @@ -1,6 +1,6 @@ -<dt>{$block->get_title()|@translate}</dt> +<dt>{'title_menu'|@translate}</dt> <dd> - <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch"> + <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;"> <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}> <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"/> </p> diff --git a/template/yoga/redirect.tpl b/template/yoga/redirect.tpl index 91edd0979..e571d0bab 100644 --- a/template/yoga/redirect.tpl +++ b/template/yoga/redirect.tpl @@ -1,6 +1,13 @@ {* $Id$ *} -<h2>{$REDIRECT_MSG}</h2> -<p style="text-align:center; margin: 2em"> +{html_head} +<style type="text/css">#the_page {ldelim}text-align:center;} </style> +{/html_head} + +<div> + {$REDIRECT_MSG} +</div> + +<p style="margin: 2em"> <a href="{$page_refresh.U_REFRESH}"> {'click_to_redirect'|@translate} </a> |