Bug 5917 : Swapping templates over
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-privacy.tt
1 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Privacy management for [% firstname %] [% surname %]
2 [% INCLUDE 'doc-head-close.inc' %]
3 </head>
4 <body>
5 <div id="doc3" class="yui-t1">
6    <div id="bd">
7 [% INCLUDE 'masthead.inc' %]
8
9         <div id="yui-main">
10         <div class="yui-b"><div class="yui-g">
11         <div id="userprivacy" class="container">
12         <h3><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]'s account</a> <img src="[% themelang %]l../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Privacy policy </h3>
13
14     [% IF ( deleted ) %]
15         <div class="dialog message">Your reading history has been deleted.</div>
16     [% END %]
17     [% IF ( privacy_updated ) %]
18         <div class="dialog message">Your privacy rules have been updated</div>
19     [% END %]
20
21     <h2>Privacy rule</h2>
22     [% IF ( Ask_data ) %]
23                 <p>We take great care in protecting your privacy. On this screen, you can define how long we keep your reading history.</p>
24                 <p>Your options are: <p>
25                 <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form">
26             <input type="hidden" name="op" value="update_privacy" />
27             <ul id="opac-privacy-options-list">
28                 <li class="privacy0">Forever: keep my reading history without limit. This is the option for users who want to keep track of what they are reading.</li>
29                 <li class="privacy1">Default: keep my reading history according to local laws. This is the default option : the library will keep your reading history for the duration permitted by local laws.</li>
30                 <li class="privacy2">Never: Delete my reading history immediately. This will delete all record of the item that was checked-out upon check-in.</li>
31             </ul>
32             <p id="note1">Please note that information on any book still checked-out must be kept by the library no matter which privacy option you choose.</p>
33             <p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p>
34             <label for:"privacy">Please choose your privacy rule:</label>
35             <select name="privacy">
36                 [% IF ( privacy0 ) %]
37                     <option value="0" selected="1" class="privacy0">Forever</option>
38                 [% ELSE %]
39                     <option value="0" class="privacy0">Forever</option>
40                 [% END %]
41                 [% IF ( privacy1 ) %]
42                     <option value="1" selected="1" class="privacy1">Default</option>
43                 [% ELSE %]
44                     <option value="1" class="privacy1">Default</option>
45                 [% END %]
46                 [% IF ( privacy2 ) %]
47                     <option value="2" selected="1" class="privacy2">Never</option>
48                 [% ELSE %]
49                     <option value="2" class="privacy2">Never</option>
50                 [% END %]
51             </select>
52             <input type="Submit" value="Submit" />
53         </form>
54         <h2>Immediate deletion</h2>
55         <form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form">
56             <input type="hidden" name="op" value="delete_record" />
57             <p>Whatever your privacy rule you choose, you can delete all your reading history immediately by clicking here. <b>BE CAREFUL</b>. Once you've confirmed the deletion, no one can retrieve the list!</p>
58             <input type="submit" value="Immediate deletion" onclick="return confirmDelete(_('Warning: Cannot be undone. Please confirm once again'));" />
59         </form>
60     [% END %]
61     </div>
62 </div>
63 </div>
64 </div>
65 <div class="yui-b">
66 <div id="leftmenus" class="container">
67 [% INCLUDE 'navigation.inc' %]
68 [% INCLUDE 'usermenu.inc' %]
69 </div>
70 </div>
71 </div>
72 [% INCLUDE 'opac-bottom.inc' %]