diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-03-14 21:49:17 +0400 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-03-14 21:49:17 +0400 |
commit | f26e107504b28d02c211ea04f6e71f75b8ecf7c7 (patch) | |
tree | 1134c3fc5c360dedf24524c94f35ca3b903e47b5 /templates | |
parent | 09e0f2cc60c545af948c1e1df6f0957389653ba5 (diff) |
No more barrier to enter for guests. Closes #200
Diffstat (limited to 'templates')
-rw-r--r-- | templates/public.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/public.php b/templates/public.php index cc9efbfe..8c28808f 100644 --- a/templates/public.php +++ b/templates/public.php @@ -12,11 +12,7 @@ <input type="submit" name="submit" value="<?php p($l->t('OK')) ?>" /> </form> <?php endif; ?> - <?php if (isset($_['document'])): ?> - <form> - <input type="text" name="memberName" placeholder="<?php p($l->t('Please enter your nickname')) ?>" /> - <button id="odf-join"><?php p($l->t('Join')) ?></button> - </form> + <?php if (isset($_['document']) && !isset($_['wrongpw'])): ?> <input type="hidden" name="document" value ="<?php p($_['document']) ?>" /> <?php endif; ?> <?php if (isset($_['notFound'])): ?> |