1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Admin login page styling fix.

This commit is contained in:
Cameron 2016-03-22 06:11:37 -07:00
parent 4c50868c93
commit 6616b52ae9
3 changed files with 19 additions and 5 deletions

View File

@ -2323,13 +2323,19 @@ class e_http_header
}
function setContent($content)
function setContent($content,$search=null,$replace=null)
{
if($content == 'buffer')
{
$this->length = ob_get_length();
$this->content = ob_get_clean();
$this->content = ob_get_clean();
if(!empty($search) && !empty($replace))
{
$this->content = str_replace($search, $replace, $this->content);
$this->length = strlen($this->content);
}
}
else

View File

@ -422,7 +422,7 @@ else
//$length = ob_get_length();
// $page = ob_get_clean();
// }
unset($tmp1, $tmp1);
@ -430,7 +430,15 @@ unset($tmp1, $tmp1);
// New - see class2.php
$ehd = new e_http_header;
$ehd->setContent('buffer');
if($tmp)
{
$ehd->setContent('buffer',$tmp['search'],$tmp['replace']);
}
else
{
$ehd->setContent('buffer');
}
unset($tmp1, $tmp1);
$ehd->send();
$page = $ehd->getOutput();
// $ehd->debug();

View File

@ -55,7 +55,7 @@ body.forceColors li a { color: silver}
div#media-manager div.mce-window-head { background-color: #373737; !important }
div#media-manager div.mce-title { color:white; }
div#media-manager, html { color: silver; background-color: #373737; !important}
div#media-manager, html { color: silver; background-color: #2F2F2F; !important}
");