12345678910111213141516171819202122232425262728293031323334 |
- <?php if (!$sf_user->isAuthenticated()): ?>
- <div class="login">
- <div class="top">
- <div><h4>connexion client</h4></div>
- </div>
- <div class="center">
- <?php echo form_tag('catalyz/login') ?>
- <?php echo input_hidden_tag('node', $ContentTree->getCurrentNode()?$ContentTree->getCurrentNode()->getId():$ContentTree->getRoot()->getId()) ?>
- <fieldset>
- <div class="login-form">
- <div>
- <label>Login</label>
- <input type="text" name="username" class="txt-login" />
- </div>
- <div>
- <label>Mot de passe</label>
- <input type="password" name="password" class="psswrd-login" />
- <?php echo submit_tag('', array('class' => 'btn-login', 'title' => 'Se connecter')) ?>
- </div>
- <?php if ('' != $catalyz_login_error = $sf_user->getAttribute('catalyz_login_error', '')): ?>
- <div style="color:red"><?php echo $catalyz_login_error ?></div>
- <?php $sf_user->setAttribute('catalyz_login_error', '') ?>
- <?php endif ?>
- <div>
- <a href="<?php echo url_for('@katao_subscribe') ?>">S'inscrire</a>
- <a href="<?php echo url_for('@katao_forgot_password') ?>">Mot de passe oublié ?</a>
- </div>
- </div>
- </fieldset>
- </form>
- </div>
- <div class="bottom"></div>
- </div>
- <?php endif ?>
|