Changeset 415:14f70d8abc9f for inc
- Timestamp:
- 06/26/11 21:31:21 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r413 r415 1001 1001 $this->core->callBehavior('tplIfConditions','CategoryIf',$attr,$content,$if); 1002 1002 1003 if ( !empty($if)) {1003 if (count($if) != 0) { 1004 1004 return '<?php if('.implode(' '.$operator.' ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 1005 1005 } else { … … 1355 1355 $this->core->callBehavior('tplIfConditions','EntryIf',$attr,$content,$if); 1356 1356 1357 if ( !empty($if)) {1357 if (count($if) != 0) { 1358 1358 return '<?php if('.implode(' '.$operator.' ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 1359 1359 } else { … … 2008 2008 $this->core->callBehavior('tplIfConditions','PaginationIf',$attr,$content,$if); 2009 2009 2010 if ( !empty($if)) {2010 if (count($if) != 0) { 2011 2011 return '<?php if('.implode(' && ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 2012 2012 } else { … … 2283 2283 $this->core->callBehavior('tplIfConditions','CommentIf',$attr,$content,$if); 2284 2284 2285 if ( !empty($if)) {2285 if (count($if) != 0) { 2286 2286 return '<?php if('.implode(' && ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 2287 2287 } else { … … 2861 2861 $this->core->callBehavior('tplIfConditions','SysIf',$attr,$content,$if); 2862 2862 2863 if ( !empty($if)) {2863 if (count($if) != 0) { 2864 2864 return '<?php if('.implode(' '.$operator.' ', (array) $if).') : ?>'.$content.'<?php endif; ?>'; 2865 2865 } else {
Note: See TracChangeset
for help on using the changeset viewer.