template modifications => the templates now uses common default theme icon set.

This commit is contained in:
tipaul 2003-03-04 16:13:35 +00:00
parent 7ffea81e17
commit 09fbc6d33a
11 changed files with 79 additions and 65 deletions

View file

@ -337,14 +337,14 @@ if ($op eq 'add_form') {
push(@loop_data, \%row_data);
}
$template->param(loop => \@loop_data);
$template->param(edit => "<a href='$script_name?op=add_form&tagfield=$tagfield'>Edit</a>");
$template->param(edit => "<a href='$script_name?op=add_form&tagfield=$tagfield'>");
if ($offset>0) {
my $prevpage = $offset-$pagesize;
$template->param(prev =>"<a href=$script_name?offset=".$prevpage.'&lt;&lt; Prev</a>');
$template->param(prev =>"<a href=$script_name?offset=$prevpage>");
}
if ($offset+$pagesize<$count) {
my $nextpage =$offset+$pagesize;
$template->param(next => "<a href=$script_name?offset=".$nextpage.'Next &gt;&gt;</a>');
$template->param(next => "<a href=$script_name?offset=$nextpage>");
}
} #---- END $OP eq DEFAULT

View file

@ -188,11 +188,11 @@ if ($op eq 'add_form') {
$template->param(loop => \@loop_data);
if ($offset>0) {
my $prevpage = $offset-$pagesize;
$template->param(previous => "<a href=$script_name?offset=".$prevpage.'>&lt;&lt; Prev</a>');
$template->param(previous => "<a href=$script_name?offset=".$prevpage.'>');
}
if ($offset+$pagesize<$count) {
my $nextpage =$offset+$pagesize;
$template->param(next => "<a href=$script_name?offset=".$nextpage.'>Next &gt;&gt;</a>');
$template->param(next => "<a href=$script_name?offset=".$nextpage.'>');
}
} #---- END $OP eq DEFAULT

View file

@ -11,21 +11,30 @@
<TMPL_IF name=search>
<br>You Searched for <b><TMPL_VAR name=searchfield><b><p><br>
</TMPL_IF>
<table border=0 cellspacing=0 cellpadding=2>
<tr valign=top bgcolor=#99cc33><td background="/images/background-mem.gif"><b>Book fund</b></td><td background="/images/background-mem.gif"><b>Name</b></td><td background="/images/background-mem.gif"><b>Group</b></td><td background="/images/background-mem.gif"><b>Budget</b></td><td background="/images/background-mem.gif">&nbsp;</td><td background="/images/background-mem.gif"> &nbsp; </td><td background="/images/background-mem.gif"> &nbsp; </td></tr>
<table border=0 cellspacing=0 cellpadding=2 width="80%">
<tr valign=top bgcolor=#99cc33>
<td background="/images/background-mem.gif"><b>Book fund</b></td>
<td background="/images/background-mem.gif"><b>Name</b></td>
<td background="/images/background-mem.gif"><b>Group</b></td>
<td background="/images/background-mem.gif"><b>Budget</b></td>
<td background="/images/background-mem.gif">Edit</td>
<td background="/images/background-mem.gif">Delete</td>
</tr>
<TMPL_LOOP name="bookfund">
<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"> &nbsp;</td>
<td><a href="aqbudget.pl?bookfundid=<TMPL_VAR name="bookfundid"> ">Budget</a></td>
<td><a href="<TMPL_VAR name="action">?op=add_form&bookfundid=<TMPL_VAR name="bookfundid"> ">Edit</a></td>
<td><a href="<TMPL_VAR name="action">?op=delete_confirm&bookfundid=<TMPL_VAR name="bookfundid">">Delete</a></td>
<td> &nbsp; </td>
<td><a href="aqbudget.pl?bookfundid=<TMPL_VAR name="bookfundid"> "><img src="/<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="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="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
</table>
<form action='<TMPL_VAR name=scriptname>' method=post><input type=hidden name=op value=add_form>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br></form><br clear=all>
<form action='<TMPL_VAR name=scriptname>' method=post>
<input type=hidden name=op value=add_form>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><input type=image src="/<TMPL_VAR name="theme">/images/filenew.png" title="Add bookfund" ALT="Add" BORDER=0 ><br>
<br></form><br clear=all>
<p> &nbsp; </p>
</TMPL_IF>

