nomenclature cleanup: s/Branch/Library/ s/Document Type/Item Type/
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / catalogue_stats.tmpl
index 590f9e6..396ca46 100644 (file)
@@ -1,22 +1,18 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; Reports</title>
+<title>Koha &rsaquo; Reports <!-- TMPL_IF NAME="do_it" -->&rsaquo; Catalogue statistics &rsaquo; Results<!-- TMPL_ELSE -->&rsaquo; Catalogue statistics<!-- /TMPL_IF --></title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-<!-- Additions to enable Calendar system -->
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-system.css" />
-<!-- End of additions --><!-- Additions to enable Calendar system -->
-<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar.js"></script>
-<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-en.js"></script>
-<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-setup.js"></script>
-<!-- End of additions -->
 </head>
 <body>
-<!-- TMPL_INCLUDE NAME="header.inc" --><!-- TMPL_INCLUDE NAME="menu-reports.inc"-->
+<!-- TMPL_INCLUDE NAME="header.inc" -->
+<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
+
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> <!-- TMPL_IF NAME="do_it" -->&rsaquo; <a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalogue statistics</a> &rsaquo; Results<!-- TMPL_ELSE -->&rsaquo; Catalogue statistics<!-- /TMPL_IF --></div>
 
 <div id="doc3" class="yui-t2">
    
    <div id="bd">
        <div id="yui-main">
-       <div class="yui-b"><div class="yui-g">
+       <div class="yui-b">
 
 <!-- TMPL_IF NAME="do_it" -->
        <!-- TMPL_LOOP NAME="mainloop" -->
@@ -29,7 +25,7 @@
                <!-- /TMPL_IF-->
                
                <table>
-                       <tr >
+                       <tr>
                                <th><!-- TMPL_VAR name="line" --> / <!-- TMPL_VAR name="column" --></th>
                                <!-- TMPL_LOOP NAME="loopcol" -->
                                        <th><!-- TMPL_VAR NAME="coltitle" --></th>
@@ -52,7 +48,7 @@
                                                </td>
                                        </tr>
                                <!-- /TMPL_LOOP-->
-                               <tr >
+                               <tr>
                                        <th>TOTAL</th>
                                        <!-- TMPL_LOOP NAME="loopfooter" -->
                                                <th>
                </table>
        <!-- /TMPL_LOOP -->
 <!-- TMPL_ELSE -->
-       <h1>Catalogue statistics</h1>
-       <form method="post">
+
+       <form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
+       <fieldset class="rows">
+       <legend>Catalogue statistics</legend>
        <table>
                <thead>
                        <tr>
-                       <th><div>Title</th>
+                       <th>Title</th>
                        <th>Row</th>
                        <th>Column</th>
                        <th>Filter</th>
                        </tr>
                </thead>
                <tbody>
-                       <!-- TMPL_IF Name="hasdewey" -->
-                               <tr class="hilighted">
-                                       <td>Dewey Classification</td>
-                                       <td><input type="radio" name="Line" value="dewey" /></td>
-                                       <td><input type="radio" name="Column" value="dewey" /></td>
-                                       <td > From <input type="text" name="Filter" /> To <input type="text" name="Filter" /></td>
-                               </tr>
-                               <tr class="hilighted">
-                                       <td>&nbsp;</td>
-                                       <td colspan="2"><select name="deweydigits">
-                                               <option value=""> </option>
-                                               <option value ="1">1</option>
-                                               <option value ="2">2</option>
-                                               <option value ="3">3</option>
-                                               <option value ="4">4</option>
-                                               <option value ="5">5</option>
-                                               </select>
-                                               digits 
-                                       </td>
-                                       <td>&nbsp;</td>
-                               </tr>
-                               <!-- TMPL_ELSE -->
-                               <tr><input type="hidden" name="Filter" > <input type="hidden" name="Filter" /></tr>
-                       <!-- /TMPL_IF -->
+                               <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
                        <!-- TMPL_IF Name="haslccn" -->
-                               <!--TMPL_IF Name="hlghtlccn"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
+                                       <tr>
                                        <td>LoC Classification</td>
                                        <td><input type="radio" name="Line" value="lccn" /></td>
                                        <td><input type="radio" name="Column" value="lccn" /></td>
