<td>the barcode generator deals with generating barcodes for items you acquire
</td>
</tr>
+
+ <tr>
+ <th><a href="/cgi-bin/koha/tools/holidays.pl">Holidays</a></th>
+ <td>Holidays (closed days for the library)
+ </td>
+ </tr>
+ <tr>
+ <th><a href="/cgi-bin/koha/tools/koha-news.pl">Basic news system</a></th>
+ <td>A basic news system to put news on OPAC or library staff</td>
+ </tr>
</table>
use C4::Auth;
use C4::AuthoritiesMarc;
use C4::Koha;
-
+use C4::NewsChannels;
my $query = new CGI;
my $authtypes = getauthtypes;
my @authtypesloop;
$template->param(NOTMARC => !$marc_p);
$template->param(authtypesloop => \@authtypesloop);
+my ($koha_news_count, $all_koha_news) = &get_opac_news(undef, 'koha');
+$template->param(koha_news => $all_koha_news);
+$template->param(koha_news_count => $koha_news_count);
+
output_html_with_http_headers $query, $cookie, $template->output;
explanation => 'Enable/Disable password change in OPAC (disable it when using LDAP auth)',
type => 'YesNo',
},
+ {
+ uniquefieldrequired => 'variable',
+ variable => 'useDaysMode',
+ value => 'Calendar',
+ forceupdate => { 'explanation' => 1,
+ 'type' => 1},
+ explanation => 'How to calculate return dates : Calendar means holidays will be controled, Days means the return date don\'t depend on holidays',
+ type => 'Choice',
+ options => 'Calendar|Days'
+ },
],
);
exit;
# $Log$
+# Revision 1.131 2006/03/03 17:02:22 tipaul
+# commit for holidays and news management.
+# (some forgotten files)
+#
# Revision 1.130 2006/03/03 16:35:21 tipaul
# commit for holidays and news management.
#