first go at moving templates to a modules/ dir
[koha_ffzg] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / routing.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Serials</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!--TMPL_INCLUDE NAME="menu-serials.inc" -->
7
8 <script language="javascript" type="text/javascript">
9 <!--
10
11 function reorder_item(sid,rid,rank){
12     var mylocation = 'reorder_members.pl?subscriptionid='+sid+'&routingid='+rid+'&rank='+rank;
13     window.location.href=mylocation; 
14 }
15 //-->
16 </script>
17
18 <div id="mainbloc">
19 <!-- TMPL_IF NAME="op" -->
20 <h1>Create Routing List</h1>
21 <!-- TMPL_ELSE -->
22 <h1>Edit Routing List</h1>
23 <!-- /TMPL_IF -->
24
25 <form method="post" action="routing.pl">
26 <input type="hidden" name="op" value="save" />
27 <input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->" />
28 <p><b>Serial Title:</b> <!-- TMPL_VAR NAME="title" --></p>
29 <p><b>Issue:</b> 
30
31 <select name="date_selected">
32 <!-- TMPL_LOOP NAME="dates" -->
33 <option value="<!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)" <!-- TMPL_IF NAME="selected" --> selected="SELECTED" <!-- /TMPL_IF -->><!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)</option>
34 <!-- /TMPL_LOOP -->
35 </select>
36
37
38 <!-- TMPL_VAR NAME="issue" --></p>
39
40 <!-- TMPL_IF NAME="memberloop" -->
41 <table border="0" cellspacing="0" cellpadding="0">
42 <tr valign="top"><td style="padding-top:5px;"><b>List Member:</b>&nbsp;</td>
43     <td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
44         <tr><td class="cell-header">Name</td>
45             <td class="cell-header">Location</td>
46             <td class="cell-header">Rank</td>
47             <td class="cell-header">Delete</td></tr>
48 <!-- TMPL_LOOP NAME="memberloop" -->
49         <tr><td class="cell"><!-- TMPL_VAR NAME="name" --></td>
50             <td class="cell"><!-- TMPL_VAR NAME="location" --></td>
51             <td class="cell"><!-- TMPL_VAR NAME="routingbox" --></td>
52             <td class="cell"><a href="/cgi-bin/koha/serials/routing.pl?routingid=<!-- TMPL_VAR NAME="routingid" -->&amp;subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&amp;op=delete">Delete</a></td></tr>
53 <!-- /TMPL_LOOP -->
54         <tr><td colspan="4"><br /><a onclick="search_member(<!-- TMPL_VAR
55 NAME="subscriptionid" -->); return false"
56 href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=<!-- TMPL_VAR
57 NAME="subscriptionid" -->" class="button">Add List Member</a> &nbsp; <a
58 href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&amp;op=delete" class="button">Delete All</a></td></tr>
59         </table></td></tr>
60
61 <!-- TMPL_ELSE -->
62 <table border="0" cellspacing="0" cellpadding="0">
63 <tr><td><b>List Member:&nbsp;</b></td>
64     <td><p><a onclick="search_member(<!-- TMPL_VAR NAME="subscriptionid"
65 -->); return false" href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button">Add List Member</a></p></td></tr>
66 <!-- /TMPL_IF -->
67 <tr><td valign="top" colspan="2">&nbsp;</td></tr>
68 <tr><td valign="top"><b>Notes:</b></td>
69     <td><textarea name="notes" rows="3" cols="50"><!-- TMPL_VAR NAME="routingnotes" --></textarea></td></tr>
70 <tr><td></td>
71     <td><input type="submit" name="submit" class="button" value="Save" /></td></tr>
72 </table>
73 </form>
74 </div>
75 <script type="text/javascript">
76 <!--
77
78 function search_member(subscriptionid){
79     var myurl = 'member-search.pl?subscriptionid='+subscriptionid; window.open(myurl,'FindAMember','width=500,height=400,toolbar=no,scrollbars=yes');
80 }
81 //-->
82 </script>
83 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->