diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 22:09:02 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 22:09:02 -0700 |
| commit | 3e8d683ce4bf6cf41b67e61ebe76c32c129105e4 (patch) | |
| tree | 75f833ae2af101ecbdff54aaa75315df69cbdb2d /modules/gallery/views/login_ajax.html.php | |
| parent | ca54cdd6448ec919efe3853992dc652b7c671d97 (diff) | |
Use the login/html page for maintenance mode; we don't need the
maintenance controller/view anymore. Fixes ticket #1267.
Diffstat (limited to 'modules/gallery/views/login_ajax.html.php')
| -rw-r--r-- | modules/gallery/views/login_ajax.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/login_ajax.html.php b/modules/gallery/views/login_ajax.html.php index 88fe2389..a40d1950 100644 --- a/modules/gallery/views/login_ajax.html.php +++ b/modules/gallery/views/login_ajax.html.php @@ -43,7 +43,7 @@ <li id="g-login-form"> <?= $form ?> </li> - <? if (identity::is_writable()): ?> + <? if (identity::is_writable() && !module::get_var("gallery", "maintenance_mode")): ?> <li> <a href="#" id="g-password-reset" class="g-right g-text-small"><?= t("Forgot your password?") ?></a> </li> |
