css'ing & adding test for I & C borrower category
This commit is contained in:
parent
ba11e45cac
commit
f2a35adbd1
2 changed files with 293 additions and 302 deletions
|
@ -1,65 +1,53 @@
|
|||
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
|
||||
<div id="mainbloc">
|
||||
<center>
|
||||
<h1>Parameters</h1><br>
|
||||
<table width="100%" cellspacing=0 cellpadding=5 border=1>
|
||||
<tr background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif">
|
||||
<th>System parameters </th>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=0 cellpadding=1 width="80%">
|
||||
<div id="bloc100">
|
||||
<div id="bloctitle">System parameters </div>
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan=2>Fill those tables in the order they appear to get a working Koha</th>
|
||||
<td colspan=2><b>Fill those tables in the order they appear to get a working Koha</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/branches.pl>Library branches</a></td>
|
||||
<td>The different branches you manage with this Koha server.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/aqbookfund.pl>Book funds</a></td>
|
||||
<td>Book fund administration. Remember to edit your book funds before you start editing the budgets.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/currency.pl>Currencies</a></td>
|
||||
<td>Define exchange rates.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/itemtypes.pl>Item types</a></td>
|
||||
<td>Define item types.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/categorie.pl>Borrower categories</a></td>
|
||||
<td>Define the categories of borrowers.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/charges.pl>Charges</a></td>
|
||||
<td>Charges amounts for itemtypes / borrower types.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/authorised_values.pl>Authorised values</a></td>
|
||||
<td>Define categories and authorised values for them. Authorised values are used in MARC form to limit and help editing MARC biblios.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/thesaurus.pl>Thesaurus</a></td>
|
||||
<td>Management of thesaurus and authorities files.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/marctagstructure.pl>MARC tag structure</a></td>
|
||||
<td>MARC structure: tags then subfields.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/koha2marclinks.pl>Links Koha - MARC DB</a></td>
|
||||
<td>Define links between the Koha standard DB and the MARC one. Note those links can be defined through MARC structure. This tool is just a shortcut to speed up linkage.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/checkmarc.pl>MARC Check</a></td>
|
||||
<td>Checks the MARC structure. USE IT before working with real data. It will show mistakes that can BREAK Koha's database!</td></tr>
|
||||
|
@ -71,12 +59,10 @@
|
|||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/printers.pl>Printers</a></td>
|
||||
<td>Printers (UNIX paths).</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/stopwords.pl>Stop words</a></td>
|
||||
<td>Words deleted during searches.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" width="25%"><a href=/cgi-bin/koha/admin/z3950servers.pl>Z39.50 Servers</a></td>
|
||||
<td>Servers to query for MARC data.</td>
|
||||
|
@ -87,12 +73,8 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" cellspacing=0 cellpadding=5 border=1>
|
||||
<tr background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif">
|
||||
<th>Tools</th>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing=5 cellpadding=1 width="80%">
|
||||
<h1>Tools</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th colspan=2> Export</th>
|
||||
</tr>
|
||||
|
|
|
@ -1,298 +1,307 @@
|
|||
<!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
|
||||
|
||||
<!-- TMPL_IF NAME=add_form -->
|
||||
<script>
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function isNotNull(f,noalert) {
|
||||
if (f.value.length ==0) {
|
||||
return false;
|
||||
<div id="mainbloc">
|
||||
<!-- TMPL_IF NAME=add_form -->
|
||||
<script>
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function isNotNull(f,noalert) {
|
||||
if (f.value.length ==0) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function toUC(f) {
|
||||
var x=f.value.toUpperCase();
|
||||
f.value=x;
|
||||
return true;
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function isNum(v,maybenull) {
|
||||
var n = new Number(v.value);
|
||||
if (isNaN(n)) {
|
||||
return false;
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function toUC(f) {
|
||||
var x=f.value.toUpperCase();
|
||||
f.value=x;
|
||||
return true;
|
||||
}
|
||||
if (maybenull==0 && v.value=='') {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function isDate(f) {
|
||||
var t = Date.parse(f.value);
|
||||
if (isNaN(t)) {
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function isNum(v,maybenull) {
|
||||
var n = new Number(v.value);
|
||||
if (isNaN(n)) {
|
||||
return false;
|
||||
}
|
||||
if (maybenull==0 && v.value=='') {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function Check(f) {
|
||||
var ok=1;
|
||||
var _alertString="";
|
||||
var alertString2;
|
||||
if (f.categorycode.value.length==0) {
|
||||
_alertString += "\n- " + _("categorycode missing");
|
||||
return true;
|
||||
}
|
||||
// alert(window.document.Aform.description.value);
|
||||
if (!(isNotNull(window.document.Aform.description,1))) {
|
||||
_alertString += "\n- " + _("description missing");
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function isDate(f) {
|
||||
var t = Date.parse(f.value);
|
||||
if (isNaN(t)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!isNum(f.upperagelimit,0)) {
|
||||
_alertString += "\n- " + _("upperagelimit is not a number");
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
function Check(f) {
|
||||
var ok=1;
|
||||
var _alertString="";
|
||||
var alertString2;
|
||||
if (f.categorycode.value.length==0) {
|
||||
_alertString += "\n- " + _("categorycode missing");
|
||||
}
|
||||
// alert(window.document.Aform.description.value);
|
||||
if (!(isNotNull(window.document.Aform.description,1))) {
|
||||
_alertString += "\n- " + _("description missing");
|
||||
}
|
||||
if (!isNum(f.upperagelimit,0)) {
|
||||
_alertString += "\n- " + _("upperagelimit is not a number");
|
||||
}
|
||||
if (_alertString.length==0) {
|
||||
document.Aform.submit();
|
||||
} else {
|
||||
alertString2 = _("Form not submitted because of the following problem(s)");
|
||||
alertString2 += "\n------------------------------------------------------------------------------------\n";
|
||||
alertString2 += _alertString;
|
||||
alert(alertString2);
|
||||
}
|
||||
}
|
||||
if (_alertString.length==0) {
|
||||
document.Aform.submit();
|
||||
} else {
|
||||
alertString2 = _("Form not submitted because of the following problem(s)");
|
||||
alertString2 += "\n------------------------------------------------------------------------------------\n";
|
||||
alertString2 += _alertString;
|
||||
alert(alertString2);
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
</SCRIPT>
|
||||
|
||||
<!-- TMPL_IF NAME=categorycode -->
|
||||
<h1>Modify category</h1>
|
||||
<!-- TMPL_ELSE -->
|
||||
<h1>Add category</h1>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<form action=<!-- TMPL_VAR NAME=script_name --> name=Aform method=post>
|
||||
<input type=hidden name=op value='add_validate'>
|
||||
<input type=hidden name=checked value=0>
|
||||
|
||||
<table>
|
||||
<!-- TMPL_IF NAME=categorycode -->
|
||||
<tr>
|
||||
<td>Category code</td>
|
||||
<td>
|
||||
<b><!-- TMPL_VAR NAME=categorycode --></b>
|
||||
<input type=hidden name=categorycode value=<!-- TMPL_VAR NAME=categorycode -->>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- TMPL_ELSE -->
|
||||
<tr>
|
||||
<td>Category code</td>
|
||||
<td>
|
||||
<input type=text name=categorycode size=3 maxlength=2 onBlur=toUC(this)>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<tr>
|
||||
<td>Description</td>
|
||||
<td>
|
||||
<input type=text name=description size=40 maxlength=80 value="<!-- TMPL_VAR NAME=description escape=HTML -->">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment period</td>
|
||||
<td>
|
||||
<input type=text name=enrolmentperiod size=3 maxlength=2 value="<!-- TMPL_VAR NAME=enrolmentperiod -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Upperage limit</td>
|
||||
<td>
|
||||
<input type=text name=upperagelimit size=3 maxlength=3 value="<!-- TMPL_VAR NAME=upperagelimit -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Age Required</td>
|
||||
<td>
|
||||
<input type=text name=dateofbirthrequired value="<!-- TMPL_VAR NAME=dateofbirthrequired -->" size=3 maxlength=2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment fee</td>
|
||||
<td>
|
||||
<input type=text name=enrolmentfee value="<!-- TMPL_VAR NAME=enrolmentfee -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Overdue notice required</td>
|
||||
<td>
|
||||
<select name="overduenoticerequired">
|
||||
<option <!-- TMPL_UNLESS name="overduenoticerequired" -->selected<!-- /TMPL_UNLESS --> value="0">No</option>
|
||||
<option <!-- TMPL_IF name="overduenoticerequired" -->selected<!-- /TMPL_IF --> value="1">Yes</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Issue limit</td>
|
||||
<td>
|
||||
<input type=text name=issuelimit size=2 maxlength=2 value="<!-- TMPL_VAR NAME=issuelimit -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reserve fee</td>
|
||||
<td>
|
||||
<input type=text name=reservefee value="<!-- TMPL_VAR NAME=reservefee -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<INPUT type=button value='OK' onClick='Check(this.form)'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- TMPL_IF NAME=add_validate -->
|
||||
Data recorded
|
||||
<form action=<!-- TMPL_VAR NAME=script_name --> method=post>
|
||||
<input type=submit value=OK>
|
||||
</form>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- TMPL_IF NAME=delete_confirm -->
|
||||
TOTAL : <!-- TMPL_VAR NAME=categorycode --> : <!-- TMPL_VAR NAME=total --><br>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=5>
|
||||
<tr bgcolor='#99cc33'>
|
||||
<td background='/images/background-mem.gif'>
|
||||
<b>Category code</b>
|
||||
</td>
|
||||
<td background='/images/background-mem.gif'>
|
||||
<!-- TMPL_VAR NAME=categorycode -->
|
||||
</td>
|
||||
</tr>
|
||||
<form action='<!-- TMPL_VAR NAME=script_name -->' method=post>
|
||||
<input type=hidden name=op value=delete_confirmed>
|
||||
<input type=hidden name=categorycode value=<!-- TMPL_VAR NAME=categorycode -->>
|
||||
<tr>
|
||||
<td>Description</td>
|
||||
<td><!-- TMPL_VAR NAME=description --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment period</td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentperiod --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Upperage limit</td>
|
||||
<td><!-- TMPL_VAR NAME=upperagelimit --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Age Required</td>
|
||||
<td><!-- TMPL_VAR NAME=dateofbirthrequired --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fine type</td>
|
||||
<td><!-- TMPL_VAR NAME=finetype --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment fee</td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentfee --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Overdue notice required</td>
|
||||
<td><!-- TMPL_IF NAME=overduenoticerequired -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Issue limit</td>
|
||||
<td><!-- TMPL_VAR NAME=issuelimit --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reserve fee</td>
|
||||
<td><!-- TMPL_VAR NAME=reservefee --></td>
|
||||
</tr>
|
||||
<!-- TMPL_IF NAME=totalgtzero -->
|
||||
<tr>
|
||||
<td colspan=2 align=center><b>This record is used <!-- TMPL_VAR NAME=total --> times. Deletion not possible</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
</form><form action='<!-- TMPL_VAR NAME=script_name -->' method=post>
|
||||
<input type=submit value=OK>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- TMPL_IF NAME=categorycode -->
|
||||
<h1>Modify category</h1>
|
||||
<!-- TMPL_ELSE -->
|
||||
<tr>
|
||||
<td colspan=2 align=center>CONFIRM DELETION</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><INPUT type=submit value='YES'></form></td>
|
||||
<td><form action='<!-- TMPL_VAR NAME=script_name -->' method=post><input type=submit value=NO></form></td>
|
||||
</tr>
|
||||
<h1>Add category</h1>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- /TMPL_IF -->
|
||||
<form action=<!-- TMPL_VAR NAME=script_name --> name=Aform method=post>
|
||||
<input type=hidden name=op value='add_validate'>
|
||||
<input type=hidden name=checked value=0>
|
||||
|
||||
<!-- TMPL_IF NAME=delete_confirmed -->
|
||||
Data deleted
|
||||
<form action='<!-- TMPL_VAR NAME="script_name" -->' method=post>
|
||||
<input type=submit value=OK>
|
||||
</form>
|
||||
<table>
|
||||
<!-- TMPL_IF NAME=categorycode -->
|
||||
<tr>
|
||||
<td>Category code</td>
|
||||
<td>
|
||||
<b><!-- TMPL_VAR NAME=categorycode --></b>
|
||||
<input type=hidden name=categorycode value=<!-- TMPL_VAR NAME=categorycode -->>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- TMPL_ELSE -->
|
||||
<tr>
|
||||
<td>Category code</td>
|
||||
<td>
|
||||
<input type=text name=categorycode size=3 maxlength=2 onBlur=toUC(this)>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- /TMPL_IF -->
|
||||
<tr>
|
||||
<td>Description</td>
|
||||
<td>
|
||||
<input type=text name=description size=40 maxlength=80 value="<!-- TMPL_VAR NAME=description escape=HTML -->">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment period</td>
|
||||
<td>
|
||||
<input type=text name=enrolmentperiod size=3 maxlength=2 value="<!-- TMPL_VAR NAME=enrolmentperiod -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Upperage limit</td>
|
||||
<td>
|
||||
<input type=text name=upperagelimit size=3 maxlength=3 value="<!-- TMPL_VAR NAME=upperagelimit -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Age Required</td>
|
||||
<td>
|
||||
<input type=text name=dateofbirthrequired value="<!-- TMPL_VAR NAME=dateofbirthrequired -->" size=3 maxlength=2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment fee</td>
|
||||
<td>
|
||||
<input type=text name=enrolmentfee value="<!-- TMPL_VAR NAME=enrolmentfee -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Overdue notice required</td>
|
||||
<td>
|
||||
<select name="overduenoticerequired">
|
||||
<option <!-- TMPL_UNLESS name="overduenoticerequired" -->selected<!-- /TMPL_UNLESS --> value="0">No</option>
|
||||
<option <!-- TMPL_IF name="overduenoticerequired" -->selected<!-- /TMPL_IF --> value="1">Yes</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Issue limit</td>
|
||||
<td>
|
||||
<input type=text name=issuelimit size=2 maxlength=2 value="<!-- TMPL_VAR NAME=issuelimit -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reserve fee</td>
|
||||
<td>
|
||||
<input type=text name=reservefee value="<!-- TMPL_VAR NAME=reservefee -->">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<INPUT type=button value='OK' onClick='Check(this.form)'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<!-- TMPL_IF NAME=else -->
|
||||
<h2>Category admin</h2>
|
||||
<!-- TMPL_IF NAME=searchfield -->
|
||||
You Searched for <!-- TMPL_VAR name=searchfield -->
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<form action='<TMPL_VAR NAME="script_name">' method=post>
|
||||
<input type=text name=description value=<!-- TMPL_VAR name="searchfield" -->>
|
||||
<input type="submit" name="submit" value="OK" class="button">
|
||||
</form>
|
||||
<!-- TMPL_IF NAME=add_validate -->
|
||||
Data recorded
|
||||
<form action=<!-- TMPL_VAR NAME=script_name --> method=post>
|
||||
<input type=submit value=OK>
|
||||
</form>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=5>
|
||||
<tr bgcolor='#99cc33'>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Category</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Description</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Enrollment period</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Enrollment fee</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Upper Age Limit</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Age Required</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Fine</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Overdue</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Issue limit</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Reserve</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'> </td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'> </td>
|
||||
</tr>
|
||||
<!-- TMPL_LOOP NAME=loop -->
|
||||
<tr bgcolor="<!-- TMPL_VAR NAME=toggle -->">
|
||||
<td><!-- TMPL_VAR NAME=categorycode --></td>
|
||||
<td><!-- TMPL_VAR NAME=description --></td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentperiod --></td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentfee --></td>
|
||||
<td><!-- TMPL_VAR NAME=upperagelimit --></td>
|
||||
<td><!-- TMPL_VAR NAME=dateofbirthrequired --></td>
|
||||
<td><!-- TMPL_VAR NAME=finetype --></td>
|
||||
<td><!-- TMPL_IF NAME=overduenoticerequired -->
|
||||
<i>Yes</i>
|
||||
<!-- TMPL_ELSE -->
|
||||
<i>No</i>
|
||||
<!-- /TMPL_IF -->
|
||||
</td>
|
||||
<td><!-- TMPL_VAR NAME=issuelimit --></td>
|
||||
<td><!-- TMPL_VAR NAME=reservefee --></td>
|
||||
<td><a href="<!-- TMPL_VAR NAME=script_name -->?op=add_form&categorycode=<!-- TMPL_VAR NAME=categorycode -->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
|
||||
<td><a href="<!-- TMPL_VAR NAME=script_name -->?op=delete_confirm&categorycode=<!-- TMPL_VAR NAME=categorycode -->"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" border="0"></a></td>
|
||||
</tr>
|
||||
<!-- /TMPL_LOOP -->
|
||||
<!-- TMPL_IF NAME=delete_confirm -->
|
||||
TOTAL : <!-- TMPL_VAR NAME=categorycode --> : <!-- TMPL_VAR NAME=total --><br>
|
||||
|
||||
</table>
|
||||
<p><form action='<!-- TMPL_VAR NAME=script_name -->' method=post>
|
||||
<input type=hidden name=op value=add_form>
|
||||
<input type=submit class="button" value="Add category" ALT="Add category"><br>
|
||||
</form></p>
|
||||
<!-- /TMPL_IF -->
|
||||
<table border=0 cellspacing=0 cellpadding=5>
|
||||
<tr bgcolor='#99cc33'>
|
||||
<td background='/images/background-mem.gif'>
|
||||
<b>Category code</b>
|
||||
</td>
|
||||
<td background='/images/background-mem.gif'>
|
||||
<!-- TMPL_VAR NAME=categorycode -->
|
||||
</td>
|
||||
</tr>
|
||||
<form action='<!-- TMPL_VAR NAME=script_name -->' method=post>
|
||||
<input type=hidden name=op value=delete_confirmed>
|
||||
<input type=hidden name=categorycode value=<!-- TMPL_VAR NAME=categorycode -->>
|
||||
<tr>
|
||||
<td>Description</td>
|
||||
<td><!-- TMPL_VAR NAME=description --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment period</td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentperiod --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Upperage limit</td>
|
||||
<td><!-- TMPL_VAR NAME=upperagelimit --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Age Required</td>
|
||||
<td><!-- TMPL_VAR NAME=dateofbirthrequired --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fine type</td>
|
||||
<td><!-- TMPL_VAR NAME=finetype --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enrollment fee</td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentfee --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Overdue notice required</td>
|
||||
<td><!-- TMPL_IF NAME=overduenoticerequired -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Issue limit</td>
|
||||
<td><!-- TMPL_VAR NAME=issuelimit --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reserve fee</td>
|
||||
<td><!-- TMPL_VAR NAME=reservefee --></td>
|
||||
</tr>
|
||||
<!-- TMPL_IF NAME=totalgtzero -->
|
||||
<tr>
|
||||
<td colspan=2 align=center><b>This record is used <!-- TMPL_VAR NAME=total --> times. Deletion not possible</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
</form><form action='<!-- TMPL_VAR NAME=script_name -->' method=post>
|
||||
<input type=submit value=OK>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- TMPL_ELSE -->
|
||||
<tr>
|
||||
<td colspan=2 align=center>CONFIRM DELETION</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><INPUT type=submit value='YES'></form></td>
|
||||
<td><form action='<!-- TMPL_VAR NAME=script_name -->' method=post><input type=submit value=NO></form></td>
|
||||
</tr>
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- TMPL_IF NAME=delete_confirmed -->
|
||||
Data deleted
|
||||
<form action='<!-- TMPL_VAR NAME="script_name" -->' method=post>
|
||||
<input type=submit value=OK>
|
||||
</form>
|
||||
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- TMPL_IF NAME=else -->
|
||||
<h2>Category admin</h2>
|
||||
<!-- TMPL_IF NAME=searchfield -->
|
||||
You Searched for <!-- TMPL_VAR name=searchfield -->
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_UNLESS name="categoryChild" -->
|
||||
<div id="problem">
|
||||
WARNING : you must have a categorycode = C for children
|
||||
</div
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<!-- TMPL_UNLESS name="categoryInstitution" -->
|
||||
<div id="problem">
|
||||
WARNING : you must have a categorycode = I for Institutions
|
||||
</div>
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<form action='<TMPL_VAR NAME="script_name">' method=post>
|
||||
<input type=text name=description value=<!-- TMPL_VAR name="searchfield" -->>
|
||||
<input type="submit" name="submit" value="OK" class="button">
|
||||
</form>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=5>
|
||||
<tr bgcolor='#99cc33'>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Category</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Description</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Enrollment period</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Enrollment fee</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Upper Age Limit</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Age Required</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Fine</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Overdue</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Issue limit</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'><b>Reserve</b></td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'> </td>
|
||||
<td background='<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif'> </td>
|
||||
</tr>
|
||||
<!-- TMPL_LOOP NAME=loop -->
|
||||
<tr bgcolor="<!-- TMPL_VAR NAME=toggle -->">
|
||||
<td><!-- TMPL_VAR NAME=categorycode --></td>
|
||||
<td><!-- TMPL_VAR NAME=description --></td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentperiod --></td>
|
||||
<td><!-- TMPL_VAR NAME=enrolmentfee --></td>
|
||||
<td><!-- TMPL_VAR NAME=upperagelimit --></td>
|
||||
<td><!-- TMPL_VAR NAME=dateofbirthrequired --></td>
|
||||
<td><!-- TMPL_VAR NAME=finetype --></td>
|
||||
<td><!-- TMPL_IF NAME=overduenoticerequired -->
|
||||
<i>Yes</i>
|
||||
<!-- TMPL_ELSE -->
|
||||
<i>No</i>
|
||||
<!-- /TMPL_IF -->
|
||||
</td>
|
||||
<td><!-- TMPL_VAR NAME=issuelimit --></td>
|
||||
<td><!-- TMPL_VAR NAME=reservefee --></td>
|
||||
<td><a href="<!-- TMPL_VAR NAME=script_name -->?op=add_form&categorycode=<!-- TMPL_VAR NAME=categorycode -->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
|
||||
<td><a href="<!-- TMPL_VAR NAME=script_name -->?op=delete_confirm&categorycode=<!-- TMPL_VAR NAME=categorycode -->"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" border="0"></a></td>
|
||||
</tr>
|
||||
<!-- /TMPL_LOOP -->
|
||||
|
||||
</table>
|
||||
<p><form action='<!-- TMPL_VAR NAME=script_name -->' method=post>
|
||||
<input type=hidden name=op value=add_form>
|
||||
<input type=submit class="button" value="Add category" ALT="Add category"><br>
|
||||
</form></p>
|
||||
<!-- /TMPL_IF -->
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->
|
||||
|
|
Loading…
Reference in a new issue