show server name in title
This commit is contained in:
parent
541beff3bd
commit
ebf861880a
|
@ -38,10 +38,15 @@ elseif (is_file("../../login.php")) $headerPrefix = "../../";
|
||||||
/** tool definitions */
|
/** tool definitions */
|
||||||
include_once($headerPrefix . "../lib/tools.inc");
|
include_once($headerPrefix . "../lib/tools.inc");
|
||||||
|
|
||||||
|
$pro = '';
|
||||||
|
if (isLAMProVersion()) {
|
||||||
|
$pro = ' Pro';
|
||||||
|
}
|
||||||
|
|
||||||
// HTML header and title
|
// HTML header and title
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"" . $headerPrefix . "../graphics/favicon.ico\">\n";
|
echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"" . $headerPrefix . "../graphics/favicon.ico\">\n";
|
||||||
echo "<title>LDAP Account Manager</title>\n";
|
echo "<title>LDAP Account Manager" . $pro . " (" . str_replace(array('ldap://', 'ldaps://'), array('', ''), $_SESSION['config']->get_ServerURL()) . ")</title>\n";
|
||||||
|
|
||||||
// include all CSS files
|
// include all CSS files
|
||||||
$cssDirName = dirname(__FILE__) . '/../style';
|
$cssDirName = dirname(__FILE__) . '/../style';
|
||||||
|
@ -99,10 +104,7 @@ foreach ($toSort as $key => $value) {
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">
|
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">
|
||||||
<img src="<?php echo $headerPrefix; ?>../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager
|
<img src="<?php echo $headerPrefix; ?>../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager
|
||||||
<?php
|
<?php
|
||||||
if (isLAMProVersion()) {
|
echo $pro . " - " . LAMVersion();
|
||||||
echo " Pro";
|
|
||||||
}
|
|
||||||
echo " - " . LAMVersion();
|
|
||||||
?>
|
?>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue