1234567891011121314151617181920212223 |
- <?php if($Doomguy->isSignedIn() === true) { ?>
- <h3><?php echo $I18n->t('auth.logout'); ?></h3>
- <form method="get" action="index.php">
- <input type="hidden" name="p" value="auth" />
- <input type="hidden" name="m" value="logout" />
- <input type="submit" value="<?php echo $I18n->t('auth.logout'); ?>" />
- </form>
- <?php } else { ?>
- <h3><?php echo $I18n->t('global.login'); ?></h3>
- <form method="post">
- <div class="field-row">
- <label for="username"><?php echo $I18n->t('global.username'); ?></label>
- <input id="username" type="text" autocomplete="off" name="fdata[login]">
- </div>
- <div class="field-row">
- <label for="password"><?php echo $I18n->t('global.password'); ?></label>
- <input id="password" type="password" autocomplete="off" name="fdata[password]">
- </div>
- <div class="field-row">
- <input type="submit" value="<?php echo $I18n->t('global.login'); ?>" name="submitForm" />
- </div>
- </form>
- <?php } ?>
|