Dotclear

Changeset 2357:5efec5415b46


Ignore:
Timestamp:
10/14/13 14:57:30 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.6
Message:

It's better for a template value to echo something :-p

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/class.dc.template.php

    r2198 r2357  
    534534     { 
    535535          $f = $this->getFilters($attr); 
    536           return '<?php '.sprintf($f,'(!$_ctx->cur_loop ? 0 : $_ctx->cur_loop->index() + 1)').' ?>'; 
     536          return '<?php echo '.sprintf($f,'(!$_ctx->cur_loop ? 0 : $_ctx->cur_loop->index() + 1)').'; ?>'; 
    537537     } 
    538538      
Note: See TracChangeset for help on using the changeset viewer.

Sites map