Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/controller/blog/PhameBlogManageController.php
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | $properties->addProperty( | ||||
'sigil' => 'has-tooltip', | 'sigil' => 'has-tooltip', | ||||
'meta' => array( | 'meta' => array( | ||||
'tip' => pht('Atom URI does not support custom domains.'), | 'tip' => pht('Atom URI does not support custom domains.'), | ||||
'size' => 320, | 'size' => 320, | ||||
), | ), | ||||
), | ), | ||||
$feed_uri)); | $feed_uri)); | ||||
$engine = id(new PhabricatorMarkupEngine()) | |||||
->setViewer($viewer) | |||||
->addObject($blog, PhameBlog::MARKUP_FIELD_DESCRIPTION) | |||||
->process(); | |||||
$description = $blog->getDescription(); | $description = $blog->getDescription(); | ||||
if (strlen($description)) { | if (strlen($description)) { | ||||
$description = new PHUIRemarkupView($viewer, $description); | $description = new PHUIRemarkupView($viewer, $description); | ||||
$properties->addSectionHeader( | $properties->addSectionHeader( | ||||
pht('Description'), | pht('Description'), | ||||
PHUIPropertyListView::ICON_SUMMARY); | PHUIPropertyListView::ICON_SUMMARY); | ||||
$properties->addTextContent($description); | $properties->addTextContent($description); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |