koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/authorities... [rel_2_2]


From: Owen Leonard
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/authorities... [rel_2_2]
Date: Thu, 02 Mar 2006 21:19:44 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Owen Leonard <address@hidden>   06/03/02 21:19:43

Modified files:
        koha-tmpl/intranet-tmpl/npl/en/authorities: auth_finder.tmpl 
                                                    authorities-home.tmpl 
                                                    authorities.tmpl 
                                                    
blinddetail-biblio-search.tmpl 
                                                    detail-biblio-search.tmpl 
                                                    detail.tmpl 
                                                    searchresultlist-auth.tmpl 
                                                    searchresultlist.tmpl 

Log message:
        Synching with default template. Styling incomplete.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/auth_finder.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.2&tr2=1.1.2.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities-home.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.4&tr2=1.1.2.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.4&tr2=1.1.2.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/blinddetail-biblio-search.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail-biblio-search.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.2&tr2=1.1.2.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.4&tr2=1.1.2.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist-auth.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.4&tr2=1.1.2.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.2&tr2=1.1.2.3&r1=text&r2=text

Patches:
Index: koha/koha-tmpl/intranet-tmpl/npl/en/authorities/auth_finder.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/auth_finder.tmpl:1.1.2.2 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/auth_finder.tmpl:1.1.2.3
--- koha/koha-tmpl/intranet-tmpl/npl/en/authorities/auth_finder.tmpl:1.1.2.2    
Thu Jan 26 21:47:09 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/authorities/auth_finder.tmpl    Thu Mar 
 2 21:19:43 2006
@@ -1,37 +1,46 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Authorities
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-<!-- TMPL_INCLUDE NAME="masthead.inc" -->
-<!-- TMPL_INCLUDE NAME="authorities-topmenu.inc" -->
-<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
-
 <div id="main">
 
 <h1>Authority search</h1>
 
-<form name="f" method="post">
-       <input type="hidden" name="op" value="do_search" />
-       <input type="hidden" name="type" value="intranet" />
-       <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR 
name="nbstatements" -->" />
-       <div class="details">
-               <h2>Search on</h2>
-               <p>
-                       <label>Authority type</label>
-                       <!-- TMPL_VAR NAME="category" -->
-               </p>
-               <p>
-                       <label>Search value</label><input type="text" 
name="value" value="<!-- TMPL_VAR name="resultstring" -->" />
-                       <input type="hidden" name="authtypecode" value="<!-- 
TMPL_VAR NAME="category" -->" />
-                       <input type="hidden" name="marclist" value="" />
-                       <input type="hidden" name="and_or" value="and" />
-                       <input type="hidden" name="excluding" value="" />
-                       <input type="hidden" name="operator" value="contains" />
-                       <input type="hidden" name="index" value="<!-- TMPL_VAR 
name="index" -->" />
-               </p>
-               <p>
-                       <input type="submit" value="Start search" 
class="submit" />
-               </p>
-       </div>
-</form>
+<form name="f" method="post" action="auth_finder.pl">
+                       <input type="hidden" name="op" value="do_search">
+                       <input type="hidden" name="type" value="intranet">
+                       <input type="hidden" name="nbstatements" value="<!-- 
TMPL_VAR NAME="nbstatements" -->">
+
+                               <h2>Search on</h2>
+                               <p>
+                                       <label>Authority type</label>
+                                       <!-- TMPL_VAR NAME="authtypecode" -->
+                                       <input type="hidden" 
name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
+                               </p>
+                               <p>
+                                       <label for="mainentry">Main 
entry</label><select name="operator">
+                                               <option value="start">start 
by</option>
+                                               <option 
value="contains">contains</option>
+                                       </select><input type="text" 
id="mainentry" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
+                                       <input type="hidden" name="marclist" 
value="mainentry">
+                                       <input type="hidden" name="and_or" 
value="and">
+                                       <input type="hidden" name="excluding" 
value="">
+                                       
+                                       <input type="hidden" name="index" 
value="<!-- TMPL_VAR NAME="index" -->">
+                               </p>
+                               <p>
+                                       <label 
for="anywhere">Anywhere</label><select name="operator">
+                                               <option 
value="contains">contains</option>
+                                               <option value="start">start 
by</option>
+                                       </select><input type="text" 
name="value">
+                                       <input type="hidden" id="anywhere" 
name="marclist" value="">
+                                       <input type="hidden" name="and_or" 
value="and">
+                                       <input type="hidden" name="excluding" 
value="">
+                                       
+                                       <input type="hidden" name="index" 
value="<!-- TMPL_VAR NAME="index" -->">
+                               </p>
+                               <p>
+                               <input type="submit" value="Start search" 
class="submit" />
+                               </p>
+               </form>
 </div>
