set a target to about menu items
parent
8d9410d510
commit
a575b16278
|
@ -609,13 +609,12 @@ function getZMVersionHTML() {
|
|||
function getNavBrandHTML() {
|
||||
$result = '';
|
||||
|
||||
$zm_home_about = true;
|
||||
if ( $zm_home_about ) {
|
||||
if ( ZM_HOME_ABOUT ) {
|
||||
$result .= '<a id="getNavBrandHTML" class="dropdown" data-toggle="dropdown" href="#">ZoneMinder</a>'.PHP_EOL;
|
||||
$result .= '<ul style="background-color:#485460" class="dropdown-menu">'.PHP_EOL;
|
||||
$result .= '<li><a class="dropdown-item" href="https://zoneminder.com/">ZoneMinder</a></li>'.PHP_EOL;
|
||||
$result .= '<li><a class="dropdown-item" href="https://zoneminder.readthedocs.io/en/stable/">Documentation</a></li>'.PHP_EOL;
|
||||
$result .= '<li><a class="dropdown-item" href="https://forums.zoneminder.com/">Support</a></li>'.PHP_EOL;
|
||||
$result .= '<li><a class="dropdown-item" href="https://zoneminder.com/" target="_blank">ZoneMinder</a></li>'.PHP_EOL;
|
||||
$result .= '<li><a class="dropdown-item" href="https://zoneminder.readthedocs.io/en/stable/" target="_blank">Documentation</a></li>'.PHP_EOL;
|
||||
$result .= '<li><a class="dropdown-item" href="https://forums.zoneminder.com/" target="_blank">Support</a></li>'.PHP_EOL;
|
||||
$result .= '</ul>'.PHP_EOL;
|
||||
} else {
|
||||
$result .= '<a id="getNavBrandHTML" href="' .validHtmlStr(ZM_HOME_URL). '" target="' .validHtmlStr(ZM_WEB_TITLE). '">' .ZM_HOME_CONTENT. '</a>'.PHP_EOL;
|
||||
|
|
Loading…
Reference in New Issue