Lines 1-7
Link Here
|
1 |
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> |
1 |
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> |
2 |
<title>Koha › Administration › Patron Categories › <!-- TMPL_IF NAME="add_form" --><!-- TMPL_IF NAME="categorycode" -->Modify category '<!-- TMPL_VAR NAME="categorycode" -->'<!-- TMPL_ELSE -->New category<!-- /TMPL_IF --><!-- /TMPL_IF --> |
2 |
<title>Koha › Administration › Patron Categories › <!-- TMPL_IF NAME="add_form" --><!-- TMPL_IF NAME="categorycode" -->Modify category '<!-- TMPL_VAR NAME="categorycode" escape="html" -->'<!-- TMPL_ELSE -->New category<!-- /TMPL_IF --><!-- /TMPL_IF --> |
3 |
<!-- TMPL_IF NAME="add_validate" -->Data recorded<!-- /TMPL_IF --> |
3 |
<!-- TMPL_IF NAME="add_validate" -->Data recorded<!-- /TMPL_IF --> |
4 |
<!-- TMPL_IF NAME="delete_confirm" --><!-- TMPL_IF NAME="totalgtzero" -->Cannot Delete: Category <!-- TMPL_VAR NAME="categorycode" --> in Use<!-- TMPL_ELSE -->Confirm Deletion of Category '<!-- TMPL_VAR NAME="categorycode" -->'<!-- /TMPL_IF --><!-- /TMPL_IF --> |
4 |
<!-- TMPL_IF NAME="delete_confirm" --><!-- TMPL_IF NAME="totalgtzero" -->Cannot Delete: Category <!-- TMPL_VAR NAME="categorycode" escape="html" --> in Use<!-- TMPL_ELSE -->Confirm Deletion of Category '<!-- TMPL_VAR NAME="categorycode" escape="html" -->'<!-- /TMPL_IF --><!-- /TMPL_IF --> |
5 |
<!-- TMPL_IF NAME="delete_confirmed" -->Category Deleted<!-- /TMPL_IF --></title> |
5 |
<!-- TMPL_IF NAME="delete_confirmed" -->Category Deleted<!-- /TMPL_IF --></title> |
6 |
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
6 |
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
7 |
<script type="text/javascript"> |
7 |
<script type="text/javascript"> |
Lines 74-82
Link Here
|
74 |
<!-- TMPL_INCLUDE NAME="header.inc" --> |
74 |
<!-- TMPL_INCLUDE NAME="header.inc" --> |
75 |
<!-- TMPL_INCLUDE NAME="patrons-admin-search.inc" --> |
75 |
<!-- TMPL_INCLUDE NAME="patrons-admin-search.inc" --> |
76 |
|
76 |
|
77 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <!-- TMPL_IF NAME="add_form" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › <!-- TMPL_IF NAME="categorycode" -->Modify category '<!-- TMPL_VAR NAME="categorycode" -->'<!-- TMPL_ELSE -->New category<!-- /TMPL_IF --><!-- /TMPL_IF --> |
77 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <!-- TMPL_IF NAME="add_form" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › <!-- TMPL_IF NAME="categorycode" -->Modify category '<!-- TMPL_VAR NAME="categorycode" escape="html" -->'<!-- TMPL_ELSE -->New category<!-- /TMPL_IF --><!-- /TMPL_IF --> |
78 |
<!-- TMPL_IF NAME="add_validate" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › Data recorded<!-- /TMPL_IF --> |
78 |
<!-- TMPL_IF NAME="add_validate" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › Data recorded<!-- /TMPL_IF --> |
79 |
<!-- TMPL_IF NAME="delete_confirm" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › <!-- TMPL_IF NAME="totalgtzero" -->Cannot Delete: Category <!-- TMPL_VAR NAME="categorycode" --> in Use<!-- TMPL_ELSE -->Confirm Deletion of Category '<!-- TMPL_VAR NAME="categorycode" -->'<!-- /TMPL_IF --><!-- /TMPL_IF --> |
79 |
<!-- TMPL_IF NAME="delete_confirm" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › <!-- TMPL_IF NAME="totalgtzero" -->Cannot Delete: Category <!-- TMPL_VAR NAME="categorycode" escape="html" --> in Use<!-- TMPL_ELSE -->Confirm Deletion of Category '<!-- TMPL_VAR NAME="categorycode" escape="html" -->'<!-- /TMPL_IF --><!-- /TMPL_IF --> |
80 |
<!-- TMPL_IF NAME="delete_confirmed" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › Category Deleted<!-- /TMPL_IF --> |
80 |
<!-- TMPL_IF NAME="delete_confirmed" --> <a href="/cgi-bin/koha/admin/categorie.pl">Patron Categories</a> › Category Deleted<!-- /TMPL_IF --> |
81 |
<!-- TMPL_IF NAME="else" -->Patron Categories<!-- /TMPL_IF --></div> |
81 |
<!-- TMPL_IF NAME="else" -->Patron Categories<!-- /TMPL_IF --></div> |
82 |
|
82 |
|
Lines 95-112
Link Here
|
95 |
<input type="hidden" name="op" value="add_validate" /> |
95 |
<input type="hidden" name="op" value="add_validate" /> |
96 |
<input type="hidden" name="checked" value="0" /> |
96 |
<input type="hidden" name="checked" value="0" /> |
97 |
<!-- TMPL_IF NAME="categorycode" --> |
97 |
<!-- TMPL_IF NAME="categorycode" --> |
98 |
<h1>Modify category <!-- TMPL_VAR NAME="categorycode" --></h1> |
98 |
<h1>Modify category <!-- TMPL_VAR NAME="categorycode" escape="html" --></h1> |
99 |
<!-- TMPL_ELSE --> |
99 |
<!-- TMPL_ELSE --> |
100 |
<h1>New category</h1> |
100 |
<h1>New category</h1> |
101 |
<!-- /TMPL_IF --> |
101 |
<!-- /TMPL_IF --> |
102 |
<fieldset class="rows"> |
102 |
<fieldset class="rows"> |
103 |
<ol><!-- TMPL_IF NAME="categorycode" --> |
103 |
<ol><!-- TMPL_IF NAME="categorycode" --> |
104 |
<li><span class="label">Category code</span><!-- TMPL_VAR NAME="categorycode" --> |
104 |
<li><span class="label">Category code</span><!-- TMPL_VAR NAME="categorycode" escape="html" --> |
105 |
<input type="hidden" name="categorycode" value="<!-- TMPL_VAR NAME="categorycode" -->" /><input type="hidden" name="is_a_modif" value="1" /></li> |
105 |
<input type="hidden" name="categorycode" value="<!-- TMPL_VAR NAME="categorycode" escape="html" -->" /><input type="hidden" name="is_a_modif" value="1" /></li> |
106 |
<!-- TMPL_ELSE --> |
106 |
<!-- TMPL_ELSE --> |
107 |
<li><label for="categorycode">Category code: </label> <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" /></li> |
107 |
<li><label for="categorycode">Category code: </label> <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" onblur="toUC(this)" /></li> |
108 |
<!-- /TMPL_IF --> |
108 |
<!-- /TMPL_IF --> |
109 |
<li><label for="description">Description: </label> <input type="text" name="description" id="description" size="40" maxlength="80" value="<!-- TMPL_VAR NAME="description" -->" /></li> |
109 |
<li><label for="description">Description: </label> <input type="text" name="description" id="description" size="40" maxlength="80" value="<!-- TMPL_VAR NAME="description" escape="html" -->" /></li> |
110 |
<li><label for="enrolmentperiod">Enrollment period: </label> <input type="text" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="<!-- TMPL_VAR NAME="enrolmentperiod" -->" /> months</li> |
110 |
<li><label for="enrolmentperiod">Enrollment period: </label> <input type="text" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="<!-- TMPL_VAR NAME="enrolmentperiod" -->" /> months</li> |
111 |
<li><label for="dateofbirthrequired">Age required: </label> <input type="text" name="dateofbirthrequired" id="dateofbirthrequired" value="<!-- TMPL_VAR NAME="dateofbirthrequired" -->" size="3" maxlength="3" /> years</li> |
111 |
<li><label for="dateofbirthrequired">Age required: </label> <input type="text" name="dateofbirthrequired" id="dateofbirthrequired" value="<!-- TMPL_VAR NAME="dateofbirthrequired" -->" size="3" maxlength="3" /> years</li> |
112 |
<li><label for="upperagelimit">Upperage limit: </label> <input type="text" name="upperagelimit" id="upperagelimit" size="3" maxlength="3" value="<!-- TMPL_VAR NAME="upperagelimit" -->" /> years</li> |
112 |
<li><label for="upperagelimit">Upperage limit: </label> <input type="text" name="upperagelimit" id="upperagelimit" size="3" maxlength="3" value="<!-- TMPL_VAR NAME="upperagelimit" -->" /> years</li> |
Lines 151-163
Link Here
|
151 |
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post"> |
151 |
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post"> |
152 |
<fieldset><legend> |
152 |
<fieldset><legend> |
153 |
<!-- TMPL_IF NAME="totalgtzero" --> |
153 |
<!-- TMPL_IF NAME="totalgtzero" --> |
154 |
Category <!-- TMPL_VAR NAME="categorycode" --> is in use. Deletion not possible!<!-- TMPL_ELSE --> |
154 |
Category <!-- TMPL_VAR NAME="categorycode" escape="html" --> is in use. Deletion not possible!<!-- TMPL_ELSE --> |
155 |
Confirm Deletion of Category <!-- TMPL_VAR NAME="categorycode" --><!-- /TMPL_IF --></legend> |
155 |
Confirm Deletion of Category <!-- TMPL_VAR NAME="categorycode" escape="html" --><!-- /TMPL_IF --></legend> |
156 |
|
156 |
|
157 |
<!-- TMPL_IF NAME="totalgtzero" --><div class="dialog alert"><strong>This category is used <!-- TMPL_VAR NAME="total" --> times</strong>. Deletion not possible</div><!-- /TMPL_IF --> |
157 |
<!-- TMPL_IF NAME="totalgtzero" --><div class="dialog alert"><strong>This category is used <!-- TMPL_VAR NAME="total" --> times</strong>. Deletion not possible</div><!-- /TMPL_IF --> |
158 |
<table> |
158 |
<table> |
159 |
<tr><th scope="row">Category code: </th><td><!-- TMPL_VAR NAME="categorycode" --></td></tr> |
159 |
<tr><th scope="row">Category code: </th><td><!-- TMPL_VAR NAME="categorycode" escape="html" --></td></tr> |
160 |
<tr><th scope="row">Description: </th><td><!-- TMPL_VAR NAME="description" --></td></tr> |
160 |
<tr><th scope="row">Description: </th><td><!-- TMPL_VAR NAME="description" escape="html" --></td></tr> |
161 |
<tr><th scope="row">Enrollment period: </th><td><!-- TMPL_VAR NAME="enrolmentperiod" --> months</td></tr> |
161 |
<tr><th scope="row">Enrollment period: </th><td><!-- TMPL_VAR NAME="enrolmentperiod" --> months</td></tr> |
162 |
<tr><th scope="row">Age required: </th><td><!-- TMPL_VAR NAME="dateofbirthrequired" --> years</td></tr> |
162 |
<tr><th scope="row">Age required: </th><td><!-- TMPL_VAR NAME="dateofbirthrequired" --> years</td></tr> |
163 |
<tr><th scope="row">Upperage limit: </th><td><!-- TMPL_VAR NAME="upperagelimit" --> years</td></tr> |
163 |
<tr><th scope="row">Upperage limit: </th><td><!-- TMPL_VAR NAME="upperagelimit" --> years</td></tr> |
Lines 169-175
Confirm Deletion of Category <!-- TMPL_VAR NAME="categorycode" --><!-- /TMPL_IF
Link Here
|
169 |
<input type="submit" value="OK" /></form> |
169 |
<input type="submit" value="OK" /></form> |
170 |
<!-- TMPL_ELSE --> |
170 |
<!-- TMPL_ELSE --> |
171 |
<input type="hidden" name="op" value="delete_confirmed" /> |
171 |
<input type="hidden" name="op" value="delete_confirmed" /> |
172 |
<input type="hidden" name="categorycode" value="<!-- TMPL_VAR NAME="categorycode" -->" /> <input type="submit" value="Delete this Category" /> <a class="cancel" href="/cgi-bin/koha/admin/categorie.pl">Cancel</a> |
172 |
<input type="hidden" name="categorycode" value="<!-- TMPL_VAR NAME="categorycode" escape="html" -->" /> <input type="submit" value="Delete this Category" /> <a class="cancel" href="/cgi-bin/koha/admin/categorie.pl">Cancel</a> |
173 |
<!-- /TMPL_IF --></fieldset></fieldset></form> |
173 |
<!-- /TMPL_IF --></fieldset></fieldset></form> |
174 |
<!-- /TMPL_IF --> |
174 |
<!-- /TMPL_IF --> |
175 |
|
175 |
|
Lines 225-233
Confirm Deletion of Category <!-- TMPL_VAR NAME="categorycode" --><!-- /TMPL_IF
Link Here
|
225 |
</tr> |
225 |
</tr> |
226 |
<!-- TMPL_LOOP NAME="loop" --> |
226 |
<!-- TMPL_LOOP NAME="loop" --> |
227 |
<!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> |
227 |
<!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> |
228 |
<td><!-- TMPL_VAR NAME="categorycode" --></td> |
228 |
<td><!-- TMPL_VAR NAME="categorycode" escape="html" --></td> |
229 |
<td> |
229 |
<td> |
230 |
<a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&categorycode=<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="description" --></a> |
230 |
<a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&categorycode=<!-- TMPL_VAR NAME="categorycode" escape="html" -->"><!-- TMPL_VAR NAME="description" escape="html" --></a> |
231 |
</td> |
231 |
</td> |
232 |
<td> |
232 |
<td> |
233 |
<!-- TMPL_IF NAME="type_A" -->Adult<!-- /TMPL_IF --> |
233 |
<!-- TMPL_IF NAME="type_A" -->Adult<!-- /TMPL_IF --> |
234 |
- |
|
|