-<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
 
Index: koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities-home.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities-home.tmpl:1.1.2.4 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities-home.tmpl:1.1.2.5
--- 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities-home.tmpl:1.1.2.4   
    Wed Sep 28 18:37:15 2005
+++ koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities-home.tmpl       
Thu Mar  2 21:19:43 2006
@@ -1,60 +1,69 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Authorities
+    <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Authorities Home
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
 <!-- TMPL_INCLUDE NAME="authorities-topmenu.inc" -->
 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
-
 <div id="main">
 
-<form name="f" method="post">
-       <input type="hidden" name="op" value="do_search" />
-       <input type="hidden" name="type" value="intranet" />
-       <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR 
NAME="nbstatements" -->" />
-<div class="data"><table>
-<caption>Authority search</caption>
-<tr><th><label for="authtypecode">Authority type</label></th><td><select 
id="authtypecode" name="authtypecode">
+<h1>Authority search</h1>
+
+<form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" 
method="post">
+       <input type="hidden" name="op" value="do_search">
+       <input type="hidden" name="type" value="intranet">
+       <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR 
NAME="nbstatements" -->">
+       <div class="details">
+               <h2>Search on
+                       <select name="authtypecode">
                        <!-- TMPL_LOOP NAME="authtypesloop" -->
-                               <option value="<!-- TMPL_VAR NAME="value" -->" 
<!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
-                                       <!-- TMPL_VAR NAME="authtypetext" -->
-                               </option>
+                       <!-- TMPL_IF name="selected" --><option value="<!-- 
TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR 
NAME="authtypetext" --></option>
+                       <!-- TMPL_ELSE --><option value="<!-- TMPL_VAR 
NAME="value" -->"> <!-- TMPL_VAR NAME="authtypetext" --></option>
+                       <!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
-                       </select></td></tr>
-<tr><th><label id="mainentry">Main entry</label></th><td><select 
name="operator" id="mainentry">
+                       </select>
+               </h2>
+               <p>
+                       <label for="mainentry">Main entry</label>
+                       <input type="hidden" name="marclist" value="mainentry">
+                       <input type="hidden" name="and_or" value="and">
+                       <input type="hidden" name="excluding" value="">
+                       <select name="operator">
                                <option value="contains">contains</option>
                                <option value="start">start by</option>
-                       </select> <input type="text" name="value" value="<!-- 
TMPL_VAR NAME="value" -->" />
-                       <input type="hidden" name="marclist" value="mainentry" 
/>
-                       <input type="hidden" name="and_or" value="and" />
-                       <input type="hidden" name="excluding" value="" />
-                       </td></tr>                      
-<tr><th><label for="anywhere">Anywhere</label></th><td><select name="operator" 
id="anywhere">
+                       </select>
+                       <input type="text" id="mainentry" name="value" 
value="<!-- TMPL_VAR NAME="value" -->">
+               </p>
+               <p>
+                       <label for="anywhere">Anywhere</label>
+                       <input type="hidden" name="marclist" value="">
+                       <input type="hidden" name="and_or" value="and">
+                       <input type="hidden" name="excluding" value="">
+                       <select name="operator">
                                <option value="contains">contains</option>
                                <option value="start">start by</option>
-                       </select> <input type="text" name="value" value="<!-- 
TMPL_VAR NAME="value" -->" />
-                       <input type="hidden" name="marclist" value="" />
-                       <input type="hidden" name="and_or" value="and" />
-                       <input type="hidden" name="excluding" value="" />
-                       </td></tr></table></div>
+                       </select>
+                       <input type="text" id="anywhere" name="value" 
value="<!-- TMPL_VAR NAME="value" -->">
+               </p>
                <p>
-                       <input type="submit" value="Start search" 
class="submit" />
+                       <input type="submit" value="Start search" 
class="submit">
                </p>
+       </div>
 </form>
-
-<h2>Add authority</h2>
 <div class="details">
+<h2>Add authority</h2>
 <form name="f2" method="post" action="authorities.pl">
-       <label for="authtypecode">Authority type</label>
+       <p><label for="authtypecode">Authority type</label>
        <select name="authtypecode" id="authtypecode">
                <!-- TMPL_LOOP name="authtypesloop" -->