View file

@ -6,25 +6,28 @@
</TMPL_IF>
<TMPL_IF name="else">
<FONT SIZE=6><em>Budget admin</em></FONT><form action=/cgi-bin/koha/admin/aqbudget.pl method=post>
<input type=text name=searchfield value=""><input type=reset name=reset value="clr"></form>
<TMPL_IF name=search>
<br>You Searched for <b><TMPL_VAR name=searchfield><b><p><br>
</TMPL_IF>
<table border=0 cellspacing=0 cellpadding=5>
<tr valign=top bgcolor=#99cc33><td background="/images/background-mem.gif"><b>Book fund</b></td><td background="/images/background-mem.gif"><b>Start date</b></td><td background="/images/background-mem.gif"><b>End date</b></td><td background="/images/background-mem.gif"><b>Budget amount</b></td><td background="/images/background-mem.gif">&nbsp;</td><td background="/images/background-mem.gif">&nbsp;</td></tr>
<TMPL_LOOP name="budget">
<tr valign=top bgcolor=<TMPL_VAR name="toggle"> >
<td><TMPL_VAR name="bookfundid"> (<TMPL_VAR name="bookfundname">)</td>
<td><TMPL_VAR name="startdate"></td>
<td><TMPL_VAR name="enddate"></td>
<td><TMPL_VAR name="budgetamount"></td>
<td><a href="/cgi-bin/koha/admin/aqbudget.pl?op=add_form&bookfundid=<TMPL_VAR name="bookfundid">">Edit</a></td>
<td><a href="/cgi-bin/koha/admin/aqbudget.pl?op=delete_confirm&bookfundid=<TMPL_VAR name="bookfundid">">Delete</a></td>
</tr>
</TMPL_LOOP>
</table>
<form action='/cgi-bin/koha/admin/aqbudget.pl' method=post><input type=hidden name=op value=add_form>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br></form><br clear=all>
<FONT SIZE=6><em>Budget admin</em></FONT><form action=/cgi-bin/koha/admin/aqbudget.pl method=post>
<input type=text name=searchfield value=""><input type=reset name=reset value="clr"></form>
<TMPL_IF name=search>
<br>You Searched for <b><TMPL_VAR name=searchfield><b><p><br>
</TMPL_IF>
<table border=0 cellspacing=0 cellpadding=5>
<tr valign=top bgcolor=#99cc33><td background="/images/background-mem.gif"><b>Book fund</b></td><td background="/images/background-mem.gif"><b>Start date</b></td><td background="/images/background-mem.gif"><b>End date</b></td><td background="/images/background-mem.gif"><b>Budget amount</b></td><td background="/images/background-mem.gif">&nbsp;</td><td background="/images/background-mem.gif">&nbsp;</td></tr>
<TMPL_LOOP name="budget">
<tr valign=top bgcolor=<TMPL_VAR name="toggle"> >
<td><TMPL_VAR name="bookfundid"> (<TMPL_VAR name="bookfundname">)</td>
<td><TMPL_VAR name="startdate"></td>
<td><TMPL_VAR name="enddate"></td>
<td><TMPL_VAR name="budgetamount"></td>
<td><a href="/cgi-bin/koha/admin/aqbudget.pl?op=add_form&bookfundid=<TMPL_VAR name="bookfundid">"><img src="/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td><a href="/cgi-bin/koha/admin/aqbudget.pl?op=delete_confirm&bookfundid=<TMPL_VAR name="bookfundid">"><img src="/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
</table>
<form action='/cgi-bin/koha/admin/aqbudget.pl' method=post>
<input type=hidden name=op value=add_form>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br><input type=image src="/<TMPL_VAR name="theme">/images/filenew.png" title="Add budget" ALT="Add" BORDER=0 ><br>
</form><br clear=all>
</TMPL_IF>
<TMPL_IF name="add_form">

