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 serial-issu


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bull serial-issues.tmpl,NONE,1.1 subscription-renew.tmpl,NONE,1.1 order.tmpl,1.3,1.4 statecollection.tmpl,1.2,1.3 subscription-add.tmpl,1.3,1.4 subscription-detail.tmpl,1.3,1.4
Date: Thu, 12 Aug 2004 07:37:39 -0700

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

Modified Files:
        order.tmpl statecollection.tmpl subscription-add.tmpl 
        subscription-detail.tmpl 
Added Files:
        serial-issues.tmpl subscription-renew.tmpl 
Log Message:
serials : lot of bugfixes.
Works fine now. And is documented (clic Help)

--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
<!--------------------------MAIN BODY OF PAGE-------------------------->
<div id="mainbloc">
<h1 class="catalogue">Issues for a subscription</h1>
<a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" 
class="button catalogue">Biblio</a>
<form method="post" name="f">
<div id="bloc25">
        <h2 class="catalogue">Subscription information</h2>
                <p>For <b><!-- TMPL_VAR name="bibliotitle" --></b> that began 
on <b><!-- TMPL_VAR name="startdate" --></b> and is issued every
                <b>
                <!--TMPL_IF name="periodicity1" -->
                                day
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity2" -->
                                week
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity3" -->
                                2 weeks
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity4" -->
                                3 weeks
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity5" -->
                                month
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity6" -->
                                2 monthes
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity7" -->
                                3 Monthes
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity8" -->
                                quarter
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity9" -->
                                2 quarters
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity10" -->
                                year
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity11" -->
                                2 years
                <!-- /TMPL_IF -->
                </b>
                on
                <b>
                <!--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 -->
                </b>
                </p>
                <p>(subscription for 
                        <!-- TMPL_IF name="numberlength" --><!-- TMPL_VAR 
name="numberlength" --> issues<!-- /TMPL_IF -->
                        <!-- TMPL_IF name="weeklength" --><!-- TMPL_VAR 
name="weeklength" --> weeks<!-- /TMPL_IF -->
                        <!-- TMPL_IF name="monthlength" --><!-- TMPL_VAR 
name="monthlength" --> months<!-- /TMPL_IF -->
                        )
                </p>
                <p><!-- TMPL_VAR name="notes" --></p>
</div>
<div id="bloc25">
        <h2 class="catalogue">Issues summary</h2>
        <p>
                <!-- TMPL_VAR name="librariannote" -->
        </p>
</div>

</div>

<!-- TMPL_INCLUDE NAME="bull-bottom.inc" -->
--- NEW FILE ---
<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
<div id="mainbloc">

<h1 class="bull">subscription renewal for <!-- TMPL_VAR name="bibliotitle" 
--></h1>

<form name="f" method="post">
        <div id="bloc25">
                <input type="hidden" name="op" value="renew">
                <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR 
name="subscriptionid" -->">
                <p><label class="label100">start date</label><input type="text" 
name="startdate" value="<!-- TMPL_VAR name="startdate" -->"></p>
                <p>Subscription length :</p>
                <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>
                <p>Note for the librarian that will manage your renewal 
request</p>
                <ul><textarea name="note" rows="10" cols="60"></textarea></ul>
                <input type="submit" value="Request a renewal" class="button 
bull">
        </div>
</form>
</div>
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->


Index: order.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/order.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** order.tmpl  6 Aug 2004 16:38:42 -0000       1.3
--- order.tmpl  12 Aug 2004 14:37:36 -0000      1.4
***************
*** 1,39 ****
  <!-- 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 -->','<!-- TMPL_VAR name="name" -->')">
!                               <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 -->
! </table>
! </CENTER>
! <br>
! <a class="button bull" href="supplier.pl?id=0">Add supplier</a>
! 
! 
! <script  language="javascript">
! 
! function GetIdInOpener(value,name)
! {
!   opener.document.f.aqbooksellerid.value = value;
!   opener.document.f.aqbooksellername.value= name;
!   self.close();
! }
!       
! </script>
  <!-- TMPL_INCLUDE name="popup-bottom.inc" -->
