only put in the development h3 tag if the value has been set

This commit is contained in:
Isaac Connor 2016-08-22 11:42:44 -04:00
parent c82c872665
commit 09ebcfb7f8
1 changed files with 3 additions and 1 deletions

View File

@ -243,7 +243,9 @@ function getNavBarHTML() {
</div> </div>
<div class="pull-right"> <div class="pull-right">
<?php echo makePopupLink( '?view=version', 'zmVersion', 'version', '<span class="'.$versionClass.'">v'.ZM_VERSION.'</span>', canEdit( 'System' ) ) ?> <?php echo makePopupLink( '?view=version', 'zmVersion', 'version', '<span class="'.$versionClass.'">v'.ZM_VERSION.'</span>', canEdit( 'System' ) ) ?>
<h3 id="development"><center><?php echo ZM_WEB_CONSOLE_BANNER ?></center></h3> <?php if ( defined('ZM_WEB_CONSOLE_BANNER') ) { ?>
<h3 id="development"><?php echo ZM_WEB_CONSOLE_BANNER ?></h3>
<?php } ?>
</div> </div>
<ul class="list-inline"> <ul class="list-inline">
<li><?php echo translate('Load') ?>: <?php echo getLoad() ?></li> <li><?php echo translate('Load') ?>: <?php echo getLoad() ?></li>