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

@@ -237,14 +237,13 @@ final class ConpherenceViewController extends
foreach ($files as $file) {
$thumb = $file->getThumb60x45URI();
$table_data[] = array(
phutil_render_tag(
phutil_tag(
'img',
array(
'src' => $thumb
),
''
),
$file->getName()
''),
phutil_escape_html($file->getName()),
);
}
$header = id(new PhabricatorHeaderView())
@@ -274,13 +273,12 @@ final class ConpherenceViewController extends
foreach ($actual_tasks as $task) {
$data[] = array(
idx($priority_map, $task->getPriority(), pht('???')),
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => '/T'.$task->getID()
),
phutil_escape_html($task->getTitle())
)
$task->getTitle()),
);
}
$table = id(new AphrontTableView($data))