--- 1,53 ----
  <!-- TMPL_INCLUDE name="popup-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">Company</th>
!       <th class="acquisition">
!               <table class="noborder">
!                       <tr>
!                               <th class="acquisition">Basket</th>
!                               <th class="acquisition">&nbsp;</th>
!                       </tr>
!               </table>
!       </td>
  </tr>
+ 
  <!-- TMPL_LOOP name="loop_suppliers" -->
!       <tr valign=top bgcolor=<!-- TMPL_VAR name="color" -->>
!               <td><!-- TMPL_VAR name="name" --></td>
                <td>
!                       <table width="100%" cellspacing=0 cellpadding=5 
border=0>
!                                       <tr>
!                                               <th 
class="acquisition">Basket</th>
!                                               <th 
class="acquisition">Items</th>
!                                               <th class="acquisition">Created 
by</th>
!                                               <th 
class="acquisition">Date</th>
!                                               <th 
class="acquisition">&nbsp;</th>
!                                       </tr>
!                                       <!-- TMPL_LOOP NAME="loop_basket" -->
!                                               <tr>
!                                                       <td><!-- TMPL_VAR 
NAME="basketno" --></a></td>
!                                                       <td><TMPL_VAR 
NAME="total"></td>
!                                                       <td><!-- TMPL_VAR 
NAME="authorisedby" --></td>
!                                                       <td><!-- TMPL_VAR 
NAME="creationdate" --></td>
!                                                       <td>
!                                                               <!-- TMPL_IF 
name="closedate" -->
!                                                                       closed 
on <!-- TMPL_VAR NAME="closedate" -->
!                                                               <!-- TMPL_ELSE 
-->
!                                                                       <a 
href="/cgi-bin/koha/acqui/basket.pl?basket=<!-- TMPL_VAR NAME="basketno" -->" 
class="button acquisition">...</a>
!                                                               <!-- /TMPL_IF 
-->
!                                                       </td>
!                                               </tr>
!                                       <!-- /TMPL_LOOP -->
!                               </table>
!               </tr>
!       <!-- /TMPL_LOOP -->
!       </table>
!       </div>
!       <a class="button acquisition" href="supplier.pl?supplerid=0">Add 
supplier</a>
! </div>
  <!-- TMPL_INCLUDE name="popup-bottom.inc" -->

Index: statecollection.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/statecollection.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** statecollection.tmpl        5 Aug 2004 16:35:43 -0000       1.2
--- statecollection.tmpl        12 Aug 2004 14:37:36 -0000      1.3
***************
*** 3,7 ****
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1 class="bull">Subscription for XXX <!-- TMPL_VAR name="serial" --></h1>
  
  <div id="bloc25">
--- 3,8 ----
  <!--------------------------MAIN BODY OF PAGE-------------------------->
  <div id="mainbloc">
! <h1 class="bull">Subscription for <!-- TMPL_VAR name="bibliotitle" --></h1>
! <a href="subscription-detail.pl?subscriptionid=<!-- TMPL_VAR 
name="subscriptionid" -->" class="button bull">Subscription</a>
  
  <div id="bloc25">
***************
*** 13,17 ****
                <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>
--- 14,18 ----
                <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="histstartdate" value="<!-- TMPL_VAR name="histstartdate" -->"></p>
                <p><label>End date</label><input type="text" name="enddate" 
value="<!-- TMPL_VAR name="enddate" -->"></p>
                <p>Arrived Numbers</p>
***************
*** 57,65 ****
                                <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" -->
--- 58,63 ----
***************
*** 84,87 ****
--- 82,88 ----
        </table>
        <input type="submit" value="Save changes" accesskey="w" class="button 
