summaryrefslogtreecommitdiff
path: root/app/php/controls/CalendarScaffold.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/controls/CalendarScaffold.tpl')
-rw-r--r--app/php/controls/CalendarScaffold.tpl81
1 files changed, 0 insertions, 81 deletions
diff --git a/app/php/controls/CalendarScaffold.tpl b/app/php/controls/CalendarScaffold.tpl
deleted file mode 100644
index 6a22bc2..0000000
--- a/app/php/controls/CalendarScaffold.tpl
+++ /dev/null
@@ -1,81 +0,0 @@
-<com:TPanel
- CssClass="calendarScaffold">
- <com:TActiveDataGrid ID="Calendars"
- DataKeyField="UID"
- AutoGenerateColumns="false"
- OnEditCommand="editRow"
- OnCancelCommand="cancelRowEdit"
- OnUpdateCommand="saveRow">
- <com:TActiveBoundColumn ID="Name"
- ReadOnly="true"
- DataField="Name">
- <prop:HeaderText><%[ Calendar ]%></prop:HeaderText>
- </com:TActiveBoundColumn>
- <com:TActiveHyperLinkColumn ID="Website"
- Target="_blank"
- DataNavigateUrlField="Website">
- <prop:HeaderText><%[ WWW ]%></prop:HeaderText>
- <prop:Text><%[ [www] ]%></prop:Text>
- </com:TActiveHyperLinkColumn>
- <com:TActiveHyperLinkColumn ID="Url"
- Target="_blank"
- DataNavigateUrlField="Url">
- <prop:HeaderText><%[ ICS ]%></prop:HeaderText>
- <prop:Text><%[ [ics] ]%></prop:Text>
- </com:TActiveHyperLinkColumn>
- <com:TActiveDropDownListColumn ID="Category"
- DataTextField="Category.Name"
- DataValueField="CategoryID"
- ListValueField="ID"
- ListTextField="Name">
- <prop:HeaderText><%[ Category ]%></prop:HeaderText>
- </com:TActiveDropDownListColumn>
- <com:TActiveTemplateColumn ID="Visible">
- <prop:HeaderText><%[ Default ]%></prop:HeaderText>
- <prop:ItemTemplate>
- <com:TActiveCheckBox
- OnCheckedChanged="SourceTemplateControl.toggleDefaultState"
- CssClass="visibilityToggle">
- <prop:Checked><%# $this->Parent->Data->Visible %></prop:Checked>
- <prop:CustomData><%# $this->Parent->Data->UID %></prop:CustomData>
- </com:TActiveCheckBox>
- </prop:ItemTemplate>
- <prop:EditItemTemplate>
- <com:TCheckBox ID="CheckBox">
- <prop:Checked><%# $this->Parent->Data->Visible %></prop:Checked>
- </com:TCheckBox>
- </prop:EditItemTemplate>
- </com:TActiveTemplateColumn>
- <com:TActiveBoundColumn ID="CustomName"
- DataField="CustomName">
- <prop:HeaderText><%[ Custom name ]%></prop:HeaderText>
- </com:TActiveBoundColumn>
- <com:TActiveBoundColumn ID="CustomUrl"
- DataField="CustomUrl">
- <prop:HeaderText><%[ URL ]%></prop:HeaderText>
- </com:TActiveBoundColumn>
- <com:TActiveTemplateColumn ID="CustomImage">
- <prop:HeaderText><%[ Image ]%></prop:HeaderText>
- <prop:ItemTemplate>
- <com:TImage>
- <prop:ImageUrl><%# $this->Parent->Data->CustomImageUrl %></prop:ImageUrl>
- </com:TImage>
- </prop:ItemTemplate>
- <prop:EditItemTemplate>
- <com:TActiveTextBox ID="Value">
- <prop:Text><%# $this->Parent->Data->CustomImage %></prop:Text>
- </com:TActiveTextBox><br />
- <com:SafeActiveFileUpload
- OnFileUpload="SourceTemplateControl.uploadRowFile">
- <prop:CustomData><%# $this->Parent->Data->UID %></prop:CustomData>
- </com:SafeActiveFileUpload>
- </prop:EditItemTemplate>
- </com:TActiveTemplateColumn>
- <com:TActiveEditCommandColumn
- HeaderText="">
- <prop:EditText><%[ Edit ]%></prop:EditText>
- <prop:UpdateText><%[ Save ]%></prop:UpdateText>
- <prop:CancelText><%[ Cancel ]%></prop:CancelText>
- </com:TActiveEditCommandColumn>
- </com:TActiveDataGrid>
-</com:TPanel>