aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-02-23 05:12:32 +0000
committerrvelices <rv-github@modusoptimus.com>2006-02-23 05:12:32 +0000
commit347d2e34b3972ec1d0022b831dd5a1fe13adbaa5 (patch)
tree92cd6cd3e49c50337de07c175c2d9d71291a74f0 /template
parent34538a62f4ac8bc6db41580058fdd040abaa3183 (diff)
fix: permissioning not working (2 bugs)
fix: locked gallery cannot be unlocked (impossible to login) improvement: nicer display in redirect.tpl improvement: when a page is not accessible because of permissions (accessed through bookmark or email), redirect to identification.php and after identification to the initially requested page git-svn-id: http://piwigo.org/svn/trunk@1052 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/identification.tpl2
-rw-r--r--template/yoga/redirect.tpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl
index f5195e011..7ff80a01c 100644
--- a/template/yoga/identification.tpl
+++ b/template/yoga/identification.tpl
@@ -23,7 +23,7 @@
<form action="{F_LOGIN_ACTION}" method="post" class="properties">
<fieldset>
<legend>{lang:Connection settings}</legend>
-
+ <input type="hidden" name="redirect" value="{U_REDIRECT}">
<ul>
<li>
<label for="username">{L_USERNAME}</label>
diff --git a/template/yoga/redirect.tpl b/template/yoga/redirect.tpl
index 9742452a7..6d85d3afc 100644
--- a/template/yoga/redirect.tpl
+++ b/template/yoga/redirect.tpl
@@ -1,2 +1,2 @@
-redirection<br/>
-<a href="{U_REFRESH}">{U_REFRESH}</a> \ No newline at end of file
+<p>Redirection...</p>
+<p><a href="{U_REFRESH}">{lang:click_to_redirect}</a></p>