Mega Commit: New controls: tree control, pickers of all sorts, image viewer, media uploader. Removed a zillion iframes. New modal window standard framework. Fixes some bugs. ClientDependency & Examine DLL updates. Lots of JS enhancements, libs and more methods added to ClientTools. [TFS Changeset #63838]
43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Web.UI;
|
|
|
|
using umbraco.cms.presentation.Trees;
|
|
using ClientDependency.Core;
|
|
using umbraco.presentation;
|
|
using ClientDependency.Core.Controls;
|
|
using umbraco.interfaces;
|
|
using System.Web.UI.WebControls;
|
|
using System.Web.UI.HtmlControls;
|
|
using umbraco.editorControls.pagepicker;
|
|
using umbraco.uicontrols.TreePicker;
|
|
namespace umbraco.editorControls
|
|
{
|
|
/// <summary>
|
|
/// Summary description for pagePicker.
|
|
/// </summary>
|
|
[ValidationProperty("Value")]
|
|
public class pagePicker : BaseTreePickerEditor
|
|
{
|
|
|
|
public pagePicker() : base() { }
|
|
public pagePicker(interfaces.IData data) : base(data) { }
|
|
|
|
public override string TreePickerUrl
|
|
{
|
|
get
|
|
{
|
|
return TreeService.GetPickerUrl("content", "content");
|
|
}
|
|
}
|
|
|
|
public override string ModalWindowTitle
|
|
{
|
|
get
|
|
{
|
|
return ui.GetText("general", "choose") + " " + ui.GetText("sections", "content");
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|