koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha authorities/auth_finder.pl authorities/bli... [rel_2_2]


From: paul poulain
Subject: [Koha-cvs] koha authorities/auth_finder.pl authorities/bli... [rel_2_2]
Date: Fri, 07 Apr 2006 11:39:43 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <address@hidden>   06/04/07 11:39:43

Modified files:
        authorities    : auth_finder.pl blinddetail-biblio-search.pl 
        koha-tmpl/intranet-tmpl/default/en/acqui.simple: addbiblio.tmpl 
        koha-tmpl/intranet-tmpl/default/en/authorities: auth_finder.tmpl 
                                                        
blinddetail-biblio-search.tmpl 
                                                        
searchresultlist-auth.tmpl 

Log message:
        rewritting auth_finder for addbiblio to get cloneTag working. 
incomplete, see mail on koha-devel

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/authorities/auth_finder.pl.diff?only_with_tag=rel_2_2&tr1=1.5.2.6&tr2=1.5.2.7&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/authorities/blinddetail-biblio-search.pl.diff?only_with_tag=rel_2_2&tr1=1.4.2.6&tr2=1.4.2.7&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl.diff?only_with_tag=rel_2_2&tr1=1.33.2.18&tr2=1.33.2.19&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl.diff?only_with_tag=rel_2_2&tr1=1.6.2.3&tr2=1.6.2.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl.diff?only_with_tag=rel_2_2&tr1=1.6.2.1&tr2=1.6.2.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl.diff?only_with_tag=rel_2_2&tr1=1.5.2.4&tr2=1.5.2.5&r1=text&r2=text

Patches:
Index: koha/authorities/auth_finder.pl
diff -u koha/authorities/auth_finder.pl:1.5.2.6 
koha/authorities/auth_finder.pl:1.5.2.7
--- koha/authorities/auth_finder.pl:1.5.2.6     Sun Feb  5 21:59:21 2006
+++ koha/authorities/auth_finder.pl     Fri Apr  7 11:39:42 2006
@@ -37,7 +37,7 @@
 my $op = $query->param('op');
 my $authtypecode = $query->param('authtypecode');
 my $index = $query->param('index');
-# my $category = $query->param('category');
+my $tagid=$query->param('tagid');
 my $resultstring = $query->param('result');
 my $dbh = C4::Context->dbh;
 
@@ -133,6 +133,7 @@
                                                        startfromnext => 
$startfrom+1,
                                                        startfromprev => 
$startfrom-1,
                                                index => $index,
+                                               tagid => $tagid,
                                                        
searchdata=>address@hidden,
                                                        total=>$total,
                                                        from=>$from,
@@ -152,6 +153,7 @@
                                });
 
        $template->param(index=>$query->param('index')."",
+                                       tagid => $tagid,
                                        resultstring => $resultstring,
                                        );
 }
Index: koha/authorities/blinddetail-biblio-search.pl
diff -u koha/authorities/blinddetail-biblio-search.pl:1.4.2.6 
koha/authorities/blinddetail-biblio-search.pl:1.4.2.7
--- koha/authorities/blinddetail-biblio-search.pl:1.4.2.6       Thu Feb  9 
13:51:56 2006
+++ koha/authorities/blinddetail-biblio-search.pl       Fri Apr  7 11:39:42 2006
@@ -57,6 +57,7 @@
 
 my $authid = $query->param('authid');
 my $index = $query->param('index');
+my $tagid = $query->param('tagid');
 my $authtypecode = &AUTHfind_authtypecode($dbh,$authid);
 my $tagslib = &AUTHgettagslib($dbh,1,$authtypecode);
 
