diff options
author | emkael <emkael@tlen.pl> | 2016-05-06 13:23:00 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-06 13:23:00 +0200 |
commit | fcc64b0d41bc9a96f7aeb6f81bc1b887a515ccb6 (patch) | |
tree | cac2ab7f1ebb39d5d474947d2dd20095e83d2bc6 /app/php/controls | |
parent | 3cfbd9cdc5b3afdb63a5d775a86b14ecfdc5b6db (diff) |
* basic calendar info on calendar page
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> |