Changeset 3424:7b8434cae028 for inc/public/class.dc.template.php
- Timestamp:
- 11/26/16 12:27:37 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r3366 r3424 1921 1921 public function EntryPingData($attr) 1922 1922 { 1923 return "<?php if (\$_ctx->posts->trackbacksActive()) { echo \$_ctx->posts->getTrackbackData(); } ?>\n"; 1923 $format = !empty($attr['format']) && $attr['format'] == 'xml' ? 'xml' : 'html'; 1924 return "<?php if (\$_ctx->posts->trackbacksActive()) { echo \$_ctx->posts->getTrackbackData('".$format."'); } ?>\n"; 1924 1925 } 1925 1926
Note: See TracChangeset
for help on using the changeset viewer.