-                       <option value="<!-- TMPL_VAR name="value" -->" <!-- 
TMPL_IF name="selected" -->selected="selected"<!-- /TMPL_IF -->>
+                       <option value="<!-- TMPL_VAR name="value" -->" <!-- 
TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
                                <!-- TMPL_VAR name="authtypetext" -->
                        </option>
                <!-- /TMPL_LOOP -->
        </select>
-       <input type="submit" value="Add Authority" class="submit" />
-       </form>
-</div>
+       <input type="submit" value="Add" class="submit">
+       </p>
+</form>
 </div>
 
+</div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
 
Index: koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities.tmpl:1.1.2.4 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities.tmpl:1.1.2.5
--- koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities.tmpl:1.1.2.4    
Wed Jan  4 18:20:36 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities.tmpl    Thu Mar 
 2 21:19:43 2006
@@ -5,35 +5,32 @@
 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
 
 <div id="main">
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" 
-->/includes/marc-editor.css">
-
 <div class="tabbed">
-       <form method="post" action="authorities.pl" name="f">
+       <form method="post" name="f">
        <!-- TMPL_IF name="authid" -->
-               <h1>Modify authority #<!-- TMPL_VAR NAME="authid" --> <!-- 
TMPL_IF NAME="authtypetext" -->(<!-- TMPL_VAR name="authtypetext" -->)<!-- 
/TMPL_IF --></h1>
+               <h1>Modify authority #<!-- TMPL_VAR NAME="authid" --> (<!-- 
TMPL_VAR name="authtypetext" -->)</h1>
        <!-- TMPL_ELSE -->
-               <h1>Adding authority <!-- TMPL_IF NAME="authtypetext" -->(<!-- 
TMPL_VAR name="authtypetext" -->)<!-- /TMPL_IF --></h1>
+               <h1>Adding authority (<!-- TMPL_VAR name="authtypetext" 
-->)</h1>
        <!-- /TMPL_IF -->
        <p>
-               <input type="hidden" name="op" value="add" />
-               <input type="hidden" name="addfield_field" />
-               <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->" />
-               <input type="hidden" name="authid" value="<!-- TMPL_VAR 
NAME="authid" -->" />
+               <input type="hidden" name="op" value="add">
+               <input type="hidden" name="addfield_field">
+               <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR 
NAME="authtypecode" -->">
+               <input type="hidden" name="authid" value="<!-- TMPL_VAR 
NAME="authid" -->">
                <!-- TMPL_IF name="authid" -->
-                       <input type="button" value="Save" 
onClick="Check(this.form)" accesskey="w" class="submit" />
+                       <input type="button" value="Save" 
onClick="Check(this.form)" accesskey="w" class="submit">
                <!-- TMPL_ELSE -->
-                       <input type="button" value="Add authority" 
onClick="Check(this.form)" accesskey="w" class="submit" />
+                       <input type="button" value="Add authority" 
onClick="Check(this.form)" accesskey="w" class="submit">
                <!-- /TMPL_IF -->
-<!--           <a href="javascript:PopupZ3950()" class="button 
authority">z3950 search</a> -->
        </p>
 </div>
 
 <!-- TMPL_IF name="duplicateauthid" -->
        <div class="error">
-               <p>Duplicate suspected with <a 
href="javascript:openWindow('detail.pl?authid=<!-- TMPL_VAR 
name="duplicateauthid" -->&amp;popup=1', 'Duplicate Authority')"><!-- TMPL_VAR 
name="duplicateauthvalue" --></a></p>
+               <p>Duplicate suspected with <a 
href='javascript:openWindow("detail.pl?authid=<!-- TMPL_VAR 
name="duplicateauthid" -->&popup=1", "Duplicate Authority")'><!-- TMPL_VAR 
name="duplicateauthvalue" --></a></p>
                <p>You must either :</p>
                <ul>
-                       <p><input type="checkbox" value="1" 
name="confirm_not_duplicate" />confirm it's not a duplicate (and click on 
<input type="button" value="Add authority" onClick="Check(this.form)" 
accesskey="w" class="button authority"> again)</p>
+                       <p><input type="checkbox" value="1" 
name="confirm_not_duplicate">confirm it's not a duplicate (and click on <input 
type="button" value="Add authority" onClick="Check(this.form)" accesskey="w" 
class="submit"> again)</p>
                        <p>Go to <a href="authorities.pl?authid=<!-- TMPL_VAR 
