koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en opac-suggestions.tmpl,1.


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en opac-suggestions.tmpl,1.1.2.2,1.1.2.3
Date: Wed, 24 Aug 2005 11:10:02 -0700

Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/npl/en
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2190/koha-tmpl/opac-tmpl/npl/en

Modified Files:
      Tag: rel_2_2
        opac-suggestions.tmpl 
Log Message:
Fix for Bug 926 (forms lack method and/or action attributes), making some 
template tags more translator-friendly

Index: opac-suggestions.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-suggestions.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** opac-suggestions.tmpl       12 Jul 2005 21:04:54 -0000      1.1.2.2
--- opac-suggestions.tmpl       24 Aug 2005 18:09:59 -0000      1.1.2.3
***************
*** 12,16 ****
        <p>Fill this form to suggest the library a new acquisition. You will be 
emailed when the library processes your purchase suggestion</p>
        <p>No fields are mandatory. Enter whatever information you have. The 
"Notes" field can be used to provide any additional information.</p>
!       <form>
        <table>
        <tr><th><label>Title</label></th><td><input type="text" name="title" 
size="50" maxlentgh="80" /></td></tr>
--- 12,16 ----
        <p>Fill this form to suggest the library a new acquisition. You will be 
emailed when the library processes your purchase suggestion</p>
        <p>No fields are mandatory. Enter whatever information you have. The 
"Notes" field can be used to provide any additional information.</p>
!       <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
        <table>
        <tr><th><label>Title</label></th><td><input type="text" name="title" 
size="50" maxlentgh="80" /></td></tr>
***************
*** 41,45 ****
                </tr>
                <tr>
!                       <form>
                                <th>
                                        Filter by:
--- 41,45 ----
                </tr>
                <tr>
!                       <form action="/cgi-bin/koha/opac-suggestions.pl" 
method="post">
                                <th>
                                        Filter by:
***************
*** 58,73 ****
                                </td>
                                <td>
!                                       <select name="status">
                                                <option value="">Any</option>
!                                               <option value="ASKED" <!-- 
TMPL_IF name="ASKED" -->selected<!-- /TMPL_IF -->>Requested</option>
!                                               <option value="ORDERED" <!-- 
TMPL_IF name="ORDERED" -->selected<!-- /TMPL_IF -->>Ordered</option>
!                                               <option value="REJECTED"<!-- 
TMPL_IF name="REJECTED" -->selected<!-- /TMPL_IF -->>Declined</option>
!                                               <option value="AVAILABLE"<!-- 
TMPL_IF name="AVAILABLE" -->selected<!-- /TMPL_IF -->>Available</option>
                                        </select>
                                </td>
                                <td>
                                        <select name="suggestedbyme">
!                                               <option value="1" <!-- TMPL_IF 
name="suggestedbyme" -->selected<!-- /TMPL_IF -->>Me</option>
!                                               <option value="0" <!-- 
TMPL_UNLESS name="suggestedbyme" -->selected<!-- /TMPL_UNLESS 
-->>Anybody</option>
                                        </select>
                                </td>
--- 58,94 ----
                                </td>
                                <td>
! <select name="status">
                                                <option value="">Any</option>
!                                               <!-- TMPL_IF name="ASKED" -->
!                                                       <option value="ASKED" 
selected="selected">Requested</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="ASKED">Asked</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="ACCEPTED" -->
!                                                       <option 
value="ACCEPTED" selected="selected">Accepted</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="ACCEPTED">Accepted</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="ORDERED" -->
!                                                       <option value="ORDERED" 
selected="selected">Ordered</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="ORDERED">Ordered</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="REJECTED" -->
!                                                       <option 
value="REJECTED" selected="selected">Declined</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="REJECTED">Declined</option>
!                                               <!-- /TMPL_IF -->
!                                               <!-- TMPL_IF name="AVAILABLE" 
-->
!                                                       <option 
value="AVAILABLE" selected="selected">Available</option>
!                                               <!-- TMPL_ELSE -->
!                                                       <option 
value="AVAILABLE">Available</option>
!                                               <!-- /TMPL_IF -->
                                        </select>
                                </td>
                                <td>
                                        <select name="suggestedbyme">
!                                               <!-- TMPL_IF 
NAME="suggestedbyme" --><option value="1" selected="selected"><!-- TMPL_ELSE 
--><option value="1"><!-- /TMPL_IF -->Me</option>
!                                               <!-- TMPL_UNLESS 
name="suggestedbyme" --><option value="0" selected="selected"><!-- TMPL_ELSE 
--><option value="0"><!-- /TMPL_UNLESS -->Anybody</option>
                                        </select>
                                </td>
***************
*** 80,84 ****
                        </form>
                </tr>
!               <form>
                        <input type="hidden" name="op" value="delete_confirm" />
                <!-- TMPL_LOOP NAME="suggestions_loop" -->
--- 101,105 ----
                        </form>
                </tr>
!               <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
                        <input type="hidden" name="op" value="delete_confirm" />
                <!-- TMPL_LOOP NAME="suggestions_loop" -->
***************
*** 124,131 ****
        </table>
        <!-- TMPL_ELSE --><div class="content-block">There are no pending 
purchase suggestions</div><!-- /TMPL_IF -->
!       <form>
                <input type="hidden" name="op" value="add" />
                <input type="submit" class="icon add" value="Enter a new 
purchase suggestion" />
!       <br />
        <p>Note : if you're viewing purchase suggestions submitted by anybody, 
the results will contain only <em>new</em> purchase suggestions. Suggestions 
being processed by a librarian will not be shown.</p>
  <!-- /TMPL_IF -->
--- 145,152 ----
        </table>
        <!-- TMPL_ELSE --><div class="content-block">There are no pending 
purchase suggestions</div><!-- /TMPL_IF -->
!       <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
                <input type="hidden" name="op" value="add" />
                <input type="submit" class="icon add" value="Enter a new 
purchase suggestion" />
!       </form>
        <p>Note : if you're viewing purchase suggestions submitted by anybody, 
the results will contain only <em>new</em> purchase suggestions. Suggestions 
being processed by a librarian will not be shown.</p>
  <!-- /TMPL_IF -->




reply via email to

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