koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha koha-tmpl/opac-tmpl/prog/en/opac-advsearch...


From: paul poulain
Subject: [Koha-cvs] koha koha-tmpl/opac-tmpl/prog/en/opac-advsearch...
Date: Wed, 06 Jun 2007 13:07:17 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     paul poulain <tipaul>   07/06/06 13:07:17

Modified files:
        koha-tmpl/opac-tmpl/prog/en: opac-advsearch.tmpl 
                                     opac-authoritiessearchresultlist.tmpl 
                                     opac-main.tmpl 
        koha-tmpl/opac-tmpl/prog/en/includes: masthead.inc 
                                              navigation.inc 
                                              opac-bottom.inc opac.css 
        opac           : opac-main.pl opac-search.pl opac-showreviews.pl 

Log message:
        improving opac default CSS to have a npl/ccfls like theme (look at 
http://o15.bureau.paulpoulain.com to see the result)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-advsearch.tmpl?cvsroot=koha&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl?cvsroot=koha&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl?cvsroot=koha&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc?cvsroot=koha&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc?cvsroot=koha&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc?cvsroot=koha&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/includes/opac.css?cvsroot=koha&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-main.pl?cvsroot=koha&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-search.pl?cvsroot=koha&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-showreviews.pl?cvsroot=koha&r1=1.6&r2=1.7

Patches:
Index: koha-tmpl/opac-tmpl/prog/en/opac-advsearch.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-advsearch.tmpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- koha-tmpl/opac-tmpl/prog/en/opac-advsearch.tmpl     29 May 2007 16:36:13 
-0000      1.4
+++ koha-tmpl/opac-tmpl/prog/en/opac-advsearch.tmpl     6 Jun 2007 13:07:15 
-0000       1.5
@@ -44,10 +44,18 @@
 
     <!-- BOOLEAN SEARCH OPTIONS -->
     <fieldset>
-    <legend>Search For:</legend>
+    <legend>Search for:</legend>
     <!-- TMPL_LOOP NAME="search_boxes_loop" -->
     
-        <!-- TMPL_IF NAME="expanded_options" --><!-- TMPL_IF 
NAME="search_boxes_label" --><p style="text-indent: 4.5em;"><!-- TMPL_ELSE 
--><p><!-- /TMPL_IF --><!-- TMPL_ELSE --><p><!-- /TMPL_IF -->
+        <!-- TMPL_IF NAME="expanded_options" -->
+            <!-- TMPL_IF NAME="search_boxes_label" -->
+                <p style="text-indent: 4.5em;">
+            <!-- TMPL_ELSE -->
+                <p>
+            <!-- /TMPL_IF -->
+        <!-- TMPL_ELSE -->
+            <p>
+        <!-- /TMPL_IF -->
         <!-- TMPL_IF NAME="expanded_options" --><!-- TMPL_VAR 
NAME="left_content" --><!-- /TMPL_IF --> 
         <select name="idx">
             <option value="kw" <!-- TMPL_IF NAME="selected" -->selected="<!-- 
TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Keyword</option>
@@ -85,19 +93,19 @@
         </select>
         <input type="text" size="30" name="q" title="Enter search terms" 
value=""/>
         <!-- TMPL_IF NAME="expanded_options" -->
-            <!-- TMPL_IF NAME="scan_index" --><!-- TMPL_VAR NAME="scan_index" 
--><!-- /TMPL_IF -->
+            <!-- TMPL_IF NAME="scan_index" --><input type='checkbox' 
name='scan' id='scan' value='1'/> Scan Indexes<!-- /TMPL_IF -->
             <!-- TMPL_IF NAME="add_field" --><a href="JavaScript:add_field();" 
id="ButtonPlus" title="Add another field">[+]</a><!-- /TMPL_IF -->
         <!-- /TMPL_IF -->
     <!-- /TMPL_LOOP -->
     </fieldset>
 <!-- /BOOLEAN SEARCH OPTIONS -->
     <div id="advsearch-itemtype">
-    <h2>Itemtype limit to any of the following:</h2>
+    <h3>Itemtype limit to any of the following:</h3>
     <table>
         <tr>
       <!--TMPL_LOOP Name="itemtypeloop"-->
         <td><p>
-        <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR 
Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF 
--><input type="checkbox" id="mt-<!--TMPL_VAR Name="number" -->" name="limit" 
value="mt:<!--TMPL_VAR Name="code" -->"/>&nbsp;
+        <input type="checkbox" id="mt-<!--TMPL_VAR Name="number" -->" 
name="limit" value="mt:<!--TMPL_VAR Name="code" -->"/><!-- TMPL_IF 
name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" 
alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->&nbsp;
         <!--TMPL_VAR Name="description" --></p></td>
         <!-- TMPL_UNLESS name="count5" --></tr><tr><!-- /TMPL_UNLESS -->
       <!--/TMPL_LOOP-->
@@ -400,8 +408,8 @@
                 <option value="Graphics-support:z">Autres</option>
             </select>
             </p>
-    
     </fieldset>
+    </div>
     <!--/TMPL_IF-->
 <!--/TMPL_IF-->
 <!-- AVAILABILITY LIMITS -->

Index: koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl   27 Mar 
2007 14:48:39 -0000      1.3
+++ koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl   6 Jun 
2007 13:07:15 -0000       1.4
@@ -38,7 +38,7 @@
                                <!-- TMPL_UNLESS name="isEDITORS" -->
                                        <th width="10%">Biblio records</th>
                                <!-- /TMPL_UNLESS -->
-                               <th width="10%">Full Authorized Heading</th>    
                        
+                               <th width="10%">Full Heading</th>               
                
                        </tr>
                        <!-- TMPL_LOOP NAME="result" -->
                                <tr>

Index: koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl  22 May 2007 09:13:58 -0000      
1.3
+++ koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl  6 Jun 2007 13:07:15 -0000       
1.4
@@ -22,36 +22,6 @@
 </div>
 <!-- /TMPL_IF -->
 
-<div id="opac-main-search">
-<h1>Search our catalogue</h1>
-    <ul><li>
-    <label for="masthead_search">Query the catalogue</label>
-    <form name="searchform" method="POST" 
action="/cgi-bin/koha/opac-search.pl" id="searchform">
-        <input type="text" name="q" style="width: 30%;"/>
-        <input type="submit" value="Search" class="submit" />
-    </form>
-    <i>(<a href="/cgi-bin/koha/opac-search.pl">more search options</a>)</i>
-    </li>
-    <!-- TMPL_IF name="OpacBrowser" -->
-        <li><a href="/cgi-bin/koha/opac-browser.pl">Browse the Catalogue</a>, 
through a hierarchy of subjects</li>
-    <!-- /TMPL_IF -->
-    <!-- TMPL_IF name="OpacAuthorities" -->
-        <li>Query the <a 
href="/cgi-bin/koha/opac-authorities-home.pl">authorities</a></li>
-    <!-- /TMPL_IF -->
-    <!-- TMPL_IF name="OpacCloud" -->
-        <li>Dig into <a href="/cgi-bin/koha/opac-tags_subject.pl">tag 
cloud</a></li>
-    <!-- /TMPL_IF -->
-        <li>
-            <form name="recent-acqui" action="/cgi-bin/koha/opac-main.pl" 
method="POST">
-                <label for="recentacqui">Get the last</label>
-                <input id="recentacqui" type="text" name="recentacqui" 
value="30" size="3"/>
-                acquisitions
-                <input type="submit" value=" OK " />
-            </form>
-        </li>
-    </ul>
-</div>
-
 <!-- TMPL_IF NAME="languages" -->
 <div id="opac-main-changelanguage">
     <h1>Change language</h1>

Index: koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc   9 Mar 2007 14:53:34 
-0000       1.3
+++ koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc   6 Jun 2007 13:07:15 
-0000       1.4
@@ -9,3 +9,11 @@
 <div id="masthead">
         <!-- TMPL_VAR NAME="LibraryName" -->
 </div>
+<div id="opac-main-search">
+    <label for="masthead_search">Search</label>
+    <form name="searchform" method="POST" 
action="/cgi-bin/koha/opac-search.pl" id="searchform">
+        <input type="text" name="q" style="width: 30%;"/>
+        <input type="submit" value="Search" class="submit" />
+    </form>
+    <a href="/cgi-bin/koha/opac-search.pl">more search options</a>
+</div>
\ No newline at end of file

Index: koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc 23 May 2007 16:16:56 
-0000      1.3
+++ koha-tmpl/opac-tmpl/prog/en/includes/navigation.inc 6 Jun 2007 13:07:15 
-0000       1.4
@@ -32,27 +32,6 @@
             <!-- /TMPL_IF -->
         </ul>
         <br />
-    <div id="login">
-        <!-- TMPL_IF NAME="loggedinusername" -->
-            <a href="/cgi-bin/koha/opac-user.pl"><b>User Info</b></a>
-            <li>Logged in as: <b> <!-- TMPL_VAR NAME="loggedinusername" --> 
</b></li>
-            <li><a href="/cgi-bin/koha/opac-logout.pl?logout=Log Out">Log 
Out</a></li>
-        <!-- TMPL_ELSE -->
-            <form action="/cgi-bin/koha/opac-user.pl" method="POST" 
name="auth" id="auth">
-                <li>
-                    <label for="userid">Login:</label>
-                    <input type="text" id="userid" size="10" name="userid" />
-                </li>
-                <li>
-                    <label for="password">Pass: </label>
-                    <input type="password" id="password" size="10" 
name="password" />
-                </li>
-                <li>
-                    <input type="submit" value="Log In" class="submit" />
-                </li>
-                </form>
-        <!-- /TMPL_IF -->
-    </div>
  </div>
 
  <div id="main"> <!-- MAIN Body start here -->

Index: koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc        9 Mar 2007 
14:53:34 -0000       1.2
+++ koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc        6 Jun 2007 
13:07:16 -0000       1.3
@@ -1,5 +1,21 @@
 </div>
-
+<div id="login">
+    <!-- TMPL_IF NAME="loggedinusername" -->
+        <a href="/cgi-bin/koha/opac-user.pl"><b>User Info</b></a>
+        <p>Logged in as: <b> <!-- TMPL_VAR NAME="loggedinusername" --> </b></p>
+        <p><a href="/cgi-bin/koha/opac-logout.pl?logout=Log Out">Log 
Out</a></p>
+    <!-- TMPL_ELSE -->
+        <form action="/cgi-bin/koha/opac-user.pl" method="POST" name="auth" 
id="auth">
+            <p>Login:</p>
+            <input type="text" id="userid" size="10" name="userid" />
+            <p>Pass:</p>
+            <input type="password" id="password" size="10" name="password" />
+            <p>
+                <input type="submit" value="Log In" class="submit" />
+            </p>
+            </form>
+    <!-- /TMPL_IF -->
+</div>
 <!-- TMPL_IF NAME="opaccredits" -->
     <div id="footer">
         <!-- TMPL_VAR NAME="opaccredits" -->

Index: koha-tmpl/opac-tmpl/prog/en/includes/opac.css
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/includes/opac.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- koha-tmpl/opac-tmpl/prog/en/includes/opac.css       29 May 2007 16:36:13 
-0000      1.6
+++ koha-tmpl/opac-tmpl/prog/en/includes/opac.css       6 Jun 2007 13:07:16 
-0000       1.7
@@ -1,8 +1,14 @@
 /* color scheme :
+- #6699CC smooth blue for buttons background
+- #FFFFCC smooth yellow for button text
+- grey (
+
+- #990033 (red) for hovered links
 - #384b73 : light blue, for menus, text enhancement, footer & header
+
 - #eeeeee : light grey, for background color
 - #CCCCCC : for table backgrounds
-- #EEC95A : orange for action buttons & hyperlinks
+- #6BA037 : green for action buttons
 */
 
 /* attribute for standard html tags */
@@ -10,7 +16,7 @@
 body {
     font-family : Verdana, Geneva, Arial, sans-serif;
     font-size : 1em;
-    background-color : #eeeeee;
+    background-color : white;
     text-align: left;
     margin-bottom:0px;
 }
@@ -22,6 +28,14 @@
     text-align:left;
 }
 