-                                       <td > From <input type="text" name="Filter" > To <input type="text" name="Filter" /></td>
+                                       <td> <label for="locFrom">From</label> <input type="text" name="Filter" id="locFrom" /> <label for="locTo">To</label> <input type="text" name="Filter" id="locTo" /></td>
                                </tr>
-                               <!--TMPL_IF Name="hlghtlccn"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
+                                       <tr>
                                        <td>&nbsp;</td>
-                                       <td colspan="2"><select name="lccndigits">
+                                       <td colspan="2"><select name="lccndigits" id="lccndigits">
                                                <option value=""> </option>
                                                <option value ="1">1</option>
                                                <option value ="2">2</option>
                                                <option value ="4">4</option>
                                                <option value ="5">5</option>
                                                </select>
-                                               characters
+                                               <label for="lccndigits">characters</label>
                                        </td>
                                        <td>&nbsp;</td>
                                </tr>
                                <!-- TMPL_ELSE -->
-                               <tr><input type="hidden" name="Filter" > <input type="hidden" name="Filter" /></tr>
+                               <input type="hidden" name="Filter" /> <input type="hidden" name="Filter" />
                        <!-- /TMPL_IF  -->
                        <!-- TMPL_IF Name="hascote" -->
-                               <!--TMPL_IF Name="hlghtcote"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
-                                       <td>Callnumber</td>
+                         <tr>
+                                       <td>Koha Full Call Number</td>
                                        <td><input type="radio" name="Line" value="items.itemcallnumber" /></td>
                                        <td><input type="radio" name="Column" value="items.itemcallnumber" /></td>
-                                       <td>From <input type="text" name="Filter" > To <input type="text" name="Filter" /></td>
+                                       <td><label for="callnoFrom">From</label> <input type="text" name="Filter" id="callnoFrom" /> <label for="callnoTo">To</label> <input type="text" name="Filter" id="callnoTo" /></td>
                                </tr>
-                               <!--TMPL_IF Name="hlghtcote"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
+                        <tr>
                                        <td>&nbsp;</td>
-                                       <td colspan="2"><select name="cotedigits">
+                                       <td colspan="2"><select name="cotedigits" id="cotedigits">
                                                <option value=""> </option>
                                                <option value ="1">1</option>
                                                <option value ="2">2</option>
                                                <option value ="4">4</option>
                                                <option value ="5">5</option>
                                                </select>
-                                               characters 
+                                               <label for="cotedigits">characters</label> 
                                        </td>
                                        <td>&nbsp;</td>
                                </tr>
                                <!-- TMPL_ELSE -->
-                               <tr><input type="hidden" name="Filter" > <input type="hidden" name="Filter" /></tr>
+                               <tr><td colspan="4"><input type="hidden" name="Filter" /> <input type="hidden" name="Filter" /></td></tr>
                        <!-- /TMPL_IF -->
-                       <!--TMPL_IF Name="hglghtDT"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
-                               <td>Document Type</td>
+                        <tr>
+                               <td>Item Type</td>
                                <td><input type="radio" name="Line" value="itemtype" /></td>
                                <td><input type="radio" name="Column" value="itemtype" /></td>
-                               <td ><!-- TMPL_VAR NAME="CGIItemType" --></td>
+                               <td><select name="Filter" id="itemtype">
+                                       <option value=""> </option>
+                                       <!-- TMPL_LOOP NAME="CGIItemType" -->
+                                       <option value="<!-- TMPL_VAR NAME='itemtype' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="description" --></option>
+                                       <!-- /TMPL_LOOP -->
+                                       </select>
+                               </td>
                        </tr>
-                       <!--TMPL_IF Name="hglghtPub"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
+                        <tr>
                                <td>Publisher</td>
                                <td><input type="radio" name="Line" value="publishercode" /></td>
                                <td><input type="radio" name="Column" value="publishercode" /></td>
                                <td><input type="text" name="Filter" /></td>
                        </tr>
-                       <!--TMPL_IF Name="hglghtPY"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
+                       <tr>
                                <td>Publication Year</td>
                                <td><input type="radio" name="Line" value="publicationyear" /></td>
                                <td><input type="radio" name="Column" value="publicationyear" /></td>
