dc-form.notphp 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <p class="field"><label for="c_mail">Email (facultatif)&nbsp;:</label>
  32. <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
  33. value="<?php dcCommentFormValue('c_mail'); ?>" />
  34. </p>
  35. <p class="field"><label for="c_site">Site Web (facultatif)&nbsp;:</label>
  36. <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
  37. value="<?php dcCommentFormValue('c_site'); ?>" />
  38. </p>
  39. <p class="field"><label for="c_content">Commentaire&nbsp;:</label>
  40. <textarea name="c_content" id="c_content" cols="35" rows="7"><?php
  41. dcCommentFormValue('c_content');
  42. ?></textarea>
  43. </p>
  44. </fieldset>
  45. <p class="form-help">Le code HTML dans le commentaire sera affich&eacute; comme du texte,
  46. les adresses internet seront converties automatiquement.</p>
  47. <fieldset>
  48. <p><input type="checkbox" id="c_remember" name="c_remember" />
  49. <label for="c_remember">Se souvenir de mes informations</label>
  50. </p>
  51. <p><input type="submit" class="preview" name="preview" value="pr&eacute;visualiser" />
  52. <input type="submit" class="submit" value="envoyer" />
  53. <input type="hidden" name="redir" value="<?php dcCommentFormRedir(); ?>" /></p>
  54. </fieldset>
  55. </form>