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/bull bull-home.t


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bull bull-home.tmpl,1.1,1.2 order.tmpl,1.1,1.2 receipt-search-result.tmpl,1.1,1.2 result.tmpl,1.1,1.2 search-supply.tmpl,1.1,1.2 search.tmpl,1.1,1.2 statecollection.tmpl,1.1,1.2 subscription-add.tmpl,1.1,1.2 subscription-detail.tmpl,1.1,1.2
Date: Thu, 05 Aug 2004 09:35:47 -0700

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

Modified Files:
        bull-home.tmpl order.tmpl receipt-search-result.tmpl 
        result.tmpl search-supply.tmpl search.tmpl 
        statecollection.tmpl subscription-add.tmpl 
        subscription-detail.tmpl 
Log Message:
reordering code & debugging

Index: bull-home.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/bull-home.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** bull-home.tmpl      30 Jul 2004 14:16:34 -0000      1.1
--- bull-home.tmpl      5 Aug 2004 16:35:43 -0000       1.2
***************
*** 2,20 ****
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1>Serial</h1>
! <ul>
! 
! 
! 
! <div align="center"><font color="black"><b> Serial Main menu</b> </div></font>
! <br>
! <br>
! <br>
! <br>
! 
!       <li><a href="/cgi-bin/koha/bull/subscription.pl">Subscription:</a> Add 
a new subscription or watch each collection's informations</li>
!       <li><a href="/cgi-bin/koha/bull/receipt.pl">Receipt:</a> Use this menu 
to change status of serials and watch state of collection</li>
!       
! </ul>
  </div>
  <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
--- 2,40 ----
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
!       <h1 class="bull">Serials subscriptions</h1>
!       <table>
!               <tr>
!                       <th class="bull">Title</th>
!                       <th class="bull">ISSN</th>
!                       <th class="bull" colspan=2>&nbsp;</th>
!               </tr>
!               <tr>
!                       <form action="bull-home.pl" method="post">
!                       <td>
!                               <input type="text" size=40 maxlength=40 
name="title" value="<!-- TMPL_VAR name="title" -->">
!                       </td>
!                       <td>
!                               <input type="text" size=11 maxlength=11 
name="ISSN" value="<!-- TMPL_VAR name="ISSN" -->">
!                       </td>
!                       <td colspan=3>
!                               <input type="submit" value="filter" 
class="button bull">
!                       </td>
!               </tr>
!               <!-- TMPL_LOOP name="subscriptions" -->
!                       <tr>
!                               <td>
!                                       <!-- TMPL_VAR name="title" -->
!                               </td>
!                               <td>
!                                       <!-- TMPL_VAR name="ISSN" -->
!                               </td>
!                               <td>
!                                       <a 
href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR 
name="subscriptionid" -->" class="button bull">Detail</a>
!                                       <a 
href="bull/statecollection.pl?subscriptionid=<!-- TMPL_VAR 
name="subscriptionid" -->" class="button bull">Recieve</a>
!                               </td>
!                       </tr>
!               <!-- /TMPL_LOOP -->
!       </table>
!       <a href="/cgi-bin/koha/bull/subscription-add.pl" class="button 
bull">Add subscription</a>
  </div>
  <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->

Index: order.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/order.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** order.tmpl  30 Jul 2004 14:16:34 -0000      1.1
--- order.tmpl  5 Aug 2004 16:35:43 -0000       1.2
***************
*** 1,50 ****
! <!-- TMPL_INCLUDE name="neutral-top.inc" -->
  <div id="mainbloc">
! <h1 class="acquisition">Supplier Search Results</h1>
  <div id="bloc100">
! <h2 class="acquisition">You searched on <b>supplier <!-- TMPL_VAR 
name="supplier" -->,</b> <!-- TMPL_VAR name="count" --> results found</h2>
  <table>
  <tr>
!       <th class="acquisition">Order</th>
!       <th class="acquisition">Receive</th>
!       <th class="acquisition">Get it!!</th>
!       <th class="acquisition">Company</th>
!       <th class="acquisition">
!               <table class="noborder">
!                       <tr>
!                               <th class="acquisition">Basket</th>
!                               <th class="acquisition">Items</th>
!                               <th class="acquisition">Staff</th>
!                               <th class="acquisition">Date</th>
!                       </tr>
!               </table>
!       </td>
  </tr>
- 
  <!-- TMPL_LOOP name="loop_suppliers" -->
!       <tr valign=top bgcolor=<!-- TMPL_VAR name="color" -->>
                <td>
!                       <!-- TMPL_IF name="active" -->
!                               <a href="basket.pl?id=<!-- TMPL_VAR name=id 
-->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" 
-->/images/mail_send.png" title="Add order" ALT="Add" BORDER=0 ></a>
!                       <!-- TMPL_ELSE -->
!                               Inactive
!                       <!-- /TMPL_IF -->
                </td>
                <td>
!                       <a href="recieveorder.pl?id=<!-- TMPL_VAR name=id 
-->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" 
-->/images/mail_get.png" title="receive" ALT="Add" BORDER=0 ></a>
                </td>
- <td><a href="#" onClick="GetIdInOpener('<!-- TMPL_VAR name=id -->')"> <img 
src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" 
-->/images/arrow.gif" title="receive" BORDER=0 height=40 width=40></a></td>
-               <td><a href="supplier.pl?id=<!-- TMPL_VAR name=id -->"><!-- 
TMPL_VAR name="name" --></a></td>
-               <td>
-                       <table width="100%" cellspacing=0 cellpadding=5 
border=0>
-                               <!-- TMPL_LOOP name="loop_basket" -->
-                                       <tr>
-                                               <td width="15%"><a 
href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR name="basketno" 
-->"><!-- TMPL_VAR name="basketno" --></a></td>
-                                               <td width="15%"><TMPl_VAR 
name="total"></td>
-                                               <td width="40%"><!-- TMPL_VAR 
name="authorisedby" --></td>
-                                               <td width="30%"><!-- TMPL_VAR 
name="entrydate" --></td>
-                                       </tr>
-                               <!-- /TMPL_LOOP -->
-                       </table>
        </tr>
  <!-- /TMPL_LOOP -->
--- 1,22 ----
! <!-- TMPL_INCLUDE name="popup-top.inc" -->
  <div id="mainbloc">
! <h1 class="bull">Supplier Search Results</h1>
  <div id="bloc100">
! <h2 class="bull">You searched on <b>supplier <!-- TMPL_VAR name="supplier" 
-->,</b> <!-- TMPL_VAR name="count" --> results found</h2>
  <table>
  <tr>
!       <th class="acquisition">Supplier</th>
!       <th class="acquisition">Select</th>
  </tr>
  <!-- TMPL_LOOP name="loop_suppliers" -->
!       <tr bgcolor=<!-- TMPL_VAR name="color" -->>
                <td>
!                       <!-- TMPL_VAR name="name" -->
                </td>
                <td>
!                       <a href="#" onClick="GetIdInOpener('<!-- TMPL_VAR 
name=id -->')">
!                               <img src="<!-- TMPL_VAR NAME='interface' 
-->/<!-- TMPL_VAR name="theme" -->/images/arrow.gif" title="select this 
supplier" BORDER=0 height=40 width=40>
!                       </a>
                </td>
        </tr>
  <!-- /TMPL_LOOP -->
***************
*** 52,56 ****
  </CENTER>
  <br>
! <a class="button acquisition" href="supplier.pl?id=0">Add supplier</a>
  
  
--- 24,28 ----
  </CENTER>
  <br>
! <a class="button bull" href="supplier.pl?id=0">Add supplier</a>
  
  
***************
*** 59,65 ****
  function GetIdInOpener(value)
  {
!   opener.document.f.supplier.value = value;
    self.close();
  }
        
! </script>
\ No newline at end of file
--- 31,38 ----
  function GetIdInOpener(value)
  {
!   opener.document.f.aqbooksellerid.value = value;
    self.close();
  }
        
! </script>
! <!-- TMPL_INCLUDE name="popup-bottom.inc" -->

Index: receipt-search-result.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/receipt-search-result.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** receipt-search-result.tmpl  30 Jul 2004 14:16:34 -0000      1.1
--- receipt-search-result.tmpl  5 Aug 2004 16:35:43 -0000       1.2
***************
*** 39,43 ****
                                                </a> </div>
                                        </td>
!       <td><div align="center"><a href="statecollection.pl?subsid=<!-- 
TMPL_VAR name="subscriptionid" -->&serial=<!-- TMPL_VAR name="serial" -->"> 
  
                                                        <img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/Fleche.jpg"  
