Convert phutil_render_tag(X, Y, phutil_escape_html(Z)) to phutil_tag
Summary:
Created with spatch:
lang=diff
- phutil_render_tag
+ phutil_tag
(X, Y,
- phutil_escape_html(
Z
- )
)
Test Plan: Loaded homepage
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4501
This commit is contained in:
@@ -31,21 +31,21 @@ extends PhabricatorOAuthClientBaseController {
|
||||
$highlight = $this->getHighlightPHIDs();
|
||||
foreach ($clients as $client) {
|
||||
$row = array(
|
||||
phutil_render_tag(
|
||||
phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $client->getViewURI(),
|
||||
),
|
||||
phutil_escape_html($client->getName())
|
||||
$client->getName()
|
||||
),
|
||||
$client->getPHID(),
|
||||
$client->getSecret(),
|
||||
phutil_render_tag(
|
||||
phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $client->getRedirectURI(),
|
||||
),
|
||||
phutil_escape_html($client->getRedirectURI())
|
||||
$client->getRedirectURI()
|
||||
),
|
||||
phutil_render_tag(
|
||||
'a',
|
||||
|
||||
@@ -61,12 +61,12 @@ extends PhabricatorOAuthClientAuthorizationBaseController {
|
||||
id(new AphrontFormMarkupControl())
|
||||
->setLabel('Client')
|
||||
->setValue(
|
||||
phutil_render_tag(
|
||||
phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $client->getViewURI(),
|
||||
),
|
||||
phutil_escape_html($client->getName())))
|
||||
$client->getName()))
|
||||
)
|
||||
->appendChild(
|
||||
id(new AphrontFormStaticControl())
|
||||
|
||||
@@ -50,12 +50,12 @@ extends PhabricatorOAuthClientAuthorizationBaseController {
|
||||
'article/Using_the_Phabricator_OAuth_Server.html#scopes'
|
||||
);
|
||||
$row = array(
|
||||
phutil_render_tag(
|
||||
phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $client->getViewURI(),
|
||||
),
|
||||
phutil_escape_html($client->getName())
|
||||
$client->getName()
|
||||
),
|
||||
phutil_render_tag(
|
||||
'a',
|
||||
|
||||
Reference in New Issue
Block a user