Changeset 2774:65395d6bf0a5 for inc/public/class.dc.template.php
- Timestamp:
- 11/10/14 15:46:31 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r2666 r2774 432 432 $length = isset($attr['length']) ? (integer) $attr['length'] : 'null'; 433 433 $even = isset($attr['even']) ? (integer) (boolean) $attr['even'] : 'null'; 434 $modulo = isset($attr['modulo']) ? (integer) $attr['modulo'] : 'null'; 434 435 435 436 if ($start > 0) { … … 438 439 439 440 return 440 '<?php if ($_ctx->loopPosition('.$start.','.$length.','.$even.' )) : ?>'.441 '<?php if ($_ctx->loopPosition('.$start.','.$length.','.$even.','.$modulo.')) : ?>'. 441 442 $content. 442 443 "<?php endif; ?>";
Note: See TracChangeset
for help on using the changeset viewer.