1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00

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

Summary:
Created with spatch:

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

The searched for `<` and `&` by sgrep.

Test Plan: Loaded homepage.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4504
This commit is contained in:
vrana 2013-01-17 19:15:06 -08:00
parent 20768d65d5
commit 21a5956a35
11 changed files with 15 additions and 15 deletions

View file

@ -37,7 +37,7 @@ final class PhabricatorCalendarDeleteStatusController
$dialog = new AphrontDialogView();
$dialog->setUser($user);
$dialog->setTitle(pht('Really delete status?'));
$dialog->appendChild(phutil_render_tag(
$dialog->appendChild(phutil_tag(
'p',
array(),
pht('Permanently delete this status? This action can not be undone.')

View file

@ -22,7 +22,7 @@ final class PhabricatorConfigIssueViewController
->setTitle(pht('Issue Resolved'))
->appendChild(pht('This setup issue has been resolved. '))
->appendChild(
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => $this->getApplicationURI('issue/'),

View file

@ -88,7 +88,7 @@ final class PhabricatorSetupIssueView extends AphrontView {
}
$next = phutil_render_tag(
$next = phutil_tag(
'div',
array(
'class' => 'setup-issue-next',
@ -308,7 +308,7 @@ final class PhabricatorSetupIssueView extends AphrontView {
pht(
"You can find more information about PHP configuration values in the ".
"%s.",
phutil_render_tag(
phutil_tag(
'a',
array(
'href' => 'http://php.net/manual/ini.list.php',

View file

@ -153,7 +153,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
$reviewer_warning->setTitle(pht('No Active Reviewers'));
if ($revision->getReviewers()) {
$reviewer_warning->appendChild(
phutil_render_tag(
phutil_tag(
'p',
array(),
pht('All specified reviewers are disabled and this revision '.
@ -161,7 +161,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
));
} else {
$reviewer_warning->appendChild(
phutil_render_tag(
phutil_tag(
'p',
array(),
pht('This revision has no specified reviewers and needs '.

View file

@ -21,7 +21,7 @@ final class DifferentialChangesetTwoUpRenderer
array(
'sigil' => 'context-target',
),
phutil_render_tag(
phutil_tag(
'td',
array(
'colspan' => 6,

View file

@ -25,7 +25,7 @@ final class PhabricatorGlobalUploadTargetView extends AphrontView {
'browseURI' => '/file/filter/my/',
));
return phutil_render_tag(
return phutil_tag(
'div',
array(
'id' => $instructions_id,

View file

@ -414,7 +414,7 @@ final class ManiphestReportController extends ManiphestController {
array(
'href' => $base_link.ManiphestTaskOwner::OWNER_UP_FOR_GRABS,
),
phutil_render_html('em', array(), '(Up For Grabs)'));
phutil_tag('em', array(), '(Up For Grabs)'));
$col_header = 'User';
$header = 'Open Tasks by User and Priority ('.$date.')';
break;
@ -451,7 +451,7 @@ final class ManiphestReportController extends ManiphestController {
array(
'href' => $base_link.ManiphestTaskOwner::PROJECT_NO_PROJECT,
),
phutil_render_html('em', array(), '(No Project)'));
phutil_tag('em', array(), '(No Project)'));
$col_header = 'Project';
$header = 'Open Tasks by Project and Priority ('.$date.')';
break;

View file

@ -166,7 +166,7 @@ abstract class PhameBasicBlogSkin extends PhameBlogSkin {
if (!$uri) {
return null;
}
return phutil_render_tag(
return phutil_tag(
'a',
array(
'class' => 'phame-page-link phame-page-older',
@ -198,7 +198,7 @@ abstract class PhameBasicBlogSkin extends PhameBlogSkin {
if (!$uri) {
return null;
}
return phutil_render_tag(
return phutil_tag(
'a',
array(
'class' => 'phame-page-link phame-page-newer',

View file

@ -131,7 +131,7 @@ final class PhrictionDocumentController
$handles[$project_phid]->renderLink().'.';
}
$index_link = phutil_render_tag(
$index_link = phutil_tag(
'a',
array(
'href' => '/phriction/',

View file

@ -25,7 +25,7 @@ final class PhrictionNewController extends PhrictionController {
$dialog = id(new AphrontDialogView())
->setUser($user)
->setTitle(pht('New Document'))
->appendChild(phutil_render_tag('p',
->appendChild(phutil_tag('p',
array(),
pht('Create a new document at')))
->appendChild($view)

View file

@ -31,7 +31,7 @@ final class PhabricatorSourceCodeView extends AphrontView {
if ($hit_limit) {
$content_number = '';
$content_line = phutil_render_tag(
$content_line = phutil_tag(
'span',
array(
'class' => 'c',