+h2 {
+    color:#384b73;
+}
+
+h3 {
+    color:#384b73;
+}
+
 p {
     margin:0px;
     padding:0px;
@@ -29,12 +43,11 @@
 }
 
 label {
-    font-style:italic;
     vertical-align:top;
     display:block;
     float:left;
-    width:10em;
     margin-right:0.2em;
+    width:7em;
 }
 
 a:link, a:visited, a:active {
@@ -44,12 +57,14 @@
 
 a:hover {
     text-decoration : none;
-    background-color : #EEC95A;
+    color: #990033;
+
 }
 
 fieldset {
     display:inline;
     border: 1px solid #384b73;
+    background-color:#F9F9FF;
 }
 
 table {
@@ -71,8 +86,11 @@
 }
 
 th {
-    background-color: #384b73;
-    color:white;
+    background:url( /opac-tmpl/prog/images/member-menu-background.gif);
+    background-repeat:repeat-x;
+    background-color:#ADC4E2;
+    color:#096C9D;
+    font-size:0.8em;
     border : 1px solid #CCCCCC;
     border-right: 1px solid #CCCCCC;
 }
@@ -82,10 +100,11 @@
 }
 
 input[type=submit], input[type=button], input[type=reset] {
-    background-color : #EEC95A;
+    background-color : #6BA037;
     color : #FFFFFF;
-    font-size : 1em;
+    font-size : 0.8em;
     font-weight : bold;
+    border: 1px outset #666666;
 }
 
 li {
@@ -115,7 +134,7 @@
     color : #006699;
 }
 .searchresults table tr:hover {
-    background-color: #CCFFFF;
+    background-color: #FFFFCC;
 }
 tr.highlight td, tr.highlight th {
     background-color : #EEEEEE;
@@ -125,7 +144,7 @@
 
 /* the top part of the opac : (the LibraryName) */
 #masthead {
-    color:#384b73;
+    color: #000066;
     margin-left:15%;
     text-align:left;
     font-size:150%;
@@ -148,31 +167,35 @@
     border-spacing: 3px;
     border : 0px;
     margin : 0px;
+    background-color: white;
+    border: 0px solid #D8DEB8;
+}
 }
 #advsearch-itemtype table tr td {
