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