1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 00:05:46 +02:00

Admin GUI styling fixes.

This commit is contained in:
Cameron
2013-03-15 03:54:34 -07:00
parent 8b82720f39
commit 340156aebd
12 changed files with 1134 additions and 38 deletions

View File

@@ -209,6 +209,14 @@ if (!defsettrue('e_IFRAME') && isset($pref['admincss']) && $pref['admincss'])
$css_file = file_exists(THEME.'admin_'.$pref['admincss']) ? 'admin_'.$pref['admincss'] : $pref['admincss'];
//echo "<link rel='stylesheet' href='".$css_file."' type='text/css' />\n";
$e_js->themeCSS($css_file);
if(e107::getPref('admincss') == "dark_style.css")
{
$e_js->coreCSS('bootstrap/css/darkstrap.css');
}
}
elseif (isset($pref['themecss']) && $pref['themecss'])
{

View File

@@ -2191,8 +2191,8 @@ function show_avatars()
//style attribute allowed here - server side width/height control
//autocheck class - used for JS selectors (see eCoreImage object)
$text .= "
<div class='image-box f-left center autocheck' style='width: ".(intval($pref['im_width'])+40)."px; height: ".(intval($pref['im_height'])+100)."px;'>
<div class='spacer'>
<div class='image-box f-left center autocheck' style='margin:5px; width: ".(intval($pref['im_width'])+40)."px; height: ".(intval($pref['im_height'])+100)."px;'>
<div class='well'>
<div class='image-users'>{$users}</div>
<div class='image-preview'>{$img_src}</div>
<div class='image-delete'>