Changeset 899:d65e81d7ce0e for inc/public/lib.tpl.context.php
- Timestamp:
- 10/23/12 15:00:14 (13 years ago)
- Branch:
- default
- File:
- 
          - 1 edited
 
 - 
          inc/public/lib.tpl.context.php (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        inc/public/lib.tpl.context.phpr839 r899 341 341 342 342 # First post image helpers 343 public static function EntryFirstImageHelper($size,$with_category,$class="" )343 public static function EntryFirstImageHelper($size,$with_category,$class="",$no_tag=false) 344 344 { 345 345 global $core, $_ctx; … … 396 396 397 397 if ($src) { 398 return '<img alt="'.$alt.'" src="'.$src.'" class="'.$class.'" />'; 398 if ($no_tag) { 399 return $src; 400 } else { 401 return '<img alt="'.$alt.'" src="'.$src.'" class="'.$class.'" />'; 402 } 399 403 } 400 404 } 
Note: See TracChangeset
          for help on using the changeset viewer.
      