diff options
-rw-r--r-- | include/common.inc.php | 2 | ||||
-rw-r--r-- | template/yoga/admin/configuration.tpl | 24 |
2 files changed, 16 insertions, 10 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index c6ae8c8af..39de9a42f 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -192,6 +192,8 @@ if ($conf['gallery_locked']) if ( script_basename() != 'identification' and !is_admin() ) { + set_status_header(503, 'Service Unavailable'); + @header('Retry-After: 900'); echo $lang['gallery_locked_message'] .'<a href="'.get_absolute_root_url(false).'identification.php">.</a>'; exit(); diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl index a2a435342..3feafc51d 100644 --- a/template/yoga/admin/configuration.tpl +++ b/template/yoga/admin/configuration.tpl @@ -44,27 +44,31 @@ <fieldset id="mainConfCheck"> <ul> <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" {main.ALLOW_USER_REGISTRATION} /> + <label> + <span class="property">{lang:Rating}</span> + <input type="checkbox" name="rate" {main.RATE} /> </label> </li> <li> - <label for="obligatory_user_mail_address"> - <span class="property">{lang:obligatory_user_mail_address}</span> - <input type="checkbox" name="obligatory_user_mail_address" id="obligatory_user_mail_address" {main.OBLIGATORY_USER_MAIL_ADDRESS} /> + <label> + <span class="property">{lang:Rating by guests}</span> + <input type="checkbox" name="rate_anonymous" {main.RATE_ANONYMOUS} /> </label> </li> <li> - <span class="property">{lang:Rating}</span> - <input type="checkbox" name="rate" {main.RATE} /> + <label for="allow_user_registration"> + <span class="property">{lang:Allow user registration}</span> + <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} /> + </label> </li> <li> - <span class="property">{lang:Rating by guests}</span> - <input type="checkbox" name="rate_anonymous" {main.RATE_ANONYMOUS} /> + <label for="obligatory_user_mail_address"> + <span class="property">{lang:obligatory_user_mail_address}</span> + <input type="checkbox" name="obligatory_user_mail_address" id="obligatory_user_mail_address" {main.OBLIGATORY_USER_MAIL_ADDRESS} /> + </label> </li> <li> |