diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-12-13 01:05:38 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-12-13 01:05:38 +0000 |
commit | 74e5d80e899562b6505ce7c4865041448b22470d (patch) | |
tree | e47fae00cc013e4626081cc66f38ce43e1d40dd4 /template | |
parent | 5046b3c2105bdfae23d6835c110606ea9e7ff055 (diff) |
- feature 599: option to forbid user registration
- 1 language cleanup
- added page_forbidden function (sends 403)
git-svn-id: http://piwigo.org/svn/trunk@1652 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/admin/configuration.tpl | 7 | ||||
-rw-r--r-- | template/yoga/admin/picture_modify.tpl | 4 | ||||
-rw-r--r-- | template/yoga/default-layout.css | 1 | ||||
-rw-r--r-- | template/yoga/identification.tpl | 8 | ||||
-rw-r--r-- | template/yoga/menubar.tpl | 4 |
5 files changed, 19 insertions, 5 deletions
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl index 7f86f6e1b..387bb5b47 100644 --- a/template/yoga/admin/configuration.tpl +++ b/template/yoga/admin/configuration.tpl @@ -59,6 +59,13 @@ </label> </li> + <li> + <label for="allow_user_registration"> + <span class="property">{lang:Allow user registration}</span> + <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {general.ALLOW_USER_REGISTRATION} /> + </label> + </li> + <br/> <li> <fieldset> diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl index c10e7744e..28981589f 100644 --- a/template/yoga/admin/picture_modify.tpl +++ b/template/yoga/admin/picture_modify.tpl @@ -23,7 +23,7 @@ </tr> <tr> - <td><strong>{lang:Registration date}</strong></td> + <td><strong>{lang:Post date}</strong></td> <td>{REGISTRATION_DATE}</td> </tr> @@ -103,7 +103,7 @@ <td>{TAG_SELECTION}</td> </tr> - + <tr> <td><strong>{lang:Description}</strong></td> <td><textarea name="description" class="description">{DESCRIPTION}</textarea></td> diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index afe4cf525..d246e32b8 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -181,6 +181,7 @@ FORM.properties LI, FORM#update UL { margin-bottom: 0.5em; padding: 0; line-height: 1.8em; + clear: left; } FORM.properties SPAN.property { diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index 7c8f6e0c3..6f364da23 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -4,7 +4,9 @@ <div class="titrePage"> <ul class="categoryActions"> <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li> +<!-- BEGIN register --> <li><a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li> +<!-- END register --> <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li> </ul> <h2>{lang:Identification}</h2> @@ -60,8 +62,10 @@ document.login_form.username.focus(); //--></script> <p> - <a href="{U_REGISTER}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {lang:Register}</a> - <a href="{U_LOST_PASSWORD}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a> +<!-- BEGIN register --> + <a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {lang:Register}</a> +<!-- END register --> + <a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a> </p> </div> <!-- content --> diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl index dd3b72390..eafec20a6 100644 --- a/template/yoga/menubar.tpl +++ b/template/yoga/menubar.tpl @@ -79,7 +79,7 @@ <!-- END hello --> <ul> <!-- BEGIN register --> - <li><a href="{U_REGISTER}" rel="nofollow">{lang:Register}</a></li> + <li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow">{lang:Register}</a></li> <!-- END register --> <!-- BEGIN login --> <li><a href="{F_IDENTIFY}" rel="nofollow">{lang:Connection}</a></li> @@ -121,7 +121,9 @@ </p> <ul class="actions"> <li><a href="{U_LOST_PASSWORD}" title="{lang:Forgot your password?}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/lost_password.png" class="button" alt="{lang:Forgot your password?}"></a></li> + <!-- BEGIN register --> <li><a href="{U_REGISTER}" title="{lang:Create a new account}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/register.png" class="button" alt="{lang:register}"/></a></li> + <!-- END register --> </ul> </fieldset> |