width="32" hspace="0" vspace="0" border="0" alt="Subscribtion serial<!-- 
TMPL_VAR name="subscriptionid" -->" title="Serial number<!-- TMPL_VAR 
name="subscriptionid" -->">
--- 39,43 ----
                                                </a> </div>
                                        </td>
!       <td><div align="center"><a href="statecollection.pl?subscriptionid=<!-- 
TMPL_VAR name="subscriptionid" -->&serial=<!-- TMPL_VAR name="serial" -->"> 
  
                                                        <img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/Fleche.jpg"  
width="32" hspace="0" vspace="0" border="0" alt="Subscribtion serial<!-- 
TMPL_VAR name="subscriptionid" -->" title="Serial number<!-- TMPL_VAR 
name="subscriptionid" -->">
***************
*** 45,55 ****
  
  </a></td></div>
-                                       <td><div align="center">
-                                               <!-- TMPL_UNLESS name="used" -->
-                                               <a 
href="javascript:do_delete('authorities-home.pl?op=delete&suscrid=<!-- TMPL_VAR 
name="subscriptionid" -->')">
-                                                       <img src="<!-- TMPL_VAR 
NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" 
width="32" hspace="0" vspace="0" border="0">
-                                               </a>
-                                               <!-- /TMPL_UNLESS -->
- </div>                                        </td>
                                </tr>
                        <!-- /TMPL_LOOP -->
--- 45,48 ----

Index: result.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/result.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** result.tmpl 30 Jul 2004 14:16:34 -0000      1.1
--- result.tmpl 5 Aug 2004 16:35:43 -0000       1.2
***************
*** 92,96 ****
  function GetIt(bibno)
  {
!   opener.document.f.biblioid.value = bibno;
    self.close();
  }
--- 92,96 ----
  function GetIt(bibno)
  {
!   opener.document.f.perioid.value = bibno;
    self.close();
  }

Index: search-supply.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/search-supply.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** search-supply.tmpl  30 Jul 2004 14:16:34 -0000      1.1
--- search-supply.tmpl  5 Aug 2004 16:35:43 -0000       1.2
***************
*** 1,12 ****
! <!-- TMPL_INCLUDE name="neutral-top.inc" -->
! <div id="mainbloc">
  
! <h1 class="acquisition">Acquisitions</h1>
  <div id="bloc25">
!       <h2 class="acquisition">Start, receive, modify order</h2>
!               <form action="/cgi-bin/koha/bull/order.pl" method=post>
!                       Supplier name : <input type="text"  size="25"   
name="supplier">
!                       <input type="submit" class="button acquisition" 
value="OK">
!               </form>
  </div>
! 
--- 1,11 ----
! <!-- TMPL_INCLUDE name="popup-top.inc" -->
  
! <div id="mainbloc">
! <h1 class="bull">Search supplier for serial subscription</h1>
  <div id="bloc25">
!       <form action="/cgi-bin/koha/bull/order.pl" method=post>
!               Supplier name : <input type="text"  size="25"   name="supplier">
!               <input type="submit" class="button bull" value="OK">
!       </form>
  </div>
! <!-- TMPL_INCLUDE name="popup-bottom.inc" -->
\ No newline at end of file

Index: search.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/search.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** search.tmpl 30 Jul 2004 14:16:34 -0000      1.1
--- search.tmpl 5 Aug 2004 16:35:43 -0000       1.2
***************
*** 1,3 ****
!     <!-- TMPL_INCLUDE NAME="neutral-top.inc" -->
  <div id="mainbloc">
  
--- 1,3 ----
!     <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
  <div id="mainbloc">
  

Index: statecollection.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/statecollection.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** statecollection.tmpl        30 Jul 2004 14:16:34 -0000      1.1
--- statecollection.tmpl        5 Aug 2004 16:35:43 -0000       1.2
***************
*** 1,243 ****
  
! <!-- TMPL_INCLUDE NAME="bull-top.inc" -->
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1>Collections</h1>
! <ul>
  
  
! 
! <div align="center"><font color="black" size="+1"><b><!-- TMPL_VAR 
name="serial" --> Collection's states</b> </div></font>
! <table>
! <form method="post" name="f">
! <tr>
! <td>  
! <div align="center"> </div>
!       <input type="hidden" name="op" value="modsubscriptionhistory">
!       <input type="hidden" name="serial" value="<!-- TMPL_VAR name="serial" 
-->">
!       <input type="hidden" name="subsid" value="<!-- TMPL_VAR name="sid" -->">
!       <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
!       Librarian identity :</td><td> <!-- TMPL_VAR name="user" --></td></tr>
! 
! <tr><td>
! Beginnning date (*) :</td>
! <td>  <input type="text" name="begin" value="<!-- TMPL_VAR name="begin" 
-->"></td>
! <td>
! Enddate date (*) :</td>
! <td>  <input type="text" name="end" value="<!-- TMPL_VAR name="end" -->"></td>
! </tr>
! <tr>
! <td> Arrived Numbers  : </td><td><TEXTAREA NAME="arrived" COLS=25 ROWS=2><!-- 
TMPL_VAR name="arrived" --></TEXTAREA> </td>
! <td> Gapped Numbers  : </td><td><TEXTAREA NAME="gapped" COLS=25 ROWS=2><!-- 
TMPL_VAR name="gapped" --></TEXTAREA></td>
! </tr>
! <tr>
! <td> Opac's note  : </td><td><TEXTAREA NAME="opac" COLS=30 ROWS=2><!-- 
TMPL_VAR name="opac" --></TEXTAREA></td>
! <td> Intra's note  : </td><td><TEXTAREA NAME="intra" COLS=30 ROWS=2><!-- 
TMPL_VAR name="intra" --></TEXTAREA></td>
! </tr>
! </table><br><table>
! <tr>
! <td>
! Waited number : 
! </td>
! <td>
!       <input type="text" name="waited" value="<!-- TMPL_VAR name="waited" 
-->">
! </td>
! </tr>
! <tr>
! <td>
! Status :
! </td>
! <td>
! <select name="status" size="1">
!                               <option value="">None</option>
!                               <option value="1" selected>Waited</option>
!                               <option value="2">Arrived</option>
!                               <option value="3">Late</option>
                                </select>
! </td>
! </tr>
! <td>
! <bR>
! <input type="button" value="Save this new exemplary state" 
onclick="Check(this.form)" accesskey="w" class="button catalogue">
! 
! </td>
! </tr>
  </div>
  
  </form>
  </table>
