[ Index ]
 

Code source de Dotclear 1.2.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/themes/default/ -> form.php (source)

   1  <?php
   2  # ***** BEGIN LICENSE BLOCK *****
   3  # This file is part of DotClear.
   4  # Copyright (c) 2004 Olivier Meunier and contributors. All rights
   5  # reserved.
   6  #
   7  # DotClear is free software; you can redistribute it and/or modify
   8  # it under the terms of the GNU General Public License as published by
   9  # the Free Software Foundation; either version 2 of the License, or
  10  # (at your option) any later version.
  11  # 
  12  # DotClear is distributed in the hope that it will be useful,
  13  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15  # GNU General Public License for more details.
  16  # 
  17  # You should have received a copy of the GNU General Public License
  18  # along with DotClear; if not, write to the Free Software
  19  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  20  #
  21  # ***** END LICENSE BLOCK *****
  22  ?>
  23  <form action="<?php dcPostUrl(); ?>" method="post" id="comment-form">
  24  <fieldset>
  25      <?php dcCommentFormError('<div class="error"><strong>Erreurs :</strong><br /> %s</div>'); ?>
  26      <?php dcCommentFormMsg('<p class="msg"><strong>%s</strong></p>'); ?>
  27      <p class="field"><label for="c_nom">Nom ou pseudo&nbsp;:</label>
  28      <input name="c_nom" id="c_nom" type="text" size="30" maxlength="255"
  29      value="<?php dcCommentFormValue('c_nom'); ?>" />
  30      </p>
  31  
  32      <p class="field"><label for="c_mail">Email (facultatif)&nbsp;:</label>
  33      <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
  34      value="<?php dcCommentFormValue('c_mail'); ?>" />
  35      </p>
  36  
  37      <p class="field"><label for="c_site">Site Web (facultatif)&nbsp;:</label>
  38      <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
  39      value="<?php dcCommentFormValue('c_site'); ?>" />
  40      </p>
  41      
  42      <p class="field"><label for="c_content">Commentaire&nbsp;:</label>
  43      <textarea name="c_content" id="c_content" cols="35" rows="7"><?php
  44      dcCommentFormValue('c_content');
  45      ?></textarea>
  46      </p>
  47  </fieldset>
  48  
  49  <p class="form-help">Le code HTML dans le commentaire sera affich&eacute; comme du texte,
  50  les adresses internet seront converties automatiquement.</p>
  51  
  52  <fieldset>    
  53      <p><input type="checkbox" id="c_remember" name="c_remember" />
  54      <label for="c_remember">Se souvenir de mes informations</label>
  55      </p>
  56      <p><input type="submit" class="preview" name="preview" value="pr&eacute;visualiser" />
  57      <input type="submit" class="submit" value="envoyer" />
  58      <input type="hidden" name="redir" value="<?php dcCommentFormRedir(); ?>" /></p>
  59  </fieldset>
  60  
  61  </form>


Généré le : Fri Feb 23 21:40:15 2007 par Balluche grâce à PHPXref 0.7