bull">
+       <!-- TMPL_IF name="hassubscriptionexpired" -->
+               <p>Subscription has expired. Waited last issue status can't be 
changed. <a href="#" onClick="popup()" class="button bull">Renew</a> your 
subscription</p>
+       <!-- /TMPL_IF -->
        </form>
  </div>
***************
*** 89,91 ****
--- 90,100 ----
  </form>
  </table>
+ <script language="JavaScript" type="text/javascript">
+ 
+ function popup()
+ {
+        window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR 
name="subscriptionid">","subscription 
renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
+ }
+ </script>
+ 
  <!-- 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.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** subscription-add.tmpl       6 Aug 2004 16:38:42 -0000       1.3
--- subscription-add.tmpl       12 Aug 2004 14:37:36 -0000      1.4
***************
*** 16,44 ****
                <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"-->" size=4> 
(<input type="text" name="aqbooksellername" value="<!-- TMPL_VAR 
name="aqbooksellername" -->" disabled readonly>) <a href="#" 
OnClick="FindAcqui()">...</a></p>
!               <p><label>Cost</label><input type="text" name="cost" 
value="<!-- TMPL_VAR name="cost" -->" size=4></label></p>
!               <p><label>Budget</label>
!                       <select name="aqbudgetid">
!                               <!-- TMPL_LOOP name="budgets" -->
!                                       <!-- TMPL_IF name="selected" -->
!                                               <option value="<!-- TMPL_VAR 
name="aqbudgetid" -->" selected>
!                                       <!-- TMPL_ELSE -->
!                                               <option value="<!-- TMPL_VAR 
name="aqbudgetid" -->">
!                                       <!-- /TMPL_IF -->
!                                               <!-- TMPL_VAR 
name="bookfundname" --> (<!-- TMPL_VAR name="startdate" --> - <!-- TMPL_VAR 
name="enddate" -->)
!                                       </option>
!                               <!-- /TMPL_LOOP -->
!                       </select>
!                       </p>
!       <p><label>Biblio</label><input type="text" name="biblionumber" 
value="<!-- TMPL_VAR name="biblionumber" -->" size=4> (<input type="text" 
name="title" value="<!-- TMPL_VAR name="title" -->" disabled readonly>)<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" -->" size=13 
maxlength=10></p>
-       <p><label class="label100">Next issue (expected)</label><input 
type="text" name="arrivalplanified" value="<!-- TMPL_VAR 
name="arrivalplanified" -->" size=13 maxlength=10></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>
--- 16,33 ----
                <input type="hidden" name="user" value="<!-- TMPL_VAR 
name="user" -->">
                <p>Librarian</td><td> <!-- TMPL_VAR name="user" --></p>
!               <p><label>Biblio</label><input type="text" name="biblionumber" 
value="<!-- TMPL_VAR name="biblionumber" -->" size=4> (<input type="text" 
name="title" value="<!-- TMPL_VAR name="title" -->" disabled readonly>)<a 
href="#" onClick="Plugin(f)">...</a></p>
!               <p><label>Notes</label><TEXTAREA NAME="notes" COLS=30 
ROWS=2><!-- TMPL_VAR name="notes" --></TEXTAREA></p>
!               <p class="problem">warning</p>
!               <ul>
!                       <li>remember you <b>must</b> have created a biblio 
<b>before</b> creating a subscription</li>
!                       <li>a suggestion is sent to the librarian. The 
suggestion will be changed to an order</li>
!               </ul>
  </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" -->" size=13 
maxlength=10></p>
        <p><label class="label100">Frequency (*)</label>
                        <select name="periodicity" size="1">
!                               <option value="" selected>Unknown</option>
                                <!-- TMPL_IF name="periodicity1" -->
                                        <option value="1" 
selected>1/day</option>
***************
*** 47,98 ****
                                <!-- /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>
--- 36,87 ----
                                <!-- /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>1/2 
weeks</option>
                                <!-- TMPL_ELSE -->
!                                       <option value="3">1/2 weeks</option>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_IF name="periodicity4" -->
!                                       <option value="4" selected>1/3 
weeks</option>
                                <!-- TMPL_ELSE -->
!                                       <option value="4">1/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>1/2 
months</option>
                                <!-- TMPL_ELSE -->
!                                       <option value="6">1/2 months</option>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_IF name="periodicity7" -->
!                                       <option value="7" selected>1/3 
months</option>
                                <!-- TMPL_ELSE -->
!                                       <option value="7">1/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>1/2 
quarters</option>
                                <!-- TMPL_ELSE -->
!                                       <option value="9">1/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>1/2 
years</option>
                                <!-- TMPL_ELSE -->
!                                       <option value="11">1/2 years</option>
                                <!-- /TMPL_IF -->
                        </select>
***************
*** 226,232 ****
  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');
--- 215,220 ----
  function Check(f)
  {
!   if (f.dow.value.length != 0
!       && f.startdate.value.length != 0 && f.dow.value.length != 0)
        {
  //            alert('subscription ok');
***************
*** 239,386 ****
        return false;
  }
- 
- function select(reponse, type)
- {
-  if (type == 'X')
-      {
-       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;
-         }
-      }
-  if (type == 'Y')
-      {
-       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;
-         }
- 
-      }
-  if (type == 'Z')
-      {
-       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;
-         }
- 
-      }
- }
- 
  </script>
