diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 17:20:16 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 17:20:16 -0700 |
commit | fec244eb00508517cd3313f6cf55973c2d2e99cf (patch) | |
tree | 0931b07101ac4b7fdecba13f2ff1b2555109e287 /rt/share/html/Prefs | |
parent | 21a232b78413718d8a68867ba7eb4f52a287f9b6 (diff) |
merge RTx-Calendar 0.14
Diffstat (limited to 'rt/share/html/Prefs')
-rw-r--r-- | rt/share/html/Prefs/Calendar.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/rt/share/html/Prefs/Calendar.html b/rt/share/html/Prefs/Calendar.html index 5fbdd2717..b508d103b 100644 --- a/rt/share/html/Prefs/Calendar.html +++ b/rt/share/html/Prefs/Calendar.html @@ -6,10 +6,7 @@ $HiddenField => undef </%args> <& /Elements/Header, Title => $title &> -<& /User/Elements/Tabs, - current_tab => 'Prefs/Calendar.html', - Title => $title -&> +<& /Elements/Tabs &> <&| /Widgets/TitleBox, title => loc('ICal Feeds (ics)') &> @@ -50,7 +47,7 @@ Builder")%></a>.</p> <& /Prefs/Elements/CalendarFeed &> -% # only allow this part if +% # only allow this part if % if ($AllowSearch) { % my $search_count; @@ -107,9 +104,9 @@ $AllowSearch = 1 my $object; -if ($HiddenField eq 'Private') { +if ($HiddenField && $HiddenField eq 'Private') { $object = $session{CurrentUser}->UserObj; -} elsif ($AllowSearch and my ($SearchId) = $HiddenField =~ m/SavedSearch\-(\d+)/) { +} elsif ($AllowSearch and $HiddenField my ($SearchId) = $HiddenField =~ m/SavedSearch\-(\d+)/) { $object = $session{CurrentUser}->Attributes->WithId($SearchId); } |