Convert simple phutil_render_tag() to phutil_tag()
Summary: Done manually. Test Plan: Loaded homepage. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4509
This commit is contained in:
@@ -84,13 +84,15 @@ final class PhabricatorConfigGroupController
|
||||
$current_value = PhabricatorEnv::getEnvConfig($option->getKey());
|
||||
$current_value = PhabricatorConfigJSON::prettyPrintJSON(
|
||||
$current_value);
|
||||
$current_value = phutil_render_tag(
|
||||
$current_value = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'class' => 'config-options-current-value',
|
||||
),
|
||||
'<span>'.pht('Current Value:').'</span> '.
|
||||
phutil_escape_html($current_value));
|
||||
array(
|
||||
phutil_tag('span', array(), pht('Current Value:')),
|
||||
' '.$current_value,
|
||||
));
|
||||
|
||||
$item->appendChild($current_value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user