Changeset 937:37a5159c95f8 for inc/public/class.dc.template.php
- Timestamp:
- 10/29/12 17:52:42 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r930 r937 1623 1623 no_tag (1|0) #IMPLIED -- Return image URL without HTML tag (default 0) 1624 1624 content_only (1|0) #IMPLIED -- Search in content entry only, not in excerpt (default 0) 1625 cat_only (1|0) #IMPLIED -- Search in category description only (default 0) 1625 1626 > 1626 1627 */ … … 1632 1633 $no_tag = !empty($attr['no_tag']) ? 1 : 0; 1633 1634 $content_only = !empty($attr['content_only']) ? 1 : 0; 1635 $cat_only = !empty($attr['cat_only']) ? 1 : 0; 1634 1636 1635 1637 return "<?php echo context::EntryFirstImageHelper('".addslashes($size)."',".$with_category.",'".addslashes($class)."',". 1636 $no_tag.",".$content_only." ); ?>";1638 $no_tag.",".$content_only.",".$cat_only."); ?>"; 1637 1639 } 1638 1640
Note: See TracChangeset
for help on using the changeset viewer.