$template->param(add_or_modify => $add_or_modify);
$template->param(bookfundid =>$bookfundid);
$template->param(bookfundname =>$data->{'bookfundname'});
- $template->param(bookfundgroup =>$data->{'bookfundgroup'});
# END $OP eq ADD_FORM
################## ADD_VALIDATE ##################################
my $sth=$dbh->prepare($query);
$sth->execute;
$sth->finish;
- $query = "replace aqbookfund (bookfundid,bookfundname,bookfundgroup) values (";
+ $query = "replace aqbookfund (bookfundid,bookfundname) values (";
$query.= $dbh->quote($input->param('bookfundid')).",";
- $query.= $dbh->quote($input->param('bookfundname')).",";
- $query.= $dbh->quote($input->param('bookfundgroup')).")";
+ $query.= $dbh->quote($input->param('bookfundname')).")";
my $sth=$dbh->prepare($query);
$sth->execute;
$sth->finish;
$sth->finish;
$template->param(bookfundid => $bookfundid);
$template->param(bookfundname => $data->{'bookfundname'});
- $template->param(bookfundgroup => $data->{'bookfundgroup'});
# END $OP eq DELETE_CONFIRM
################## DELETE_CONFIRMED ##################################
# called by delete_confirm, used to effectively confirm deletion of data in DB
my @toggle = ();
my @bookfundid = ();
my @bookfundname = ();
- my @bookfundgroup = ();
push(@toggle,$toggle);
push(@bookfundid,$results->[$i]{'bookfundid'});
push(@bookfundname,$results->[$i]{'bookfundname'});
- push(@bookfundgroup,$results->[$i]{'bookfundgroup'});
if ($toggle eq 'white'){
$toggle="#ffffcc";
} else {
$toggle="white";
}
- while (@toggle and @bookfundid and @bookfundname and @bookfundgroup) {
+ while (@toggle and @bookfundid and @bookfundname) {
my %row_data;
$row_data{toggle} = shift @toggle;
$row_data{bookfundid} = shift @bookfundid;
$row_data{bookfundname} = shift @bookfundname;
- $row_data{bookfundgroup} = shift @bookfundgroup;
push(@loop_data, \%row_data);
}
}
<TMPL_INCLUDE NAME="parameters-top.inc">
<center>
-<FONT SIZE=6><em>Koha admin page</em></FONT><br>
+<FONT SIZE=6><em>System parameters</em></FONT><br>
<table width=100% cellspacing=0 cellpadding=5 border=1>
<tr background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif">
<th>Parameters </th>
<tr valign=top bgcolor=#99cc33>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Book fund</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Name</b></td>
- <td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Group</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Budget</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Edit</b></td>
<td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Delete</b></td>
<tr valign=top bgcolor="<TMPL_VAR name="toggle">">
<td><TMPL_VAR name="bookfundid"></td>
<td><TMPL_VAR name="bookfundname"></td>
- <td><TMPL_VAR name="bookfundgroup"> </td>
<td><a href="aqbudget.pl?bookfundid=<TMPL_VAR name="bookfundid"> "><img src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/filefind.png" width=32 hspace=0 vspace=0 border=0 title="budget"></a></td>
<td><a href="<TMPL_VAR name="action">?op=add_form&bookfundid=<TMPL_VAR name="bookfundid"> "><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="action">?op=delete_confirm&bookfundid=<TMPL_VAR name="bookfundid">"><img src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
<tr><td>Book fund</td><td><input type=text name=bookfundid size=5 maxlength=5 onBlur=toUC(this)></td></tr>
</TMPL_IF>
<tr><td>Name</td><td><input type=text name=bookfundname size=40 maxlength=80 value='<TMPL_VAR name="bookfundname">'> </td></tr>
-<tr><td>Group</td><td><input type=text name=bookfundgroup value='<TMPL_VAR name="bookfundgroup">'></td></tr>
<tr><td> </td><td><INPUT type=button value='OK' onClick='Check(this.form)'></td></tr>
</table>
</form>
<table border=0 cellspacing=0 cellpadding=5>
<tr valign=top bgcolor=#99cc33><td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b>Book fund</b></td><td background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"><b><TMPL_VAR name="bookfundid"></b></td></tr>
<form action='<TMPL_VAR name="action">' method=post><input type=hidden name=op value=delete_confirmed><input type=hidden name=bookfundid value='<TMPL_VAR name="bookfundid">'>
-<tr><td>Name</td><td><TMPL_VAR name="bookfundname"></td></tr><tr><td>Group</td><td><TMPL_VAR name="bookfundgroup"></td></tr>
+<tr><td>Name</td><td><TMPL_VAR name="bookfundname"></td></tr>
<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="action">' method=post><input type=submit value=NO></form></td></tr><br clear=all>
<p> </p>
</TMPL_IF>
<TMPL_IF name="delete_confirmed">
-data deleted
+Data deleted
<form action='<TMPL_VAR name="action">' method=post>
<input type=submit value=OK>
-"</form>"
+</form>
</TMPL_IF>
<TMPL_INCLUDE NAME="parameters-bottom.inc">
</TMPL_IF>
<TMPL_IF name="delete_confirmed">
-data deleted
+Data deleted
<form action='<TMPL_VAR name="action">' method=post>
<input type=submit value=OK>
</form>
</TMPL_IF>
<TMPL_IF NAME=delete_confirmed>
- data deleted
+ Data deleted
<form action='<TMPL_VAR NAME=script_name>' method=post>
<input type=submit value=OK>
</form>
</TMPL_IF>
<TMPL_IF NAME=delete_confirmed>
- data deleted
+ Data deleted
<form action='<TMPL_VAR NAME=script_name>' method=post>
<input type=submit value=OK>
</form>
</TMPL_IF>
<TMPL_IF NAME=delete_confirmed>
- data deleted
+ Data deleted
<form action='<TMPL_VAR NAME=script_name>' method=post>
<input type=submit value=OK>
</form>
<TMPL_IF name="delete_confirmed">
<!-------------------------------------------------------------------------------------------------->
- data deleted
+ Data deleted
<form action='<TMPL_VAR name="script_name"> method=post><input type="hidden" name="tagfield" value="<TMPL_VAR name="tagfield">">
<input type=submit value=OK>
</form>
<TMPL_IF name="delete_confirmed">
<!-------------------------------------------------------------------------------------------------->
- data deleted
+ Data deleted
<form action='<TMPL_VAR name="script_name">' method=post>
<input type=submit value=OK>
</form>
</TMPL_IF>
<TMPL_IF NAME=delete_confirmed>
- data deleted
+ Data deleted
<form action='<TMPL_VAR NAME=script_name>' method=post>
<input type=submit value=OK>
</form>
</TMPL_IF>
<TMPL_IF NAME=delete_confirmed>
- data deleted
+ Data deleted
<form action='<TMPL_VAR NAME=script_name>' method=post>
<input type=submit value=OK>
</form>
<TMPL_IF name="delete_confirmed">
<!-------------------------------------------------------------------------------------------------->
- data deleted
+ Data deleted
<form action='<TMPL_VAR name="script_name">' method=post>
<input type=submit value=OK>
</form>
</TMPL_IF>
<TMPL_IF NAME=delete_confirmed>
- data deleted
+ Data deleted
<form action='<TMPL_VAR NAME=script_name>' method=post>
<input type=submit value=OK>
</form>