ports/www/p5-RTx-Calendar/files/patch-html_Prefs_Calendar.html
Florian Smeets b7d14a42d5 - Add support for www/rt40
* Patches for 4.0.x compatibility obtained from
  https://github.com/bestpractical/rtx-calendar
- Add license
- Pet portlint

PR:		ports/160976
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
2011-10-18 16:02:33 +00:00

20 lines
395 B
HTML

$FreeBSD$
--- html/Prefs/Calendar.html.orig
+++ html/Prefs/Calendar.html
@@ -6,10 +6,14 @@
</%args>
<& /Elements/Header, Title => $title &>
+% if ( $m->comp_exists( '/User/Elements/Tabs' ) ) {
<& /User/Elements/Tabs,
current_tab => 'Prefs/Calendar.html',
Title => $title
&>
+% } else {
+<& /Elements/Tabs &>
+% }
<&| /Widgets/TitleBox, title => loc('ICal Feeds (ics)') &>