Subversion Repositories Applications.papyrus

Rev

Rev 1649 | Rev 1743 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php if ($loggue) : ?>
        <p id="identification_info">
                <span id="identification_message"><?=IDEN_LG_MESSAGE;?></span>
                <?php if ($url_page_inscription) : ?>
                        <a href="<?=$url_page_inscription;?>" id="voir_inscription" title="Voir mon inscription">
                                <?=$chp_personne_prenom; ?>&nbsp;<?=$chp_personne_nom; ?>&nbsp;<?=$chp_structure; ?>
                        </a>
                <?php else : ?>
                        <?=$chp_personne_prenom; ?>&nbsp;<?=$chp_personne_nom; ?>&nbsp;<?=$chp_structure; ?>
                <?php endif; ?>
    </p>
    <p id="iden_action">
        <?php if ($url_page_modif_inscription) : ?>
            <a id="lien_inscription_modif" href="<?=$url_page_modif_inscription; ?>">
                <?=IDEN_LG_INSCRIPTION_URL_MODIF;?>
            </a>
        <?php endif; ?>
        <a id="deconnexion" href="<?=$url_deconnect;?>"><?=IDEN_LG_DECONNEXION;?></a>
    </p>
<?php else : ?>
        <form id="form_connexion" class="form_identification" action="<?=$url;?>" method="post">
        <?php if ($url_erreur) : ?>
                <span class="erreur"><?=IDEN_ECHEC_AUTH;?><a id="lien_inscription" href="<?=$url_erreur;?>"><?=IDEN_ICI;?></a></span>
        <?php endif ;?>
          <fieldset>
          <legend><?=IDEN_LG_FORM_LEGEND;?></legend>
          <label for="username"><?=IDEN_LG_FORM_LABEL_COURRIEL;?></label>
          <input type="text"  id="username" name="username" maxlength="80" tabindex="1" value="<?=IDEN_LG_FORM_VALUE_COURRIEL;?>" />
          <label for="password"><?=IDEN_LG_FORM_LABEL_MDP;?></label>
          <input type="password" id="password" name="password" maxlength="80" tabindex="2" value="<?=IDEN_LG_FORM_VALUE_MDP;?>" />
        
          <input type="submit" id="connexion" name="connexion" tabindex="4" value="<?=IDEN_LG_FORM_VALUE_SUBMIT;?>" />
          <?php if (IDEN_AUTH_SESSION_DUREE != 0) : ?>
          <input type="checkbox" id="persistant" name="persistant" tabindex="3" value="o" />
          <label id="persistant_label" for="persistant">Mémoriser mon compte</label>
          <?php endif ;?>
          <?php if ($url_page_inscription || $url_inscription_aide) : ?>
          <p id="inscription_info">
            <?php if ($url_page_inscription) : ?>
            <a id="lien_inscription" href="<?=$url_page_inscription;?>"><?=IDEN_LG_INSCRIPTION_URL;?></a>
            <?php endif ;?>
            <?php if ($url_inscription_aide) : ?>
                <a id="inscription_aide" href="<?=$url_inscription_aide;?>"><?=IDEN_LG_INSCRIPTION_AIDE;?></a></p>
            <?php endif; ?>
          </p>
          <?php endif; ?>    
          </fieldset>
        </form>
<?php endif; ?>