name="duplicateauthid" -->" >original authority</a></p>
                </ul>
        </div>
@@ -54,7 +51,7 @@
                <p>
                        <label class="labelsubfield">
                                <!-- TMPL_UNLESS name="hide_marc" -->
-                                       <a href="#" onclick="upSubfield('<!-- 
TMPL_VAR name="index" -->'); return false;">Previous</a>
+                                       <img src="<!-- TMPL_VAR 
NAME="themelang" -->/images/prev.gif" onClick="javascript:upSubfield('<!-- 
TMPL_VAR name="index" -->')">
                                                <input type="text" 
name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1" 
maxlength="1">
                                <!-- TMPL_ELSE -->
                                                <input type="hidden" 
name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
@@ -65,7 +62,6 @@
                        </label>
                        <!-- TMPL_VAR NAME="marc_value" -->
                        <input type="hidden" name="tag" value="<!-- TMPL_VAR 
NAME="tag" -->">
-                       <input type="hidden" name="subfield" value="<!-- 
TMPL_VAR NAME="subfield" -->">
                        <input type="hidden" name="mandatory" value="<!-- 
TMPL_VAR NAME="mandatory" -->">
                        <input type="hidden" name="kohafield" value="<!-- 
TMPL_VAR NAME="kohafield" -->">
                        <input type="hidden" name="tag_mandatory" value="<!-- 
TMPL_VAR NAME="tag_mandatory" -->">
@@ -96,6 +92,8 @@
                        <input type="hidden" name="tag_mandatory" value="<!-- 
TMPL_VAR NAME="tag_mandatory" -->">
                <!-- /TMPL_IF -->
        </form>
+</div>
+       
 <script language="JavaScript" type="text/javascript">
 function _(s) { return s } // dummy function for gettext
 function active(numlayer)
@@ -161,7 +159,7 @@
                alertString2 += "\n- "+ total_missing_mandatory_subfields +_(" 
mandatory fields empty (see bold subfields)");
                alert(alertString2);
        } else {
-               document.forms[1].submit();
+               document.forms['f'].submit();
        }
 }
 function Dopop(link,i) {
@@ -189,8 +187,8 @@
 }
 
 function AddField(field) {
-       document.forms[1].op.value = "addfield";
-       document.forms[1].addfield_field.value=field;
+       document.forms['f'].op.value = "addfield";
+       document.forms['f'].addfield_field.value=field;
        document.f.submit();
 }
 
@@ -210,4 +208,5 @@
 }
 
 </script>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+</body>
+</html>
Index: 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/blinddetail-biblio-search.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/blinddetail-biblio-search.tmpl:1.1.2.1
 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/blinddetail-biblio-search.tmpl:1.1.2.2
--- 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/blinddetail-biblio-search.tmpl:1.1.2.1
      Wed Jan  4 18:20:36 2006
+++ 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/blinddetail-biblio-search.tmpl  
    Thu Mar  2 21:19:43 2006
@@ -11,7 +11,7 @@
 // go forward, until reaching the end of the field.
 while (i<opener.opener.document.f.field_value.length) {
        if (opener.opener.document.f.tag[i].value == whichfield && 
opener.opener.document.f.subfield[i].value == '9') {
-               opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR 
NAME="authid">";
+               opener.opener.document.f.field_value[i].value = "<!-- TMPL_VAR 
NAME="authid" -->";
        }
        <!-- TMPL_LOOP NAME="0XX" -->
                <!-- TMPL_LOOP NAME="subfield" -->
Index: koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail-biblio-search.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail-biblio-search.tmpl:1.1.2.2
 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail-biblio-search.tmpl:1.1.2.3
--- 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail-biblio-search.tmpl:1.1.2.2
   Thu Jan 26 21:47:09 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail-biblio-search.tmpl   
Thu Mar  2 21:19:43 2006
@@ -3,21 +3,19 @@
 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
 <!-- TMPL_INCLUDE NAME="authorities-topmenu.inc" -->
 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
-
-<div id="main">
 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" 
-->/includes/marc-editor.css">
 <div class="tabbed">
        <h1>Authority number : <!-- TMPL_VAR NAME="authid" --></h1>
        <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
-               Edit
+               <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/fileopen.png">
        </a>
        <a href="javascript:confirm_deletion()">
-               Delete
+               <img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/edittrash.png">
        </a>
        <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR 
NAME="authid" -->&index=<!-- TMPL_VAR NAME="index" -->')" class="button 
authority">
                Print
        </a>
-       <a href="javascript:CopyValues()">      <img border="0" src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" 
height="45" width="45" />
+       <a href="javascript:CopyValues()">      <img border="0" src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" 
height="45" width="45">
 
        </a>
 </div>
@@ -88,4 +86,5 @@
 }
 
 </script>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+</body>
