diff options
Diffstat (limited to 'app/php/controls')
| -rw-r--r-- | app/php/controls/CalendarDetails.php | 7 | ||||
| -rw-r--r-- | app/php/controls/CalendarDetails.tpl | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/app/php/controls/CalendarDetails.php b/app/php/controls/CalendarDetails.php new file mode 100644 index 0000000..95ee563 --- /dev/null +++ b/app/php/controls/CalendarDetails.php @@ -0,0 +1,7 @@ +<?php + +class CalendarDetails extends UrlBasedCalendarControl { + +} + +?> diff --git a/app/php/controls/CalendarDetails.tpl b/app/php/controls/CalendarDetails.tpl new file mode 100644 index 0000000..058a00f --- /dev/null +++ b/app/php/controls/CalendarDetails.tpl @@ -0,0 +1,12 @@ +<com:THeader2> + <%= $this->getCalendar()->Name %> +</com:THeader2> +<com:TImage> + <prop:ImageUrl><%= $this->getCalendar()->Image %></prop:ImageUrl> +</com:TImage> +<com:THyperLink Text="Source website" Target="_blank"> + <prop:NavigateUrl><%= $this->getCalendar()->Website %></prop:NavigateUrl> +</com:THyperLink> +<p> + Last updated: <%= $this->getCalendar()->LastUpdated %> +</p> |
