Skip to content

Commit

Permalink
fix version in top menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmi3yy committed Jul 19, 2017
1 parent 724de67 commit 6daadd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/frames/1.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

if(IN_MANAGER_MODE != "true") {
die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the MODX Content Manager instead of accessing this file directly.");
die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly.");
}
header("X-XSS-Protection: 0");

Expand Down Expand Up @@ -291,7 +291,7 @@
</li>
<?php
$style = $modx->config['settings_version'] != $modx->getVersionData('version') ? 'style="color:#ffff8a;"' : '';
$version = stristr($modx->config['settings_version'], 'd') === FALSE ? 'MODX Evolution' : 'MODX EVO Custom';
$version = 'Evolution';
?>
<?php
echo sprintf('<li><span class="dropdown-item" title="%s &ndash; %s" %s>' . $version . ' %s</span></li>', $site_name, $modx->getVersionData('full_appname'), $style, $modx->config['settings_version']);
Expand Down

0 comments on commit 6daadd0

Please sign in to comment.