This commit is contained in:
Hannes Mannerheim 2015-10-21 13:16:45 +02:00
parent 885ca8b801
commit d76f4e90bc

View File

@ -523,7 +523,23 @@ class QvitterAction extends ApiAction
<div id="new-queets-bar-container" class="hidden"><div id="new-queets-bar"></div></div>
<div id="feed-body"></div>
</div>
<div id="hidden-html"><?php Event::handle('QvitterHiddenHtml', array($this)); ?></div>
<div id="hidden-html"><?php
// adds temporary support for microformats and linkbacks on the notice page
if(substr($_SERVER['REQUEST_URI'],0,8) == '/notice/' && $this->arg('notice')) {
echo '<ol class="notices xoxo">';
$notice = Notice::getKV('id', $this->arg('notice'));
if($notice instanceof Notice) {
$widget = new NoticeListItem($notice, $this);
$widget->show();
$this->flush();
}
echo '</ol>';
}
Event::handle('QvitterHiddenHtml', array($this));
?></div>
<div id="footer"><div id="footer-spinner-container"></div></div>
</div>
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/jquery-2.1.4.min.js?changed=<?php print date('YmdHis',filemtime(QVITTERDIR.'/js/lib/jquery-2.1.4.min.js')); ?>"></script>