@@ -136,6 +137,7 @@
 $template->param(authid => $authid?$authid:"",
 #                              authtypesloop => address@hidden,
                                index => $index,
+                               tagid => $tagid,
                                intranetcolorstylesheet => 
C4::Context->preference("intranetcolorstylesheet"),
                intranetstylesheet => 
C4::Context->preference("intranetstylesheet"),
                IntranetNav => C4::Context->preference("IntranetNav"),
Index: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl:1.33.2.18 
koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl:1.33.2.19
--- 
koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl:1.33.2.18   
    Tue Apr  4 14:02:50 2006
+++ koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/addbiblio.tmpl Fri Apr 
 7 11:39:43 2006
@@ -81,7 +81,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -139,7 +139,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -197,7 +197,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -255,7 +255,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -314,7 +314,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -373,7 +373,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -432,7 +432,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -491,7 +491,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -550,7 +550,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -609,7 +609,7 @@
                                        <!-- TMPL_VAR NAME="subfield" -->
                                </a>
                        <!-- /TMPL_IF -->
-                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->"><p>
+                       <div style="<!-- TMPL_VAR NAME='visibility' -->;" 
id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='index' -->" 
name="subfield"><p>
                                <!-- TMPL_UNLESS NAME="advancedMARCEditor" -->
                                        <label class="labelsubfield">
                                <!-- /TMPL_UNLESS -->
@@ -671,6 +671,13 @@
        </form>
 <script language="JavaScript" type="text/javascript">
 function _(s) { return s } // dummy function for gettext
+
+function openAuth(tagid,authtype,subfieldid) {
+alert("SI"+subfieldid);
+       defaultid=document.getElementById(subfieldid);
+       newin=window.open("../authorities/auth_finder.pl?authtypecode="+  
authtype+ "&index="+ subfieldid+ "&tagid="+tagid+"&result=", "value 
builder",'width=550,height=550,toolbar=false,scrollbars=yes');
+}
+
 function active(numlayer)
 {
        for (i=0; i < 10 ; i++ ) {
@@ -771,9 +778,12 @@
                document.forms['f'].submit();
        }
 }
-function Dopop(link,i) {
-       defaultvalue=document.forms['f'].field_value[i].value;
-       newin=window.open(link+"&result="+defaultvalue,"value 
builder",'width=550,height=550,toolbar=false,scrollbars=yes');
+function Dopop(link,subfieldid) {
+       defaultid=document.getElementById(subfieldid);
+       alert("DEF"+defaultid);
+       subfield_value=defaultid.getElementsByTagName("subfield_value");;
+       alert("DEF"+subfield_value);
+       newin=window.open(link+"&result="+subfield_value.value,"value 
builder",'width=550,height=550,toolbar=false,scrollbars=yes');
 }
 
 function PopupZ3950() {
@@ -832,8 +842,10 @@
 function cloneTag(index) {
  var original = document.getElementById(index);
  var clone = original.cloneNode(true);
- clone.setAttribute("id", index + index); 
- original.parentNode.insertBefore( clone, original.nextSibling); 
+ clone.setAttribute("id", index + index);
+ // OK, now rename the id of the 
+ original.parentNode.insertBefore( clone, original.nextSibling);
+
 }
 
 function upSubfield(index) {
Index: koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl:1.6.2.3 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl:1.6.2.4
--- 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl:1.6.2.3    
    Thu Aug 25 16:00:53 2005
+++ koha/koha-tmpl/intranet-tmpl/default/en/authorities/auth_finder.tmpl        
Fri Apr  7 11:39:43 2006
@@ -24,6 +24,7 @@
                                <option value="contains">contains</option>
                        </select>
                        <input type="hidden" name="index" value="<!-- TMPL_VAR 
NAME="index" -->">
+                       <input type="hidden" name="tagid" value="<!-- TMPL_VAR 
NAME="tagid" -->">
                </p>
                <p>
                        <label class="label100">Anywhere</label><input 
type="text" name="value">
@@ -35,6 +36,7 @@
                                <option value="start">start by</option>
                        </select>
                        <input type="hidden" name="index" value="<!-- TMPL_VAR 
NAME="index" -->">
+                       <input type="hidden" name="tagid" value="<!-- TMPL_VAR 
NAME="tagid" -->">
                </p>
                <p>
                        <input type="submit" value="Start search" class="button 
authority">
Index: 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl:1.6.2.1
 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl:1.6.2.2
--- 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl:1.6.2.1
  Wed Dec 14 13:56:39 2005
+++ 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/blinddetail-biblio-search.tmpl
  Fri Apr  7 11:39:43 2006
@@ -3,48 +3,45 @@
 <body>
 <script language="JavaScript" type="text/javascript">
 
-function go()
-{
-var index_start = <!-- TMPL_VAR NAME="index" -->;
-var whichfield = opener.opener.document.f.tag[index_start].value;
-i=index_start
-// 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" -->";
-       }
-       <!-- TMPL_LOOP NAME="0XX" -->
-               <!-- TMPL_LOOP NAME="subfield" -->
-                       if (opener.opener.document.f.tag[i].value == whichfield 
&& opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR 
NAME="marc_subfield" -->') 
-                       {
-                               opener.opener.document.f.field_value[i].value = 
"<!-- TMPL_VAR NAME="marc_value" -->";
+function go() {
+       var tagid = '<!-- TMPL_VAR NAME="tagid" -->';
+//     alert("I"+tagid);
+       var whichtag = opener.opener.document.getElementById(tagid);
+       // parses all the fields of this tag (every id)
+       whichsubfields=whichtag.getElementsByTagName("div");
+       subfieldcode='';
+       for(var i=0; i<whichsubfields.length;i++) {
+               // get every <input>
+               change_value=whichsubfields[i].getElementsByTagName("input");
+               for(j=0;j<change_value.length;j++) {
+                       // if this <input> if the subfield code, store if for 
future use !
+                       if (change_value[j].getAttribute("name") == 'subfield') 
{
+                               
subfieldcode=subfield_value=change_value[j].value;
+//                             alert("subfieldcode ="+subfieldcode);
                        }
-               <!-- /TMPL_LOOP -->
-       <!-- /TMPL_LOOP -->
-       if (opener.opener.document.f.tag[i].value != whichfield) {
-               i=opener.opener.document.f.field_value.length;
-       }
-       i++;
-}
-// go backward until the beginning of the field
-i=index_start
-while (i>=0) {
-       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">";
-       }
-       <!-- TMPL_LOOP NAME="0XX" -->
-               <!-- TMPL_LOOP NAME="subfield" -->
-                       if (opener.opener.document.f.tag[i].value == whichfield 
&& opener.opener.document.f.subfield[i].value == '<!-- TMPL_VAR 
NAME="marc_subfield" -->') 
-                       {
-                               opener.opener.document.f.field_value[i].value = 
"<!-- TMPL_VAR NAME="marc_value" -->";
+                       // if this <input> is for field_value => replace it by 
the correct value
+                       if (change_value[j].getAttribute("name") == 
'field_value') {
+                               // empty any previous value, except if we are 
facing a $4 (UNIMARC specific, does not exist in MARC21)
+                               if (subfieldcode !=4) {
+                                       change_value[j].value ='';
+                               }
+                               // if we are on the $9 replace by authid
+                               if (subfieldcode=='9') {
+//                                             alert("subfield 9 valeur <!-- 
TMPL_VAR NAME="authid" -->");
+                                       change_value[j].value = "<!-- TMPL_VAR 
NAME="authid" -->";
+                               }
+                               // otherwise, build the loop for all subfields 
to replace
+                               <!-- TMPL_LOOP NAME="0XX" -->
+                                       <!-- TMPL_LOOP NAME="subfield" -->
+                                               if (subfieldcode == '<!-- 
TMPL_VAR NAME="marc_subfield" -->') {
+//                                             alert("subfield"+subfieldcode+" 
valeur <!-- TMPL_VAR NAME="marc_value" -->");
+                                                       change_value[j].value = 
"<!-- TMPL_VAR NAME="marc_value" -->";
+                                               }
+                                       <!-- /TMPL_LOOP -->
+                               <!-- /TMPL_LOOP -->
                        }
-               <!-- /TMPL_LOOP -->
-       <!-- /TMPL_LOOP -->
-       if (opener.opener.document.f.tag[i].value != whichfield) {
-               i=0;
+               }
        }
-       i--;
-}
        opener.close();
        self.close();
        return false;
Index: 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl:1.5.2.4
 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl:1.5.2.5
--- 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl:1.5.2.4
      Thu Jul 28 09:55:17 2005
+++ 
koha/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl  
    Fri Apr  7 11:39:43 2006
@@ -23,6 +23,7 @@
                                                <option 
value="contains">contains</option>
                                        </select>
                                        <input type="hidden" name="index" 
value="<!-- TMPL_VAR NAME="index" -->">
+                                       <input type="hidden" name="tagid" 
value="<!-- TMPL_VAR NAME="tagid" -->">
                                </p>
                                <p>
                                        <label 
class="label100">Anywhere</label><input type="text" name="value">
@@ -34,6 +35,7 @@
                                                <option value="start">start 
by</option>
                                        </select>
                                        <input type="hidden" name="index" 
value="<!-- TMPL_VAR NAME="index" -->">
+                                       <input type="hidden" name="tagid" 
value="<!-- TMPL_VAR NAME="tagid" -->">
                                </p>
                                <p>
                                <input type="submit" value="Start search" 
class="button authority">
@@ -45,7 +47,7 @@
                <div id="resultnumber">
                        <p>
                                <!-- TMPL_IF name="displayprev" -->
-                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
+                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->&tagid=<!-- 
TMPL_VAR name="tagid" -->">
                                                <img 
src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
                                        </a>
                                <!-- /TMPL_IF -->
@@ -53,12 +55,12 @@
                                        <!-- 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" --><!-- TMPL_LOOP 
name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR 
name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR 
name="index" -->">
+                                               <a 
href="auth_finder.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" 
-->&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" --><!-- TMPL_LOOP 
name="searchdata"-->&<!-- TMPL_VAR name="term" -->=<!-- TMPL_VAR 
name="val"--><!-- /TMPL_LOOP -->&op=do_search&type=intranet&index=<!-- TMPL_VAR 
name="index" -->&tagid=<!-- TMPL_VAR name="tagid" -->">
                                                        <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" 
border="0"></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" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->">
+                                       <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;&amp;authtypecode=<!-- TMPL_VAR 
name="authtypecode" --><!-- TMPL_LOOP name="searchdata"-->&<!-- TMPL_VAR 
name="term" -->=<!-- TMPL_VAR name="val"--><!-- /TMPL_LOOP 
-->&op=do_search&type=intranet&index=<!-- TMPL_VAR name="index" -->&tagid=<!-- 
TMPL_VAR name="tagid" -->">
                                                <img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
                                <!-- /TMPL_IF -->
                        </p>
@@ -81,7 +83,7 @@
                                        <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">
+                                               <a 
href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=0&amp;index=<!-- 
TMPL_VAR NAME="index" -->&amp;tagid=<!-- TMPL_VAR NAME="tagid" -->')" 
class="button authority">
                                                        Clear
                                                </a>
                                        </td>
@@ -90,7 +92,7 @@
                                                <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" -->&amp;tagid=<!-- 
TMPL_VAR NAME="tagid" -->')"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- 
TMPL_VAR NAME="theme" -->/images/arrow.gif" width="32" hspace="0" vspace="0" 
border="0"></a>
                                                </td>
                                        </tr>
                                <!-- /TMPL_LOOP -->
@@ -125,7 +127,7 @@
 
 function jumpfull(page)
 {      
-       window.open(page,'','fullscreen,scrollbars');
+       window.open(page,'','width=10,height=10');
 }
 </script>
 <!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->




reply via email to

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