From: Mikael Nordfeldth Date: Wed, 2 Mar 2016 12:10:02 +0000 (+0100) Subject: Proper Microformats2 h-entry p-name + u-uid markup X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6529fdd28d348a40106e7071b193b487f6e8949e;p=quix0rs-gnu-social.git Proper Microformats2 h-entry p-name + u-uid markup --- diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 4c4bde34a1..ad5962d751 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -179,8 +179,8 @@ class NoticeListItem extends Widget function showNoticeTitle() { if (Event::handle('StartShowNoticeTitle', array($this))) { - $this->element('a', array('href' => $this->notice->getUrl(true), - 'class' => 'notice-title'), + $this->element('a', array('href' => $this->notice->getUri(), + 'class' => 'p-name u-uid'), $this->notice->getTitle()); Event::handle('EndShowNoticeTitle', array($this)); } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 295916d78e..73c95c277a 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1013,7 +1013,7 @@ content: ":"; clear:both; } -.notice-title { +.notice-headers > .u-uid { display:none; }