echo $replyRow->replyAuthor->getUserLink(); ?> </span> <span class="floatright"><?php echo timeSince($replyRow->created_at); ?> </span> <div class="clear"></div> </div> <div class="inside"> <div class="in"> <?php if ($this->beginCache('pm_reply_id_' . $replyRow->id)) { ?> <?php echo stripHtmlTags($replyRow->message); ?> <?php $this->endCache(); } ?> </div> </div> </div> </div> <div class="clear"></div> <?php } ?> <div class='grid_12'>
<?php echo $text; ?> <br /><br /><br /> <?php if ($message->notificationReply) { ?> <blockquote> <?php if ($this->beginCache('pm_reply_id_' . $message->notificationReply->id)) { ?> <?php echo stripHtmlTags($message->notificationReply->message); ?> <?php $this->endCache(); } ?> </blockquote> <?php } ?> <?php echo CHtml::hiddenField('topic_id', $message->topic_id);
/** * Purify HTML */ function ph($text) { $purifier = new CHtmlPurifier(); $purifier->options = array('URI.AllowedSchemes' => 'http, https', 'HTML.Allowed' => 'p,b,i,u,s,strong,strike,big,small,a[href],ul,ol,li,blockquote,h3,h4,h5,h6,br,hr,code,pre,sub,sup,span,div'); return $purifier->purify(stripHtmlTags($text)); }
function stripUnwantedHtmlEscape($str) { return escapeStrMysql(escapeStr(stripUnwantedTags(stripHtmlTags($str)))); }