+</html>
Index: koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail.tmpl:1.1.2.4 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail.tmpl:1.1.2.5
--- koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail.tmpl:1.1.2.4 Mon Sep 
19 21:12:47 2005
+++ koha/koha-tmpl/intranet-tmpl/npl/en/authorities/detail.tmpl Thu Mar  2 
21:19:43 2006
@@ -5,16 +5,14 @@
 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
 
 <div id="main">
-<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" 
-->/includes/marc-editor.css">
 <div class="tabbed">
-       <h1>Authority number : <!-- TMPL_VAR NAME="authid" -->  <!-- TMPL_IF 
NAME="authtypetext" -->(<!-- TMPL_VAR name="authtypetext" -->)<!-- /TMPL_IF 
--></h1>
+       <h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR 
name="authtypetext" -->)</h1>
        <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a>
-               <!-- TMPL_UNLESS name="count" -->
-               <a href="/authorities-home.pl?op=delete&amp;authid=<!-- 
TMPL_VAR NAME="authid" -->" onclick="confirm_deletion(); return 
false;">Delete</a>
+       <!-- TMPL_UNLESS name="count" -->
+               <a href="javascript:confirm_deletion()">Delete</a>
        <!-- /TMPL_UNLESS -->
-       <a href="detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->" 
onclick="Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->'); return 
false;" class="submit">
-               Print
-       </a>
+       <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR 
NAME="authid" -->')">Print</a>
+       <a 
href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- 
TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR 
NAME="authid" -->&amp;and_or=and&amp;excluding="><!-- TMPL_VAR name="count" --> 
biblios</a>
 </div>
 
 <div name="0XX" id="0XX" class="tab" style="visibility:visible">
@@ -32,7 +30,7 @@
                <!-- /TMPL_LOOP -->
        <!-- /TMPL_LOOP -->
 </div>
-       
+</div> 
 <script language="JavaScript" type="text/javascript">
 
 function confirm_deletion() {
@@ -45,4 +43,5 @@
        
newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
 }
 </script>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+</body>
+</html>
Index: 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist-auth.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist-auth.tmpl:1.1.2.4
 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist-auth.tmpl:1.1.2.5
--- 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist-auth.tmpl:1.1.2.4
  Thu Jan 26 21:47:09 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist-auth.tmpl  
Thu Mar  2 21:19:43 2006
@@ -1,110 +1,109 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Authorities
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-<!-- TMPL_INCLUDE NAME="masthead.inc" -->
-<!-- TMPL_INCLUDE NAME="authorities-topmenu.inc" -->
-<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
-
-<div id="main">
+<div id="main-compact">
+<div id="details">
        <h1>Authority search results</h1>
-       <div id="bloc25">
+       
                <form name="f" method="post" action="auth_finder.pl">
-                       <input type="hidden" name="op" value="do_search" />
-                       <input type="hidden" name="type" value="intranet" />
-                       <input type="hidden" name="nbstatements" value="<!-- 
TMPL_VAR NAME="nbstatements" -->" />
-                       <div id="bloc25">
+                       <input type="hidden" name="op" value="do_search">
+                       <input type="hidden" name="type" value="intranet">
+                       <input type="hidden" name="nbstatements" value="<!-- 
TMPL_VAR NAME="nbstatements" -->">
+
                                <h2>Search on</h2>
                                <p>
-                                       <label class="label100">Authority 
type</label>
-                                       <!-- TMPL_VAR NAME="category" -->
+                                       <label>Authority type</label>
+                                       <!-- TMPL_VAR NAME="authtypecode" -->
+                                       <input type="hidden" 
name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->">
+                               </p>
+                               <p>
+                                       <label for="mainentry">Main 
entry</label><select name="operator">
+                                               <option value="start">start 
by</option>
+                                               <option 
value="contains">contains</option>
+                                       </select><input type="text" 
id="mainentry" name="value" value="<!-- TMPL_VAR name="resultstring" -->">
+                                       <input type="hidden" name="marclist" 
value="mainentry">
+                                       <input type="hidden" name="and_or" 
value="and">
+                                       <input type="hidden" name="excluding" 
value="">
+                                       
+                                       <input type="hidden" name="index" 
value="<!-- TMPL_VAR NAME="index" -->">
                                </p>
                                <p>