-    background-color:#CCCCCC;
+    background-color: #F8F8EB;
     border : 0px;
     margin : 0px;
     width:700px;
 }
-#advsearch-itemtype table tr td p {
+#advsearch-itemtype td {
     font-size:0.8em;
+    background-color:#F8F8EB;
 }
 
 /* the content part of every page */
 #main {
-    margin-left:25%;
+    margin-left:20%;
     margin-bottom:0px;
 }
 
-/* the main menu (home, adv search, login...) */
+/* the main menu (home, adv search) */
 #menu {
     position:fixed;
-    margin-top:100px;
-    border-right:1px solid black;
     padding:0px;
     font-size:0.8em;
+    font-weight:bold;
     color:#384b73;
+    background-color:#dddddd;
 }
 #menu ul a {
     display:block;
@@ -187,8 +210,7 @@
     margin:5px 5px 0px 5px;
     padding :5px 5px 0px 5px;
     text-decoration:none;
-    background-color:#384b73;
-    color:white;
+    color:#990033;
     white-space: nowrap;
 }
 #menu ul {
@@ -199,38 +221,45 @@
 #menu li {
     list-style-type:none;
 }
-#menu label {
-    font-style:italic;
-    display:block;
-    float:left;
-    width:5em;
-}
 
+
+/***************/
+/* login block */
+/***************/
 #login {
