Changeset 912:18eae8f3a180 for inc/public/class.dc.template.php
- Timestamp:
- 10/26/12 13:35:00 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r899 r912 1269 1269 show_comments (0|1) #IMPLIED -- there are comments for this post (value : 1) or not (value : 0) 1270 1270 show_pings (0|1) #IMPLIED -- there are trackbacks for this post (value : 1) or not (value : 0) 1271 republished (0|1) #IMPLIED -- post has been updated since publication (value : 1) or not (value : 0) 1271 1272 operator (and|or) #IMPLIED -- combination of conditions, if more than 1 specifiec (default: and) 1272 1273 url CDATA #IMPLIED -- post has given url … … 1366 1367 $if[] = '(!$_ctx->posts->hasTrackbacks() && !$_ctx->posts->trackbacksActive())'; 1367 1368 } 1369 } 1370 1371 if (isset($attr['republished'])) { 1372 $sign = (boolean) $attr['republished'] ? '' : '!'; 1373 $if[] = $sign.'(boolean)$_ctx->posts->isRepublished()'; 1368 1374 } 1369 1375
Note: See TracChangeset
for help on using the changeset viewer.