View file

@ -61,20 +61,20 @@ the subfield is not entered through a free field, but though a list of authorise
<TMPL_VAR name="tab_list"><input type="submit" value="OK"> <a href="authorised_values.pl?op=add_form">New category...</a>
</form>
<TMPL_VAR name="searchfield">
<table border=0 cellspacing=0 cellpadding=2>
<table border=0 cellspacing=0 cellpadding=2 width="80%">
<tr valign=top bgcolor=#99cc33>
<td background="/images/background-mem.gif"><b>Category</b></td>
<td background="/images/background-mem.gif"><b>Authorised value</b></td>
<td background="/images/background-mem.gif"><b>Lib</b></td>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">Edit</td>
<td background="/images/background-mem.gif">Delete</td>
<TMPL_LOOP name="loop">
</tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
<td><TMPL_VAR name="category"></td>
<td><TMPL_VAR name="authorised_value"></td>
<td><TMPL_VAR name="lib"></td>
<td><a href="<TMPL_VAR name="edit">">Edit</a></td>
<td><a href="<TMPL_VAR name="delete">">Delete</a></td>
<td><a href="<TMPL_VAR name="edit">"><img src="/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td><a href="<TMPL_VAR name="delete">"><img src="/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
<form action='<TMPL_VAR name="script_name">' method=post>
@ -89,7 +89,7 @@ the subfield is not entered through a free field, but though a list of authorise
<form action='<TMPL_VAR name="script_name">' method=post>
<input type="hidden" name="op" value="add_form">
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br>
<br><input type=image src="/<TMPL_VAR name="theme">/images/filenew.png" title="Add bookfund" ALT="Add" BORDER=0 ><br>
</form>
</TMPL_IF>

View file

