Changeset View
Changeset View
Standalone View
Standalone View
src/view/page/PhabricatorStandardPageView.php
| Show First 20 Lines • Show All 343 Lines • ▼ Show 20 Lines | protected function getBody() { | ||||
| $header_chrome = null; | $header_chrome = null; | ||||
| if ($this->getShowChrome()) { | if ($this->getShowChrome()) { | ||||
| $header_chrome = $this->menuContent; | $header_chrome = $this->menuContent; | ||||
| } | } | ||||
| $classes = array(); | $classes = array(); | ||||
| $classes[] = 'main-page-frame'; | $classes[] = 'main-page-frame'; | ||||
| $classes[] = 'phui-theme-'.PhabricatorEnv::getEnvConfig('ui.header-color'); | |||||
| $developer_warning = null; | $developer_warning = null; | ||||
| if (PhabricatorEnv::getEnvConfig('phabricator.developer-mode') && | if (PhabricatorEnv::getEnvConfig('phabricator.developer-mode') && | ||||
| DarkConsoleErrorLogPluginAPI::getErrors()) { | DarkConsoleErrorLogPluginAPI::getErrors()) { | ||||
| $developer_warning = phutil_tag_div( | $developer_warning = phutil_tag_div( | ||||
| 'aphront-developer-error-callout', | 'aphront-developer-error-callout', | ||||
| pht( | pht( | ||||
| 'This page raised PHP errors. Find them in DarkConsole '. | 'This page raised PHP errors. Find them in DarkConsole '. | ||||
| 'or the error log.')); | 'or the error log.')); | ||||
| ▲ Show 20 Lines • Show All 363 Lines • Show Last 20 Lines | |||||