-                                       <label class="label100">Search 
value</label><input type="text" name="value" value="<!-- TMPL_VAR 
name="resultstring" -->" />
-                                       <input type="hidden" 
name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
-                                       <input type="hidden" name="marclist" 
value="" />
-                                       <input type="hidden" name="and_or" 
value="and" />
-                                       <input type="hidden" name="excluding" 
value="" />
-                                       <input type="hidden" name="operator" 
value="contains" />
-                                       <input type="hidden" name="index" 
value="<!-- TMPL_VAR NAME="index" -->"/>
+                                       <label 
for="anywhere">Anywhere</label><select name="operator">
+                                               <option 
value="contains">contains</option>
+                                               <option value="start">start 
by</option>
+                                       </select><input type="text" 
name="value">
+                                       <input type="hidden" id="anywhere" 
name="marclist" value="">
+                                       <input type="hidden" name="and_or" 
value="and">
+                                       <input type="hidden" name="excluding" 
value="">
+                                       
+                                       <input type="hidden" name="index" 
value="<!-- TMPL_VAR NAME="index" -->">
                                </p>
                                <p>
                                <input type="submit" value="Start search" 
class="submit" />
                                </p>
-                       </div>
                </form>
        </div>
-       <div id="bloc25">
-               <div id="resultnumber">
-                       <p>
+       <div class="details">
+               <!-- TMPL_IF NAME="numbers" --><div id="pages">
                                <!-- TMPL_IF name="displayprev" -->
-                                       <a class="pages" 
href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- 
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" 
-->&amp;op=do_search&amp;type=intranet">&lt;&lt;</a>
+                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&amp;<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&amp;op=do_search&amp;type=intranet&amp;index=<!-- TMPL_VAR name="index" 
-->">&lt;&lt;</a>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_LOOP NAME="numbers" -->
-                                       <!-- TMPL_IF name="highlight" -->
-                                               <span class="current"><!-- 
TMPL_VAR NAME="number" --></span>
-                                       <!-- TMPL_ELSE -->
-                                               <a class="pages" 
href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- 
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" 
-->&amp;op=do_search&amp;type=intranet"><!-- TMPL_VAR NAME="number" --></a>
+                                       <!-- TMPL_IF name="highlight" --><span 
class="current"><!-- TMPL_VAR NAME="number" --></span><!-- TMPL_ELSE -->
+                                               <a 
href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" 
-->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP 
name="searchdata"-->&amp;<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR 
name="val"--><!-- /TMPL_LOOP 
-->&amp;op=do_search&amp;type=intranet&amp;index=<!-- TMPL_VAR name="index" 
-->"><!-- TMPL_VAR NAME="number" --></a>
                                        <!-- /TMPL_IF -->
                                <!-- /TMPL_LOOP -->
                                <!-- TMPL_IF name="displaynext" -->
-                                       <a class="pages" 
href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- 
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" -->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" 
-->&amp;op=do_search&amp;type=intranet">&gt;&gt;</a>
+                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&amp;<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&amp;op=do_search&amp;type=intranet&amp;index=<!-- TMPL_VAR name="index" 
-->">&gt;&gt;</a>
                                <!-- /TMPL_IF -->
-                       </p>
-                       <p>
+</div><!-- /TMPL_IF -->
+<div id="results">
                                <!-- TMPL_IF name="total" -->
-                                       &nbsp;<b>Results <!-- TMPL_VAR 
NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" 
--></b><br><br>
+                                       <b>Results <!-- TMPL_VAR NAME="from" 
--> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br>
                                <!-- TMPL_ELSE -->
-                                       &nbsp;No results found.<br>
+                                       No results found.<br>
                                <!-- /TMPL_IF -->
-                       </p>
                </div>
-               <div id="resultlist">
+               <div id="searchresults">
                        <table>
                                <tr>
                                        <th>Summary</th>
                                        <th>Used</th>
                                        <th>Get It!</th>
                                </tr>
-                               <tr>
-                                       <td>&nbsp;</td>
-                                       <td>&nbsp;</td>
-                                       <td>
-                                               <a 
href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=0&amp;index=<!-- 
TMPL_VAR NAME="index" -->')" class="button authority">
-                                                       Clear
-                                               </a>
-                                       </td>
+                               
                                <!-- TMPL_LOOP NAME="result" -->
                                        <tr>
                                                <td><!-- TMPL_VAR 