@ -129,8 +129,8 @@ function Check(f) {
<td background="/images/background-mem.gif"><b>loan length</b></td>
<td background="/images/background-mem.gif"><b>Renewable</b></td>
<td background="/images/background-mem.gif"><b>charge</b></td>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">Edit</td>
<td background="/images/background-mem.gif">Delete</td>
</tr>
<TMPL_LOOP name="loop">
<tr>
@ -139,14 +139,14 @@ function Check(f) {
<td><TMPL_VAR name="loanlength"></td>
<td><TMPL_IF name="renewalsallowed">Yes<TMPL_ELSE>No</TMPL_IF></td>
<td><TMPL_VAR name="rentalcharge"></td>
<td><a href="<TMPL_VAR name="script_name">?op=add_form&itemtype=<TMPL_VAR name="itemtype" escape="HTML">">Edit</a></td>
<td><a href="<TMPL_VAR name="script_name">?op=delete_confirm&itemtype=<TMPL_VAR name="itemtype" escape="HTML">">Delete</a></td>
<td><a href="<TMPL_VAR name="script_name">?op=add_form&itemtype=<TMPL_VAR name="itemtype" escape="HTML">"><img src="/<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&itemtype=<TMPL_VAR name="itemtype" escape="HTML">"><img src="/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
</table>
<form action='<TMPL_VAR name="script_name">' method=post>
<input type=hidden name=op value=add_form>
<input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add item type" BORDER=0 ></a>
<br><input type=image src="/<TMPL_VAR name="theme">/images/filenew.png" title="Add itemtype" ALT="Add" BORDER=0 ><br>
</form>
</TMPL_IF>
<TMPL_INCLUDE NAME="parameters-bottom.inc">

View file

@ -178,7 +178,7 @@
<td><TMPL_VAR name="tagfield"></td>
<td><TMPL_VAR name="tagsubfield"></td>
<td><TMPL_VAR name="liblibrarian"></td>
<td><a href="<TMPL_VAR name="edit">">edit</a></td>
<td><a href="<TMPL_VAR name="edit">"><img src="/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
</table>

View file

@ -76,7 +76,7 @@
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on "edit". </p>
<p>The column <b>koha field</b> shows that the subfield is linked with a "koha field". Koha can manage a marc interface, or a koha interface. This link
ensure that both DB are synchronized, thus you can change from MARC to KOHA interface easily.</p>
<table border=0 cellspacing=0 cellpadding=2>
<table border=0 cellspacing=0 cellpadding=2 width="80%">
<tr valign=top bgcolor=#99cc33>
<td background="/images/background-mem.gif" width=5%><b>Subfield</b></td>
<td background="/images/background-mem.gif" width=30%><b>Lib</b></td>
@ -87,7 +87,7 @@ ensure that both DB are synchronized, thus you can change from MARC to KOHA inte
<td background="/images/background-mem.gif" width=8%><b>Auth value</b> <span style="font-size:8;color:red" title="values authorised for this subfield">?</span></td>
<td background="/images/background-mem.gif" width=8%><b>Thesaurus</b> <span style="font-size:8;color:red" title="Thesaurus linked to this subfield">?</span></td>
<td background="/images/background-mem.gif" width=8%><b>Val build</b> <span style="font-size:8;color:red" title="Value builder">?</span></td>
<td background="/images/background-mem.gif" width=8%>&nbsp;</td>
<td background="/images/background-mem.gif" width=8%>Delete</td>
<TMPL_LOOP name="loop">
<tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
<td><TMPL_VAR name="tagsubfield"></td>
@ -99,16 +99,16 @@ ensure that both DB are synchronized, thus you can change from MARC to KOHA inte
<td><TMPL_VAR name="authorised_value"></td>
<td><TMPL_VAR name="thesaurus_category"></td>
<td><TMPL_VAR name="value_builder"></td>
<td><a href="<TMPL_VAR name="delete">">delete</a></td>
<td><a href="<TMPL_VAR name="delete">"><img src="/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
</table>
<TMPL_VAR name="edit">
<table width=60%>
<tr>
<td width=33%><TMPL_VAR name="previous"></td>
<td width=33%><TMPL_VAR name="next"></td>
<td width=33%><a href="marctagstructure.pl?searchfield=<TMPL_VAR name="tagfield">">Back to Tags</a></td>
<td width="25%"><TMPL_VAR name="edit"><img src="/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td width="25%"><a href="marctagstructure.pl?searchfield=<TMPL_VAR name="tagfield">"><img src="/<TMPL_VAR name="theme">/images/2uparrow.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td width="25%"><TMPL_IF name="previous"><input type=image src="/<TMPL_VAR name="theme">/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0 ></a></TMPL_IF></td>
<td width="25%"><TMPL_IF name="next"><TMPL_VAR name="next"><input type=image src="/<TMPL_VAR name="theme">/images/1rightarrow.png" title="next" ALT="next" BORDER=0></a></TMPL_IF></td>
</tr>
</table>
</TMPL_IF>

View file

@ -111,8 +111,8 @@
<td background="/images/background-mem.gif"><b>Mandatory</b></td>
<td background="/images/background-mem.gif"><b>Authorised<br />value</b></td>
<td background="/images/background-mem.gif"><b>Subfields</b></td>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">&nbsp;</td>
<td background="/images/background-mem.gif">Edit</td>
<td background="/images/background-mem.gif">Delete</td>
<TMPL_LOOP name="loop">
<tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
<td><b><TMPL_VAR name="tagfield"></b></td>
@ -121,8 +121,8 @@
<td><TMPL_IF name="mandatory">Yes<TMPL_ELSE>No</TMPL_IF></td>
<td><TMPL_VAR name="authorised_value"></td>
<td><a href="<TMPL_VAR name="subfield_link">">subfields</a></td>
<td><a href="<TMPL_VAR name="edit">">Edit</a></td>
<td><a href="<TMPL_VAR name="delete">">Delete</a></td>
<td><a href="<TMPL_VAR name="edit">"><img src="/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td><a href="<TMPL_VAR name="delete">"><img src="/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
<form action='<TMPL_VAR name="script_name">' method=post>
@ -132,11 +132,13 @@
<input type=hidden name=op value=add_form>
<table width=40%>
<tr>
<td width=50%><TMPL_VAR name="previous"></td>
<td width=50%><TMPL_VAR name="next"></td>
<td width="33%">
<input type=image src="/<TMPL_VAR name="theme">/images/filenew.png" title="Add bookfund" ALT="Add" BORDER=0 >
</td>
<td width=33%><TMPL_IF name="previous"><input type=image src="/<TMPL_VAR name="theme">/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0 ></a></TMPL_IF></td>
<td width=33%><TMPL_IF name="next"><TMPL_VAR name="next"><input type=image src="/<TMPL_VAR name="theme">/images/1rightarrow.png" title="next" ALT="next" BORDER=0></a></TMPL_IF></td>
</tr>
</table>
<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br>
</form>
</TMPL_IF>

View file

@ -122,8 +122,8 @@
<td><TMPL_VAR name="variable"></td>
<td><TMPL_VAR name="value"></td>
<td><TMPL_VAR name="explanation"></td>
<td><a href="<TMPL_VAR name="edit">">Edit</a></td>
<td><a href="<TMPL_VAR name="delete">">Delete</a></td>
<td><a href="<TMPL_VAR name="edit">"><img src="/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td><a href="<TMPL_VAR name="delete">"><img src="/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
<form action='<TMPL_VAR name="script_name">' method=post>
@ -137,7 +137,7 @@
<td width=50%><TMPL_VAR name="next"></td>
</tr>
</table>
<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br>
<br><input type=image src="/<TMPL_VAR name="theme">/images/filenew.png" title="Add system parameter" ALT="Add" BORDER=0 ><br>
</form>
</TMPL_IF>

View file

@ -104,7 +104,7 @@
<input type="hidden" name="category" value="<TMPL_VAR name="category">">
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="father" value="<TMPL_VAR name="father">">
<br><input type=image src="/images/button-add-new.gif" WIDTH=188 HEIGHT=44 ALT="Add budget" BORDER=0 ></a><br>
<br><input type=image src="/<TMPL_VAR name="theme">/images/filenew.png" title="Add thesaurus entry" ALT="Add" BORDER=0 ><br>
</form>
<form action="/cgi-bin/koha/admin/thesaurus.pl" method="post">
<TMPL_VAR name="tab_list">
@ -123,8 +123,8 @@
<td background="/images/background-mem.gif"><b>Authority</b></td>
<td background="/images/background-mem.gif" width="5%"><b>Dig</b></td>
<td background="/images/background-mem.gif" width="5%"><b>Related</b></td>
<td background="/images/background-mem.gif" width="5%">&nbsp;</td>
<td background="/images/background-mem.gif" width="5%">&nbsp;</td>
<td background="/images/background-mem.gif" width="5%">Edit</td>
<td background="/images/background-mem.gif" width="5%">Delete</td>
<TMPL_LOOP name="loop">
</tr valign=top bgcolor='<TMPL_VAR name="bgcolor">'>
<td>&nbsp;</td>
@ -132,8 +132,8 @@
<td><TMPL_VAR name="father"> <TMPL_VAR name="stdlib"></td>
<td><TMPL_VAR name="dig">Dig</a></td>
<td><TMPL_VAR name="related">Related</a></td>
<td><a href="<TMPL_VAR name="edit">">Edit</a></td>
<td><a href="<TMPL_VAR name="delete">">Delete</a></td>
<td><a href="<TMPL_VAR name="edit">"><img src="/<TMPL_VAR name="theme">/images/fileopen.png" width=32 hspace=0 vspace=0 border=0></a></td>
<td><a href="<TMPL_VAR name="delete">"><img src="/<TMPL_VAR name="theme">/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
</tr>
</TMPL_LOOP>
<form action='<TMPL_VAR name="script_name">' method=post>