Restore merge of phutil_tag.

This commit is contained in:
epriestley
2013-02-13 14:50:15 -08:00
parent 73cce6e131
commit ef7f16180c
264 changed files with 1690 additions and 1716 deletions

View File

@@ -49,7 +49,7 @@ final class PhrictionHistoryController
$diff_uri = new PhutilURI('/phriction/diff/'.$document->getID().'/');
$vs_previous = '<em>'.pht('Created').'</em>';
$vs_previous = phutil_tag('em', array(), pht('Created'));
if ($content->getVersion() != 1) {
$uri = $diff_uri
->alter('l', $content->getVersion() - 1)
@@ -62,7 +62,7 @@ final class PhrictionHistoryController
pht('Show Change'));
}
$vs_head = '<em>'.pht('Current').'</em>';
$vs_head = phutil_tag('em', array(), pht('Current'));
if ($content->getID() != $document->getContentID()) {
$uri = $diff_uri
->alter('l', $content->getVersion())
@@ -90,7 +90,7 @@ final class PhrictionHistoryController
pht('Version %s', $version)),
$handles[$content->getAuthorPHID()]->renderLink(),
$change_type,
phutil_escape_html($content->getDescription()),
$content->getDescription(),
$vs_previous,
$vs_head,
);