NAME="summary" --></td>
                                                <td><!-- TMPL_VAR NAME="used" 
--> times</td>
                                                <td>
-                                                       <a 
href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=<!-- TMPL_VAR 
NAME="authid" -->&amp;index=<!-- TMPL_VAR NAME="index" -->')"><img src="<!-- 
TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/arrow.gif" 
width="32" hspace="0" vspace="0" border="0" /></a>
+                                                       <a 
href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=<!-- TMPL_VAR 
NAME="authid" -->&amp;index=<!-- TMPL_VAR NAME="index" -->')">Choose</a>
                                                </td>
                                        </tr>
                                <!-- /TMPL_LOOP -->
+                               <tfoot><tr>
+                                       <td colspan="2">&nbsp;</td>
+                                       <td>
+                                               <a 
href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=0&amp;index=<!-- 
TMPL_VAR NAME="index" -->')">Clear</a>
+                                       </td>
+                               </tr></tfoot>
                        </table>
+                       </div>
        
-               </div>
-               <div id="resultnumber">
-                       <p>
+
+               <!-- TMPL_IF NAME="numbers" --><div id="pages">
                                <!-- TMPL_IF name="displayprev" -->
-                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR 
NAME="resultstring" -->&op=do_search&type=intranet">
-                                               &lt;&lt;
-                                       </a>
+                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&amp;<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&amp;op=do_search&amp;type=intranet&amp;index=<!-- TMPL_VAR name="index" 
-->">&lt;&lt;</a>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_LOOP NAME="numbers" -->
-                                       <!-- TMPL_IF name="highlight" -->
-                                               <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" 
-->-highlight.gif">
-                                       <!-- TMPL_ELSE -->
-                                               <a 
href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" 
-->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" 
-->&and_or=and&operator=contains&value=<!-- TMPL_VAR NAME="resultstring" 
-->&op=do_search&type=intranet"><!-- TMPL_VAR NAME="number" --></a>
+                                       <!-- TMPL_IF name="highlight" --><span 
class="current"><!-- TMPL_VAR NAME="number" --></span><!-- TMPL_ELSE -->
+                                               <a 
href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" 
-->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP 
name="searchdata"-->&amp;<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR 
name="val"--><!-- /TMPL_LOOP 
-->&amp;op=do_search&amp;type=intranet&amp;index=<!-- TMPL_VAR name="index" 
-->"><!-- TMPL_VAR NAME="number" --></a>
                                        <!-- /TMPL_IF -->
                                <!-- /TMPL_LOOP -->
                                <!-- TMPL_IF name="displaynext" -->
-                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->&and_or=and&operator=contains&value=<!-- TMPL_VAR 
NAME="resultstring" -->&op=do_search&type=intranet">
-                                               &gt;&gt;</a>
+                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&amp;<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&amp;op=do_search&amp;type=intranet&amp;index=<!-- TMPL_VAR name="index" 
-->">&gt;&gt;</a>
                                <!-- /TMPL_IF -->
-                       </p>
-               </div>  
-       </div>
+               </div><!-- /TMPL_IF --> 
+                               </div>
 </div>
 
 <script language="JavaScript" type="text/javascript">
Index: koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist.tmpl:1.1.2.2 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist.tmpl:1.1.2.3
--- 
koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist.tmpl:1.1.2.2   
    Wed Jan  4 18:20:36 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/authorities/searchresultlist.tmpl       
Thu Mar  2 21:19:43 2006
@@ -1,65 +1,61 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Authorities
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Authorities Search 
Results
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
 <!-- TMPL_INCLUDE NAME="authorities-topmenu.inc" -->
 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
-
 <div id="main">
        <h1>Authority search results</h1>
-       <div id="resultnumber">
-               <p>
+       <div id="pages">
                        <!-- TMPL_IF name="displayprev" -->
-                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">
-                                       <img 
src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
+                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">
+                                       &lt;&lt;
                                </a>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP NAME="numbers" -->
                                <!-- TMPL_IF name="highlight" -->
-                                       <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" 
-->-highlight.gif">
+                                       <span class="current"><!-- TMPL_VAR 
NAME="number" --></span>
                                <!-- TMPL_ELSE -->
