Changeset 619:b56cf7e11085 for themes
- Timestamp:
- 07/22/11 16:02:11 (14 years ago)
- Branch:
- themes
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/ductile/_public.php
r614 r619 62 62 global $core; 63 63 64 if (empty($attr['cut_string']) || empty($attr['full'])) {64 if (empty($attr['cut_string']) || !empty($attr['full'])) { 65 65 return ''; 66 66 } … … 70 70 $urls = '1'; 71 71 } 72 72 73 73 $short = $core->tpl->getFilters($attr); 74 $cut = $attr['cut_string']; 74 75 $attr['cut_string'] = 0; 75 76 $full = $core->tpl->getFilters($attr); 77 $attr['cut_string'] = $cut; 76 78 77 79 return '<?php if (strlen('.sprintf($full,'$_ctx->posts->getContent('.$urls.')').') > '.
Note: See TracChangeset
for help on using the changeset viewer.