Convert phutil_render_tag(X, Y, '...') to phutil_tag

Summary:
Created with spatch:

  lang=diff
  - phutil_render_tag
  + phutil_tag
    (X, Y, '...')

Then searched for `&` and `<` in the output and replaced them.

Test Plan: Loaded homepage.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4503
This commit is contained in:
vrana
2013-01-17 18:57:09 -08:00
parent 48561a8b1f
commit 20768d65d5
86 changed files with 140 additions and 140 deletions

View File

@@ -109,7 +109,7 @@ final class PhabricatorDirectoryMainController
$panel->setHeader('Unbreak Now!');
$panel->setCaption('Open tasks with "Unbreak Now!" priority.');
$panel->addButton(
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => '/maniphest/view/all/',
@@ -154,7 +154,7 @@ final class PhabricatorDirectoryMainController
'<a href="/project/">projects you are a member of</a>.');
$panel->addButton(
phutil_render_tag(
phutil_tag(
'a',
array(
// TODO: This should filter to just your projects' need-triage
@@ -198,7 +198,7 @@ final class PhabricatorDirectoryMainController
$panel->setCaption('Revisions waiting for you for review or commit.');
$panel->addButton(
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => '/differential/',
@@ -248,7 +248,7 @@ final class PhabricatorDirectoryMainController
$panel->setHeader('Assigned Tasks');
$panel->addButton(
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => '/maniphest/',
@@ -294,7 +294,7 @@ final class PhabricatorDirectoryMainController
require_celerity_resource('phabricator-jump-nav');
$doc_href = PhabricatorEnv::getDocLink('article/Jump_Nav_User_Guide.html');
$doc_link = phutil_render_tag(
$doc_link = phutil_tag(
'a',
array(
'href' => $doc_href,
@@ -381,7 +381,7 @@ final class PhabricatorDirectoryMainController
$panel->setCaption('Commits awaiting your audit.');
$panel->appendChild($view);
$panel->addButton(
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => '/audit/',
@@ -426,7 +426,7 @@ final class PhabricatorDirectoryMainController
$panel->setCaption('Commits which auditors have raised concerns about.');
$panel->appendChild($view);
$panel->addButton(
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => '/audit/',