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:
vrana
2013-01-17 18:43:35 -08:00
parent f8dbfdd59d
commit 48561a8b1f
84 changed files with 225 additions and 231 deletions

View File

@@ -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',

View File

@@ -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())

View File

@@ -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',