Convert more render_tag -> tag

Summary: Mostly straightforward.

Test Plan: Browsed most of the affected interfaces.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T2432

Differential Revision: https://secure.phabricator.com/D4687
This commit is contained in:
epriestley
2013-01-28 18:41:43 -08:00
parent 08bcb8c30a
commit fb6dbd7d3a
9 changed files with 46 additions and 40 deletions

View File

@@ -338,11 +338,14 @@ final class PhabricatorDirectoryMainController
private function renderMiniPanel($title, $body) {
$panel = new AphrontMiniPanelView();
$panel->appendChild(
phutil_render_tag(
phutil_tag(
'p',
array(
),
'<strong>'.$title.':</strong> '.$body));
array(
phutil_tag('strong', array(), $title.':'),
$body
)));
$this->minipanels[] = $panel;
}