Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/controller/blog/PhameBlogViewController.php
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | if (strlen($blog->getDescription())) { | ||||
$description = phutil_tag('em', array(), pht('No description.')); | $description = phutil_tag('em', array(), pht('No description.')); | ||||
} | } | ||||
$about = id(new PhameDescriptionView()) | $about = id(new PhameDescriptionView()) | ||||
->setTitle(pht('About %s', $blog->getName())) | ->setTitle(pht('About %s', $blog->getName())) | ||||
->setDescription($description) | ->setDescription($description) | ||||
->setImage($blog->getProfileImageURI()); | ->setImage($blog->getProfileImageURI()); | ||||
$crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs() | ||||
->setBorder(false); | |||||
$page = $this->newPage() | $page = $this->newPage() | ||||
->setTitle($blog->getName()) | ->setTitle($blog->getName()) | ||||
->setPageObjectPHIDs(array($blog->getPHID())) | ->setPageObjectPHIDs(array($blog->getPHID())) | ||||
->setCrumbs($crumbs) | ->setCrumbs($crumbs) | ||||
->appendChild( | ->appendChild( | ||||
array( | array( | ||||
$hero, | $hero, | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |