Removed all client side files as they now exist in Umbraco.Web.UI

This commit is contained in:
shannon@ShandemVaio
2012-07-19 00:52:58 +06:00
parent 9679d0f6df
commit 7ca29b87f3
1158 changed files with 1 additions and 87731 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,33 +0,0 @@
// Umbraco Live Editing: Communicator
/********************* Communicator Constructor *********************/
function UmbracoCommunicator() { }
/********************* Communicator Methods *********************/
// Sends a message to the client using the communicator.
UmbracoCommunicator.prototype.SendClientMessage = function(type, message) {
// find the communicator
var divs = document.getElementsByTagName("div");
var communicator = null;
for (var i = 0; i < divs.length && communicator == null; i++)
if (divs[i].className == "communicator")
communicator = divs[i];
Sys.Debug.assert(communicator != null, "LiveEditing: Communicator not found.");
// send the message
var typeBox = communicator.childNodes[0].childNodes[0];
var messageBox = communicator.childNodes[0].childNodes[1];
var submit = communicator.childNodes[0].childNodes[2];
typeBox.value = type;
messageBox.value = message;
submit.click();
}
/********************* Communicator Instance *********************/
var UmbracoCommunicator = new UmbracoCommunicator();

View File

@@ -1,99 +0,0 @@
Type.registerNamespace("umbraco.presentation.LiveEditing.Controls");
/************************************ Toolbar class ***********************************/
// Constructor.
umbraco.presentation.LiveEditing.Controls.LiveEditingToolbar = function() {
umbraco.presentation.LiveEditing.Controls.LiveEditingToolbar.initializeBase(this);
this._inited = false;
// init toolbar on application load
var liveEditingToolbar = this;
Sys.Application.add_load(function() { liveEditingToolbar._init(); });
}
umbraco.presentation.LiveEditing.Controls.LiveEditingToolbar.prototype = {
// Initialize the toolbar.
_init: function() {
if (!this._inited) {
var liveEditingToolbar = this;
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function(sender, args) { liveEditingToolbar._handleError(sender, args); });
this._inited = true;
}
},
// Fires the Save event.
_save: function() {
var handler = this.get_events().getHandler("save");
var args = new Sys.EventArgs();
args.cancel = false;
if (handler)
handler(this, args);
if (!args.cancel) {
this.setDirty(false);
UmbSpeechBubble.ShowMessage("Info", "Saving", "Save in progress...");
}
return !args.cancel;
},
// Adds a listener for the Save event.
add_save: function(handler) {
this.get_events().addHandler("save", handler);
},
// Removes a listener for the Save event.
remove_save: function(handler) {
this.get_events().removeHandler("save", handler);
},
// Fires the Save and Publish event.
_saveAndPublish: function() {
var handler = this.get_events().getHandler("saveAndPublish");
var args = new Sys.EventArgs();
args.cancel = false;
if (handler)
handler(this, args);
if (!args.cancel) {
this.setDirty(false);
UmbSpeechBubble.ShowMessage("Info", "Publishing", "Save and publish in progress...");
}
return !args.cancel;
},
// Adds a listener for the Save and Publish event.
add_saveAndPublish: function(handler) {
this.get_events().addHandler("saveAndPublish", handler);
},
// Removes a listener for the Save and Publish event.
remove_saveAndPublish: function(handler) {
this.get_events().removeHandler("saveAndPublish", handler);
},
// Sets whether the pages has unsaved changes.
setDirty: function(isDirty) {
window.onbeforeunload = isDirty ? function() { return "You have unsaved changes."; } : null;
},
// Global error handler. Displays a tooltip with the error message.
_handleError: function(sender, args) {
if (args.get_error() != undefined) {
var errorMessage;
if (args.get_response().get_statusCode() == '200') {
errorMessage = args.get_error().message;
}
else {
errorMessage = "An unspecified error occurred.";
}
args.set_errorHandled(true);
UmbSpeechBubble.ShowMessage("info", "Error", errorMessage);
}
}
}
// Register the class and create a global instance.
umbraco.presentation.LiveEditing.Controls.LiveEditingToolbar.registerClass("umbraco.presentation.LiveEditing.Controls.LiveEditingToolbar", Sys.Component);
var LiveEditingToolbar = new umbraco.presentation.LiveEditing.Controls.LiveEditingToolbar();

View File

