[ Index ]
 

Code source de Plume CMS 1.2.2

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/manager/templates/default/ -> comments_inline.php (source)

   1  <?php
   2  /**
   3   * Display the comments of a resource. 
   4   */
   5  ?>
   6  
   7  <?php
   8  while (!$ct->EOF()):
   9  ?>
  10  <div class="px-comment"> 
  11      <p class="px-comment-info"><?php pxCtAuthor(); /* pxCtEmail('%s', 'text');  display email */ ?> &nbsp; <a href="<?php pxCtWeb(); ?>" class="px-comment-info-website"><?php pxCtWeb(); ?></a></p>
  12      <p>
  13          <?php pxCtContent(); ?>
  14      </p>
  15  </div>
  16  <?php
  17  $ct->moveNext();
  18  endwhile;    
  19  ?>
  20  <?php if (pxCtEnabled()): ?>
  21  
  22  <h3 class="px-comment-add">Add a comment</h3>
  23  
  24  <form class="px-comment" action="<?php pxCtAction(); ?>" method="post">
  25  <fieldset>
  26      <input name="redirect" value="<?php pxCtRedirect(); ?>" type="hidden" />
  27      <p><label for='c_author'>Author:</label> <input type="text" id='c_author' name="c_author" /></p>
  28      <p><label for='c_email'>Email:</label> <input type="text" id='c_email' name="c_email" /> <span class="px-comment-required-email">required but not shared or displayed</span></p>
  29      <p><label for='c_website'>Website:</label> <input type="text" id='c_website' name="c_website" /></p>
  30      <p><label for='c_content'>Comment</label> <textarea cols="80" rows="7" id='c_content' name="c_content"></textarea></p>
  31      <p class="input-submit">
  32          <input type="submit" name="c_preview" value="Preview" />
  33          <input type="submit" name="Submit" value="Submit" />
  34      </p>
  35  </fieldset>
  36  </form>
  37  <?php else: ?>
  38  
  39  <p class="comment-closed">The comments are closed for this resource.</p>
  40  
  41  <?php endif; ?>


Généré le : Mon Nov 26 11:57:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics