koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/value_builder un


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/value_builder unimarc_field_210c.tmpl,NONE,1.1 unimarc_field_140.tmpl,1.1,1.2 unimarc_field_141.tmpl,1.1,1.2 unimarc_field_225a.tmpl,1.3,1.4
Date: Wed, 24 Nov 2004 12:31:23 -0800

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/value_builder
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10018/koha-tmpl/intranet-tmpl/default/en/value_builder

Modified Files:
        unimarc_field_140.tmpl unimarc_field_141.tmpl 
        unimarc_field_225a.tmpl 
Added Files:
        unimarc_field_210c.tmpl 
Log Message:
bugfix in editor chooser
and html improvement in plugin 225a

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="auth-search-top.inc" -->
<div id="mainbloc">
        <h1 class="authority">Authority search results</h1>
        <div id="bloc25">
                <form name="f" method="post" action="plugin_launcher.pl">
                        <input type="hidden" name="plugin_name" 
value="unimarc_field_210c.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">
                                <h2 class="authority">Search on</h2>
                                <p>
                                        <label class="label100">Authority 
type</label>
                                        EDITORS
                                </p>
                                <p>
                                        <label class="label100">Search 
value</label><input type="text" name="value" value="<!-- TMPL_VAR 
name="resultstring" -->">
                                        <input type="hidden" 
name="authtypecode" value="EDITORS">
                                        <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="button authority">
                                </p>
                        </div>
                </form>
        </div>
        <div id="bloc25">
                <div id="resultnumber">
                        <p>
                                <!-- TMPL_IF name="displayprev" -->
                                        <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" 
-->&amp;&amp;authtypecode=EDITORS&and_or=and&operator=contains&value=<!-- 
TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet&index=<!-- TMPL_VAR 
name="index" -->">
                                                <img 
src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
                                        </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=EDITORS&and_or=and&operator=contains&value=<!-- TMPL_VAR 
NAME="resultstring" -->&op=do_search&type=intranet&index=<!-- TMPL_VAR 
name="index" -->">
                                                        <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=EDITORS&and_or=and&operator=contains&value=<!-- 
TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet&index=<!-- TMPL_VAR 
name="index" -->">
                                                <img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
                                <!-- /TMPL_IF -->
                        </p>
                        <p>
                                <!-- 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">
                        <table>
                                <tr>
                                        <th class="authority">Summary</th>
                                        <th class="authority">Used</th>
                                        <th class="authority">Get It!</th>
                                </tr>
                                <!-- TMPL_LOOP NAME="result" -->
                                        <tr>
                                                <td><!-- TMPL_VAR 
NAME="summary" --></td>
                                                <td><!-- TMPL_VAR NAME="used" 
--> times</td>
                                                <td>
                                                        <a 
href='javascript:report(<!-- TMPL_VAR NAME="index" -->,"<!-- TMPL_VAR 
name="summary" -->")'><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 -->
                        </table>
        
                </div>
                <div id="resultnumber">
                        <p>
                                <!-- TMPL_IF name="displayprev" -->
                                        <a href="auth_finder.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" 
-->&amp;&amp;authtypecode=EDITORS&and_or=and&operator=contains&value=<!-- 
TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
                                                <img 
src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
                                        </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=EDITORS&and_or=and&operator=contains&value=<!-- TMPL_VAR 
NAME="resultstring" -->&op=do_search&type=intranet">
                                                        <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=EDITORS&and_or=and&operator=contains&value=<!-- 
TMPL_VAR NAME="resultstring" -->&op=do_search&type=intranet">
                                                <img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
                                <!-- /TMPL_IF -->
                        </p>
                </div>  
        </div>
</div>

<script language="JavaScript" type="text/javascript">

function report(index,summary)
{       
        var regexp= /(\d* \/ *)(.*)/;
        var result=summary.match(regexp);
        alert("summary "+summary);
/*      alert("regexp : "+regexp);
        alert("result "+result);*/
        opener.document.f.field_value[index].value=result[2];
}
</script>
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->

Index: unimarc_field_140.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_field_140.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** unimarc_field_140.tmpl      7 Jun 2004 10:05:52 -0000       1.1
--- unimarc_field_140.tmpl      24 Nov 2004 20:31:13 -0000      1.2
***************
*** 1390,1394 ****
                        <!-- /TMPL_IF -->

                        <!-- TMPL_IF name="f14ej" -->

!                               <option value="ej> SELECTED>Nouvelle</option>

                        <!-- TMPL_ELSE -->

                                <option value="ej">Nouvelle</option>

--- 1390,1394 ----
                        <!-- /TMPL_IF -->

                        <!-- TMPL_IF name="f14ej" -->

!                               <option value="ej" SELECTED>Nouvelle</option>

                        <!-- TMPL_ELSE -->

                                <option value="ej">Nouvelle</option>


Index: unimarc_field_141.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_field_141.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** unimarc_field_141.tmpl      7 Jun 2004 10:05:52 -0000       1.1
--- unimarc_field_141.tmpl      24 Nov 2004 20:31:13 -0000      1.2
***************
*** 211,215 ****
                        <!-- /TMPL_IF -->

                        <!-- TMPL_IF name="f4h" -->

!                               <option value=h" SELECTED>Non relie</option>

                        <!-- TMPL_ELSE -->

                                <option value="h">Non relie</option>

--- 211,215 ----
                        <!-- /TMPL_IF -->

                        <!-- TMPL_IF name="f4h" -->

!                               <option value="h" SELECTED>Non relie</option>

                        <!-- TMPL_ELSE -->

                                <option value="h">Non relie</option>


Index: unimarc_field_225a.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_field_225a.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** unimarc_field_225a.tmpl     9 Dec 2003 10:28:58 -0000       1.3
--- unimarc_field_225a.tmpl     24 Nov 2004 20:31:13 -0000      1.4
***************
*** 1,16 ****
! <html>
! <head>
  <title>UNIMARC Field 225a builder</title>
  </head>
  <body>
! <form name="f_pop" onSubmit="javascript:report()">
! <table>
!       <tr>
!               <td>Select a collection</td>
!               <td><!-- TMPL_VAR name="collection" --></td>
!       </tr>
!       <tr><td colspan=2><input type="submit" value="OK"></td></tr>
! </table>
! </form>
  <script>
        function report() {
--- 1,13 ----
! <!-- TMPL_INCLUDE name="auth-search-top.inc" -->
  <title>UNIMARC Field 225a builder</title>
  </head>
  <body>
! <div id="mainbloc">
!       <form name="f_pop" onSubmit="javascript:report()">
!               <h2 class="authority">Collection</h2>
!               <p><label>Select a collection</label><!-- TMPL_VAR 
name="collection" --></p>
!               <input type="submit" value="OK" class="button authority"></p>
!       </form>
! </div>
  <script>
        function report() {
***************
*** 20,23 ****
        }
  </script>
! </body>
! </html>
--- 17,19 ----
        }
  </script>
! <!-- TMPL_INCLUDE name="auth-search-bottom.inc" -->




reply via email to

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