d6271788fb
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
182 lines
12 KiB
Cheetah
182 lines
12 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Catalogue <!-- TMPL_VAR NAME="LibraryName" --> <!-- TMPL_IF Name="viewshelf" -->Contenu de <!-- TMPL_VAR Name="shelfname" --><!-- TMPL_ELSE -->Mes étagères virtuelles<!-- /TMPL_IF --><!-- TMPL_INCLUDE name="doc-head-close.inc" -->
|
|
<!-- TMPL_IF NAME="OpacNav" --> <body id="withnav">
|
|
<!--TMPL_ELSE-->
|
|
<body>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_INCLUDE name="masthead.inc" -->
|
|
<!-- TMPL_INCLUDE name="usermenu.inc" -->
|
|
<!-- TMPL_INCLUDE name="navigation.inc" -->
|
|
<div id="main_wrapper">
|
|
<div id="main" class="searchresults">
|
|
<div class="content-block">
|
|
<!-- TMPL_IF Name="viewshelf" -->
|
|
<h3><a href="/cgi-bin/koha/opac-shelves.pl">Etagères virtuelles</a> <img src="<!-- TMPL_VAR NAME="themelang" -->/images/caret.gif" width="16" height="16" alt=">" border="0" /> <!-- TMPL_IF NAME="itemsloop" --><em><!-- TMPL_VAR Name="shelfname" --></em><!-- TMPL_ELSE -->L'étagère virtuelle <em><!-- TMPL_VAR Name="shelfname" --></em> est vide<!-- /TMPL_IF --></h3>
|
|
<form class="inline" action="/cgi-bin/koha/opac-shelves.pl" method="post" name="myform">
|
|
<table>
|
|
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR Name="shelfnumber" -->" />
|
|
<input type="hidden" name="modifyshelfcontents" value="1" />
|
|
<tr>
|
|
<th>
|
|
<a style="color:white;" href="/cgi-bin/koha/opac-shelves.pl" onclick="CheckAll(); return false;">Tout cocher</a>
|
|
</th>
|
|
<th> </th>
|
|
<th>Titre</th>
|
|
<th>Auteur</th>
|
|
<th>Cote</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP Name="itemsloop" -->
|
|
<tr<!-- TMPL_IF name="color" --> class="highlight"<!-- /TMPL_IF -->>
|
|
<td>
|
|
<input type="checkbox" name="MOD-<!-- TMPL_VAR Name="biblionumber" -->" />
|
|
<input type="hidden" name="ModBiblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
|
|
</td>
|
|
<td>
|
|
<img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" />
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_IF name="BiblioDefaultViewmarc" -->
|
|
<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
|
|
<!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
|
|
</a>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF name="BiblioDefaultViewisbd" -->
|
|
<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
|
|
<!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
|
|
</a>
|
|
<!-- TMPL_ELSE -->
|
|
<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
|
|
<!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
|
|
</a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</a>
|
|
</td>
|
|
<td><!-- TMPL_VAR Name="author" --></td>
|
|
<td><!-- TMPL_VAR NAME="classification" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
<tr><td colspan="5">Cette étagère est vide.</td></tr>
|
|
<!-- /TMPL_IF -->
|
|
</table>
|
|
<!-- TMPL_IF name="manageshelf" --><!-- TMPL_IF NAME="itemsloop" --><a href="/cgi-bin/koha/opac-shelves.pl" onclick="CheckAll(); return false;"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/checkall.gif" height="18" width="18" alt="Tout cocher" title="Tout cocher" border="0"></a><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->" />
|
|
<input type="hidden" name="modifyshelfcontents" value="1" />
|
|
<input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="submit" value="Supprimer les références cochées" class="icon delete" onclick="return confirmDelete('Are you sure you want to remove these items from the list?')"><!-- /TMPL_IF --><!-- /TMPL_IF --></form><!-- TMPL_IF name="manageshelf" --> <form class="inline" method="get" action="/cgi-bin/koha/opac-shelves.pl"><input type="hidden" name="op" value="modif" /><input type="hidden" value="<!-- TMPL_VAR NAME="shelfnumber" -->" name="shelf" /><input type="submit" value="renommer cette étagère" class="icon edit"></form> <!-- TMPL_UNLESS NAME="itemsloop" --><form class="inline" method="get" action="/cgi-bin/koha/opac-shelves.pl"><input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="hidden" name="shelves" value="1" /><input type="submit" class="icon delete" value="Supprimer cette étagère" onclick="return confirmDelete('Are you sure you want to delete this Virtual Shelf?')"></form><!-- /TMPL_UNLESS -->
|
|
<br /><br /><!-- TMPL_IF name="manageshelf" -->
|
|
<form action="/cgi-bin/koha/opac-shelves.pl" method="post">
|
|
<table>
|
|
<tr><th colspan="2">Ajouter un document à cette étagère par Code à barres</th></tr>
|
|
<tr>
|
|
<td><label for="addbarcode">Code à barres :</label></td>
|
|
<td><input name="addbarcode" type="text" id="addbarcode" size="14" maxlength="14" /><input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->" /><input type="hidden" name="modifyshelfcontents" value="1" /><input type="submit" value="Enregistrer" class="submit"></td>
|
|
</tr>
|
|
</table>
|
|
</form><!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<form class="inline" method="get" action="opac-shelves.pl"><input type="submit" class="icon back" value="Retour aux étagères virtuelles"></form> <form class="inline" action="opac-shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" value="Créer ou Supprimer une (des) étagère(s)" class="icon add"></form>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF Name="shelves" -->
|
|
<!-- TMPL_IF Name="status1" -->
|
|
<p class="error"><!-- TMPL_VAR Name="string1" --></p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_LOOP Name="paramsloop" -->
|
|
<!-- TMPL_IF Name="status" -->
|
|
<p class="error"><!-- TMPL_VAR Name="string" --></p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
<div id="center">
|
|
<form method="post" action="/cgi-bin/koha/opac-shelves.pl">
|
|
<input type="hidden" name="shelves" value="1">
|
|
<div class="form"><table>
|
|
<caption>Créer une étagère virtuelle</caption>
|
|
<tr><th><label for="addshelf">Liste des noms :</label> </th><td> <input id="addshelf" type="text" name="addshelf" size="60"><input type="hidden" name="owner" id="owner" value="<!-- TMPL_VAR name="loggedinuser" -->"></td></tr>
|
|
</table></div>
|
|
|
|
<p><input type="hidden" name="category" value="1" /><input type="submit" value="Créer une étagère" class="icon add"></p>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="right"><!-- TMPL_IF NAME="shelveslooppriv" -->
|
|
<form method="post" action="/cgi-bin/koha/opac-shelves.pl" name="mainform">
|
|
<input type="hidden" name="shelves" value="1" />
|
|
<table>
|
|
<caption>Supprimer étagère(s) virtuelle(s)</caption>
|
|
<tr><th> </th><th>Etagère virtuelle</th><th>Contient</th></tr>
|
|
<!-- TMPL_LOOP Name="shelveslooppriv" -->
|
|
|
|
<tr>
|
|
<td>
|
|
<!-- TMPL_IF NAME="shelfbookcount" --> <input type="checkbox" name="DEL-<!-- TMPL_VAR Name="shelf" -->" disabled="disabled" readonly="readonly" /><!--TMPL_ELSE--><input type="checkbox" name="DEL-<!-- TMPL_VAR Name="shelf" -->" /><!-- /TMPL_IF --> </td><td><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> document(s)<!-- TMPL_IF NAME="shelfbookcount" --><sup>*</sup><!-- /TMPL_IF --></td></tr>
|
|
|
|
<!-- /TMPL_LOOP -->
|
|
</table><p><sup>*</sup>Tous les documents doivent être supprimés de l'étagère virtuelle pour qu'elle puisse être supprimée.</p>
|
|
<input type="submit" value="Supprimer les étagères cochées" onclick="return confirmDelete('Are you sure you want to delete this list?')" class="icon delete"> </form>
|
|
<!-- /TMPL_IF -->
|
|
<p><form class="inline" action="opac-shelves.pl" method="get"><input type="submit" class="icon back" value="Retour aux étagères virtuelles"></form></p>
|
|
</div>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF name="edit" -->
|
|
<form method="post">
|
|
<input type="hidden" name="op" value="modifsave">
|
|
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
|
|
<div class="form"><table>
|
|
<caption>Renommer l'étagère virtuelle <em><!-- TMPL_VAR name="shelfname"--></em></caption>
|
|
<tr><th><label for="shelfname">Liste des noms : </label></th><td><input type="text" id="shelfname" name="shelfname" size="60" value="<!-- TMPL_VAR name="shelfname"-->" /></td></tr>
|
|
</table>
|
|
<p><input type="hidden" name="category" value="1" /><input type="submit" value="Enregistrer les modifications" class="submit"></p></div>
|
|
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<h2>Etagères virtuelles</h2>
|
|
|
|
<ul class="link-tabs">
|
|
<!-- TMPL_IF name="showprivateshelves" -->
|
|
<li id="privateshelves_tab" class="on">
|
|
<!-- TMPL_ELSE -->
|
|
<li id="privateshelves_tab" class="off">
|
|
<!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves" onclick="changeView('privateshelves'); return false;">Vos étagères virtuelles</a> </li>
|
|
<!-- TMPL_IF name="showpublicshelves" -->
|
|
<li id="publicshelves_tab" class="on">
|
|
<!-- TMPL_ELSE -->
|
|
<li id="publicshelves_tab" class="off">
|
|
<!-- /TMPL_IF -->
|
|
<a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves" onclick="changeView('publicshelves'); return false;">Etagères virtuelles publiques</a></li>
|
|
|
|
</ul>
|
|
<!-- TMPL_IF name="showprivateshelves" -->
|
|
<div id="privateshelves" style="display:block;">
|
|
<!-- TMPL_ELSE -->
|
|
<div id="privateshelves" style="display:none;">
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="loggedinusername" -->
|
|
<table>
|
|
<tr><th>Liste des noms</th><th>Contient</th><th> </th></tr>
|
|
<!-- TMPL_IF NAME="shelveslooppriv" --><!-- TMPL_LOOP Name="shelveslooppriv" -->
|
|
<!-- TMPL_IF name="color" --> <tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF --><td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> document(s)</td><td><!-- TMPL_IF name="mine" --><a href="opac-shelves.pl?op=modif&shelf=<!-- TMPL_VAR NAME="shelf" -->">Renommer</a><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td></tr><!-- /TMPL_LOOP --><!-- TMPL_ELSE --><tr><td colspan="4">Cliquer ci-dessous pour créer une étagère virtuelle</td></tr><!-- /TMPL_IF --></table>
|
|
<p><form action="opac-shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" value="Créer ou Supprimer une (des) étagère(s)" class="icon add"></form></p>
|
|
<!-- TMPL_ELSE -->
|
|
<p><a>Connectez-vous</a> pour créer votre étagère virtuelle</p>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
|
|
<!-- TMPL_IF name="showpublicshelves" --><div id="publicshelves" style="display:block;">
|
|
<!-- TMPL_ELSE -->
|
|
<div id="publicshelves" style="display:none;">
|
|
<!-- /TMPL_IF --><table>
|
|
<tr><th>Liste des noms</th><th>Contient</th></tr>
|
|
<!-- TMPL_LOOP Name="shelvesloop" -->
|
|
<!-- TMPL_IF name="color" --> <tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF --><td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> document(s)</td></tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table></div>
|
|
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|