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:
parent
4c50868c93
commit
6616b52ae9
10
class2.php
10
class2.php
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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}
|
||||
|
||||
|
||||
");
|
||||
|
Loading…
x
Reference in New Issue
Block a user