Changeset 3150:c889dac8b2b9 for inc/public
- Timestamp:
- 12/14/15 11:47:38 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/class.dc.template.php
r3064 r3150 134 134 $this->addValue('EntryAuthorDisplayName',array($this,'EntryAuthorDisplayName')); 135 135 $this->addValue('EntryAuthorEmail',array($this,'EntryAuthorEmail')); 136 $this->addValue('EntryAuthorEmailMD5',array($this,'EntryAuthorEmailMD5')); 136 137 $this->addValue('EntryAuthorID',array($this,'EntryAuthorID')); 137 138 $this->addValue('EntryAuthorLink',array($this,'EntryAuthorLink')); … … 1550 1551 1551 1552 /*dtd 1553 <!ELEMENT tpl:EntryAuthorEmailMD5 - O -- Entry author email MD5 sum --> 1554 > 1555 */ 1556 public function EntryAuthorEmailMD5($attr) 1557 { 1558 $f = $this->getFilters($attr); 1559 return '<?php echo '.sprintf($f,'md5($_ctx->posts->getAuthorEmail(false))').'; ?>'; 1560 } 1561 1562 /*dtd 1552 1563 <!ELEMENT tpl:EntryAuthorLink - O -- Entry author link --> 1553 1564 */
Note: See TracChangeset
for help on using the changeset viewer.