mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 11:17:28 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
+ "&callback=" + callbackName
|
||||
+ "&editmode=" + (!!(data.img && data.img.src))
|
||||
+ "&" + (new Date() - 0);
|
||||
var w = window.open(url, "_blank", data.windowFeatures || "width=800,height=600,status=no,toolbar=no,location=no,menubar=no,resizable=no");
|
||||
var w = window.open(url, "_blank", data.windowFeatures || "width=685,height=540,status=no,toolbar=no,location=no,menubar=no,resizable=no");
|
||||
if (w.jQuery && w.jQuery.mediaPicker) {
|
||||
w.jQuery.mediaPicker.init(data);
|
||||
}
|
||||
|
@@ -5,16 +5,17 @@
|
||||
@using Orchard.Media.Models;
|
||||
@using Orchard.UI.Resources;
|
||||
@{
|
||||
Style.Include("~/themes/theadmin/styles/site.css");
|
||||
Style.Include("~/themes/theadmin/styles/ie.css").UseCondition("lte IE 8").SetAttribute("media", "screen, projection");
|
||||
Style.Include("~/themes/theadmin/styles/ie6.css").UseCondition("lte IE 6").SetAttribute("media", "screen, projection");
|
||||
Style.Include("mediapicker.css");
|
||||
|
||||
// these need to be in the head because MediaBrowser.js defines a callback that the thumbnail images call when they load,
|
||||
// which could happen as soon as they render.
|
||||
Style.Require("jQueryUI_Orchard").AtHead();
|
||||
Script.Require("jQueryUI_Tabs").AtHead();
|
||||
Script.Include("MediaBrowser.js").AtHead();
|
||||
|
||||
Style.Include("~/themes/theadmin/styles/site.css");
|
||||
Style.Include("~/themes/theadmin/styles/ie.css").UseCondition("lte IE 8").SetAttribute("media", "screen, projection");
|
||||
Style.Include("~/themes/theadmin/styles/ie6.css").UseCondition("lte IE 6").SetAttribute("media", "screen, projection");
|
||||
Style.Include("mediapicker.css");
|
||||
|
||||
}
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
@@ -115,12 +115,12 @@
|
||||
|
||||
<li class="group">
|
||||
<div class="image-width">
|
||||
<label for="img-width">@T("Width")</label>
|
||||
<input class="text-box" type="text" id="img-width" /> x
|
||||
<label for="lib-width">@T("Width")</label>
|
||||
<input class="text-box" type="text" id="lib-width" /> x
|
||||
</div>
|
||||
<div class="image-height">
|
||||
<label for="img-height">@T("Height")</label>
|
||||
<input class="text-box" type="text" id="img-height" />
|
||||
<label for="lib-height">@T("Height")</label>
|
||||
<input class="text-box" type="text" id="lib-height" />
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
Reference in New Issue
Block a user