Changeset 899:d65e81d7ce0e for inc/public/class.dc.template.php
- Timestamp:
- 10/23/12 15:00:14 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r863 r899 1601 1601 class CDATA #IMPLIED -- Class to add on image tag 1602 1602 with_category (1|0) #IMPLIED -- Search in entry category description if present (default 0) 1603 no_tag (1|0) #IMPLIED -- Return image URL without HTML tag (default 0) 1603 1604 > 1604 1605 */ … … 1608 1609 $class = !empty($attr['class']) ? $attr['class'] : ''; 1609 1610 $with_category = !empty($attr['with_category']) ? 'true' : 'false'; 1610 1611 return "<?php echo context::EntryFirstImageHelper('".addslashes($size)."',".$with_category.",'".addslashes($class)."'); ?>"; 1611 $no_tag = !empty($attr['no_tag']) ? 'true' : 'false'; 1612 1613 return "<?php echo context::EntryFirstImageHelper('".addslashes($size)."',".$with_category.",'".addslashes($class).",'".$no_tag."'); ?>"; 1612 1614 } 1613 1615
Note: See TracChangeset
for help on using the changeset viewer.