Changeset View
Changeset View
Standalone View
Standalone View
src/view/page/PhabricatorStandardPageView.php
Show First 20 Lines • Show All 408 Lines • ▼ Show 20 Lines | protected function getBodyClasses() { | ||||
} else if (preg_match('@X11@', $agent)) { | } else if (preg_match('@X11@', $agent)) { | ||||
$classes[] = 'platform-linux'; | $classes[] = 'platform-linux'; | ||||
} | } | ||||
if ($this->getRequest()->getStr('__print__')) { | if ($this->getRequest()->getStr('__print__')) { | ||||
$classes[] = 'printable'; | $classes[] = 'printable'; | ||||
} | } | ||||
if ($this->getRequest()->getStr('__aural__')) { | |||||
$classes[] = 'audible'; | |||||
} | |||||
return implode(' ', $classes); | return implode(' ', $classes); | ||||
} | } | ||||
private function getConsole() { | private function getConsole() { | ||||
if ($this->disableConsole) { | if ($this->disableConsole) { | ||||
return null; | return null; | ||||
} | } | ||||
return $this->getRequest()->getApplicationConfiguration()->getConsole(); | return $this->getRequest()->getApplicationConfiguration()->getConsole(); | ||||
} | } | ||||
} | } |