-                                       <a 
href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- 
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">
-                                               <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" 
border="0">
-                                       </a>
+                                       <a 
href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- 
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- 
TMPL_VAR name="authtypecode" -->"><!-- TMPL_VAR NAME="number" --></a>
                                <!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
                        <!-- TMPL_IF name="displaynext" -->
-                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">
-                                       <img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
-                               </a>
+                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">&gt;&gt;</a>
                                <!-- /TMPL_IF -->
-               </p>
-               <p>
+               </div>
+               <div id="results">
                        <!-- TMPL_IF name="total" -->
                        &nbsp;<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- 
TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br><br>
                        <!-- TMPL_ELSE -->
                        &nbsp;No results found.<br>
                        <!-- /TMPL_IF -->
-               </p>
-       </div>
-       <div id="resultlist">
+               </div>
+
+<div class="searchresults">
                <table>
                        <tr>
                                <th>Summary</th>
-                               <!-- TMPL_UNLESS name="isEDITORS" --><th>Used 
in</th><!-- /TMPL_UNLESS -->
+                               <!-- TMPL_UNLESS name="isEDITORS" -->
+                                       <th>Used in</th>
+                               <!-- /TMPL_UNLESS -->
                                <th>View</th>
                                <th>Delete</th>
                        </tr>
                        <!-- TMPL_LOOP NAME="result" -->
                                <tr>
                                        <td><!-- TMPL_VAR NAME="summary" 
--></td>
-                                               <!-- TMPL_UNLESS 
name="isEDITORS" -->
+                                       <!-- TMPL_UNLESS name="isEDITORS" -->
                                                <td>
-                                                       <a 
href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- 
TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR 
NAME="authid" -->&amp;and_or=and&amp;excluding="><!-- TMPL_VAR NAME="used" --> 
biblio(s)</a>
+                                                       <a 
href="/cgi-bin/koha/search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!--
 TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR 
NAME="authid" -->&amp;and_or=and&amp;excluding="><!-- TMPL_VAR NAME="used" --> 
biblio(s)</a>
                                                </td>
                                        <!-- /TMPL_UNLESS -->
                                        <td>
-                                               <a href="detail.pl?authid=<!-- 
TMPL_VAR NAME="authid" -->">Edit</a>
-                                       </td>
-                                       <td>
-                                               <!-- TMPL_UNLESS name="used" -->
-                                               <a 
href="javascript:do_delete('authorities-home.pl?op=delete&authid=<!-- TMPL_VAR 
NAME="authid" -->')">Delete</a>
-                                               <!-- /TMPL_UNLESS -->
+                                               <a href="detail.pl?authid=<!-- 
TMPL_VAR NAME="authid" -->">Edit Authority No. <!-- TMPL_VAR NAME="authid" 
--></a>
                                        </td>
+                                               <td>
+                                                       <!-- TMPL_UNLESS 
name="used" -->
+                                                       <a 
href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">Delete</a>
+                                                       <!-- /TMPL_UNLESS -->
+                                               </td>
                                </tr>
                        <!-- /TMPL_LOOP -->
                </table>
@@ -67,33 +63,26 @@
        <div id="resultnumber">
                <p>
                        <!-- TMPL_IF name="displayprev" -->
-                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">
-                                       <img 
src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
-                               </a>
+                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">&lt;&lt;</a>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP NAME="numbers" -->
-                               <!-- TMPL_IF name="highlight" -->
-                                       <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" 
-->-highlight.gif">
-                               <!-- TMPL_ELSE -->
-                                       <a 
href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- 
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">
-                                               <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" 
border="0">
-                                       </a>
+                               <!-- TMPL_IF name="highlight" --><span 
class="current"><!-- TMPL_VAR NAME="number" --></span><!-- TMPL_ELSE -->
+                                       <a 
href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- 
TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- 
TMPL_VAR name="authtypecode" -->"><!-- TMPL_VAR NAME="number" --></a>
                                <!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
                        <!-- TMPL_IF name="displaynext" -->
-                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">
-                                       <img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
-                               </a>
+                               <a href="authorities-home.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" -->">&gt;&gt;</a>
                                <!-- /TMPL_IF -->
                </p>
        </div>  
 </div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
 
-
 <script language="JavaScript" type="text/javascript" >
-function do_delete(page)
-{
-window.location = page;
+function confirm_deletion(id) {
+       var is_confirmed = confirm('Are you sure you want to delete this 
authority?');
+       if (is_confirmed) {
+               window.location="authorities-home.pl?op=delete&amp;authid="+id;
+       }
 }
 </script>
\ No newline at end of file




reply via email to

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