2009-06-19 07:39:16 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Web.UI;
|
2009-07-28 16:22:14 +00:00
|
|
|
|
2009-06-19 07:39:16 +00:00
|
|
|
using umbraco.cms.presentation.Trees;
|
2009-08-10 11:14:28 +00:00
|
|
|
using ClientDependency.Core;
|
2009-09-16 15:14:55 +00:00
|
|
|
using umbraco.presentation;
|
|
|
|
|
using ClientDependency.Core.Controls;
|
2009-10-19 13:14:53 +00:00
|
|
|
using umbraco.interfaces;
|
2010-02-08 02:22:42 +00:00
|
|
|
using System.Web.UI.WebControls;
|
|
|
|
|
using System.Web.UI.HtmlControls;
|
|
|
|
|
using umbraco.editorControls.pagepicker;
|
|
|
|
|
using umbraco.uicontrols.TreePicker;
|
2009-06-19 07:39:16 +00:00
|
|
|
namespace umbraco.editorControls
|
|
|
|
|
{
|
2009-10-19 13:14:53 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Summary description for pagePicker.
|
|
|
|
|
/// </summary>
|
2009-06-19 07:39:16 +00:00
|
|
|
[ValidationProperty("Value")]
|
2010-02-08 02:22:42 +00:00
|
|
|
public class pagePicker : BaseTreePickerEditor
|
2009-10-19 13:14:53 +00:00
|
|
|
{
|
2009-06-19 07:39:16 +00:00
|
|
|
|
2010-02-08 02:22:42 +00:00
|
|
|
public pagePicker() : base() { }
|
|
|
|
|
public pagePicker(interfaces.IData data) : base(data) { }
|
|
|
|
|
|
|
|
|
|
public override string TreePickerUrl
|
2009-10-19 13:14:53 +00:00
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
2010-02-08 02:22:42 +00:00
|
|
|
return TreeService.GetPickerUrl("content", "content");
|
2009-10-19 13:14:53 +00:00
|
|
|
}
|
|
|
|
|
}
|
2009-06-19 07:39:16 +00:00
|
|
|
|
2010-02-08 02:22:42 +00:00
|
|
|
public override string ModalWindowTitle
|
2009-10-19 13:14:53 +00:00
|
|
|
{
|
2010-02-08 02:22:42 +00:00
|
|
|
get
|
2009-10-19 13:14:53 +00:00
|
|
|
{
|
2010-02-08 02:22:42 +00:00
|
|
|
return ui.GetText("general", "choose") + " " + ui.GetText("sections", "content");
|
2009-10-19 13:14:53 +00:00
|
|
|
}
|
|
|
|
|
}
|
2010-02-08 02:22:42 +00:00
|
|
|
|
2009-10-19 13:14:53 +00:00
|
|
|
}
|
2009-06-19 07:39:16 +00:00
|
|
|
}
|