@@ -1,370 +0,0 @@
/*****************************************************************
Live Editing placeholders
/****************************************************************/
umbraco\:iteminfo {
cursor: pointer;
border: 1px dashed #bbb;
padding: 5px;
}
.liveEditingForceBlockMode {
display: block;
}
umbraco\:iteminfo:hover
{
border: 2px dashed #f36f21;
padding: 5px;
}
/*****************************************************************
General Toolbar CSS
/****************************************************************/
html {
margin-top: 30px !important;
}
#LiveEditingToolbar
{
font-family:"Trebuchet MS",verdana,arial;
background: url(../../../umbraco_client/tabView/images/background.gif) !important;
position: fixed !important;
width: 100% !important;
height: 34px !important;
top: 0 !important;
left: 0 !important;
text-align: left !important;
border-bottom: 1px solid #B0B0B0 !important;
}
#LiveEditingToolbar div {
padding: 4px !important;
}
#LiveEditingToolbar div div {
padding: inherit !important;
}
#LiveEditingToolbar div.ExtraMenuItems {
display: inline !important;
}
#LiveEditingToolbar div {
/*background: url(/umbraco/LiveEditing/Images/Canvas.gif) no-repeat right 4px; */
width: 100%;
}
#LiveEditingToolbar * div {
background: none;
width: auto;
}
#LiveEditingToolbar input.button {
cursor: hand !important;
width: 22px !important;
height: 23px !important;
background: none !important;
border: none !important;
}
#LiveEditingToolbar input.button:hover, #LiveEditingClientToolbar a.mceButtonEnabled:hover {
background-image: url(../../../umbraco_client/menuicon/images/buttonbg.gif) !important;
border: none !important;
}
#LiveEditingToolbar input.close {
position: absolute !important;
right: 7px !important;
top: 6px !important;
/*border: none !Important;
background: none !Important; */
color: #000;
width: 150px;
}
#LiveEditingToolbar input.close:hover {
opacity: 1 !important;
}
#LiveEditingToolbar img.about {
margin: 0 5px 5px 5px !important;
}
#LiveEditingClientToolbar, #LiveEditingClientToolbar div {
display: inline !important;
}
#LiveEditingToolbar span.separator {
padding-right: 7px !important;
}
#LiveEditingToolbar span.separator span {
border-left: 1px solid #999999 !important;
border-right: 1px solid #EEEEEE !important;
position: absolute !important;
top: 7px !important;
width: 0px !important;
overflow: hidden !important;
}
#LiveEditingToolbar .umbLabelButton
{
cursor: hand !important;
float: left;
margin: 1px 5px 1px 1px;
padding: 0 !important;
}
#LiveEditingToolbar .umbLabelButton:hover
{
background: #EAEAEA;
border: 1px solid #CAC9C9 !Important;
margin: 0px 4px 0px 0px;
}
#LiveEditingToolbar .umbLabelButton a
{
text-decoration: none;
font-size: 80%;
margin-right: 3px;
padding: 5px 0;
}
#LiveEditingToolbar .umbLabelButton input.button {
width: 22px !important;
height: 23px !important;
margin-right: 3px;
background: none !important;
border: none !important;
vertical-align: middle;
}
#LiveEditingToolbar .umbLabelButton input.button:hover {
background-image: none !important;
border: none !important;
}
/*****************************************************************
TinyMCE extra CSS
/****************************************************************/
/* hide the temporary TinyMCE container */
.tinymceContainer {
position: absolute !important;
left: -1000px !important;
}
#LiveEditingClientToolbar .mceToolbarExternal table {
display: inline !important;
background: none !important;
margin: 0 !important;
}
#LiveEditingClientToolbar .mceToolbarExternal {
position: absolute !important;
top: 0 !important;
}
#LiveEditingClientToolbar a.mceButtonEnabled {
width: 22px !important;
height: 23px !important;
}
/*****************************************************************
Datatypes extra CSS
/****************************************************************/
.relatedlinksdatatype
{
background-color: #fff !important;
border: 1px solid #999 !important;
}
/*****************************************************************
Modal dialogs
/****************************************************************/
.umbModalBox h1
{
font-size: larger !important;
}
.umbModalBox h2
{
font-size: medium !important;
}
.umbModalBox label
{
padding-bottom: 2px !Important;
display: block !Important;
color: #666 !Important;
font-family:Trebuchet MS,Lucida Grande,verdana,arial ! important;
}
.umbModalBox p
{
font-size: 12px !important;
font-family:Trebuchet MS,Lucida Grande,verdana,arial ! important;
color:Black ! important;
margin-bottom:5px;
}
.umbModalBox p select
{
margin-bottom:10px ! important;
}
.umbModalBox p{font-size: 11px !Important}
#skins ul{list-style: none; padding: 0px; display: block; clear: both; height: 200px;}
#skins ul li{margin-right: 12px; float: left; border: 1px solid #efefef; padding: 5px; width: 120px; text-align: center; font-weight: normal;}
/*****************************************************************
Umbraco UI Components
/****************************************************************/
.propertypane {
position: relative;
display: block;
line-height: 1.1;
background: #fff url('/umbraco_client/propertypane/images/propertyBackground.gif') top repeat-x !Important;
background-image:url(/umbraco_client/propertypane/images/propertyBackground.gif) !Important;
padding: 5px;
margin:7px 0px 0px 0px;
border: 1px solid #d9d7d7;
text-align:left;
clear: both;
float: none;
color: black;
font-size: 11px !Important;
}
.propertypane th
{
vertical-align: top;
text-align:left;
font-weight:bold;
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
font-size:12px;
width: 16%;
}
.propertypane,.propertypane td
{
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
font-size:12px;
}
.propertypane small
{
font-weight: normal;
color: #666;
}
.propertypane div.propertyItem{
padding-bottom: 5px;
clear: both;
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
font-size:12px;
}
.propertypane div.propertyItem .propertyItemheader{
width: 16%;
padding-right: 1%;
padding-bottom: 10px;
float: left;
clear: left;
font-weight:bold;
}
.propertypane div.propertyItem .propertyItemContent{
float: left;
padding-bottom: 5px;
clear: right;
}
h2.propertypaneTitel{font-size: 14px; color: #999;margin: 7px 0px 0px 0px; padding-bottom: 0px; line-height: 14px;}
div.propertyPaneFooter{clear: both; height: 1px; overflow: hidden; color: #fff;}
#LiveEditingToolbar .ModuleSelector
{
background-color:#FFF !important;
position:absolute;
top:36px;
left:270px;
color:#000;
border-left:5px solid #A3A3A3;
border-right:5px solid #A3A3A3;
border-bottom:5px solid #A3A3A3;
z-index:100;
}
#LiveEditingToolbar #moduleSelectorContainer
{
padding:10px;
}
.umbModuleContainerSelector
{
cursor:pointer;
}
p#installingModule img
{
float:none;
margin:0;
padding:0;
}
#LiveEditingToolbar #modules ul
{
list-style-type:none;
margin-left:0px;
margin-right:0px;
}
#LiveEditingToolbar #modules ul li
{
display:block;
padding-bottom:5px;
padding-top:5px;
border-bottom:1px solid #c3c3c3;
}
#LiveEditingToolbar .umbLabelButton a, #LiveEditingToolbar .umbLabelButton a:hover
{
color:Black !important;
}
.umbModalBox a, .umbModalBox a:hover
{
color:#888 !important;
}
/* skin customize dialog */
#costumizeSkin #dependencies .propertypane
{
height:205px;
overflow:scroll;
overflow-x: hidden;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1009 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,5 +0,0 @@
/********************* Live Editing CreateModule functions *********************/
function CreateModuleOk()
{
UmbracoCommunicator.SendClientMessage('createcontent', '');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -1,5 +0,0 @@
/********************* Live Editing DeleteModule functions *********************/
function DeleteModuleOk()
{
UmbracoCommunicator.SendClientMessage('deletecontent', '');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -1,341 +0,0 @@
// Umbraco Live Editing - ItemEditing: Item Editing
var ItemEditing = null;
Type.registerNamespace("umbraco.presentation.LiveEditing");
/************************ ItemEditing class ************************/
// Creates a new instance of the ItemEditing class.
umbraco.presentation.LiveEditing.ItemEditing = function() {
umbraco.presentation.LiveEditing.ItemEditing.initializeBase(this);
this._inited = false;
this._items = new Array();
this._activeItem = null;
this._editControl = null;
this._submitControl = null;
var _this = this;
Sys.Debug.trace("Constructor, before init load");
if (!this._inited) {
_this.init();
}
Sys.Application.add_load(function() {
_this.init();
});
Sys.Debug.trace("Constructor, after init load");
}
umbraco.presentation.LiveEditing.ItemEditing.prototype = {
// Initializes this instance.
init: function() {
Sys.Debug.trace("In init...");
if (!this._inited) {
this._inited = true;
Sys.Debug.trace("Live Editing - ItemEditing: Initialization.");
Sys.Debug.assert(typeof (jQuery) == 'function', "jQuery is not loaded.");
this.itemsEnable();
var _this = this;
LiveEditingToolbar.add_save(function(sender, args) { _this.delaySaveWhenEditing(args, "save"); });
LiveEditingToolbar.add_saveAndPublish(function(sender, args) { _this.delaySaveWhenEditing(args, "saveAndPublish"); });
this._inited = true;
Sys.Debug.trace("Live Editing - ItemEditing: Ready.");
}
else {
this.updateItems();
this.updateControls();
}
},
// Starts Live Editing the specified item.
// This method is triggered by the server.
startEdit: function(itemId) {
Sys.Debug.trace("Live Editing - ItemEditing: Start editing of Item " + itemId + ".");
this._activeItem = this._items[itemId];
Sys.Debug.assert(this._activeItem != null, "Live Editing - ItemEditing: Could not find item with ID " + itemId + ".");
this._editControl = this.getElementsByTagName("umbraco:control");
Sys.Debug.assert(this._editControl.length > 0, "Live Editing - ItemEditing: Could not find the editor control.");
//this._activeItem.jItem.fadeIn();
this.moveChildControls(this._editControl, this._activeItem.jItem);
// Only elements that are currently present, can cause item editing to stop.
// This enables transparent use of dynamically created elements (such as context/dropdown menus)
// as clicks on those elements will not trigger the stop edit signal.
jQuery("*").each(function () { jQuery(this).data("canStopEditing", true); });
// raise event
var handler = this.get_events().getHandler("startEdit");
if (handler)
handler(this, Sys.EventArgs.Empty);
this.ignoreChildClicks(this._activeItem.jItem);
LiveEditingToolbar.setDirty(true);
},
// Stops the editing of a specified item, and raises the stopEdit event.
stopEdit: function() {
if (this._activeItem != null) {
Sys.Debug.trace("Live Editing - ItemEditing: Stop editing of " + this._activeItem.toString() + ".");
// raise event
var handler = this.get_events().getHandler("stopEdit");
if (handler)
handler(this, Sys.EventArgs.Empty);
// submit changes
Sys.Debug.assert(this._submitControl != null, "Live Editing - ItemEditing: Submit button not set.");
this._submitControl.click();
// hide control
//this._activeItem.jItem.fadeOut();
this._activeItem = null;
this._submitControl = null;
this._editControl = null;
}
},
// Adds an event handler to the startEdit event.
add_startEdit: function(handler) {
this.get_events().addHandler("startEdit", handler);
},
// Removes an event handler from the startEdit event.
remove_startEdit: function(handler) {
this.get_events().removeHandler("startEdit", handler);
},
// Adds an event handler to the stopEdit event.
add_stopEdit: function(handler) {
this.get_events().addHandler("stopEdit", handler);
},
// Removes an event handler from the stopEdit event.
remove_stopEdit: function(handler) {
this.get_events().removeHandler("stopEdit", handler);
},
// Cancels the save method when an item is active, and postpones it to the next postback.
delaySaveWhenEditing: function(args, type) {
if (this._activeItem != null) {
this.stopEdit();
args.cancel = true;
(function() {
var f = function() {
Sys.Application.remove_load(f);
setTimeout(function() {
Sys.Debug.trace("Live Editing - Delayed Saving Changes to server");
UmbracoCommunicator.SendClientMessage(type, "");
}, 100);
}
Sys.Application.add_load(f);
})();
}
else {
Sys.Debug.trace("Live Editing - Saving Changes to server");
if (!Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack()) {
UmbracoCommunicator.SendClientMessage(type, "");
}
else {
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function() {
UmbracoCommunicator.SendClientMessage(type, "");
});
}
}
},
// Enables Live Editing of items.
itemsEnable: function() {
var items = this.getElementsByTagName("umbraco:iteminfo");
Sys.Debug.trace(" Found " + items.length + " editable Umbraco item(s).");
// enhance items with edit functionality
var _this = this;
var i = 0;
items.each(function() {
var item = new umbraco.presentation.LiveEditing.activeItem(jQuery(this));
_this._items[item.itemId] = item;
Sys.Debug.trace(" " + (++i) + ". " + item.toString() + " is Live Editing enabled.");
});
// disable hyperlinks to make them clickable for Live Editing
this.disableHyperlinks();
// add "stop editing" handler when clicking outside the item
var _this = this;
jQuery(document).mousedown(function(event) {
Sys.Debug.trace("DOCUMENT CLICKED");
// the canStopEditing property is set in startEdit
if (_this._activeItem != null && jQuery(event.target).data("canStopEditing")) {
if (!_this._activeItem.clicked)
_this.stopEdit();
else
_this._activeItem.clicked = false;
}
});
jQuery("#LiveEditingToolbar").mousedown(function() {
Sys.Debug.trace("TOOLBAR CLICKED");
if (_this._activeItem != null)
_this._activeItem.clicked = true;
});
},
// Update items that have changed.
updateItems: function() {
var itemUpdates = this.getElementsByTagName("umbraco:itemupdate");
Sys.Debug.trace("Live Editing - ItemEditing: " + itemUpdates.length + " item update(s).");
var _this = this;
itemUpdates.each(function() {
var itemUpdate = jQuery(this);
var itemId = itemUpdate.attr("itemId");
var item = _this._items[itemId];
if (item != null) {
Sys.Debug.trace(" Updating " + item.toString() + ".");
// remove old children and add updates ones
_this.moveChildControls(itemUpdate, item.jItem);
//item.jItem.fadeIn();
// disable hyperlinks to make them clickable for Live Editing
_this.disableHyperlinks();
}
else {
itemUpdate.html("");
}
});
},
// Update controls that have changed.
updateControls: function() {
Sys.Debug.trace("Live Editing - ItemEditing: In updatecontrols");
var controlUpdates = this.getElementsByTagName("umbraco:control");
Sys.Debug.trace("Live Editing - ItemEditing: " + controlUpdates.length + " control update(s).");
if (controlUpdates.length == 1) {
if (this._activeItem != null && controlUpdates.children().length > 0) {
Sys.Debug.trace("Live Editing - ItemEditing: updating edit control.");
this.moveChildControls(controlUpdates, this._activeItem.jItem);
this.ignoreChildClicks();
}
this._submitControl = controlUpdates.next();
Sys.Debug.assert(this._submitControl.length > 0, "Live Editing - ItemEditing: Submit button not found.");
}
},
// ignores clicks on child elements of the control
ignoreChildClicks: function() {
var _this = this;
this._activeItem.jItem.children().mousedown(function(e) {
_this._activeItem.clicked = true;
});
},
// Moves the child controls from source into destination, overwriting existing elements.
moveChildControls: function(source, dest) {
Sys.Debug.trace("Live Editing - Moving Child Controls");
//remove contents in the destination
dest.html("");
//add the source to the destination
dest.append(source.html());
//remove teh contents from the source
source.html("");
},
// Gets a list of elements with the specified tagname including namespaced ones
getElementsByTagName: function(tagname) {
var found = jQuery("body").find("*").filter(function(index) {
if (this.nodeType != 3) {
var nn = this.nodeName.toLowerCase();
var ftn = tagname.toLowerCase();
var ln = (ftn.indexOf(":") > 0 ? ftn.substr(ftn.indexOf(":") + 1) : ftn);
return (nn == ftn
|| (typeof this.scopeName != "undefined" && nn == ln && this.scopeName.toLowerCase() == ftn.substr(0, ftn.indexOf(":"))));
}
return false;
});
Sys.Debug.trace("found " + found.length + " elements with selector: " + tagname);
return found;
},
// Disables hyperlinks inside the specified element.
disableHyperlinks: function() {
jQuery("a").click(function() {
return false;
});
}
}
umbraco.presentation.LiveEditing.ItemEditing.registerClass("umbraco.presentation.LiveEditing.ItemEditing", Sys.Component);
//an object to store the information for the active item
umbraco.presentation.LiveEditing.activeItem = function(item) {
//error checking
if (item != null && item.length != 1) {
return null;
}
//create the object with values, wire up events and return it
var obj = {
jItem: item,
nodeId: item.attr("nodeId"),
fieldName: item.attr("name"),
itemId: item.attr("itemId"),
clicked: false,
toString: function() {
return "Item " + this.itemId + " (node " + this.nodeId + ": " + this.fieldName + ")";
},
// Activates an item for editing.
activate: function() {
ItemEditing._items[this.itemId] = this;
if (this != ItemEditing._activeItem) {
Sys.Debug.trace("Live Editing - ItemEditing: " + this.toString() + " was activated.");
if (!Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack()) {
UmbracoCommunicator.SendClientMessage("edititem", this.itemId);
}
else {
var itemId = this.itemId;
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function() {
if (itemId != 0) {
UmbracoCommunicator.SendClientMessage("edititem", itemId);
itemId = 0;
}
});
}
//this.jItem.fadeOut();
}
},
// Item click handler.
onClick: function(e) {
if (ItemEditing._activeItem != null && ItemEditing._activeItem.itemId == this.itemId) {
Sys.Debug.trace("Live Editing - ItemEditing: " + this.toString() + " click ignored because it is already active.");
}
else {
Sys.Debug.trace("Live Editing - ItemEditing: " + this.toString() + " was clicked.");
e.stopPropagation(); // disable click event propagation to parent elements
this.activate();
}
}
}
//keep the scope on the click event method call
obj.jItem.click(function(e) {
obj.onClick.call(obj, e);
});
return obj;
}
// global instance of the ItemEditing class
function initializeGlobalItemEditing() {
ItemEditing = new umbraco.presentation.LiveEditing.ItemEditing();
}

View File

@@ -1,3 +0,0 @@
//this is simply used for live editing in order to invoke a method from a previously lazy loaded script;
//alert("ItemEditingInvoke: " + initializeGlobalItemEditing);
initializeGlobalItemEditing();

View File

@@ -1,21 +0,0 @@
/********************* Live Editing MacroModule functions *********************/
function MacroOnDrop( sender, e )
{
var container = e.get_container();
var item = e.get_droppedItem();
var position = e.get_position();
//alert( String.format( "Container: {0}, Item: {1}, Position: {2}", container.id, item.id, position ) );
var instanceId = parseInt(item.getAttribute("InstanceId"));
var columnNo = parseInt(container.getAttribute("columnNo"));
var row = position;
}
function okAddMacro(sender, e)
{
$find('ModalMacro').hide();
/*__doPostBack('AddMacro', e); */
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -1,130 +0,0 @@
var umbModuleToInsertAlias;
function umbMakeModulesSortable() {
if (jQuery('.umbModuleContainer').length > 0) {
jQuery('.umbModuleContainer').sortable({
connectWith: '.umbModuleContainer',
items: '.umbModule',
stop: function (event, ui) {
UmbracoCommunicator.SendClientMessage("movemodule", ui.item.attr('id') + ";" + ui.item.parent().attr('id') + ";" + jQuery('.umbModule', ui.item.parent()).index(ui.item));
}
});
}
}
function umbSelectModule(alias,sender) {
jQuery('#modules').hide();
jQuery('#moduleSelect').show();
umbShowModuleContainerSelectors(jQuery('span', sender).html());
umbModuleToInsertAlias = alias;
jQuery('.selectedModule').html(jQuery('span',sender).html());
}
function umbInstallModuleAndGetAlias(guid,name,sender) {
jQuery('#modules').hide();
jQuery('.selectedModule').html(name);
jQuery("#installingModule").show();
jQuery.post(umbCurrentUmbracoDir + "/LiveEditing/Modules/SkinModule/ModuleInstaller.aspx?guid=" + guid + "&name=" + name,
function (data) {
if (data == "error") {
}
else {
jQuery("#installingModule").hide();
jQuery('#moduleSelect').show();
umbShowModuleContainerSelectors(jQuery('span', sender).html());
umbModuleToInsertAlias = data;
jQuery(sender).attr("onclick", "");
jQuery(sender).click(function () {
umbSelectModule(data, this);
return false;
});
}
});
}
function umbShowModuleSelection() {
umbRemoveModuleContainerSelectors();
jQuery("#moduleSelect").hide();
jQuery("#modules").show();
jQuery(".ModuleSelector").show();
}
function umbShowModuleContainerSelectors(moduleName) {
jQuery(".umbModuleContainer").each(function () {
if (jQuery(this).children().size() > 0) {
jQuery(this).prepend("<div class='umbModuleContainerSelector' rel='prepend'>Insert module here</div>");
}
jQuery(this).append("<div class='umbModuleContainerSelector' rel='append'>Insert module here</div>");
});
jQuery(".umbModuleContainerSelector").click(function () {
jQuery(".ModuleSelector").hide();
Umbraco.Controls.ModalWindow().open(umbCurrentUmbracoDir + '/LiveEditing/Modules/SkinModule/ModuleInjector.aspx?macroAlias=' + umbModuleToInsertAlias + '&target=' + jQuery(this).parent().attr('id') + "&type=" + jQuery(this).attr('rel'), 'Insert ' + moduleName + ' module', true, 550, 550, 50, 0, ['.modalbuton'], null);
});
}
function umbRemoveModuleContainerSelectors() {
jQuery(".umbModuleContainerSelector").remove();
}
function umbInsertModule(container,macro,type) {
umbRemoveModuleContainerSelectors();
var working = "<div class='umbModuleContainerPlaceHolder'><img src='" + umbCurrentUmbracoDir + "/LiveEditing/Modules/SkinModule/images/loader.gif' />Inserting module...</div>";
if (type == "append") {
jQuery("#" + container).append(working);
} else {
jQuery("#" + container).prepend(working);
}
var moduleguid = guid();
UmbracoCommunicator.SendClientMessage("injectmodule", container + ";" + "<div id='"+ moduleguid +"' class='umbModule'>" + macro + "</div>;" + type);
//need to lose these replace calls
jQuery.post(umbCurrentUmbracoDir + "/LiveEditing/Modules/SkinModule/ModuleInjectionMacroRenderer.aspx?tag=" + macro.replace('>', '').replace('<', '').replace('</umbraco:Macro>', '') + "&umbPageID=" + umbCurrentPageId,
function (data) {
jQuery(".umbModuleContainerPlaceHolder").html("<div id='" + moduleguid + "' class='umbModule'>" + data + "</div>;");
UmbSpeechBubble.ShowMessage("Info", "Module", "Module inserted");
});
}
function S4() {
return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
}
function guid() {
return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4());
}
//startup stuff
umbMakeModulesSortable();

View File

@@ -1,8 +0,0 @@
jQuery('.selectskin').click(function () {
jQuery('#skinupdateinprogress').show();
jQuery('#skins').hide();
jQuery('#localSkinsContainer').hide();
});

View File

@@ -1,22 +0,0 @@
var activecolorpicker;
jQuery('input.skinningcolorpicker').ColorPicker({
onSubmit: function (hsb, hex, rgb, el) {
jQuery(el).val('#' + hex);
jQuery(el).ColorPickerHide();
jQuery(el).trigger('change');
},
onBeforeShow: function () {
activecolorpicker = this;
jQuery(this).ColorPickerSetColor(this.value);
},
onChange: function (hsb, hex, rgb) {
jQuery(activecolorpicker).val('#' + hex);
jQuery(activecolorpicker).trigger('change');
}
})
.bind('keyup', function () {
jQuery(this).ColorPickerSetColor(this.value);
});

View File

@@ -1,19 +0,0 @@
jQuery(".skinningslider").each(function () {
var vals = jQuery(this).attr("rel").split(",");
var minimum = vals[0];
var maximum = vals[1];
var initial = vals[2];
var ratio = vals[3]
var target = vals[4];
jQuery(this).slider({
change: function (event, ui) { if (ratio != "") { jQuery("#" + target).val(ui.value / ratio); } else { jQuery("#" + target).val(ui.value); } jQuery("#" + target).trigger("change"); },
slide: function (event, ui) { if (ratio != "") { jQuery("#" + target).val(ui.value / ratio); } else { jQuery("#" + target).val(ui.value); } jQuery("#" + target).trigger("change"); },
min: minimum,
max: maximum,
value: initial
});
});

View File

@@ -1,5 +0,0 @@
/********************* Live Editing UnpublishModule functions *********************/
function UnpublishModuleOk()
{
UmbracoCommunicator.SendClientMessage('unpublishcontent', '');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -1,103 +0,0 @@
(function ($) {
$.fn.UmbQuickSearch = function (url) {
var getSearchApp = function () {
if (UmbClientMgr.mainWindow().location.hash != "") {
switch (UmbClientMgr.mainWindow().location.hash.toLowerCase().substring(1).toLowerCase()) {
case "media":
return "Media";
break;
case "content":
return "Content";
break;
case "member":
return "Member";
break;
default:
return "Content";
}
}
return "Content";
/* return (UmbClientMgr.mainWindow().location.hash != ""
&& UmbClientMgr.mainWindow().location.hash.toLowerCase().substring(1)) == "media".toLowerCase()
? "Media"
: "Content"; */
};
var acOptions = {
minChars: 2,
max: 100,
cacheLength: 1,
dataType: 'json',
matchCase: true,
matchContains: false,
extraParams: {
//return the current app, if it's not media, then it's Content as this is the only searches that are supported.
app: function () {
return getSearchApp();
},
rnd: function () {
return Umbraco.Utils.generateRandom();
}
},
parse: function (data) {
var parsed = [];
for (var i = 0; i < data.length; i++) {
parsed[parsed.length] = {
data: data[i],
value: data[i].Id,
result: data[i].Fields.nodeName
};
}
return parsed;
},
formatItem: function (item) {
return item.Fields.nodeName + " <span class='nodeId'>(" + item.Id + ")</span>";
}
};
$(this)
.autocomplete(url, acOptions)
.result(function (e, data) {
var url = "";
switch (getSearchApp()) {
case "Media":
url = "editMedia.aspx";
break;
case "Content":
url = "editContent.aspx";
break;
case "Member":
url = "members/editMember.aspx";
break;
default:
url = "editContent.aspx";
}
UmbClientMgr.contentFrame().location.href = url + "?id=" + data.Id;
$("#umbSearchField").val(UmbClientMgr.uiKeys()["general_typeToSearch"]);
right.focus();
});
$(this).focus(function () {
$(this).val('');
});
$(this).blur(function () {
$(this).val(UmbClientMgr.uiKeys()["general_typeToSearch"]);
});
$(this).keyup(function (e) {
if (e.keyCode == 13) {
UmbClientMgr.openModalWindow('dialogs/search.aspx?rndo=' + Umbraco.Utils.generateRandom() + '&search=' + jQuery(this).val() + '&app=' + getSearchApp(), 'Search', true, 620, 470);
return false;
}
});
}
})(jQuery);

View File

@@ -1,133 +0,0 @@
/// <reference path="/umbraco_client/Application/NamespaceManager.js" />
/// <reference path="/umbraco_client/ui/jquery.js" />
Umbraco.Sys.registerNamespace("Umbraco.Controls");
(function($) {
//jQuery plugin for Umbraco image viewer control
$.fn.UmbracoImageViewer = function(opts) {
//all options must be specified
var conf = $.extend({
style: false,
linkTarget: "_blank",
umbPath: ""
}, opts);
return this.each(function() {
new Umbraco.Controls.ImageViewer().init($(this), conf);
});
}
$.fn.UmbracoImageViewerAPI = function() {
/// <summary>exposes the Umbraco Image Viewer api for the selected object</summary>
//if there's more than item in the selector, throw exception
if ($(this).length != 1) {
throw "UmbracoImageViewerAPI selector requires that there be exactly one control selected";
};
return Umbraco.Controls.ImageViewer.inst[$(this).attr("id")] || null;
};
Umbraco.Controls.ImageViewer = function() {
return {
_cntr: ++Umbraco.Controls.ImageViewer.cntr,
_containerId: null,
_context: null,
_serviceUrl: "",
_umbPath: "",
_style: false,
_linkTarget: "",
init: function(jItem, opts) {
//this is stored so that we search the current document/iframe for this object
//when calling _getContainer. Before this was not required but for some reason inside the
//TinyMCE popup, when doing an ajax call, the context is lost to the jquery item!
this._context = jItem.get(0).ownerDocument;
//store a reference to this api by the id and the counter
Umbraco.Controls.ImageViewer.inst[this._cntr] = this;
if (!jItem.attr("id")) jItem.attr("id", "UmbImageViewer_" + this._cntr);
Umbraco.Controls.ImageViewer.inst[jItem.attr("id")] = Umbraco.Controls.ImageViewer.inst[this._cntr];
this._containerId = jItem.attr("id");
this._umbPath = opts.umbPath;
this._serviceUrl = this._umbPath + "/controls/Images/ImageViewerUpdater.asmx";
this._style = opts.style;
this._linkTarget = opts.linkTarget;
},
updateImage: function(mediaId, callback) {
/// <summary>Updates the image to show the mediaId parameter using AJAX</summary>
this._showThrobber();
var _this = this;
$.ajax({
type: "POST",
url: _this._serviceUrl + "/UpdateImage",
data: '{ "mediaId": ' + parseInt(mediaId) + ', "style": "' + _this._style + '", "linkTarget": "' + _this._linkTarget + '"}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(msg) {
var rHtml = $("<div>").append(msg.d.html); //get the full html response wrapped in temp div
_this._updateImageFromAjax(rHtml);
if (typeof callback == "function") {
//build the parameters to pass back to the callback method
var params = {
hasImage: _this._getContainer().find("img.noimage").length == 0,
mediaId: msg.d.mediaId,
width: msg.d.width,
height: msg.d.height,
url: msg.d.url,
alt: msg.d.alt
};
//call the callback method
callback.call(_this, params);
}
}
});
},
showImage: function(path) {
/// <summary>This will force the image to show the path passed in </summary>
if (this._style != "ThumbnailPreview") {
this._getContainer().find("img").attr("src", path);
}
else {
c = this._getContainer().find(".bgImage");
c.css("background-image", "url('" + path + "')");
}
},
_getContainer: function() {
return $("#" + this._containerId, this._context);
},
_updateImageFromAjax: function(rHtml) {
this._getContainer().html(rHtml.find(".imageViewer").html()); //replace the html with the inner html of the image viewer response
},
_showThrobber: function() {
var c = null;
if (this._style != "ThumbnailPreview") {
c = this._getContainer().find("img");
c.attr("src", this._umbPath + "/images/throbber.gif");
c.css("margin-top", ((c.height() - 15) / 2) + "px");
c.css("margin-left", ((c.width() - 15) / 2) + "px");
}
else {
c = this._getContainer().find(".bgImage");
c.css("background-image", "");
c.html("<img id='throbber'/>");
var img = c.find("img");
img.attr("src", this._umbPath + "/images/throbber.gif");
img.css("margin-top", "45px");
img.css("margin-left", "45px");
}
}
}
}
// instance manager
Umbraco.Controls.ImageViewer.cntr = 0;
Umbraco.Controls.ImageViewer.inst = {};
})(jQuery);

View File

@@ -1,52 +0,0 @@
/// <reference path="/umbraco_client/Application/NamespaceManager.js" />
Umbraco.Sys.registerNamespace("Umbraco.Controls");
(function($) {
Umbraco.Controls.UploadMediaImage = function(txtBoxTitleID, btnID, uploadFileID) {
return {
_txtBoxTitleID: txtBoxTitleID,
_btnID: btnID,
_uplaodFileID: uploadFileID,
validateImage: function() {
// Disable save button
var imageTypes = ",jpeg,jpg,gif,bmp,png,tiff,tif,";
var tb_title = document.getElementById(this._txtBoxTitleID);
var bt_submit = $("#" + this._btnID);
var tb_image = document.getElementById(this._uplaodFileID);
bt_submit.attr("disabled","disabled").css("color", "gray");
var imageName = tb_image.value;
if (imageName.length > 0) {
var extension = imageName.substring(imageName.lastIndexOf(".") + 1, imageName.length);
if (imageTypes.indexOf(',' + extension.toLowerCase() + ',') > -1) {
bt_submit.removeAttr("disabled").css("color", "#000");
if (tb_title.value == "") {
var curName = imageName.substring(imageName.lastIndexOf("\\") + 1, imageName.length).replace("." + extension, "");
var curNameLength = curName.length;
var friendlyName = "";
for (var i = 0; i < curNameLength; i++) {
currentChar = curName.substring(i, i + 1);
if (friendlyName.length == 0)
currentChar = currentChar.toUpperCase();
if (i < curNameLength - 1 && friendlyName != '' && curName.substring(i - 1, i) == ' ')
currentChar = currentChar.toUpperCase();
else if (currentChar != " " && i < curNameLength - 1 && friendlyName != ''
&& curName.substring(i-1, i).toUpperCase() != curName.substring(i-1, i)
&& currentChar.toUpperCase() == currentChar)
friendlyName += " ";
friendlyName += currentChar;
}
tb_title.value = friendlyName;
}
}
}
}
};
}
})(jQuery);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 B

View File

@@ -1,43 +0,0 @@
#treeContainer
{
float: left;
width: 45%;
}
#permissionsPanel
{
display: none;
float: right;
height: auto !important;
min-height: 300px;
height: 300px;
width: 48%;
border-left: 1px solid #D9D7D7;
margin-left: 20px;
padding-left: 20px;
position: relative;
z-index: 100;
}
#nodepermissionsList
{
list-style: none;
}
#nodepermissionsList li
{
background-color:white;
}
/* new clearfix */
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 B

View File

@@ -1,14 +0,0 @@
.umbEditItem:hover {
border: 1px dotted orange;
padding: 5px;
}
.umbLiveEditingToggleButton
{
display: none;
}
.umbLiveEditingCancelButton
{
margin-left: 10px;
}

View File

@@ -1,455 +0,0 @@
html, body
{
width: 100%;
height: 100%;
padding: 0px;
margin: 0px;
border: none;
overflow: hidden;
}
body
{
outline: none;
padding: 0px;
margin: 0px;
background: #fff url(../../umbraco_client/images/progressbar.gif) center 300px no-repeat;
overflow: auto;
font-size: 11px;
}
#appLoading
{
background: #fff url(../../umbraco_client/images/progressbar.gif) center center no-repeat;
overflow: auto;
width: 300px;
height: 100px;
}
/*TOP*/
.topBar
{
padding: 10px 0px 10px 10px;
margin-bottom: 3px;
height: 22px;
background: url(../images/topGradient.gif) repeat-x top;
}
.topBarButtons
{
float: right;
padding-right: 10px;
}
.topBarButtons button, button.topBarButton
{
height: 26px;
margin-top: -1px;
padding: 3px;
margin-left: 10px;
vertical-align: middle;
font-size: 9px;
}
.topBarButtons button span, button.topBarButton span
{
font-size: 9px;
vertical-align: middle;
}
.topBarButtons button img, button.topBarButton img
{
margin-right: 5px;
vertical-align: middle;
}
#buttonCreate
{
margin-left: 0px;
}
/* MAIN UI AREA */
#treeWindow_content
{
padding-top: 5px;
padding-right: 0px;
}
#PlaceHolderAppIcons_content
{
overflow: auto;
}
#control_overlay
{
background-color: #000;
}
#treeToggle
{
display: none;
position: absolute;
top: 45px;
left: 2px;
width: 7px;
height: 120px;
background: url(../images/toggleTreeOff.png) no-repeat center center;
outline: none;
text-decoration: none;
overflow: hidden;
}
#treeToggle:hover
{
background-color: #F4F5F4;
}
#treeToggle.on
{
background-image: url(../images/toggleTreeOn.png) !important;
}
#leftDIV
{
width: 20%;
position: absolute;
top: 0px;
left: 0px;
}
#rightDIV
{
width: 70%;
position: absolute;
top: 0px;
right: 0px;
}
#uiArea
{
position: relative;
margin: 0px 10px 0px 10px;
display: none;
}
#defaultSpeechbubble
{
z-index: 10;
display: none;
width: 231px;
position: absolute;
right: 30px;
bottom: 20px;
margin: 0px;
padding: 0;
}
.speechClose
{
float: right;
width: 18px;
height: 18px;
margin-right: 18px;
display: none;
}
.speechBubbleTop
{
background: url('../images/speechbubble/speechbubble_top.png') no-repeat;
width: 235px;
height: 6px;
margin: 0px 0px 0px 3px;
padding: 0;
}
.speechBubbleContent
{
background: url('../images/speechbubble/speechbubble_body.png') no-repeat;
width: 235px;
margin: 0;
padding: 5px 20px 5px 10px;
}
.speechBubbleBottom
{
background: url('../images/speechbubble/speechbubble_bottom.png') no-repeat;
width: 235px;
height: 30px;
margin: 0px 0px 0px 1px;
padding: 0;
}
.speechBubbleContent h3
{
font-size: 14px;
font-weight: bold;
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
margin: 0;
padding: 0;
display: block;
width: 220px;
}
.speechBubbleContent p
{
font-size: 11px;
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
margin: 0;
width: 180px;
}
#tray
{
margin: 0px;
padding: 7px 0;
}
#tray li
{
list-style-type: none;
font-size: 37px;
width: 49px;
height: 36px;
display: block;
float: left;
padding: 0;
margin: 0;
padding-bottom: 7px;
}
#tray li a
{
background-image: url('../images/tray/traySprites.png');
background-repeat: no-repeat;
text-decoration: none;
padding: 0;
margin: 0;
color: #fff;
font-size: 1px;
width: 49px;
height: 36px;
display: block;
}
.trayHolder, .trayIcon
{
border: 0px;
width: 49px;
height: 36px;
}
/* tray sprites */
.traycontent
{
background-position: -18px -18px;
}
.traymedia
{
background-position: -18px -90px;
}
.trayusers
{
background-position: -18px -162px;
}
.traysettings
{
background-position: -18px -234px;
}
.traydeveloper
{
background-position: -18px -306px;
}
.traymember
{
background-position: -18px -378px;
}
.traystats
{
background-position: -18px -450px;
}
.traytranslation
{
background-position: -18px -522px;
}
/* end tray sprites */
a
{
color: Black;
}
a:hover
{
text-decoration: underline;
}
img
{
border: none;
}
/* AUTOCOMPLETE */
.umbracoSearchHolder #umbSearchField
{
width: 250px;
color: #999;
padding: 2px;
}
.ac_results
{
padding: 3px;
border: 1px solid #979797;
background-color: #f0f0f0;
border-top: none;
overflow: hidden;
z-index: 99999;
}
.ac_results ul
{
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
}
.ac_results li
{
display: block;
padding: 2px;
padding-left: 5px; /* it is very important, if line-height not setted or setted in relative units scroll will be broken in firefox */
line-height: 20px;
overflow: hidden;
font-family: Arial,Lucida Grande;
font-size: 11px;
height: 20px;
color: #1a1818;
cursor: pointer;
}
.ac_results .ac_odd
{
}
.ac_results .ac_over
{
background-color: #D5EFFC;
border: 1px solid #a8d8eb;
padding: 1px !important;
padding-left: 4px !important;
}
.ac_results span.nodeId
{
font-size: smaller;
}
.ac_loading
{
background-image: url('../images/throbber.gif');
background-position: right;
background-repeat: no-repeat;
}
.error, .notice, .success
{
padding: .8em;
padding-top: 0em;
padding-bottom: 0em;
margin-bottom: .5em;
border: 2px solid #ddd;
}
.error
{
background: #FBE3E4;
color: #8a1f11;
border-color: #FBC2C4;
}
.notice
{
background: #FFF6BF;
color: #514721;
border-color: #FFD324;
}
.success
{
background: #E6EFC2;
color: #264409;
border-color: #C6D880;
}
.error a
{
color: #8a1f11;
}
.notice a
{
color: #514721;
}
.success a
{
color: #264409;
}
.errormessage
{
color: #8a1f11;
}
p
{
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
font-size: 11px;
}
h3
{
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
font-size: 14px;
}
/* Renew session modal */
#fullmodal-overlay
{
background:#000;
}
#logout-refresh
{
background:#fff url(../images/umbracosplash.png) no-repeat 50% 0%;
background-color: #fff;
border: 5px solid #a3a3a3;
padding:65px 10px 10px 10px;
width:230px;
height:135px;
}
#logout-refresh p
{
margin:0 0 10px 0;
text-align:center;
font-size:2em;
font-weight:bold;
color:#666;
}
#sessionrefreshpassword label
{
position:absolute;
color:#ccc;
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
font-size:13px;
padding:5px;
}
#sessionrefreshpassword input
{
width:220px;
padding:5px;
font-size:13px;
background:none;
border:1px solid #999;
}
#sessionrefreshbuttons
{
margin-top:10px;
text-align:center;
font-size: 11px;
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
}
#sessionrefreshbuttons a
{
color:blue;
}
#sessionrefreshbuttons button
{
font-size: 13px;
color:#333;
font-family: Trebuchet MS, Lucida Grande, verdana, arial;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -1 +0,0 @@
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3.X=a(h){h=3.J({v:D,C:D,u:D},h);k(h.v){$.W({t:\'V\',v:h.v,C:h.C,U:\'4\',u:a(4){d f=j B(4);k(3.T(h.u))h.u(f)}})}};a B(4){k(4)2.K(4)};B.r={t:\'\',l:\'\',c:\'\',b:\'\',g:\'\',K:a(4){k(3(\'8\',4).y==1){2.t=\'x\';d s=j z(4)}H k(3(\'f\',4).y==1){2.t=\'S\';d s=j A(4)}k(s)3.J(2,s)}};a o(){};o.r={c:\'\',b:\'\',g:\'\',i:\'\',n:\'\'};a A(4){2.q(4)};A.r={q:a(4){d 8=3(\'f\',4).9(0);2.l=\'1.0\';2.c=3(8).5(\'c:e\').6();2.b=3(8).5(\'b:e\').p(\'I\');2.g=3(8).5(\'R:e\').6();2.w=3(8).p(\'4:Q\');2.i=3(8).5(\'i:e\').6();2.m=j G();d f=2;3(\'P\',4).F(a(){d 7=j o();7.c=3(2).5(\'c\').9(0).6();7.b=3(2).5(\'b\').9(0).p(\'I\');7.g=3(2).5(\'O\').9(0).6();7.i=3(2).5(\'i\').9(0).6();7.n=3(2).5(\'n\').9(0).6();f.m.E(7)})}};a z(4){2.q(4)};z.r={q:a(4){k(3(\'x\',4).y==0)2.l=\'1.0\';H 2.l=3(\'x\',4).9(0).p(\'l\');d 8=3(\'8\',4).9(0);2.c=3(8).5(\'c:e\').6();2.b=3(8).5(\'b:e\').6();2.g=3(8).5(\'g:e\').6();2.w=3(8).5(\'w:e\').6();2.i=3(8).5(\'N:e\').6();2.m=j G();d f=2;3(\'7\',4).F(a(){d 7=j o();7.c=3(2).5(\'c\').9(0).6();7.b=3(2).5(\'b\').9(0).6();7.g=3(2).5(\'g\').9(0).6();7.i=3(2).5(\'M\').9(0).6();7.n=3(2).5(\'L\').9(0).6();f.m.E(7)})}};',60,60,'||this|jQuery|xml|find|text|item|channel|eq|function|link|title|var|first|feed|description|options|updated|new|if|version|items|id|JFeedItem|attr|_parse|prototype|feedClass|type|success|url|language|rss|length|JRss|JAtom|JFeed|data|null|push|each|Array|else|href|extend|parse|guid|pubDate|lastBuildDate|content|entry|lang|subtitle|atom|isFunction|dataType|GET|ajax|getFeed'.split('|')))

File diff suppressed because one or more lines are too long

View File

@@ -1,13 +0,0 @@
<!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" >
<head>
<title>Repo proxy</title>
</head>
<body>
<script type="text/javascript">
top.right.document.location = window.location.search.substring(1);
</script>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -1,21 +0,0 @@
function actionDeleteRelationType(relationTypeId, relationTypeName) {
if (confirm('Are you sure you want to delete "' + relationTypeName + '"?')) {
$.ajax({
type: "POST",
url: "/umbraco/developer/RelationTypes/RelationTypesWebService.asmx/DeleteRelationType",
data: "{ 'relationTypeId' : '" + relationTypeId + "' }",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
UmbClientMgr.mainTree().refreshTree('relationTypes');
UmbClientMgr.appActions().openDashboard('developer');
},
error: function (data) { }
});
}
}

View File

@@ -1,3 +0,0 @@
function actionNewRelationType() {
UmbClientMgr.openModalWindow('developer/RelationTypes/NewRelationType.aspx', 'Create New RelationType', true, 400, 300, 0, 0);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 897 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 948 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 775 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 B

Some files were not shown because too many files have changed in this diff Show More