Markup corrections. You can't embed a <!-- TMPL_IF --> inside an HTML tag because...
[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 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)" selected="selected"><!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)</option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)"><!-- TMPL_VAR NAME="serialseq" --> (<!-- TMPL_VAR NAME="planneddate" -->)</option><!-- /TMPL_IF -->
47 <!-- /TMPL_LOOP -->
48 </select>
49
50 <!-- TMPL_VAR NAME="issue" --></p>
51
52 <!-- TMPL_IF NAME="memberloop" -->
53 <table border="0" cellspacing="0" cellpadding="0">
54 <tr valign="top"><td style="padding-top:5px;"><b>List Member:</b></td>
55     <td><table cellspacing="0" cellpadding="0" border="0" class="collapse">
56         <tr><th>Name</th>
57             <th>Location</th>
58             <th>Rank</th>
59             <th>Delete</th></tr>
60 <!-- TMPL_LOOP NAME="memberloop" -->
61         <tr><td><!-- TMPL_VAR NAME="name" --></td>
62             <td><!-- TMPL_VAR NAME="location" --></td>
63             <td><!-- TMPL_VAR NAME="routingbox" --></td>
64             <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>
65 <!-- /TMPL_LOOP -->
66         </table><p><a onclick="search_member(<!-- TMPL_VAR
67 NAME="subscriptionid" -->); return false"
68 href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=<!-- TMPL_VAR
69 NAME="subscriptionid" -->" class="button">Add List Member</a> &nbsp; <a
70 href="/cgi-bin/koha/serials/routing.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->&amp;op=delete" class="button">Delete All</a></p></td></tr>
71
72 <!-- TMPL_ELSE -->
73 <table border="0" cellspacing="0" cellpadding="0">
74 <tr><td><b>List Member:</b></td>
75     <td><p><a onclick="search_member(<!-- TMPL_VAR NAME="subscriptionid"
76 -->); return false" href="/cgi-bin/koha/serials/member-search.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button">Add List Member</a></p></td></tr>
77 <!-- /TMPL_IF -->
78 <tr><td valign="top"><label for="notes">Notes:</label></td>
79     <td><textarea name="notes" id="notes" rows="3" cols="50"><!-- TMPL_VAR NAME="routingnotes" --></textarea></td></tr>
80 </table>
81 <p><input type="submit" name="submit" class="button" value="Save" /></p>
82 </form>
83
84 </div>
85 </div>
86
87 <div class="yui-b">
88 <!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
89 </div>
90 </div>
91 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->