\ No newline at end of file
--- 227,229 ----

Index: subscription-detail.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bull/subscription-detail.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** subscription-detail.tmpl    6 Aug 2004 16:38:42 -0000       1.3
--- subscription-detail.tmpl    12 Aug 2004 14:37:36 -0000      1.4
***************
*** 4,8 ****
  <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">
--- 4,9 ----
  <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">Issues</a>
! <a href="/cgi-bin/koha/MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" 
-->" class="button bull">Biblio</a>
  <form method="post" name="f">
  <div id="bloc25">
***************
*** 26,33 ****
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity3" -->
!                               2/weeks
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity4" -->
!                               3/weeks
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity5" -->
--- 27,34 ----
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity3" -->
!                               1/2 weeks
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity4" -->
!                               1/3 weeks
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity5" -->
***************
*** 44,54 ****
                <!-- /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>
--- 45,55 ----
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity9" -->
!                               1/2 quarters
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity10" -->
!                               1/year
                <!-- /TMPL_IF -->
                <!--TMPL_IF name="periodicity11" -->
!                               1/2 years
                <!-- /TMPL_IF -->
        </p>
***************
*** 133,137 ****
                        </tr>           </table>
  </div>
! 
  </div>
  
--- 134,172 ----
                        </tr>           </table>
  </div>
! <div id="bloc25">
!       <h2 class="bull">Issues</h2>
!       <table class="small">
!       <tr>
!               <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Issue 
number&nbsp;&nbsp;&nbsp;&nbsp;</th>
!               <th class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Planned 
date&nbsp;&nbsp;&nbsp;&nbsp;</th>
!               <th 
class="bull">&nbsp;&nbsp;&nbsp;&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;</th>
!       </tr>
!       <!-- TMPL_LOOP name="serialslist" -->
!               <tr>
!                       <td>
!                               <!-- TMPL_VAR name="serialseq" -->
!                       </td>
!                       <td>
!                               <!-- TMPL_VAR name="planneddate" -->
!                       </td>
!                       <td>
!                                       <!--TMPL_IF name="status1" -->
!                                               Waited
!                                       <!-- /TMPL_IF -->
!                                       <!--TMPL_IF name="status2" -->
!                                               Arrived
!                                       <!-- /TMPL_IF -->
!                                       <!--TMPL_IF name="status3" -->
!                                               Late
!                                       <!-- /TMPL_IF -->
!                                       <!--TMPL_IF name="status4" -->
!                                               Missing
!                                       <!-- /TMPL_IF -->
!                               </select>
!                       </td>
!               </tr>
!       <!-- /TMPL_LOOP -->
!       </table>
! </div>
  </div>
  




reply via email to

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