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

@@ -27,7 +27,7 @@ final class PhabricatorHelpKeyboardShortcutController
foreach ($shortcut['keys'] as $stroke) {
$keystrokes[] = phutil_tag('kbd', array(), $stroke);
}
$keystrokes = array_interleave(' or ', $keystrokes);
$keystrokes = phutil_implode_html(' or ', $keystrokes);
$rows[] = phutil_tag(
'tr',
array(),
@@ -37,10 +37,10 @@ final class PhabricatorHelpKeyboardShortcutController
));
}
$table =
'<table class="keyboard-shortcut-help">'.
implode('', $rows).
'</table>';
$table = phutil_tag(
'table',
array('class' => 'keyboard-shortcut-help'),
$rows);
$dialog = id(new AphrontDialogView())
->setUser($user)