Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15376674
D19616.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
10 KB
Referenced Files
None
Subscribers
None
D19616.diff
View Options
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -1912,7 +1912,7 @@
'PHUIDiffTableOfContentsListView' => 'infrastructure/diff/view/PHUIDiffTableOfContentsListView.php',
'PHUIDiffTwoUpInlineCommentRowScaffold' => 'infrastructure/diff/view/PHUIDiffTwoUpInlineCommentRowScaffold.php',
'PHUIDocumentSummaryView' => 'view/phui/PHUIDocumentSummaryView.php',
- 'PHUIDocumentViewPro' => 'view/phui/PHUIDocumentViewPro.php',
+ 'PHUIDocumentView' => 'view/phui/PHUIDocumentView.php',
'PHUIFeedStoryExample' => 'applications/uiexample/examples/PHUIFeedStoryExample.php',
'PHUIFeedStoryView' => 'view/phui/PHUIFeedStoryView.php',
'PHUIFormDividerControl' => 'view/form/control/PHUIFormDividerControl.php',
@@ -7453,7 +7453,7 @@
'PHUIDiffTableOfContentsListView' => 'AphrontView',
'PHUIDiffTwoUpInlineCommentRowScaffold' => 'PHUIDiffInlineCommentRowScaffold',
'PHUIDocumentSummaryView' => 'AphrontTagView',
- 'PHUIDocumentViewPro' => 'AphrontTagView',
+ 'PHUIDocumentView' => 'AphrontTagView',
'PHUIFeedStoryExample' => 'PhabricatorUIExample',
'PHUIFeedStoryView' => 'AphrontView',
'PHUIFormDividerControl' => 'AphrontFormControl',
diff --git a/src/applications/diffusion/view/DiffusionReadmeView.php b/src/applications/diffusion/view/DiffusionReadmeView.php
--- a/src/applications/diffusion/view/DiffusionReadmeView.php
+++ b/src/applications/diffusion/view/DiffusionReadmeView.php
@@ -94,7 +94,7 @@
}
$readme_content = phutil_tag_div($class, $readme_content);
- $document = id(new PHUIDocumentViewPro())
+ $document = id(new PHUIDocumentView())
->setFluid(true)
->appendChild($readme_content);
diff --git a/src/applications/diviner/controller/DivinerAtomController.php b/src/applications/diviner/controller/DivinerAtomController.php
--- a/src/applications/diviner/controller/DivinerAtomController.php
+++ b/src/applications/diviner/controller/DivinerAtomController.php
@@ -72,7 +72,7 @@
$prop_list = new PHUIPropertyGroupView();
$prop_list->addPropertyList($properties);
- $document = id(new PHUIDocumentViewPro())
+ $document = id(new PHUIDocumentView())
->setBook($book->getTitle(), $group_name)
->setHeader($header)
->addClass('diviner-view');
diff --git a/src/applications/diviner/controller/DivinerBookController.php b/src/applications/diviner/controller/DivinerBookController.php
--- a/src/applications/diviner/controller/DivinerBookController.php
+++ b/src/applications/diviner/controller/DivinerBookController.php
@@ -45,7 +45,7 @@
->setName($book->getRepository()->getMonogram()));
}
- $document = new PHUIDocumentViewPro();
+ $document = new PHUIDocumentView();
$document->setHeader($header);
$document->addClass('diviner-view');
diff --git a/src/applications/diviner/controller/DivinerMainController.php b/src/applications/diviner/controller/DivinerMainController.php
--- a/src/applications/diviner/controller/DivinerMainController.php
+++ b/src/applications/diviner/controller/DivinerMainController.php
@@ -27,7 +27,7 @@
->setHeader(pht('Documentation Books'))
->addActionLink($query_button);
- $document = new PHUIDocumentViewPro();
+ $document = new PHUIDocumentView();
$document->setHeader($header);
$document->addClass('diviner-view');
diff --git a/src/applications/guides/module/PhabricatorGuideInstallModule.php b/src/applications/guides/module/PhabricatorGuideInstallModule.php
--- a/src/applications/guides/module/PhabricatorGuideInstallModule.php
+++ b/src/applications/guides/module/PhabricatorGuideInstallModule.php
@@ -169,7 +169,7 @@
$intro = new PHUIRemarkupView($viewer, $intro);
- $intro = id(new PHUIDocumentViewPro())
+ $intro = id(new PHUIDocumentView())
->appendChild($intro);
return array($intro, $guide_items);
diff --git a/src/applications/guides/module/PhabricatorGuideQuickStartModule.php b/src/applications/guides/module/PhabricatorGuideQuickStartModule.php
--- a/src/applications/guides/module/PhabricatorGuideQuickStartModule.php
+++ b/src/applications/guides/module/PhabricatorGuideQuickStartModule.php
@@ -206,7 +206,7 @@
'these features at your own pace.');
$intro = new PHUIRemarkupView($viewer, $intro);
- $intro = id(new PHUIDocumentViewPro())
+ $intro = id(new PHUIDocumentView())
->appendChild($intro);
return array($intro, $guide_items);
diff --git a/src/applications/legalpad/controller/LegalpadDocumentSignController.php b/src/applications/legalpad/controller/LegalpadDocumentSignController.php
--- a/src/applications/legalpad/controller/LegalpadDocumentSignController.php
+++ b/src/applications/legalpad/controller/LegalpadDocumentSignController.php
@@ -272,7 +272,7 @@
$preamble_box->addPropertyList($preamble);
}
- $content = id(new PHUIDocumentViewPro())
+ $content = id(new PHUIDocumentView())
->addClass('legalpad')
->setHeader($header)
->appendChild(
diff --git a/src/applications/meta/controller/PhabricatorApplicationEmailCommandsController.php b/src/applications/meta/controller/PhabricatorApplicationEmailCommandsController.php
--- a/src/applications/meta/controller/PhabricatorApplicationEmailCommandsController.php
+++ b/src/applications/meta/controller/PhabricatorApplicationEmailCommandsController.php
@@ -132,7 +132,7 @@
$header = id(new PHUIHeaderView())
->setHeader($title);
- $document = id(new PHUIDocumentViewPro())
+ $document = id(new PHUIDocumentView())
->setHeader($header)
->appendChild($info_view)
->appendChild($content_box);
diff --git a/src/applications/phame/controller/PhameHomeController.php b/src/applications/phame/controller/PhameHomeController.php
--- a/src/applications/phame/controller/PhameHomeController.php
+++ b/src/applications/phame/controller/PhameHomeController.php
@@ -84,7 +84,7 @@
pht('Recent Posts'),
$this->getApplicationURI('post/'));
- $page = id(new PHUIDocumentViewPro())
+ $page = id(new PHUIDocumentView())
->setHeader($header)
->appendChild($post_list);
diff --git a/src/applications/phame/controller/blog/PhameBlogViewController.php b/src/applications/phame/controller/blog/PhameBlogViewController.php
--- a/src/applications/phame/controller/blog/PhameBlogViewController.php
+++ b/src/applications/phame/controller/blog/PhameBlogViewController.php
@@ -85,7 +85,7 @@
}
}
- $page = id(new PHUIDocumentViewPro())
+ $page = id(new PHUIDocumentView())
->setHeader($header)
->appendChild($post_list);
diff --git a/src/applications/phame/controller/post/PhamePostViewController.php b/src/applications/phame/controller/post/PhamePostViewController.php
--- a/src/applications/phame/controller/post/PhamePostViewController.php
+++ b/src/applications/phame/controller/post/PhamePostViewController.php
@@ -30,7 +30,7 @@
$header->setActionList($actions);
}
- $document = id(new PHUIDocumentViewPro())
+ $document = id(new PHUIDocumentView())
->setHeader($header);
if ($moved) {
diff --git a/src/applications/phriction/controller/PhrictionDocumentController.php b/src/applications/phriction/controller/PhrictionDocumentController.php
--- a/src/applications/phriction/controller/PhrictionDocumentController.php
+++ b/src/applications/phriction/controller/PhrictionDocumentController.php
@@ -227,7 +227,7 @@
}
$prop_list = phutil_tag_div('phui-document-view-pro-box', $prop_list);
- $page_content = id(new PHUIDocumentViewPro())
+ $page_content = id(new PHUIDocumentView())
->setHeader($header)
->setToc($toc)
->appendChild(
@@ -241,11 +241,12 @@
->setTitle($page_title)
->setCrumbs($crumbs)
->setPageObjectPHIDs(array($document->getPHID()))
- ->appendChild(array(
- $page_content,
- $prop_list,
- $children,
- ));
+ ->appendChild(
+ array(
+ $page_content,
+ $prop_list,
+ $children,
+ ));
}
diff --git a/src/applications/transactions/editengine/PhabricatorEditEngine.php b/src/applications/transactions/editengine/PhabricatorEditEngine.php
--- a/src/applications/transactions/editengine/PhabricatorEditEngine.php
+++ b/src/applications/transactions/editengine/PhabricatorEditEngine.php
@@ -1679,7 +1679,7 @@
->setUser($viewer)
->setFields($fields);
- $document = id(new PHUIDocumentViewPro())
+ $document = id(new PHUIDocumentView())
->setUser($viewer)
->setHeader($header)
->appendChild($help_view);
diff --git a/src/applications/typeahead/controller/PhabricatorTypeaheadFunctionHelpController.php b/src/applications/typeahead/controller/PhabricatorTypeaheadFunctionHelpController.php
--- a/src/applications/typeahead/controller/PhabricatorTypeaheadFunctionHelpController.php
+++ b/src/applications/typeahead/controller/PhabricatorTypeaheadFunctionHelpController.php
@@ -142,7 +142,7 @@
$header = id(new PHUIHeaderView())
->setHeader($title);
- $document = id(new PHUIDocumentViewPro())
+ $document = id(new PHUIDocumentView())
->setHeader($header)
->appendChild($content_box);
diff --git a/src/view/phui/PHUIDocumentViewPro.php b/src/view/phui/PHUIDocumentView.php
rename from src/view/phui/PHUIDocumentViewPro.php
rename to src/view/phui/PHUIDocumentView.php
--- a/src/view/phui/PHUIDocumentViewPro.php
+++ b/src/view/phui/PHUIDocumentView.php
@@ -1,6 +1,6 @@
<?php
-final class PHUIDocumentViewPro extends AphrontTagView {
+final class PHUIDocumentView extends AphrontTagView {
private $header;
private $bookname;
diff --git a/src/view/phui/PHUIRemarkupPreviewPanel.php b/src/view/phui/PHUIRemarkupPreviewPanel.php
--- a/src/view/phui/PHUIRemarkupPreviewPanel.php
+++ b/src/view/phui/PHUIRemarkupPreviewPanel.php
@@ -105,7 +105,7 @@
$header = id(new PHUIHeaderView())
->setHeader(pht('%s (Preview)', $this->header));
- $content = id(new PHUIDocumentViewPro())
+ $content = id(new PHUIDocumentView())
->setHeader($header)
->appendChild($preview);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 5:01 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7387849
Default Alt Text
D19616.diff (10 KB)
Attached To
Mode
D19616: Rename "PHUIDocumentViewPro" to "PHUIDocumentView"
Attached
Detach File
Event Timeline
Log In to Comment