! <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
! 
! <script language="JavaScript" type="text/javascript">
! 
! select(0, 'X');
! select(0, 'Y');
! select(0, 'Z');
! 
! function Plugin(f)
! {
!        window.open("subscription-bib-search.pl","Find a bib 
index",'width=500,height=400,toolbar=false,scrollbars=yes');
! }
! 
! function FindAcqui(f)
! {
!        window.open("acqui-search.pl","Find a 
supplier",'width=500,height=400,toolbar=false,scrollbars=yes');
! }
! 
! 
! function Check(f)
! {
!       document.f.submit();
!       return false;
! }
! 
! function Help()
! {
!   window.open("subscription-add-help.pl","Add subscription help 
page",'width=500,height=400,toolbar=false,scrollbars=yes');
! }
! 
! function select(reponse, type)
! {
!  if (type == 'X')
!      {
!       if (reponse == 0)
!       {
!          document.f.Xstep.style.backgroundColor="#DCDCDC";    
!          document.f.Xstep.value = "";
!          document.f.Xstep.disabled = true;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#DCDCDC";        
!          document.f.X.value = "";
!          document.f.X.disabled = true;
!          
!         }
!       if (reponse == 1)
!       {
!          document.f.Xstep.style.backgroundColor="#FFFFFF";    
!          document.f.Xstep.disabled = false;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
!         }     
!       if (reponse == 2)
!       {
!          document.f.Xstep.style.backgroundColor="#FFFFFF";    
!          document.f.Xstep.disabled = false;
!          document.f.Xfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Xfreq.disabled = false;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
!         }
!       if (reponse == 3)
!       {
!          document.f.Xstep.style.backgroundColor="#DCDCDC";    
!          document.f.Xstep.value = "";
!          document.f.Xstep.disabled = true;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
!         }
!      }
!  if (type == 'Y')
!      {
!       if (reponse == 0)
!       {
!          document.f.Ystep.style.backgroundColor="#DCDCDC";    
!          document.f.Ystep.value = "";
!          document.f.Ystep.disabled = true;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#DCDCDC";        
!          document.f.Y.value = "";
!          document.f.Y.disabled = true;
!          
!         }
!       if (reponse == 1)
!       {
!          document.f.Ystep.style.backgroundColor="#FFFFFF";    
!          document.f.Ystep.disabled = false;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
!         }     
!       if (reponse == 2)
!       {
!          document.f.Ystep.style.backgroundColor="#FFFFFF";    
!          document.f.Ystep.disabled = false;
!          document.f.Yfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Yfreq.disabled = false;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
!         }
!       if (reponse == 3)
!       {
!          document.f.Ystep.style.backgroundColor="#DCDCDC";    
!          document.f.Ystep.value = "";
!          document.f.Ystep.disabled = true;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
!         }
! 
!      }
!  if (type == 'Z')
!      {
!       if (reponse == 0)
!       {
!          document.f.Zstep.style.backgroundColor="#DCDCDC";    
!          document.f.Zstep.value = "";
!          document.f.Zstep.disabled = true;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#DCDCDC";        
!          document.f.Z.value = "";
!          document.f.Z.disabled = true;
!          
!         }
!       if (reponse == 1)
!       {
!          document.f.Zstep.style.backgroundColor="#FFFFFF";    
!          document.f.Zstep.disabled = false;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
!         }     
!       if (reponse == 2)
!       {
!          document.f.Zstep.style.backgroundColor="#FFFFFF";    
!          document.f.Zstep.disabled = false;
!          document.f.Zfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Zfreq.disabled = false;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
!         }
!       if (reponse == 3)
!       {
!          document.f.Zstep.style.backgroundColor="#DCDCDC";    
!          document.f.Zstep.value = "";
!          document.f.Zstep.disabled = true;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
!         }
! 
!      }
! }
! 
! </script>
\ No newline at end of file
--- 1,91 ----
  
! <!-- TMPL_INCLUDE name="bull-top.inc" -->
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1 class="bull">Subscription for XXX <!-- TMPL_VAR name="serial" --></h1>
  
+ <div id="bloc25">
+       <h2 class="bull">Subscription summary</h2>
+       <form method="post" name="f" action="statecollection.pl">
+               <input type="hidden" name="op" value="modsubscriptionhistory">
+               <input type="hidden" name="serial" value="<!-- TMPL_VAR 
name="serial" -->">
+               <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR 
name="subscriptionid" -->">
+               <input type="hidden" name="user" value="<!-- TMPL_VAR 
name="user" -->">
+               <p><label>Librarian</label><!-- TMPL_VAR name="user" --></p>
+               <p><label>Beginnning date (*)</label><input type="text" 
name="startdate" value="<!-- TMPL_VAR name="startdate" -->"></p>
+               <p><label>End date</label><input type="text" name="enddate" 
value="<!-- TMPL_VAR name="enddate" -->"></p>
+               <p>Arrived Numbers</p>
+               <p>&nbsp;<textarea name="recievedlist" COLS=60 ROWS=5><!-- 
TMPL_VAR name="recievedlist" --></textarea></p>
+               <p>Gapped Numbers</p>
+               <p>&nbsp;<textarea name="missinglist" COLS=60 ROWS=2><!-- 
TMPL_VAR name="missinglist" --></textarea></p>
+               <p>Opac's note</p>
+               <p>&nbsp;<textarea name="opacnote" COLS=60 ROWS=5><!-- TMPL_VAR 
name="opacnote" --></textarea></p>
+               <p>Intra's note</p>
+               <p>&nbsp;<textarea name="librariannote" COLS=60 ROWS=5><!-- 
TMPL_VAR name="librariannote" --></textarea></p>
+               <input type="submit" value="Save changes" class="button bull">
+       </form>
+ </div>
  
! <div id="bloc25">
! <h2 class="bull">waited or late numbers</h2>
!       <form method="post" name="f" action="statecollection.pl">
!               <input type="hidden" name="op" value="serialchangestatus">
!               <input type="hidden" name="serial" value="<!-- TMPL_VAR 
name="serial" -->">
!               <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR 
name="subscriptionid" -->">
!               <input type="hidden" name="user" value="<!-- TMPL_VAR 
name="user" -->">
!       <table class="small">
!       <tr>
!               <th class="bull">
!                       Numbered
!               </th>
!               <th class="bull">
!                       planned for
!               </th>
!               <th class="bull">
!                       Status
!               </th>
!       </tr>
!       <!-- TMPL_LOOP name="serialslist" -->
!               <tr>
!                       <td>
!                               <input type="text" name="serialseq" value="<!-- 
TMPL_VAR name="serialseq" -->" size=50 maxlength=100>
!                       </td>
!                       <td>
!                               <input type="text" name="planneddate" 
value="<!-- TMPL_VAR name="planneddate" -->" size=10 maxlength=15>
!                       </td>
!                       <td>
!                               <input type="hidden" name="serialid" 
value="<!-- TMPL_VAR name="serialid" -->">
!                               <select name="status" size="1">
!                                       <option value="">None</option>
!                                       <!--TMPL_IF name="status1" -->
!                                               <option value="1" 
selected>Waited</option>
!                                       <!-- TMPL_ELSE -->
!                                               <option value="1" 
>Waited</option>
!                                       <!-- /TMPL_IF -->
!                                       <!--TMPL_IF name="status2" -->
!                                               <option value="2" 
selected>Arrived</option>
!                                       <!-- TMPL_ELSE -->
!                                               <option 
value="2">Arrived</option>
!                                       <!-- /TMPL_IF -->
!                                       <!--TMPL_IF name="status3" -->
!                                               <option value="3" 
selected>Late</option>
!                                       <!-- TMPL_ELSE -->
!                                               <option value="3">Late</option>
!                                       <!-- /TMPL_IF -->
!                                       <!--TMPL_IF name="status4" -->
!                                               <option value="4" 
selected>Missing</option>
!                                       <!-- TMPL_ELSE -->
!                                               <option 
value="4">Missing</option>
!                                       <!-- /TMPL_IF -->
                                </select>
!                       </td>
!               </tr>
!       <!-- /TMPL_LOOP -->
!       </table>
!       <input type="submit" value="Save changes" accesskey="w" class="button 
bull">
!       </form>
  </div>
  
  </form>
  </table>
! <!-- TMPL_INCLUDE name="bull-bottom.inc" -->
\ No newline at end of file

Index: subscription-add.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-add.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** subscription-add.tmpl       30 Jul 2004 14:16:34 -0000      1.1
--- subscription-add.tmpl       5 Aug 2004 16:35:43 -0000       1.2
***************
*** 2,169 ****
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1>Subscription</h1>
! <ul>
! 
! 
! 
! <div align="center"><font color="black"><b>Add a new subscription </b> 
</div></font>
! <table>
! <form method="post" name="f">
! <tr>
! <td>  
! <div align="center"> </div>
!       <input type="hidden" name="op" value="addsubscription">
!       <input type="hidden" name="user" value="<!-- TMPL_VAR name="user" -->">
!       Librarian identity :</td><td> <!-- TMPL_VAR name="user" --></td></tr>
! <tr><br><br>
! <td>Supplier (*) :</td>
! <td>  <input type="text" name="supplier" value=""><a href="#" 
OnClick="FindAcqui()">...</td></a></tr>
! <tr><td>
! Cost  :</td>
! <td>  <input type="text" name="cost" value=""></td>
! <td>
! Suscribtion's budget  :</td>
! <td>  <input type="text" name="budget" value=""></td></tr>
! <tr><td>
! Beginnning date (*) :</td>
! <td>  <input type="text" name="begin" value=""></td>
! 
! <td>
! Frequency (*) :</td>
! <td>  <select name="frequency" size="1">
!                               <option value="" selected>None</option>
!                               <option value="1">1/day</option>
!                               <option value="2">1 week</option>
!                               <option value="3">2 weeks</option>
!                               <option value="4">3 weeks</option>
!                               <option value="5">1 month</option>
!                               <option value="6">2 months</option>
!                               <option value="7">3 months</option>
!                               <option value="8">1 quarter</option>
!                               <option value="9">2 quarters</option>
!                               <option value="10">1 year</option>
!                               <option value="11">2 years</option>
!                               </select></td></tr>
! <tr>
! <td>
! Arrival week's day (*) :
! </td>
! <td>
!       <select name="arrival" size="1">
!                               <option value="" selected>None</option>
!                               <option value="1">Monday</option>
!                               <option value="2">Tuesday</option>
!                               <option value="3">Wednesday</option>
!                               <option value="4">Thursday</option>
!                               <option value="5">Friday</option>
!                               <option value="6">Saturday</option>
!                               <option value="7">Sunday</option>
! 
! 
!                               </select>
! </td>
! <td>Number of num</td><td>    <input type="text" name="numberlength" 
value=""></td>
! </tr>
! <tr>
! <td>Number of weeks</td><td>  <input type="text" name="weeklength" 
value=""></td>
! <td>Number of months</td><td> <input type="text" name="monthlength" 
value=""></td>
! 
! </tr>
! <tr>
! <td>X:</td><td>       <input type="text" name="X" value="">
! </td>
! <td>
! Evolution : 
! </td>
! <td>
!       <select name="Xstate" size="1" 
onChange="select(this[this.selectedIndex].value, 'X')">
!                               <option value="" selected>None</option>
!                               <option value="1">Added</option>
!                               <option value="2">Reinitialize each</option>
!                               <option value="3">Constant</option>
!                               </select>
! 
! </td>
! </tr>
! <tr>
! <td> Xfrequency:</td><td>     <input type="text" name="Xfreq" value=""></td>
! <td> Xstep:</td><td>  <input type="text" name="Xstep" value=""></td>
! </tr>
! <tr>
! <td> Y:</td><td>      <input type="text" name="Y" value="">
! </td><td>
! Evolution : 
! </td>
! <td>
!       <select name="Ystate" size="1" 
onChange="select(this[this.selectedIndex].value, 'Y')">
!                               <option value="" selected>None</option>
!                               <option value="1">Added each</option>
!                               <option value="2">Reinitialize each</option>
!                               <option value="3">Constant</option>
!                               </select>
! 
! </td>
! </tr>
! <tr>
! <td> Yfrequency:</td><td>     <input type="text" name="Yfreq" value=""></td>
! <td> Ystep:</td><td>  <input type="text" name="Ystep" value=""></td>
! </tr>
! <tr>
! <td> Z:</td><td>      <input type="text" name="Z" value="">
! </td><td>
! Evolution : 
! </td>
! <td>
!       <select name="Zstate" size="1" 
onChange="select(this[this.selectedIndex].value, 'Z')">
                                <option value="" selected>None</option>
!                               <option value="1">Added each</option>
!                               <option value="2">Reinitialize each</option>
!                               <option value="3">Constant</option>
!                               </select>
! 
! </td></tr>
! <tr>
! <td> Zfrequency:</td><td>     <input type="text" name="Zfreq" value=""></td>
! <td> Zstep:</td><td>  <input type="text" name="Zstep" value=""></td>
! </tr>
! 
! <tr>
! <td>
! Sequencial phrase (*): 
! </td>
! <td>
!       <input type="text" name="sequence" value="">
! 
! <input type="button" value="help" onclick="Help()" accesskey="h" 
class="button catalogue">
! </td>
! <td>
! </tr>
! <tr>
! <td> Notes : </td><td><TEXTAREA NAME="notes" COLS=30 ROWS=2></TEXTAREA></td>
! <td>Arrival date : </td><td>  <input type="text" name="arrivalplanified" 
value="">
! </td>
! </tr>
! <tr>
! <td>Bib number : </td><td>    <input type="text" name="biblioid" value=""> <a 
href="#" onClick="Plugin(f)">...</a>
! </td>
! </tr>
! <tr>
! <td>
! <bR>
! <input type="button" value="Add Subscription" onclick="Check(this.form)" 
accesskey="w" class="button catalogue">
  
! </td>
! </tr>
  </div>
  
  </form>
- </table>
  <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
  
  <script language="JavaScript" type="text/javascript">
  
! select(0, 'X');
! select(0, 'Y');
! select(0, 'Z');
  
  function Plugin(f)
--- 2,245 ----
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <!-- TMPL_IF name="mod" -->
!       <h1 class="bull">Modify subscription</h1>
!       <form method="post" name="f" action="subscription-detail.pl">
!               <input type="hidden" name="op" value="modsubscription">
!               <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR 
name="subscriptionid" -->">
! <!-- TMPL_ELSE -->
!       <h1 class="bull">Add a subscription</h1>
!       <form method="post" name="f">
! <!-- /TMPL_IF -->
! <div id="bloc25">
!       <h2 class="bull">Subscription information</h2>
!               <input type="hidden" name="op" value="addsubscription">
!               <input type="hidden" name="user" value="<!-- TMPL_VAR 
name="user" -->">
!               <p>Librarian</td><td> <!-- TMPL_VAR name="user" --></p>
!               <p><label>Supplier (*):</label><input type="text" 
name="aqbooksellerid" value="<!-- TMPL_VAR name="aqbooksellerid"-->"><a 
href="#" OnClick="FindAcqui()">...</a></p>
!               <p><label>Cost</label><input type="text" name="cost" 
value="<!-- TMPL_VAR name="cost" -->"></label></p>
!               <p><label>Budget</label><input type="text" name="aqbudgetid" 
value="<!-- TMPL_VAR name="aqbudgetid" -->"></p>
!       <p><label>Biblio</label><input type="text" name="biblionumber" 
value="<!-- TMPL_VAR name="biblionumber" -->"> <a href="#" 
onClick="Plugin(f)">...</a></p>
!       <p><label>Notes</label><TEXTAREA NAME="notes" COLS=30 ROWS=2><!-- 
TMPL_VAR name="notes" --></TEXTAREA></p>
! </div>
! <div id="bloc25">
!       <h2 class="bull">Planning</h2>
!       <p><label class="label100">Beginnning date:</label> <input type="text" 
name="startdate" value="<!-- TMPL_VAR name="startdate" -->"></p>
!       <p><label class="label100">Frequency (*)</label>
!                       <select name="periodicity" size="1">
                                <option value="" selected>None</option>
!                               <!-- TMPL_IF name="periodicity1" -->
!                                       <option value="1" 
selected>1/day</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="1">1/day</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity2" -->
!                                       <option value="2" selected>1 
week</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="2">1 week</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity3" -->
!                                       <option value="3" selected>2 
weeks</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="3">2 weeks</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity4" -->
!                                       <option value="4" selected>3 
weeks</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="4">3 weeks</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity5" -->
!                                       <option value="5" selected>1 
month</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="5">1 month</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity6" -->
!                                       <option value="6" selected>2 
months</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="6">2 months</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity7" -->
!                                       <option value="7" selected>3 
months</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="7">3 months</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity8" -->
!                                       <option value="8" selected>1 
quarter</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="8">1 quarter</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity9" -->
!                                       <option value="9" selected>2 
quarters</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="9">2 quarters</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity10" -->
!                                       <option value="10" selected>1 
year</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="10">1 year</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="periodicity11" -->
!                                       <option value="11" selected>2 
years</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="11">2 years</option>
!                               <!-- /TMPL_IF -->
!                       </select>
!       </p>
!       <p><label class="label100">Arrives on</label>
!                       <select name="dow" size="1">
!                               <option value="">None</option>
!                               <!-- TMPL_IF name="dow1" -->
!                                       <option value="1" 
selected>Monday</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="1">Monday</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="dow2" -->
!                                       <option value="2" 
selected>Tuesday</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="2">Tuesday</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="dow3" -->
!                                       <option value="3" 
selected>Wednesday</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="3">Wednesday</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="dow4" -->
!                                       <option value="4" 
selected>Thursday</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="4">Thursday</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="dow5" -->
!                                       <option value="5" 
selected>Friday</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="5">Friday</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="dow6" -->
!                                       <option value="6" 
selected>Saturday</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="6">Saturday</option>
!                               <!-- /TMPL_IF -->
!                               <!-- TMPL_IF name="dow7" -->
!                                       <option value="7" 
selected>Sunday</option>
!                               <!-- TMPL_ELSE -->
!                                       <option value="7">Sunday</option>
!                               <!-- /TMPL_IF -->
!                       </select>
! </div>
! <div id="bloc25">
!       <h2 class="bull">Subscription length</h2>
!       <p><label class="label100">Number of num</label><input type="text" 
name="numberlength" value="<!-- TMPL_VAR name="numberlength" -->"></p>
!       <p><label class="label100">Number of weeks</label><input type="text" 
name="weeklength" value="<!-- TMPL_VAR name="weeklength" -->"></p>
!       <p><label class="label100">Number of months</label><input type="text" 
name="monthlength" value="<!-- TMPL_VAR name="monthlength" -->"></p>
  
! </div>
! <div id="bloc25">
!       <h2 class="bull">Numbering calculation</h2>
!       <p>
!               <p>Numbering formula: <input type="text" name="numberingmethod" 
value="<!-- TMPL_VAR name="numberingmethod" -->"></p>
!               <table class="small">
!                       <tr>
!                               <th class="bull">&nbsp;</th>
!                               <th class="bull">X</th>
!                               <th class="bull">Y</th>
!                               <th class="bull">Z</th>
!                       </tr>
!                       <tr>
!                               <td class="bull">Evolution</td>
!                               <td>
!                                       <select name="seqtype1" size="1" 
onChange="select(this[this.selectedIndex].value, 'X')">
!                                               <option value="">None</option>
!                                               <!-- TMPL_IF name="seqtype11" 
-->
!                                                       <option value="1" 
selected>Added each</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option value="1">Added 
each</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="seqtype12" 
-->
!                                                       <option value="2" 
selected>Reinitialize each</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="2">Reinitialize each</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="seqtype13" 
-->
!                                                       <option value="3" 
selected>Constant</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="3">Constant</option>
!                                               <!-- /TMPL_IF -->
!                                               </select>
!                               </td>
!                               <td>
!                                       <select name="seqtype2" size="1" 
onChange="select(this[this.selectedIndex].value, 'Y')">
!                                               <option value="" 
selected>None</option>
!                                               <!-- TMPL_IF name="seqtype21" 
-->
!                                                       <option value="1" 
selected>Added each</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option value="1">Added 
each</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="seqtype22" 
-->
!                                                       <option value="2" 
selected>Reinitialize each</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="2">Reinitialize each</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="seqtype23" 
-->
!                                                       <option value="3" 
selected>Constant</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="3">Constant</option>
!                                               <!-- /TMPL_IF -->
!                                               </select>
!                               </td>
!                               <td>
!                                       <select name="seqtype3" size="1" 
onChange="select(this[this.selectedIndex].value, 'Z')">
!                                               <option value="" 
selected>None</option>
!                                               <!-- TMPL_IF name="seqtype31" 
-->
!                                                       <option value="1" 
selected>Added each</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option value="1">Added 
each</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="seqtype32" 
-->
!                                                       <option value="2" 
selected>Reinitialize each</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="2">Reinitialize each</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="seqtype33" 
-->
!                                                       <option value="3" 
selected>Constant</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="3">Constant</option>
!                                               <!-- /TMPL_IF -->
!                                               </select>
!                               </td>
!                       </tr>
!                       <tr>
!                               <td class="bull">Value</td>
!                               <td><input type="text" name="seqnum1" 
value="<!-- TMPL_VAR name="seqnum1" -->"></td>
!                               <td><input type="text" name="seqnum2" 
value="<!-- TMPL_VAR name="seqnum2" -->"></td>
!                               <td><input type="text" name="seqnum3" 
value="<!-- TMPL_VAR name="seqnum3" -->"></td>
!                       </tr>
!                       <tr>
!                               <td class="bull">Frequency</td>
!                               <td><input type="text" name="freq1" value="<!-- 
TMPL_VAR name="freq1" -->"></td>
!                               <td><input type="text" name="freq2" value="<!-- 
TMPL_VAR name="freq2" -->"></td>
!                               <td><input type="text" name="freq3" value="<!-- 
TMPL_VAR name="freq3" -->"></td>
!                       </tr>
!                       <tr>
!                               <td class="bull">Step</td>
!                               <td><input type="text" name="step1" value="<!-- 
TMPL_VAR name="step1" -->"></td>
!                               <td><input type="text" name="step2" value="<!-- 
TMPL_VAR name="step2" -->"></td>
!                               <td><input type="text" name="step3" value="<!-- 
TMPL_VAR name="step3" -->"></td>
!                       </tr>
!               </table>
! <td>Arrival date : </td><td>  <input type="text" name="arrivalplanified" 
value="<!-- TMPL_VAR name="arrivalplanified" -->">
! </div>
! <!-- TMPL_IF name="mod" -->
!       <input type="button" value="Save subscription" 
onclick="Check(this.form)" accesskey="w" class="button bull">
! <!-- TMPL_ELSE -->
!       <input type="button" value="Add subscription" 
onclick="Check(this.form)" accesskey="w" class="button bull">
! <!-- /TMPL_IF -->
  </div>
  
  </form>
  <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
  
  <script language="JavaScript" type="text/javascript">
  
! select(<!--TMPL_VAR name="seqtype1"-->, 'X');
! select(<!--TMPL_VAR name="seqtype2"-->, 'Y');
! select(<!--TMPL_VAR name="seqtype3"-->, 'Z');
  
  function Plugin(f)
***************
*** 180,188 ****
  function Check(f)
  {
!   if (f.supplier.value.length != 0 && f.arrival.value.length != 0
!       && f.begin.value.length != 0 && f.sequence.value.length != 0
!       && f.frequency.value.length != 0)
        {
!               alert('subscription ok');
                document.f.submit();
          }
--- 256,264 ----
  function Check(f)
  {
!   if (f.aqbooksellerid.value.length != 0 && f.dow.value.length != 0
!       && f.startdate.value.length != 0 && f.dow.value.length != 0
!       && f.periodicity.value.length != 0)
        {
! //            alert('subscription ok');
                document.f.submit();
          }
***************
*** 194,202 ****
  }
  
- function Help()
- {
-   window.open("subscription-add-help.pl","Add subscription help 
page",'width=500,height=400,toolbar=false,scrollbars=yes');
- }
- 
  function select(reponse, type)
  {
--- 270,273 ----
***************
*** 205,248 ****
        if (reponse == 0)
        {
!          document.f.Xstep.style.backgroundColor="#DCDCDC";    
!          document.f.Xstep.value = "";
!          document.f.Xstep.disabled = true;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#DCDCDC";        
!          document.f.X.value = "";
!          document.f.X.disabled = true;
           
          }
        if (reponse == 1)
        {
!          document.f.Xstep.style.backgroundColor="#FFFFFF";    
!          document.f.Xstep.disabled = false;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
          }     
        if (reponse == 2)
        {
!          document.f.Xstep.style.backgroundColor="#FFFFFF";    
!          document.f.Xstep.disabled = false;
!          document.f.Xfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Xfreq.disabled = false;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
          }
        if (reponse == 3)
        {
!          document.f.Xstep.style.backgroundColor="#DCDCDC";    
!          document.f.Xstep.value = "";
!          document.f.Xstep.disabled = true;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
          }
       }
--- 276,319 ----
        if (reponse == 0)
        {
!          document.f.step1.style.backgroundColor="#DCDCDC";    
!          document.f.step1.value = "";
!          document.f.step1.disabled = true;
!          document.f.freq1.style.backgroundColor="#DCDCDC";    
!          document.f.freq1.value = "";
!          document.f.freq1.disabled = true;
!          document.f.seqnum1.style.backgroundColor="#DCDCDC";  
!          document.f.seqnum1.value = "";
!          document.f.seqnum1.disabled = true;
           
          }
        if (reponse == 1)
        {
!          document.f.step1.style.backgroundColor="#FFFFFF";    
!          document.f.step1.disabled = false;
!          document.f.freq1.style.backgroundColor="#DCDCDC";    
!          document.f.freq1.value = "";
!          document.f.freq1.disabled = true;
!          document.f.seqnum1.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum1.disabled = false;
          }     
        if (reponse == 2)
        {
!          document.f.step1.style.backgroundColor="#FFFFFF";    
!          document.f.step1.disabled = false;
!          document.f.freq1.style.backgroundColor="#FFFFFF";    
!          document.f.freq1.disabled = false;
!          document.f.seqnum1.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum1.disabled = false;
          }
        if (reponse == 3)
        {
!          document.f.step1.style.backgroundColor="#DCDCDC";    
!          document.f.step1.value = "";
!          document.f.step1.disabled = true;
!          document.f.freq1.style.backgroundColor="#DCDCDC";    
!          document.f.freq1.value = "";
!          document.f.freq1.disabled = true;
!          document.f.seqnum1.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum1.disabled = false;
          }
       }
***************
*** 251,292 ****
        if (reponse == 0)
        {
!          document.f.Ystep.style.backgroundColor="#DCDCDC";    
!          document.f.Ystep.value = "";
!          document.f.Ystep.disabled = true;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#DCDCDC";        
!          document.f.Y.value = "";
!          document.f.Y.disabled = true;
           
          }
        if (reponse == 1)
        {
!          document.f.Ystep.style.backgroundColor="#FFFFFF";    
!          document.f.Ystep.disabled = false;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
          }     
        if (reponse == 2)
        {
!          document.f.Ystep.style.backgroundColor="#FFFFFF";    
!          document.f.Ystep.disabled = false;
!          document.f.Yfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Yfreq.disabled = false;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
          }
        if (reponse == 3)
        {
!          document.f.Ystep.style.backgroundColor="#DCDCDC";    
!          document.f.Ystep.value = "";
!          document.f.Ystep.disabled = true;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
           document.f.Y.style.backgroundColor="#FFFFFF";        
           document.f.Y.disabled = false;
--- 322,363 ----
        if (reponse == 0)
        {
!          document.f.step2.style.backgroundColor="#DCDCDC";    
!          document.f.step2.value = "";
!          document.f.step2.disabled = true;
!          document.f.freq2.style.backgroundColor="#DCDCDC";    
!          document.f.freq2.value = "";
!          document.f.freq2.disabled = true;
!          document.f.seqnum2.style.backgroundColor="#DCDCDC";  
!          document.f.seqnum2.value = "";
!          document.f.seqnum2.disabled = true;
           
          }
        if (reponse == 1)
        {
!          document.f.step2.style.backgroundColor="#FFFFFF";    
!          document.f.step2.disabled = false;
!          document.f.freq2.style.backgroundColor="#DCDCDC";    
!          document.f.freq2.value = "";
!          document.f.freq2.disabled = true;
!          document.f.seqnum2.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum2.disabled = false;
          }     
        if (reponse == 2)
        {
!          document.f.step2.style.backgroundColor="#FFFFFF";    
!          document.f.step2.disabled = false;
!          document.f.freq2.style.backgroundColor="#FFFFFF";    
!          document.f.freq2.disabled = false;
!          document.f.seqnum2.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum2.disabled = false;
          }
        if (reponse == 3)
        {
!          document.f.step2.style.backgroundColor="#DCDCDC";    
!          document.f.step2.value = "";
!          document.f.step2.disabled = true;
!          document.f.freq2.style.backgroundColor="#DCDCDC";    
!          document.f.freq2.value = "";
!          document.f.freq2.disabled = true;
           document.f.Y.style.backgroundColor="#FFFFFF";        
           document.f.Y.disabled = false;
***************
*** 298,341 ****
        if (reponse == 0)
        {
!          document.f.Zstep.style.backgroundColor="#DCDCDC";    
!          document.f.Zstep.value = "";
!          document.f.Zstep.disabled = true;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#DCDCDC";        
!          document.f.Z.value = "";
!          document.f.Z.disabled = true;
           
          }
        if (reponse == 1)
        {
!          document.f.Zstep.style.backgroundColor="#FFFFFF";    
!          document.f.Zstep.disabled = false;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
          }     
        if (reponse == 2)
        {
!          document.f.Zstep.style.backgroundColor="#FFFFFF";    
!          document.f.Zstep.disabled = false;
!          document.f.Zfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Zfreq.disabled = false;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
          }
        if (reponse == 3)
        {
!          document.f.Zstep.style.backgroundColor="#DCDCDC";    
!          document.f.Zstep.value = "";
!          document.f.Zstep.disabled = true;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
          }
  
--- 369,412 ----
        if (reponse == 0)
        {
!          document.f.step3.style.backgroundColor="#DCDCDC";    
!          document.f.step3.value = "";
!          document.f.step3.disabled = true;
!          document.f.freq3.style.backgroundColor="#DCDCDC";    
!          document.f.freq3.value = "";
!          document.f.freq3.disabled = true;
!          document.f.seqnum3.style.backgroundColor="#DCDCDC";  
!          document.f.seqnum3.value = "";
!          document.f.seqnum3.disabled = true;
           
          }
        if (reponse == 1)
        {
!          document.f.step3.style.backgroundColor="#FFFFFF";    
!          document.f.step3.disabled = false;
!          document.f.freq3.style.backgroundColor="#DCDCDC";    
!          document.f.freq3.value = "";
!          document.f.freq3.disabled = true;
!          document.f.seqnum3.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum3.disabled = false;
          }     
        if (reponse == 2)
        {
!          document.f.step3.style.backgroundColor="#FFFFFF";    
!          document.f.step3.disabled = false;
!          document.f.freq3.style.backgroundColor="#FFFFFF";    
!          document.f.freq3.disabled = false;
!          document.f.seqnum3.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum3.disabled = false;
          }
        if (reponse == 3)
        {
!          document.f.step3.style.backgroundColor="#DCDCDC";    
!          document.f.step3.value = "";
!          document.f.step3.disabled = true;
!          document.f.freq3.style.backgroundColor="#DCDCDC";    
!          document.f.freq3.value = "";
!          document.f.freq3.disabled = true;
!          document.f.seqnum3.style.backgroundColor="#FFFFFF";  
!          document.f.seqnum3.disabled = false;
          }
  

Index: subscription-detail.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-detail.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** subscription-detail.tmpl    30 Jul 2004 14:16:34 -0000      1.1
--- subscription-detail.tmpl    5 Aug 2004 16:35:43 -0000       1.2
***************
*** 1,463 ****
- 
  <!-- TMPL_INCLUDE NAME="bull-top.inc" -->
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1>Subscription</h1>
! <ul>
! 
! 
! 
! <div align="center"><font color="black"><b>View an actual subscription</b> 
</div></font>
! <table>
  <form method="post" name="f">
! <tr>
! <td>  
! <div align="center"> </div>
!       <input type="hidden" name="op" value="modsubscription">
!       <input type="hidden" name="suscr" value="<!-- TMPL_VAR name="suscr" 
-->">
!       <input type="hidden" name="user" value="<!-- TMPL_VAR name="librarian" 
-->">
!       Librarian identity :</td><td> <!-- TMPL_VAR name="user" --></td></tr>
! <tr><br><br>
! <td>Supplier (*) :</td>
! <td>  <input type="text" name="supplier" value="<!-- TMPL_VAR 
name="aqbooksellerid" -->"><a href="#" OnClick="FindAcqui()">...</td></a></tr>
! <tr><td>
! Cost  :</td>
! <td>  <input type="text" name="cost" value="<!-- TMPL_VAR name="cost" 
-->"></td>
! <td>
! Suscribtion's budget  :</td>
! <td>  <input type="text" name="budget" value="<!-- TMPL_VAR name="aqbudgetid" 
-->"></td></tr>
! <tr><td>
! Beginnning date (*) :</td>
! <td>  <input type="text" name="begin" value="<!-- TMPL_VAR name="startdate" 
-->"></td>
! 
! <td>
! Frequency (*) :</td>
! <td>  <select name="frequency" size="1" value="2">
!                               <option value="">None</option>
!               <!--TMPL_IF name="frequency1" -->
!                               <option value="1" selected>1/day</option>
!               <!-- TMPL_ELSE -->
!                               <option value="1">1/day</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency2" -->
!                               <option value="2" selected>1/week</option>
!               <!-- TMPL_ELSE -->
!                               <option value="2">1/week</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency3" -->
!                               <option value="3" selected>2/weeks</option>
!               <!-- TMPL_ELSE -->
!                               <option value="3">2/weeks</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency4" -->
!                               <option value="4" selected>3/weeks</option>
!               <!-- TMPL_ELSE -->
!                               <option value="4">3/weeks</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency5" -->
!                               <option value="5" selected>1 Month</option>
!               <!-- TMPL_ELSE -->
!                               <option value="5">1 Month</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency6" -->
!                               <option value="6" selected>2 Monthes</option>
!               <!-- TMPL_ELSE -->
!                               <option value="6">2 Monthes</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency7" -->
!                               <option value="7" selected>3 Monthes</option>
!               <!-- TMPL_ELSE -->
!                               <option value="7">3 Monthes</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency8" -->
!                               <option value="8" selected>1 quarter</option>
!               <!-- TMPL_ELSE -->
!                               <option value="8">1 quarter</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency9" -->
!                               <option value="9" selected>2 quarters</option>
!               <!-- TMPL_ELSE -->
!                               <option value="9">2 quarters</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency10" -->
!                               <option value="10" selected>1 year</option>
!               <!-- TMPL_ELSE -->
!                               <option value="10">1 year</option>
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="frequency11" -->
!                               <option value="11" selected>2 years</option>
!               <!-- TMPL_ELSE -->
!                               <option value="11">2 years</option>
!               <!-- /TMPL_IF -->
!                               </select></td></tr>
! <tr>
! <td>
! Arrival week's day (*) :
! </td>
! <td>
!       <select name="arrival" size="1">
!                               <option value="" selected>None</option>
                <!--TMPL_IF name="arrival1" -->
!                               <option value="1" SELECTED>Monday</option>
!               <!-- TMPL_ELSE -->
!                               <option value="1">Monday</option>
! 
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival2" -->
!                               <option value="2" SELECTED>Tuesday</option>
!               <!-- TMPL_ELSE -->
!                               <option value="2">Tuesday</option>
! 
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival3" -->
!                               <option value="3"  SELECTED>Wednesday</option>
!               <!-- TMPL_ELSE -->
!                               <option value="3">Wednesday</option>
! 
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival4" -->
!                               <option value="4"  SELECTED>Thursday</option>
!               <!-- TMPL_ELSE -->
!                               <option value="4">Thursday</option>
! 
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival5" -->
!                               <option value="5"  SELECTED>Friday</option>
!               <!-- TMPL_ELSE -->
!                               <option value="5">Friday</option>
! 
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival6" -->
!                               <option value="6"  SELECTED>Saturday</option>
!               <!-- TMPL_ELSE -->
!                               <option value="6">Saturday</option>
! 
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival7" -->
!                               <option value="7" SELECTED>Sunday</option>
!               <!-- TMPL_ELSE -->
!                               <option value="7">Sunday</option>
! 
                <!-- /TMPL_IF -->
- 
-                               </select>
- </td>
- <td>Number of num</td><td>    <input type="text" name="numberlength" 
value="<!-- TMPL_VAR name="numberlength" -->"></td>
- </tr>
- <tr>
- <td>Number of weeks</td><td>  <input type="text" name="weeklength" 
value="<!-- TMPL_VAR name="weeklength" -->"></td>
- <td>Number of months</td><td> <input type="text" name="monthlength" 
value="<!-- TMPL_VAR name="monthlength" -->"></td>
- 
- </tr>
- <tr>
- <td>X:</td><td>       <input type="text" name="X" value="<!-- TMPL_VAR 
name="seqnum1" -->">
- </td>
- <td>
- Evolution : 
- </td>
- <td>
-       <select name="Xstate" size="1" 
onChange="select(this[this.selectedIndex].value, 'X')">
-                               <option value="" selected>None</option>
-       <!-- TMPL_IF NAME="Xstate1" --> 
-                               <option value="1" SELECTED>Added</option>
-       <!-- TMPL_ELSE -->
-                       <option value="1" > Added </option>
-       <!-- /TMPL_IF -->
-       <!-- TMPL_IF NAME="Xstate2" --> 
-                               <option value="2" SELECTED>Reinitialize 
each</option>
-       <!-- TMPL_ELSE -->
-                       <option value="2" >Reinitialize each</option>
-       <!-- /TMPL_IF -->
-       <!-- TMPL_IF NAME="Xstate3"     -->
-                               <option value="3" SELECTED>Constant</option>
-       <!-- TMPL_ELSE -->
-                       <option value="3" > Constant </option>
-       <!-- /TMPL_IF -->
-                               </select>
- 
- </td>
- </tr>
- <tr>
- <td> Xfrequency:</td><td>     <input type="text" name="Xfreq" value="<!-- 
TMPL_VAR name="freq1" -->"></td>
- <td> Xstep:</td><td>  <input type="text" name="Xstep" value="<!-- TMPL_VAR 
name="step1" -->"></td>
- </tr>
- <tr>
- <td> Y:</td><td>      <input type="text" name="Y" value="<!-- TMPL_VAR 
name="seqnum2" -->">
- </td><td>
- Evolution : 
- </td>
- <td>
-       <select name="Ystate" size="1" 
onChange="select(this[this.selectedIndex].value, 'Y')">
-                               <option value="" selected>None</option>
-       <!-- TMPL_IF NAME="Ystate1" --> 
-                               <option value="1" SELECTED>Added</option>
-       <!-- TMPL_ELSE -->
-                       <option value="1" > Added </option>
-       <!-- /TMPL_IF -->
-       <!-- TMPL_IF NAME="Ystate2" --> 
-                               <option value="2" SELECTED>Reinitialize 
each</option>
-       <!-- TMPL_ELSE -->
-                       <option value="2" >Reinitialize each</option>
-       <!-- /TMPL_IF -->
-       <!-- TMPL_IF NAME="Ystate3"     -->
-                               <option value="3" SELECTED>Constant</option>
-       <!-- TMPL_ELSE -->
-                       <option value="3" > Constant </option>
-       <!-- /TMPL_IF -->
-                               </select>
- 
- </td>
- </tr>
- <tr>
- <td> Yfrequency:</td><td>     <input type="text" name="Yfreq" value="<!-- 
TMPL_VAR name="freq2" -->"></td>
- <td> Ystep:</td><td>  <input type="text" name="Ystep" value="<!-- TMPL_VAR 
name="step2" -->"></td>
- </tr>
- <tr>
- <td> Z:</td><td>      <input type="text" name="Z" value="<!-- TMPL_VAR 
name="seqnum3" -->">
- </td><td>
- Evolution : 
- </td>
- <td>
-       <select name="Zstate" size="1" 
onChange="select(this[this.selectedIndex].value, 'Z')">
-                               <option value="" selected>None</option>
-       <!-- TMPL_IF NAME="Zstate1" --> 
-                               <option value="1" SELECTED>Added</option>
-       <!-- TMPL_ELSE -->
-                       <option value="1" > Added </option>
-       <!-- /TMPL_IF -->
-       <!-- TMPL_IF NAME="Zstate2" --> 
-                               <option value="2" SELECTED>Reinitialize 
each</option>
-       <!-- TMPL_ELSE -->
-                       <option value="2" >Reinitialize each</option>
-       <!-- /TMPL_IF -->
-       <!-- TMPL_IF NAME="Zstate3"     -->
-                               <option value="3" SELECTED>Constant</option>
-       <!-- TMPL_ELSE -->
-                       <option value="3" > Constant </option>
-       <!-- /TMPL_IF -->
-                               </select>
-                               </select>
- 
- </td></tr>
- <tr>
- <td> Zfrequency:</td><td>     <input type="text" name="Zfreq" value="<!-- 
TMPL_VAR name="freq3" -->"></td>
- <td> Zstep:</td><td>  <input type="text" name="Zstep" value="<!-- TMPL_VAR 
name="step3" -->"></td>
- </tr>
- 
- <tr>
- <td>
- Sequencial phrase (*): 
- </td>
- <td>
-       <input type="text" name="sequence" value="<!-- TMPL_VAR name="sequence" 
-->">
- 
- <input type="button" value="help" onclick="Help()" accesskey="h" 
class="button catalogue">
- </td>
- <td>
- </tr>
- <tr>
- <td> Notes : </td><td><TEXTAREA NAME="notes" COLS=30 ROWS=2 value="<!-- 
TMPL_VAR name="notes" -->"></TEXTAREA></td>
- <td>Arrival date : </td><td>  <input type="text" name="arrivalplanified" 
value="<!-- TMPL_VAR name="arrivalplanified" -->">
- </td>
- </tr>
- <tr>
- <td>Bib number : </td><td>    <input type="text" name="biblioid" value="<!-- 
TMPL_VAR name="biblioid" -->"> <a href="#" onClick="Plugin(f)">...</a>
- </td>
- </tr>
- <tr>
- <td>
- <bR>
- <input type="button" value="Mod Subscription" onclick="Check(this.form)" 
accesskey="w" class="button catalogue">
- 
- 
- </td>
- </tr>
  </div>
  
! </form>
! </table>
! 
! <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
! 
! <script language="JavaScript" type="text/javascript">
! select(document.f.Xstate[document.f.Xstate.selectedIndex].value, 'X');
! select(document.f.Ystate[document.f.Xstate.selectedIndex].value, 'Y');
! select(document.f.Zstate[document.f.Xstate.selectedIndex].value, 'Z');
! 
! function Plugin(f)
! {
!        window.open("subscription-bib-search.pl","Find a bib 
index",'width=500,height=400,toolbar=false,scrollbars=yes');
! }
! 
! function FindAcqui(f)
! {
!        window.open("acqui-search.pl","Find a 
supplier",'width=500,height=400,toolbar=false,scrollbars=yes');
! }
! 
! 
! function Check(f)
! {
!   if (f.supplier.value.length != 0 && f.arrival.value.length != 0
!       && f.begin.value.length != 0 && f.sequence.value.length != 0
!       && f.frequency.value.length != 0)
!       {
!               alert('subscription ok');
!               document.f.submit();
!         }
! else
! {
!       alert('field marked with * are mandatory');
! }
!       return false;
! }
! 
! function Help()
! {
!   window.open("subscription-add-help.pl","Add subscription help 
page",'width=500,height=400,toolbar=false,scrollbars=yes');
! }
! 
! function select(reponse, type)
! {
!  if (type == 'X')
!      {
!       if (reponse == 0)
!       {
!          document.f.Xstep.style.backgroundColor="#DCDCDC";    
!          document.f.Xstep.value = "";
!          document.f.Xstep.disabled = true;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#DCDCDC";        
!          document.f.X.value = "";
!          document.f.X.disabled = true;
!          
!         }
!       if (reponse == 1)
!       {
!          document.f.Xstep.style.backgroundColor="#FFFFFF";    
!          document.f.Xstep.disabled = false;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
!         }     
!       if (reponse == 2)
!       {
!          document.f.Xstep.style.backgroundColor="#FFFFFF";    
!          document.f.Xstep.disabled = false;
!          document.f.Xfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Xfreq.disabled = false;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
!         }
!       if (reponse == 3)
!       {
!          document.f.Xstep.style.backgroundColor="#DCDCDC";    
!          document.f.Xstep.value = "";
!          document.f.Xstep.disabled = true;
!          document.f.Xfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Xfreq.value = "";
!          document.f.Xfreq.disabled = true;
!          document.f.X.style.backgroundColor="#FFFFFF";        
!          document.f.X.disabled = false;
!         }
!      }
!  if (type == 'Y')
!      {
!       if (reponse == 0)
!       {
!          document.f.Ystep.style.backgroundColor="#DCDCDC";    
!          document.f.Ystep.value = "";
!          document.f.Ystep.disabled = true;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#DCDCDC";        
!          document.f.Y.value = "";
!          document.f.Y.disabled = true;
!          
!         }
!       if (reponse == 1)
!       {
!          document.f.Ystep.style.backgroundColor="#FFFFFF";    
!          document.f.Ystep.disabled = false;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
!         }     
!       if (reponse == 2)
!       {
!          document.f.Ystep.style.backgroundColor="#FFFFFF";    
!          document.f.Ystep.disabled = false;
!          document.f.Yfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Yfreq.disabled = false;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
!         }
!       if (reponse == 3)
!       {
!          document.f.Ystep.style.backgroundColor="#DCDCDC";    
!          document.f.Ystep.value = "";
!          document.f.Ystep.disabled = true;
!          document.f.Yfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Yfreq.value = "";
!          document.f.Yfreq.disabled = true;
!          document.f.Y.style.backgroundColor="#FFFFFF";        
!          document.f.Y.disabled = false;
!         }
! 
!      }
!  if (type == 'Z')
!      {
!       if (reponse == 0)
!       {
!          document.f.Zstep.style.backgroundColor="#DCDCDC";    
!          document.f.Zstep.value = "";
!          document.f.Zstep.disabled = true;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#DCDCDC";        
!          document.f.Z.value = "";
!          document.f.Z.disabled = true;
!          
!         }
!       if (reponse == 1)
!       {
!          document.f.Zstep.style.backgroundColor="#FFFFFF";    
!          document.f.Zstep.disabled = false;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
!         }     
!       if (reponse == 2)
!       {
!          document.f.Zstep.style.backgroundColor="#FFFFFF";    
!          document.f.Zstep.disabled = false;
!          document.f.Zfreq.style.backgroundColor="#FFFFFF";    
!          document.f.Zfreq.disabled = false;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
!         }
!       if (reponse == 3)
!       {
!          document.f.Zstep.style.backgroundColor="#DCDCDC";    
!          document.f.Zstep.value = "";
!          document.f.Zstep.disabled = true;
!          document.f.Zfreq.style.backgroundColor="#DCDCDC";    
!          document.f.Zfreq.value = "";
!          document.f.Zfreq.disabled = true;
!          document.f.Z.style.backgroundColor="#FFFFFF";        
!          document.f.Z.disabled = false;
!         }
  
!      }
! }
  
! </script>
\ No newline at end of file
--- 1,155 ----
  <!-- TMPL_INCLUDE NAME="bull-top.inc" -->
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1 class="bull">Subscription</h1>
! <a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR 
name="subscriptionid" -->" class="button bull">Edit</a>
! <a href="statecollection.pl?subscriptionid=<!-- TMPL_VAR 
name="subscriptionid" -->" class="button bull">Recieve</a>
  <form method="post" name="f">
! <div id="bloc25">
!       <h2 class="bull">Subscription information</h2>
!               <p>Librarian identity :</td><td> <!-- TMPL_VAR name="librarian" 
--></p>
!               <p><label>Supplier </label><!-- TMPL_VAR 
name="aqbooksellername" --></p>
!               <p><label>Cost</label><!-- TMPL_VAR name="cost" --></p>
!               <p><label>Budget </label><!-- TMPL_VAR name="bookfundid" --></p>
!               <p><label class="label100">Biblio</label><!-- TMPL_VAR 
name="bibliotitle" --></p>
!               <p><label class="label100">Notes:</label><!-- TMPL_VAR 
name="notes" --></p>
! </div>
! <div id="bloc25">
!       <h2 class="bull">Planning</h2>
!       <p><label class="label100">Beginnning date:</label> <!-- TMPL_VAR 
name="startdate" --></p>
!       <p><label class="label100">Frequency (*):</label>
!               <!--TMPL_IF name="periodicity1" -->
!                               1/day
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity2" -->
!                               1/week
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity3" -->
!                               2/weeks
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity4" -->
!                               3/weeks
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity5" -->
!                               1/Month
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity6" -->
!                               1/2 Monthes
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity7" -->
!                               1/3 Monthes
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity8" -->
!                               1/quarter
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity9" -->
!                               2 quarters
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity10" -->
!                               1 year
!               <!-- /TMPL_IF -->
!               <!--TMPL_IF name="periodicity11" -->
!                               2 years
!               <!-- /TMPL_IF -->
!       </p>
!       <p><label class="label100">Arrives on:</label>
                <!--TMPL_IF name="arrival1" -->
!                       Monday
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival2" -->
!                               Tuesday
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival3" -->
!                               Wednesday
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival4" -->
!                               Thursday
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival5" -->
!                               Friday
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival6" -->
!                               Saturday
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="arrival7" -->
!                               Sunday
                <!-- /TMPL_IF -->
  </div>
+ <div id="bloc25">
+       <h2 class="bull">Subscription length</h2>
+       <p><label class="label100">Number of num</label><!-- TMPL_VAR 
name="numberlength" --></p>
+       <p><label class="label100">Number of weeks</label><!-- TMPL_VAR 
name="weeklength" --></p>
+       <p><label class="label100">Number of months</label><!-- TMPL_VAR 
name="monthlength" --></p>
  
! </div>
! <div id="bloc25">
!       <h2 class="bull">Numbering calculation</h2>
!       <p>
!               <p>Numbering formula: <!-- TMPL_VAR name="numberingmethod" 
--></p>
!               <table class="small">
!                       <tr>
!                               <th class="bull">&nbsp;</th>
!                               <th class="bull">X</th>
!                               <th class="bull">Y</th>
!                               <th class="bull">Z</th>
!                       </tr>
!                       <tr>
!                               <td class="bull">Evolution</td>
!                               <td>
!                                       <!-- TMPL_IF NAME="seqtype11" -->       
!                                               Added
!                                       <!-- /TMPL_IF -->
!                                       <!-- TMPL_IF NAME="seqtype12" -->       
!                                               Reinitialize each
!                                       <!-- /TMPL_IF -->
!                                       <!-- TMPL_IF NAME="seqtype13"   -->
!                                               Constant
!                                       <!-- /TMPL_IF -->
!                               </td>
!                               <td>
!                                       <!-- TMPL_IF NAME="seqtype21" -->       
!                                               Added
!                                       <!-- /TMPL_IF -->
!                                       <!-- TMPL_IF NAME="seqtype22" -->       
!                                               Reinitialize each
!                                       <!-- /TMPL_IF -->
!                                       <!-- TMPL_IF NAME="seqtype23"   -->
!                                               Constant
!                                       <!-- /TMPL_IF -->
!                               </td>
!                               <td>
!                                       <!-- TMPL_IF NAME="seqtype31" -->       
!                                               Added
!                                       <!-- /TMPL_IF -->
!                                       <!-- TMPL_IF NAME="seqtype32" -->       
!                                               Reinitialize each
!                                       <!-- /TMPL_IF -->
!                                       <!-- TMPL_IF NAME="seqtype33"   -->
!                                               Constant
!                                       <!-- /TMPL_IF -->
!                               </td>
!                       </tr>
!                       <tr>
!                               <td class="bull">Value</td>
!                               <td><!-- TMPL_VAR name="seqnum1" --></td>
!                               <td><!-- TMPL_VAR name="seqnum2" --></td>
!                               <td><!-- TMPL_VAR name="seqnum3" --></td>
!                       </tr>
!                       <tr>
!                               <td class="bull">Frequency</td>
!                               <td><!-- TMPL_VAR name="freq1" --></td>
!                               <td><!-- TMPL_VAR name="freq2" --></td>
!                               <td><!-- TMPL_VAR name="freq3" --></td>
!                       </tr>
!                       <tr>
!                               <td class="bull">Step</td>
!                               <td><!-- TMPL_VAR name="step1" --></td>
!                               <td><!-- TMPL_VAR name="step2" --></td>
!                               <td><!-- TMPL_VAR name="step3" --></td>
!                       </tr>
!               </table>
! </div>
  
! </div>
  
! <!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
\ No newline at end of file




reply via email to

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