-    font-size:0.9em;
+    position:fixed;
+    bottom:0px;
+    font-size:0.8em;
+    background-color : #cccccc;
+    padding:10px;
 }
 #login input {
     font-size:0.8em;
 }
+#login label {
+    width:5em;
+}
+#login p {
+    margin:0px;
+}
+
+/***********************************************************/
 /* the user menu, for user option (and biblio detail view) */
+/***********************************************************/
 #usermenu {
     float:right;
 }
 #usermenu a {
-    background-color : #EEC95A;
+    background-color : #6BA037;
     color : #FFFFFF;
-    font-size : 1em;
-    border: 2px outset;
+    font-size : 0.8em;
     font-weight : bold;
-    margin:0px 5px 0px 0px;
-    padding:2px 5px 2px 5px;
-    text-decoration:none;
-    display: block;
-    white-space: nowrap;
+    border: 1px outset #666666;
+    display:block;
+    margin-bottom:3px;
 }
 #usermenu a:hover {
-    border: 2px inset;
-    background-color:#384b73;
+    border: 1px inset #666666;
 }
 
 /* the opac-news */
@@ -251,21 +280,21 @@
 }
 
 /* action buttons */
+#action {
+    margin-top:15px;
+}
 #action a {
-    background-color : #EEC95A;
-    color : #FFFFFF;
-    font-size : 1em;
-    border: 2px outset;
+    background-color : #6699cc;
+    color : #eeeeee;
+    font-size : 0.8em;
     font-weight : bold;
-    margin:0px 5px 0px 0px;
-    padding-right:5px;
-    padding-left:5px;
-    text-decoration:none;
-    display: inline;
+    border: 1px outset #666666;
+    margin-right:5px;
+    padding:0 5px 0 5px;
 }
 #action a:hover {
-    border: 2px inset;
-    background-color:#CCCCCC;
+    color : white;
+    border: 1px inset;
 }
 
 #auth {
@@ -279,19 +308,21 @@
     font-size:0.8em;
     margin:0px;
     background-color:#eeeeee;
-    border:1px solid #CCCCCC;
+    border:0px;
 }
 
 #facets dl {
     margin:0px;
