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

dialog styling fixes

This commit is contained in:
CaMer0n
2012-05-17 17:47:14 +00:00
parent 8dee12ae83
commit ac6084dea9
3 changed files with 13 additions and 11 deletions

View File

@@ -175,8 +175,8 @@ class e_form
ev.stop(); ev.stop();
new e107Widgets.URLDialog(element.href, { new e107Widgets.URLDialog(element.href, {
id: element["id"] || "e-dialog", id: element["id"] || "e-dialog",
width: 830, width: 890,
height: 650 height: 680
}).center().setHeader("Media Manager : '.$category.'").setFooter('.$footer.').activate().show(); }).center().setHeader("Media Manager : '.$category.'").setFooter('.$footer.').activate().show();
}); });

View File

@@ -208,18 +208,20 @@ class e_jsmanager
$this->_core_prefs = e107::getPref('e_jslib_core'); $this->_core_prefs = e107::getPref('e_jslib_core');
$core = array(); $core = array();
foreach($this->_core_prefs as $id=>$vis) if(is_array($this->_core_prefs))
{ {
if($vis != 'none' && $vis != 'auto') foreach($this->_core_prefs as $id=>$vis)
{ {
foreach($this->_libraries[$id] as $path) if($vis != 'none' && $vis != 'auto')
{ {
$core[$path] = $vis; foreach($this->_libraries[$id] as $path)
} {
} $core[$path] = $vis;
}
} }
}
}
$this->coreLib($core); $this->coreLib($core);
// Load stored in preferences plugin lib paths ASAP // Load stored in preferences plugin lib paths ASAP

View File

@@ -827,7 +827,7 @@ h1.bbcode, h2.bbcode, h3.bbcode, h4.bbcode, h5.bbcode, h6.bbcode { }/* override
div.bbcode { margin: 15px 0px; clear: both; } /* layout control via bbcodes */ div.bbcode { margin: 15px 0px; clear: both; } /* layout control via bbcodes */
a.media-select-image { margin:5px; border:1px solid silver; } a.media-select-image { margin:5px; border:1px solid silver; width:120px; height:100px; }
a.media-select-image:hover { border:1px solid red; } a.media-select-image:hover { border:1px solid red; }
a.media-select-icon { text-align:center; vertical-align:middle; margin:1px; border:1px solid white; width:48px; height:48px;} a.media-select-icon { text-align:center; vertical-align:middle; margin:1px; border:1px solid white; width:48px; height:48px;}
a.media-select-icon:hover { border:1px solid red; } a.media-select-icon:hover { border:1px solid red; }