Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-privacy.tmpl
Koustubha Kale dcfeab4eee Adding id tags to some OPAC templates.
Many of the templates in OPAC, which deal with users data eg opac-account.tmpl, opac-passwd.tmpl etc do not have a id for the container div,
like opac-user.tmpl has an id userdetail. Having these id's makes it easier to customize with css.
This patch adds id's to most of the <div class="container"> tags.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-02-09 15:20:45 +13:00

72 lines
4.1 KiB
Cheetah

<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Privacy management for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<div id="doc3" class="yui-t1">
<div id="bd">
<!-- TMPL_INCLUDE name="masthead.inc" -->
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div id="userprivacy" class="container">
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->l../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Privacy policy </h3>
<!-- TMPL_IF name="deleted" -->
<div class="dialog message">Your reading history has been deleted.</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME= "privacy_updated" -->
<div class="dialog message">Your privacy rules have been updated</div>
<!-- /TMPL_IF -->
<h2>Privacy rule</h2>
<!-- TMPL_IF NAME= "Ask_data" -->
<p>We take great care in protecting your privacy. On this screen, you can define how long we keep your reading history.</p>
<p>Your options are: <p>
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-update-form">
<input type="hidden" name="op" value="update_privacy" />
<ul id="opac-privacy-options-list">
<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>
<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>
<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>
</ul>
<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>
<p id="note2">Please also note that the library staff can't update these values for you: it's your privacy!</p>
<label for:"privacy">Please choose your privacy rule:</label>
<select name="privacy">
<!-- TMPL_IF name="privacy0" -->
<option value="0" selected="1" class="privacy0">Forever</option>
<!-- TMPL_ELSE -->
<option value="0" class="privacy0">Forever</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="privacy1" -->
<option value="1" selected="1" class="privacy1">Default</option>
<!-- TMPL_ELSE -->
<option value="1" class="privacy1">Default</option>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="privacy2" -->
<option value="2" selected="1" class="privacy2">Never</option>
<!-- TMPL_ELSE -->
<option value="2" class="privacy2">Never</option>
<!-- /TMPL_IF -->
</select>
<input type="Submit" value="Submit" />
</form>
<h2>Immediate deletion</h2>
<form action="/cgi-bin/koha/opac-privacy.pl" method="post" id="opac-privacy-delete-form">
<input type="hidden" name="op" value="delete_record" />
<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>
<input type="submit" value="Immediate deletion" onclick="return confirmDelete(_('Warning: Cannot be undone. Please confirm once again'));" />
</form>
<!-- /TMPL_IF -->
</div>
</div>
</div>
</div>
<div class="yui-b">
<div id="leftmenus" class="container">
<!--TMPL_INCLUDE NAME="navigation.inc" -->
<!-- TMPL_INCLUDE name="usermenu.inc" -->
</div>
</div>
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->