-                               <td>From <input type="text" name="Filter" /> To <input type="text" name="Filter" /></td>
+                               <td><label for="pubyearFrom">From</label> <input type="text" name="Filter" id="pubyearFrom" /> <label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /></td>
                        </tr>
-                       <!--TMPL_IF Name="hglghtHB"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
-                               <td>Home Branch</td>
+                       <tr>
+                               <td>Home Library</td>
                                <td><input type="radio" name="Line" value="items.homebranch" /></td>
                                <td><input type="radio" name="Column" value="items.homebranch" /></td>
-                               <td><!-- TMPL_VAR NAME="CGIBranch" --></td>
+                               <td><select name="Filter" id="branch">
+                                       <option value=""> </option>
+                                       <!-- TMPL_LOOP NAME="CGIBranch" -->
+                                       <option value="<!-- TMPL_VAR NAME='branchcode' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="branchname" --></option>
+                                       <!-- /TMPL_LOOP -->
+                                       </select>
+                               </td>
                        </tr>
-                       <!--TMPL_IF Name="hglghtLOC"--><tr class="hilighted"> <!--TMPL_ELSE --><tr><!--/TMPL_IF-->
-                               <td>Location</td>
+                       <tr>
+                               <td>Shelving Location</td>
                                <td><input type="radio" name="Line" value="items.location" /></td>
                                <td><input type="radio" name="Column" value="items.location" /></td>
-                               <td><!-- TMPL_VAR NAME="CGILocation" --> </td>
+                               <td><select name="Filter" id="location">
+                                       <option value=""> </option>
+                                       <!-- TMPL_LOOP NAME="locationloop" -->
+                                       <option value="<!-- TMPL_VAR NAME='code' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="description" --></option>
+                                       <!-- /TMPL_LOOP -->
+                                       </select>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>Collection</td>
+                               <td><input type="radio" name="Line"   value="items.ccode" /></td>
+                               <td><input type="radio" name="Column" value="items.ccode" /></td>
+                               <td><select name="Filter" id="ccode">
+                                       <option value=""> </option>
+                                       <!-- TMPL_LOOP NAME="authvals" -->
+                                       <option value="<!-- TMPL_VAR NAME='code' -->" <!-- TMPL_IF NAME='selected' -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="description" --></option>
+                                       <!-- /TMPL_LOOP -->
+                                       </select>
+                               </td>
                        </tr>
                </tbody>
-       </table>
-       
+       </table><br /></fieldset>
        
-               <h3> Output </h3>
-               <input type="radio" checked name="output" value="screen" /> To screen into the browser
-               
-               <input type="radio" name="output" value="file" /> To file <input type="text" name="basename" value="Export" /> into an application  
-               <!-- TMPL_VAR NAME="CGIextChoice" -->
-               <!-- TMPL_VAR NAME="CGIsepChoice" -->
-       </p>
-       
-       <p>
-       <input type="submit" value="OK" />
+       <fieldset class="rows">
+       <legend>Output</legend>
+       <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
+               <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
+                       <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
+                       <label class="inline" for="MIME">Into an application: </label>
+                       <select name="MIME" id="MIME">
+                       <!-- TMPL_LOOP NAME="CGIextChoice" -->
+                       <option value="<!-- TMPL_VAR NAME="type" -->"><!-- TMPL_VAR NAME="type" --></option>
+                       <!-- /TMPL_LOOP -->
+                       </select>
+                       <!-- <label class="inline" for="sep">Delimiter: </label> -->
+                       <select name="sep" id="sep">
+                       <!-- TMPL_LOOP NAME="CGIsepChoice" -->
+                       <option value="<!-- TMPL_VAR NAME="delim" -->"><!-- TMPL_VAR NAME="delim" --></option>
+                       <!-- /TMPL_LOOP -->
+                       </select>
+               </li>
+       </ol>
+       </fieldset>
+
+       <fieldset class="action">
+       <input type="submit" value="Submit" />
        <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
        <input type="hidden" name="do_it" value="1" />
+       </fieldset>
        </form>
 <!-- /TMPL_IF -->
 </div>
 </div>
+<div class="yui-b">
+<!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
+</div>
 </div>
-
-<!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->