[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/webform/templates/ -> webform-submission-page.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file
   5   * Customize the navigation shown when editing or viewing submissions.
   6   *
   7   * Available variables:
   8   * - $node: The node object for this webform.
   9   * - $mode: Either "form" or "display". May be other modes provided by other
  10   *          modules, such as "print" or "pdf".
  11   * - $submission: The Webform submission array.
  12   * - $submission_content: The contents of the webform submission.
  13   * - $submission_actions: The actions that can be performed on this submission.
  14   * - $submission_navigation: Links to the previous and next submission.
  15   * - $submission_information: Information on who made this submission.
  16   */
  17  ?>
  18  
  19  <?php if ($mode == 'display' || $mode == 'form'): ?>
  20    <div class="clear-block">
  21      <?php print $submission_actions; ?>
  22      <?php print $submission_navigation; ?>
  23    </div>
  24  <?php endif; ?>
  25  
  26  <?php print $submission_information; ?>
  27  
  28  <div class="webform-submission">
  29    <?php print $submission_content; ?>
  30  </div>
  31  
  32  <?php if ($mode == 'display' || $mode == 'form'): ?>
  33    <div class="clear-block">
  34      <?php print $submission_navigation; ?>
  35    </div>
  36  <?php endif; ?>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7