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

default admin-style fix. admin-avatar page GUI work.

This commit is contained in:
Cameron
2013-03-16 04:17:41 -07:00
parent b38effe46e
commit dd5440319a
2 changed files with 11 additions and 6 deletions

View File

@@ -2168,7 +2168,7 @@ function show_avatars()
// : // :
$users = (in_array($image_name,$imageUsed)) ? "<small class='text-warning'>Image in use</small>" : '<small>'.IMALAN_22.'</small>'; $users = (in_array($image_name,$imageUsed)) ? "<spam class='badge badge-warning'>Image in use</span>" : '<spam class="badge">Not in use</span>';
//directory? //directory?
if(is_dir(e_MEDIA."avatars/".$image_name)) if(is_dir(e_MEDIA."avatars/".$image_name))
@@ -2193,8 +2193,13 @@ function show_avatars()
// Resized on-the-fly - avatar-size no longer an issue. // Resized on-the-fly - avatar-size no longer an issue.
$attr = "aw=".$pref['im_width']."&ah=".$pref['im_height']; $attr = "aw=".$pref['im_width']."&ah=".$pref['im_height'];
$img_path = $tp->thumbUrl(e_MEDIA_ABS."avatars/".$image_name,$attr); $img_path = $tp->thumbUrl(e_MEDIA_ABS."avatars/".$image_name,$attr);
$img_src = "<label for='image-action-{$count}' title='".IMALAN_56."'>
<img class='e-tip' src='".$img_path."' alt='{$image_name}' title='".IMALAN_66.": {$image_name}' /> $for = $frm->name2id('multiaction-'.$image_name);
$img_src = "<label for='".$for."' >
<div class='thumbnail'>
<img src='".$img_path."' alt='{$image_name}' title='".IMALAN_66.": {$image_name}' />
</div>
</label>"; </label>";
} }
@@ -2202,7 +2207,7 @@ function show_avatars()
//style attribute allowed here - server side width/height control //style attribute allowed here - server side width/height control
//autocheck class - used for JS selectors (see eCoreImage object) //autocheck class - used for JS selectors (see eCoreImage object)
$text .= " $text .= "
<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='buttons-bar 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='well'>
<div class='image-users'>{$users}</div> <div class='image-users'>{$users}</div>
<div class='image-preview'>{$img_src}</div> <div class='image-preview'>{$img_src}</div>

View File

@@ -5,7 +5,7 @@
<core name="admin_alerts_uniquemenu">0</core> <core name="admin_alerts_uniquemenu">0</core>
<core name="admin_separate_plugins">0</core> <core name="admin_separate_plugins">0</core>
<core name="admin_slidedown_subs">1</core> <core name="admin_slidedown_subs">1</core>
<core name="admincss">light_style.css</core> <core name="admincss">admin_dark.css</core>
<core name="adminpwordchange">0</core> <core name="adminpwordchange">0</core>
<core name="adminstyle">infopanel</core> <core name="adminstyle">infopanel</core>
<core name="admintheme">bootstrap</core> <core name="admintheme">bootstrap</core>
@@ -341,7 +341,7 @@ City, State, Country
<core name="wmessage_sc">0</core> <core name="wmessage_sc">0</core>
<core name="wysiwyg">1</core> <core name="wysiwyg">1</core>
<core name="xup_enabled">1</core> <core name="xup_enabled">1</core>
<core name="xurl">1</core> <core name="xurl"><![CDATA[array ()]]></core>
<core name="xmlfeed_languagepacks">http://www.e107.org/themeupdate.php</core> <core name="xmlfeed_languagepacks">http://www.e107.org/themeupdate.php</core>
<core name="xmlfeed_security">http://www.e107.org/themeupdate.php</core> <core name="xmlfeed_security">http://www.e107.org/themeupdate.php</core>
<emote name="alien!png">!alien</emote> <emote name="alien!png">!alien</emote>