7 <&| /Widgets/TitleBox, title => $title &>
12 This feed will show tickets with due date find with query:<br />
13 "<%$Search->SubValue('Query')%>".
17 <p>Your can paste this url in your calendar : <b><a href="<%$link%>"><%$link%></a></b><p>
21 <form action="<%$RT::WebPath%>/Prefs/Calendar.html" method="post">
22 <input type="hidden" name="HiddenField" value="<%$HiddenField%>" />
23 <input type="submit" class="button" name="ResetURL" value="<%loc('Disable Feed')%>" />
27 <form action="<%$RT::WebPath%>/Prefs/Calendar.html" method="post">
28 <input type="hidden" name="HiddenField" value="<%$HiddenField%>" />
29 <input type="submit" class="button" name="ChangeURL" value="<%loc('Change Feed URL')%>" />
36 <form action="<%$RT::WebPath%>/Prefs/Calendar.html" method="post">
37 <input type="hidden" name="HiddenField" value="<%$HiddenField%>" />
38 <input type="submit" class="button" name="ChangeURL" value="<%loc('Enable Feed')%>" />
52 $title = loc('Feed for "') . ($Search->Description || loc('Unnamed search')) . '" search';
53 $HiddenField = "SavedSearch-" . $Search->Id;
54 $ICalURL = $Search->FirstAttribute('ICalURL');
55 $Id = $session{CurrentUser}->Id . "@" . $Search->Id;
56 $title .= " (disabled)" unless $ICalURL;
58 $title = loc('Feed for default calendar');
59 $HiddenField = "Private";
60 $ICalURL = $session{CurrentUser}->UserObj->FirstAttribute('ICalURL');
61 $Id = $session{CurrentUser}->Id;
62 $FeedText = "This feed will show yours and Nobody's tasks with due date.";
65 $link = $RT::WebURL . "NoAuth/Calendar/" . $Id . "/" . $ICalURL->Content