5 * Customize the navigation shown when editing or viewing submissions.
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 contents of the webform submission.
12 * - $previous: The previous submission ID.
13 * - $next: The next submission ID.
14 * - $previous_url: The URL of the previous submission.
15 * - $next_url: The URL of the next submission.
18 <div
class="webform-submission-navigation">
19 <?php
if ($previous): ?
>
20 <?php
print l(t('Previous submission'), $previous_url, array('attributes' => array('class' => array('webform-submission-previous')), 'query' => ($mode == 'form' ?
array('destination' => $previous_url) : NULL))); ?
>
22 <span
class="webform-submission-previous"><?php
print t('Previous submission'); ?
></span
>
26 <?php
print l(t('Next submission'), $next_url, array('attributes' => array('class' => array('webform-submission-next')), 'query' => ($mode == 'form' ?
array('destination' => $next_url) : NULL))); ?
>
28 <span
class="webform-submission-next"><?php
print t('Next submission'); ?
></span
>