[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ...
Henri-Damien LAURENT
laurenthdl at alinto.com
Mon Apr 30 16:33:11 CEST 2007
CVSROOT: /cvsroot/koha
Module name: koha
Changes by: Henri-Damien LAURENT <hdl> 07/04/30 14:33:11
Modified files:
koha-tmpl/intranet-tmpl/prog/en/catalogue: results.tmpl
Log message:
Adding Bulkedition to results page.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/results.tmpl?cvsroot=koha&r1=1.3&r2=1.4
Patches:
Index: results.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/results.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- results.tmpl 11 Mar 2007 21:08:12 -0000 1.3
+++ results.tmpl 30 Apr 2007 14:33:11 -0000 1.4
@@ -79,6 +79,7 @@
</table>
</form>
+
<form action="/cgi-bin/koha/catalogue/search.pl" method="get">
<table>
<tr>
@@ -98,15 +99,11 @@
</table>
</form>
<!-- TMPL_ELSE -->
-
+ <div class="searchresults">
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" name="myform" id="mainform">
-
<!-- TMPL_IF NAME="searchdesc" -->
<input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" escape="html" -->" />
<!-- /TMPL_IF -->
-
- <div class="searchresults">
-
<!-- RE-SORT START -->
<!-- TMPL_IF NAME="sort_by_loop" -->
<p>
@@ -120,13 +117,17 @@
</p>
<!-- /TMPL_IF -->
<!-- RESORT END -->
+ </form>
<!-- ######### -->
+ <dl>
<!-- FACETS START -->
<!-- TMPL_IF NAME="opacfacets" -->
- <div id="facets" style="display:inline;" >
- <h2>Refine Your Search</h2>
+ <dt id="facets">
+ Refine Your Search
+ </dt>
+ <dd>
<ul>
<!-- TMPL_LOOP NAME="facets_loop" -->
<li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
@@ -149,10 +150,44 @@
</li>
<!-- /TMPL_LOOP -->
</ul>
- </div>
+ </dd>
<!-- /TMPL_IF -->
<!-- FACETS END -->
+ <!-- BULKEDIT START -->
+ <!--TMPL_IF Name="bulkedit"-->
+ <dt id="hbulkedit" onclick="var Elt=document.getElementById('parambulkedit');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
+ Bulk edit
+ </dt>
+ <dd id="parambulkedit" style="display:none;">
+ <form name="bulkedit" action="search.pl">
+ <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" -->" />
+ <input type="hidden" name="operation" value="bulkedit" />
+ Search for Value :<input type="text" name="inputvalue" value=""/><br/>
+ Subfield <select name="tagsubfield">
+ <!--TMPL_LOOP Name="tagsubfields"-->
+ <option value="<!--TMPL_VAR Name="tagsubfield"-->"> <!--TMPL_VAR Name="tagsubfield"-->
+ <!-- --<TMPL_VAR Name="tagdesc">--<TMPL_VAR Name="subfielddesc">-->
+ </option>
+ <!--/TMPL_LOOP -->
+ </select><br/>
+ Change to : <input type="text" name="targetvalue" value=""/><br/>
+ Test only : <input type="checkbox" name="test" value="1"/><br/>
+ <input type="Submit" name="Edit" value="Edit"/>
+ </form>
+ </dd>
+ <!-- TMPL_IF NAME="bulkeditresults" -->
+ <dd><em>
+ tagsubfield : <!-- TMPL_VAR NAME="countchanged" --> Change <!-- TMPL_VAR NAME="countchanged" --> To <!-- TMPL_VAR NAME="countchanged" --><br />
+ <!-- TMPL_VAR NAME="countchanged" --> biblios changed <br />
+ <!--TMPL_VAR Name="countunchanged"--> biblios unchanged<br />
+ <em>
+ </dd>
+ <!-- /TMPL_IF -->
+ <!--/TMPL_IF-->
+ <!-- BULKEDIT END -->
+ </dl>
+
<!-- ######### -->
<!-- TABLE RESULTS START -->
@@ -259,7 +294,6 @@
<!-- /TMPL_LOOP -->
</table>
</div>
- </form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="PAGE_NUMBERS" -->
More information about the Koha-cvs
mailing list