set logo via CSS
This commit is contained in:
parent
dee5bce3c4
commit
a2bdec6afe
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
|
@ -379,7 +379,7 @@ class selfServiceProfile {
|
||||||
$this->searchAttribute = "uid";
|
$this->searchAttribute = "uid";
|
||||||
$this->additionalLDAPFilter = '';
|
$this->additionalLDAPFilter = '';
|
||||||
$this->httpAuthentication = false;
|
$this->httpAuthentication = false;
|
||||||
$this->pageHeader = '<table border=0 width="100%" class="lamHeader ui-corner-all"><tr><td align="left" height="30"><a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a></td></tr></table><br>';
|
$this->pageHeader = '<table border=0 width="100%" class="lamHeader ui-corner-all"><tr><td align="left" height="30"><a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a></td></tr></table><br>';
|
||||||
$this->additionalCSS = '';
|
$this->additionalCSS = '';
|
||||||
$this->loginCaption = '<b>' . _("Welcome to LAM self service. Please enter your user name and password.") . '</b>';
|
$this->loginCaption = '<b>' . _("Welcome to LAM self service. Please enter your user name and password.") . '</b>';
|
||||||
$this->loginAttributeText = _('User name');
|
$this->loginAttributeText = _('User name');
|
||||||
|
|
|
@ -276,7 +276,17 @@ td.loginLogo {
|
||||||
width: 65px;
|
width: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.lamLogo {
|
||||||
|
background-image: url(../graphics/logo24.png);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: left;
|
||||||
|
line-height: 24px;
|
||||||
|
display: block;
|
||||||
|
text-indent:32px;
|
||||||
|
vertical-align: middle;
|
||||||
|
white-space: nowrap;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.sortableList { list-style-type: none; margin: 0; padding: 0; }
|
.sortableList { list-style-type: none; margin: 0; padding: 0; }
|
||||||
.sortableList li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; }
|
.sortableList li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; }
|
||||||
|
|
|
@ -111,7 +111,7 @@ echo $_SESSION['header'];
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=20>
|
<td align="right" height=20>
|
||||||
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
||||||
|
|
|
@ -161,7 +161,7 @@ foreach ($jsFiles as $jsEntry) {
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
||||||
|
|
|
@ -131,7 +131,7 @@ foreach ($jsFiles as $jsEntry) {
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
||||||
|
|
|
@ -149,7 +149,7 @@ foreach ($jsFiles as $jsEntry) {
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
||||||
|
|
|
@ -73,7 +73,7 @@ echo $_SESSION['header'];
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=20>
|
<td align="right" height=20>
|
||||||
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
||||||
|
|
|
@ -118,7 +118,7 @@ echo $_SESSION['header'];
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=20>
|
<td align="right" height=20>
|
||||||
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
||||||
|
|
|
@ -248,7 +248,7 @@ echo $_SESSION['header'];
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=20>
|
<td align="right" height=20>
|
||||||
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to login") ?></a>
|
||||||
|
|
|
@ -130,7 +130,7 @@ foreach ($jsFiles as $jsEntry) {
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
<?php echo _('Server profile') . ': ' . $conf->getName(); ?>
|
||||||
|
|
|
@ -182,7 +182,7 @@ echo $_SESSION['header'];
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=20>
|
<td align="right" height=20>
|
||||||
<a href="conflogin.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to profile login") ?></a>
|
<a href="conflogin.php"><IMG alt="configuration" src="../../graphics/undo.png"> <?php echo _("Back to profile login") ?></a>
|
||||||
|
|
|
@ -259,7 +259,7 @@ function display_LoginPage($config_object, $cfgMain) {
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window"> <img src="../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager"> LDAP Account Manager</a>
|
<a class="lamLogo" href="http://www.ldap-account-manager.org/" target="new_window">LDAP Account Manager</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=20>
|
<td align="right" height=20>
|
||||||
<a href="./config/index.php"><IMG alt="configuration" src="../graphics/tools.png"> <?php echo _("LAM configuration") ?></a>
|
<a href="./config/index.php"><IMG alt="configuration" src="../graphics/tools.png"> <?php echo _("LAM configuration") ?></a>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2003 - 2012 Roland Gruber
|
Copyright (C) 2003 - 2014 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -113,13 +113,15 @@ foreach ($toSort as $key => $value) {
|
||||||
|
|
||||||
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
<table border=0 width="100%" class="lamHeader ui-corner-all">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" height="30">
|
<td align="left" height="30" class="nowrap">
|
||||||
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">
|
<a class="lamLogo" 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
|
LDAP Account Manager
|
||||||
<?php
|
<?php
|
||||||
echo $pro . " - " . LAMVersion();
|
echo $pro . " - " . LAMVersion();
|
||||||
?>
|
?>
|
||||||
</a>
|
</a>
|
||||||
|
</td>
|
||||||
|
<td align="left" height="30" class="nowrap">
|
||||||
<?php
|
<?php
|
||||||
echo ' <small>';
|
echo ' <small>';
|
||||||
$userData = $_SESSION['ldap']->decrypt_login();
|
$userData = $_SESSION['ldap']->decrypt_login();
|
||||||
|
@ -128,7 +130,7 @@ foreach ($toSort as $key => $value) {
|
||||||
echo '</small>';
|
echo '</small>';
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" height=30>
|
<td align="right" height=30 width="100%">
|
||||||
<ul id="dropmenu" class="dropmenu">
|
<ul id="dropmenu" class="dropmenu">
|
||||||
<li><a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img class="align-middle" height="16" width="16" alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png"> <?php echo _("Logout") ?></a></li>
|
<li><a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img class="align-middle" height="16" width="16" alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png"> <?php echo _("Logout") ?></a></li>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue