Révision 8c72e82a
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/webform/templates/webform-progressbar.tpl.php | ||
---|---|---|
25 | 25 |
<div class="webform-progressbar-outer"> |
26 | 26 |
<div class="webform-progressbar-inner" style="width: <?php print number_format($percent, 0); ?>%"> </div> |
27 | 27 |
<?php for ($n = 1; $n <= $page_count; $n++): ?> |
28 |
<span class="webform-progressbar-page<?php if ($n < $page_num) { print ' completed'; }; ?><?php if ($n == $page_num) { print ' current'; }; ?>" style="<?php print ($GLOBALS['language']->direction == 0) ? 'left' : 'right'; ?>: <?php print number_format(($n - 1) / ($page_count - 1), 4) * 100; ?>%">
|
|
28 |
<span class="webform-progressbar-page<?php if ($n < $page_num): print ' completed'; endif; ?><?php if ($n == $page_num): print ' current'; endif; ?>" style="<?php print ($GLOBALS['language']->direction == 0) ? 'left' : 'right'; ?>: <?php print number_format(($n - 1) / ($page_count - 1), 4) * 100; ?>%">
|
|
29 | 29 |
<span class="webform-progressbar-page-number"><?php print $n; ?></span> |
30 | 30 |
<?php if ($progressbar_pagebreak_labels): ?> |
31 | 31 |
<span class="webform-progressbar-page-label"> |
Formats disponibles : Unified diff
Weekly update of contrib modules