1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration: <!-- TMPL_IF name="add" --><!-- TMPL_VAR name="head" --><!-- /TMPL_IF -->
2 <!-- TMPL_IF name="delete_confirm" -->Confirm deletion of branch '<!-- TMPL_VAR NAME="branchcode" -->'<!-- /TMPL_IF -->
3 <!-- TMPL_IF name="else" --><!-- TMPL_VAR name="head" --><!-- /TMPL_IF -->
4 <!-- TMPL_IF name="delete_category" -->Confirm deletion of category<!-- /TMPL_IF -->
5 <!-- TMPL_INCLUDE NAME="doc-head-close-addbiblio.inc" -->
6 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
7 <!-- TMPL_INCLUDE NAME="admin-topmenu.inc" -->
8 <!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
10 <div id="main"><!-- TMPL_IF name="add" -->
11 <h1><!-- TMPL_VAR name="head" --></h1>
12 <form action="<!-- TMPL_VAR name="action" -->" name="Aform" method="post">
13 <input type="hidden" name="op" value="add_validate" />
18 <!-- TMPL_IF name="branchcode" -->
19 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR name="branchcode" escape="HTML" -->" />
20 <!-- TMPL_VAR name="branchcode" -->
22 <input type="text" name="branchcode" size="5" maxlength="5" value="<!-- TMPL_VAR name="branchcode" escape="HTML" -->" />
28 <td><input type="text" name="branchname" size="40" maxlength="80" value="<!-- TMPL_VAR name="branchname" escape="HTML" -->" /> </td>
30 <!-- TMPL_LOOP name="categoryloop" -->
32 <td><!-- TMPL_VAR name="categoryname" --></td>
33 <td><input type="checkbox" name="<!-- TMPL_VAR name="categorycode" -->" <!-- TMPL_VAR name="checked" --> /><!-- TMPL_VAR name="codedescription" --></td>
38 <td><input type="text" name="branchaddress1" value="<!-- TMPL_VAR name="branchaddress1" escape="HTML" -->" /></td>
42 <td><input type="text" name="branchaddress2" value="<!-- TMPL_VAR name="branchaddress2" escape="HTML" -->" /></td>
46 <td><input type="text" name="branchaddress3" value="<!-- TMPL_VAR name="branchaddress3" escape="HTML" -->" /></td>
50 <td><input type="text" name="branchphone" value="<!-- TMPL_VAR name="branchphone" escape="HTML" -->" /></td>
54 <td><input type="text" name="branchfax" value="<!-- TMPL_VAR name="branchfax" escape="HTML" -->" /></td>
58 <td><input type="text" name="branchemail" value="<!-- TMPL_VAR name="branchemail" escape="HTML" -->" /></td>
60 </table><p><input type="submit" class="submit" value="Submit" /></p>
64 <!-- TMPL_IF name="delete_confirm" -->
65 <h3>Confirm Deletion of Branch <!-- TMPL_VAR NAME="branchcode" -->:</h3>
66 <div class="tabitem"><span class="form"><form action="<!-- TMPL_VAR name="action" -->" method="post">
67 <input type="hidden" name="op" value="delete_confirmed" />
68 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR name="branchcode" escape="HTML" -->" />
69 <input type="submit" value="Delete Branch" class="cancel" />
71 <form action="<!-- TMPL_VAR name="action" -->" method="post"><input type="hidden" name="op" value="">
72 <input type="submit" value="Do Not Delete" class="submit" />
76 <!-- TMPL_IF name="else" -->
78 <div class="error"><!-- TMPL_VAR name="message" --></div>
80 <caption><!-- TMPL_VAR name="head" --></caption>
89 <!-- TMPL_LOOP name="branches" -->
91 <td><!-- TMPL_VAR name="branch_name" escape="HTML" --></td>
92 <td><!-- TMPL_VAR name="branch_code" escape="HTML" --></td>
94 <!-- TMPL_IF name="address-empty-p" -->
97 <!-- TMPL_IF name="branchaddress1" -->
98 <!-- TMPL_VAR name="branchaddress1" escape="HTML" --><!-- /TMPL_IF -->
99 <!-- TMPL_IF name="branchaddress2" -->
100 <br /><!-- TMPL_VAR name="branchaddress2" escape="HTML" --><!-- /TMPL_IF -->
101 <!-- TMPL_IF name="branchaddress3" -->
102 <br /><!-- TMPL_VAR name="branchaddress3" escape="HTML" --><!-- /TMPL_IF -->
103 <!-- TMPL_IF name=branchphone -->
104 <br />Ph: <!-- TMPL_VAR name="branchphone" escape="HTML" --><!-- /TMPL_IF -->
105 <!-- TMPL_IF name="branchfax" -->
106 <br />Fax: <!-- TMPL_VAR name="branchfax" escape="HTML" --><!-- /TMPL_IF -->
107 <!-- TMPL_IF name="branchemail" -->
108 <br />Email: <!-- TMPL_VAR name="branchemail" escape="HTML" --><!-- /TMPL_IF -->
112 <!-- TMPL_IF name="no-categories-p" -->
115 <!-- TMPL_LOOP name="category_list" -->
116 <!-- TMPL_VAR name="categoryname" --><br />
121 <form action="<!-- TMPL_VAR name=action -->" method="post">
122 <input type="hidden" name="op" value="edit" />
123 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR name=value escape="HTML" -->" />
124 <input type="submit" value="Edit" class="submit" />
128 <form action="<!-- TMPL_VAR name=action -->" method="post">
129 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR name=value escape="HTML" -->" />
130 <input type="hidden" name="op" value="delete" /><input type="submit" value="Delete" class="cancel" />
136 <form action="<!-- TMPL_VAR name=action -->" method="post">
137 <p><input type="hidden" name="op" value="add" />
138 <input type="submit" class="submit" value="Add New Branch" /></p>
142 <caption>Branches Categories</caption>
150 <!-- TMPL_LOOP name="branchcategories" -->
152 <td><!-- TMPL_VAR name="categoryname" --></td>
153 <td><!-- TMPL_VAR name="categorycode" --></td>
154 <td><!-- TMPL_VAR name="codedescription" --></td>
156 <form action="<!-- TMPL_VAR name=action -->" method="post">
157 <input type="hidden" name="op" value="editcategory" />
158 <input type="hidden" name="categorycode" value="<!-- TMPL_VAR name=categorycode escape="HTML" -->" />
159 <input type="submit" value="Edit" class="submit" />
163 <form action="<!-- TMPL_VAR name=action -->" method="post">
164 <input type="hidden" name="categorycode" value="<!-- TMPL_VAR name=categorycode escape="HTML" -->" />
165 <input type="hidden" name="op" value="delete_category" /><input type="submit" value="Delete" class="cancel" />
170 </table><form action="<!-- TMPL_VAR name="action" -->" method="post"><p>
171 <input type="hidden" name="op" value="editcategory" />
172 <input type="submit" class="submit" value="Add New Category" /></p>
176 <!-- TMPL_IF name="editcategory" -->
178 <form action="<!-- TMPL_VAR name=action -->" name="Aform" method="post">
179 <input type="hidden" name=op value="addcategory_validate" />
181 <caption><!-- TMPL_VAR name="head" --></caption>
183 <td>Category code</td>
185 <!-- TMPL_IF name="categorycode" -->
186 <input type="hidden" name="categorycode" value="<!-- TMPL_VAR name=categorycode escape="HTML" -->" />
187 <!-- TMPL_VAR name="categorycode" -->
189 <input type="text" name="categorycode" size="5" maxlength="5" value="<!-- TMPL_VAR name="categorycode" escape="HTML" -->" />
195 <td><input type="text" name="categoryname" size="40" maxlength="80" value="<!-- TMPL_VAR name=categoryname escape="HTML" -->" /> </td>
199 <td><input type="text" name="codedescription" size="40" maxlength="80" value="<!-- TMPL_VAR name="codedescription" escape="HTML" -->" /> </td>
201 </table><input type="submit" value="Update" class="submit" />
205 <!-- TMPL_IF name="delete_category" -->
207 <div class="tabitem"> <form action="<!-- TMPL_VAR name=action -->" method="post">
208 <input type="hidden" name="op" value="categorydelete_confirmed" />
209 <input type="hidden" name="categorycode" value="<!-- TMPL_VAR name=categorycode escape="HTML" -->" />
210 <input type="submit" value="YES" class="submit" />
212 <form action="<!-- TMPL_VAR name="action" -->" method="post"><input type="hidden" name="op" value="">
213 <input type="submit" value="NO" class="cancel" />
215 <!-- /TMPL_IF --></div>
217 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->