Changeset View
Changeset View
Standalone View
Standalone View
src/view/page/menu/PhabricatorMainMenuView.php
Show First 20 Lines • Show All 327 Lines • ▼ Show 20 Lines | $logo_node = phutil_tag( | ||||
'span', | 'span', | ||||
array( | array( | ||||
'class' => 'phabricator-main-menu-project-logo', | 'class' => 'phabricator-main-menu-project-logo', | ||||
'style' => implode(' ', $logo_style), | 'style' => implode(' ', $logo_style), | ||||
)); | )); | ||||
$wordmark_text = PhabricatorCustomLogoConfigType::getLogoWordmark(); | $wordmark_text = PhabricatorCustomLogoConfigType::getLogoWordmark(); | ||||
if (!strlen($wordmark_text)) { | if (!phutil_nonempty_string($wordmark_text)) { | ||||
$wordmark_text = PlatformSymbols::getPlatformServerName(); | $wordmark_text = PlatformSymbols::getPlatformServerName(); | ||||
} | } | ||||
$wordmark_node = phutil_tag( | $wordmark_node = phutil_tag( | ||||
'span', | 'span', | ||||
array( | array( | ||||
'class' => 'phabricator-wordmark', | 'class' => 'phabricator-wordmark', | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 392 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0