* 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)
395 B
395 B
$FreeBSD$
--- html/Prefs/Calendar.html.orig
+++ html/Prefs/Calendar.html
@@ -6,10 +6,14 @@
<& /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)') &>