mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +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:
parent
20768d65d5
commit
21a5956a35
11 changed files with 15 additions and 15 deletions
|
@ -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.')
|
||||
|
|
|
@ -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/'),
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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 '.
|
||||
|
|
|
@ -21,7 +21,7 @@ final class DifferentialChangesetTwoUpRenderer
|
|||
array(
|
||||
'sigil' => 'context-target',
|
||||
),
|
||||
phutil_render_tag(
|
||||
phutil_tag(
|
||||
'td',
|
||||
array(
|
||||
'colspan' => 6,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -131,7 +131,7 @@ final class PhrictionDocumentController
|
|||
$handles[$project_phid]->renderLink().'.';
|
||||
}
|
||||
|
||||
$index_link = phutil_render_tag(
|
||||
$index_link = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/phriction/',
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue