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