+    border:1px solid #CCCCCC;
 }
 #facets dd {
     margin:0px;
 }
 #facets dt {
     font-weight:bold;
-    background-color:#EEC95A;
-    border:0px;
+    background-color:#6BA037;
+    border: 1px outset #666666;
+    color:white;
 }
 
 #facets li {
@@ -363,6 +394,28 @@
 /* style for search terms in catalogsearch */
 .term {
 background-color:lightyellow;
+color: #990033;
+}
+
+#opac-main-search {
+    background-image:url( /opac-tmpl/prog/images/menu-background.gif);
+    background-repeat:repeat-x;
+    background-color: #6699CC;
+    border-top: 1px solid #335599;
+    border-bottom: 1px solid #335599;
+    margin: 0 0 0 15%;
+    padding: 15px 0 15px 10px;
+    color:#FFFFCC;
+    font-weight:bold;
+}
+#opac-main-search a {
+    color:#FFFFCC;
+}
+#opac-main-search a:visited {
+    color:#FFFFCC;
+}
+#opac-main-search a:hover {
+    color:#FFFFFF;
 }
 
 #opac-main-search form {

Index: opac/opac-main.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-main.pl,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- opac/opac-main.pl   22 May 2007 09:14:00 -0000      1.28
+++ opac/opac-main.pl   6 Jun 2007 13:07:16 -0000       1.29
@@ -15,7 +15,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: opac-main.pl,v 1.28 2007/05/22 09:14:00 tipaul Exp $
+# $Id: opac-main.pl,v 1.29 2007/06/06 13:07:16 tipaul Exp $
 
 use strict;
 require Exporter;
@@ -104,9 +104,5 @@
 $template->param(
     'Disable_Dictionary' => C4::Context->preference("Disable_Dictionary") )
   if ( C4::Context->preference("Disable_Dictionary") );
-$template->param(
-    'OpacAuthorities' => 1 );
-$template->param(
-    'OpacCloud' => 1 );
 
 output_html_with_http_headers $input, $cookie, $template->output;

Index: opac/opac-search.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-search.pl,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- opac/opac-search.pl 28 May 2007 16:28:45 -0000      1.43
+++ opac/opac-search.pl 6 Jun 2007 13:07:16 -0000       1.44
@@ -3,7 +3,7 @@
 # Script to perform searching
 # For documentation try 'perldoc /path/to/search'
 #
-# $Header: /sources/koha/koha/opac/opac-search.pl,v 1.43 2007/05/28 16:28:45 
tipaul Exp $
+# $Header: /sources/koha/koha/opac/opac-search.pl,v 1.44 2007/06/06 13:07:16 
tipaul Exp $
 #
 # Copyright 2006 LibLime
 #
@@ -242,7 +242,7 @@
         code     => $thisitemtype,
         selected => $selected,
         description => $itemtypes->{$thisitemtype}->{'description'},
-        count5      => $cnt % 5,
+        count5      => $cnt % 4,
     );
     $selected = 0 if ($selected);
     push @itemtypesloop, \%row;
@@ -292,8 +292,7 @@
               {
                 indexes            => $this_index,
                 search_boxes_label => "<span class='labels'>Search 
for:</span>",
-                scan_index         =>
-"<input type='checkbox' name='scan' id='scan' value='1'/><label 
for='scan'>Scan Indexes</label>",
+                scan_index         => 1,
               };
 
         }
@@ -344,9 +343,6 @@
     my $sort_by_loop = displaySortby($sort_by);
     $template->param(
         sort_by_loop => $sort_by_loop,
-        OpacCloud            => C4::Context->preference("OpacCloud"),
-        OpacTopissue         => C4::Context->preference("OpacTopissue"),
-        OpacAuthorities      => C4::Context->preference("OpacAuthorities"),
      );
 
     output_html_with_http_headers $cgi, $cookie, $template->output;

Index: opac/opac-showreviews.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-showreviews.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- opac/opac-showreviews.pl    24 Apr 2007 13:54:29 -0000      1.6
+++ opac/opac-showreviews.pl    6 Jun 2007 13:07:16 -0000       1.7
@@ -43,9 +43,6 @@
 $template->param(
     reviews => $reviews,
     title   => $biblio->{'title'},
-    OpacCloud            => C4::Context->preference("OpacCloud"),
-    OpacTopissue         => C4::Context->preference("OpacTopissue"),
-    OpacAuthorities      => C4::Context->preference("OpacAuthorities"),
 );
 
 output_html_with_http_headers $query, $cookie, $template->output;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]