Merge remote branch 'kc/master'
This commit is contained in:
commit
4d6b38c794
20 changed files with 262 additions and 141 deletions
|
@ -405,14 +405,17 @@ sub PrepareSerialsData {
|
|||
my $first;
|
||||
my $previousnote = "";
|
||||
|
||||
foreach my $subs (@$lines) {
|
||||
$subs->{'publisheddate'} = (
|
||||
$subs->{'publisheddate'}
|
||||
? format_date( $subs->{'publisheddate'} )
|
||||
: "XXX"
|
||||
);
|
||||
foreach my $subs (@{$lines}) {
|
||||
for my $datefield ( qw(publisheddate planneddate) ) {
|
||||
# handle both undef and undef returned as 0000-00-00
|
||||
if (!defined $subs->{$datefield} or $subs->{$datefield}=~m/^00/) {
|
||||
$subs->{$datefield} = 'XXX';
|
||||
}
|
||||
else {
|
||||
$subs->{$datefield} = format_date( $subs->{$datefield} );
|
||||
}
|
||||
}
|
||||
$subs->{'branchname'} = GetBranchName( $subs->{'branchcode'} );
|
||||
$subs->{'planneddate'} = format_date( $subs->{'planneddate'} );
|
||||
$subs->{ "status" . $subs->{'status'} } = 1;
|
||||
$subs->{"checked"} = $subs->{'status'} =~ /1|3|4|7/;
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# This is a completely new Z3950 clients search using async ZOOM -TG 02/11/06
|
||||
# Copyright 2000-2002 Katipo Communications
|
||||
# Copyright 2010 Catalyst IT
|
||||
#
|
||||
# This file is part of Koha.
|
||||
#
|
||||
|
@ -89,12 +90,12 @@ my $DEBUG = 0; # if set to 1, many debug message are send on syslog.
|
|||
my $frameworks = getframeworks;
|
||||
my @frameworkcodeloop;
|
||||
foreach my $thisframeworkcode ( keys %$frameworks ) {
|
||||
my $row = {
|
||||
my %row = (
|
||||
value => $thisframeworkcode,
|
||||
frameworktext => $frameworks->{$thisframeworkcode}->{'frameworktext'},
|
||||
};
|
||||
if ( $row->{'value'} eq $frameworkcode){
|
||||
$row->{'active'} = 'true';
|
||||
);
|
||||
if ( $row{'value'} eq $frameworkcode){
|
||||
$row{'active'} = 'true';
|
||||
}
|
||||
push @frameworkcodeloop, $row;
|
||||
}
|
||||
|
@ -246,8 +247,8 @@ sub displayresults {
|
|||
# In rel2_2 i am not sure what encoding is so no character conversion is done here
|
||||
##Add necessary encoding changes to here -TG
|
||||
my $oldbiblio = TransformMarcToKoha( $dbh, $marcrecord, "" );
|
||||
$oldbiblio->{isbn} =~ s/ |-|\.//g,
|
||||
$oldbiblio->{issn} =~ s/ |-|\.//g,
|
||||
$oldbiblio->{isbn} =~ s/ |-|\.//g if $oldbiblio->{isbn};
|
||||
$oldbiblio->{issn} =~ s/ |-|\.//g if $oldbiblio->{issn};
|
||||
my (
|
||||
$notmarcrecord, $alreadyindb, $alreadyinfarm,
|
||||
$imported, $breedingid
|
||||
|
@ -283,14 +284,13 @@ sub displayresults {
|
|||
server => $servername[$k],
|
||||
numberpending => $numberpending,
|
||||
);
|
||||
|
||||
output_html_with_http_headers $input, $cookie, $template->output if $numberpending == 0;
|
||||
|
||||
# print $template->output if $firstresult !=1;
|
||||
$firstresult++;
|
||||
}
|
||||
displayresults();
|
||||
if ( --$nremaining > 0 ) {
|
||||
while ( --$nremaining > 0 ) {
|
||||
displayresults();
|
||||
}
|
||||
} ## if op=search
|
||||
|
|
|
@ -52,6 +52,8 @@ use C4::Languages qw(getTranslatedLanguages);
|
|||
use C4::ClassSource;
|
||||
use C4::Log;
|
||||
use C4::Output;
|
||||
use YAML::Syck qw( Dump LoadFile );
|
||||
|
||||
|
||||
# use Smart::Comments;
|
||||
|
||||
|
@ -95,8 +97,39 @@ $tabsysprefs{Intranet_includes} = "Admin";
|
|||
$tabsysprefs{AutoLocation} = "Admin";
|
||||
$tabsysprefs{DebugLevel} = "Admin";
|
||||
$tabsysprefs{SessionStorage} = "Admin";
|
||||
|
||||
# This script is depricated so all of these prefs are lumped here to avoid their being displayed in the local use prefs tab
|
||||
|
||||
$tabsysprefs{noItemTypeImages} = "Admin";
|
||||
$tabsysprefs{OPACBaseURL} = "Admin";
|
||||
$tabsysprefs{AnonymousPatron} = "Admin";
|
||||
$tabsysprefs{casAuthentication} = "Admin";
|
||||
$tabsysprefs{casLogout} = "Admin";
|
||||
$tabsysprefs{casServerUrl} = "Admin";
|
||||
$tabsysprefs{Disable_Dictionary} = "Admin";
|
||||
$tabsysprefs{EnableOpacSearchHistory} = "Admin";
|
||||
$tabsysprefs{'ILS-DI:AuthorizedIPs'} = "Admin";
|
||||
$tabsysprefs{Intranetbookbag} = "Admin";
|
||||
$tabsysprefs{maxitemsinSearchResults} = "Admin";
|
||||
$tabsysprefs{noOPACUserLogin} = "Admin";
|
||||
$tabsysprefs{'OAI-PMH:ConfFile'} = "Admin";
|
||||
$tabsysprefs{OpacAddMastheadLibraryPulldown} = "Admin";
|
||||
$tabsysprefs{opaclargeimage} = "Admin";
|
||||
$tabsysprefs{OpacPrivacy} = "Admin";
|
||||
$tabsysprefs{OPACXSLTDetailsDisplay} = "Admin";
|
||||
$tabsysprefs{OPACXSLTResultsDisplay} = "Admin";
|
||||
$tabsysprefs{PDFFontType} = "Admin";
|
||||
$tabsysprefs{PINESISBN} = "Admin";
|
||||
$tabsysprefs{PrintNoticesMaxLines} = "Admin";
|
||||
$tabsysprefs{ReservesControlBranch} = "Admin";
|
||||
$tabsysprefs{ResultsDisplay} = "Admin";
|
||||
$tabsysprefs{NoReturnSetLost} = "Admin";
|
||||
$tabsysprefs{SearchURL} = "Admin";
|
||||
$tabsysprefs{ShowPictures} = "Admin";
|
||||
$tabsysprefs{soundon} = "Admin";
|
||||
$tabsysprefs{SpineLabelShowPrintOnBibDetails} = "Admin";
|
||||
$tabsysprefs{WebBasedSelfCheckHeader} = "Admin";
|
||||
$tabsysprefs{WebBasedSelfCheckTimeout} = "Admin";
|
||||
|
||||
# Authorities
|
||||
$tabsysprefs{authoritysep} = "Authorities";
|
||||
|
@ -427,12 +460,14 @@ sub StringSearch {
|
|||
ORDER BY VARIABLE" );
|
||||
$sth->execute( "%$searchstring%", "%$searchstring%" );
|
||||
} else {
|
||||
my $strsth = "Select variable,value,explanation,type,options from systempreferences where variable not in (";
|
||||
foreach my $syspref ( keys %tabsysprefs ) {
|
||||
$strsth .= $dbh->quote($syspref) . ",";
|
||||
my $strsth = "Select variable,value,explanation,type,options from systempreferences where variable in (";
|
||||
my $first = 1;
|
||||
for my $name ( get_local_prefs() ) {
|
||||
$strsth .= ',' unless $first;
|
||||
$strsth .= "'$name'";
|
||||
$first = 0;
|
||||
}
|
||||
$strsth =~ s/,$/) /;
|
||||
$strsth .= " order by variable";
|
||||
$strsth .= ") order by variable";
|
||||
$sth = $dbh->prepare($strsth);
|
||||
$sth->execute();
|
||||
}
|
||||
|
@ -779,3 +814,79 @@ if ( $op eq 'add_form' ) {
|
|||
$template->param( tab => $tab, );
|
||||
} #---- END $OP eq DEFAULT
|
||||
output_html_with_http_headers $input, $cookie, $template->output;
|
||||
|
||||
|
||||
# Return an array containing all preferences defined in current Koha instance
|
||||
# .pref files.
|
||||
|
||||
sub get_prefs_from_files {
|
||||
my $context = C4::Context->new();
|
||||
my $path_pref_en = $context->config('intrahtdocs') .
|
||||
'/prog/en/modules/admin/preferences';
|
||||
# Get all .pref file names
|
||||
opendir ( my $fh, $path_pref_en );
|
||||
my @pref_files = grep { /.pref/ } readdir($fh);
|
||||
close $fh;
|
||||
|
||||
my @names = ();
|
||||
my $append = sub {
|
||||
my $prefs = shift;
|
||||
for my $pref ( @$prefs ) {
|
||||
for my $element ( @$pref ) {
|
||||
if ( ref( $element) eq 'HASH' ) {
|
||||
my $name = $element->{pref};
|
||||
next unless $name;
|
||||
push @names, $name;
|
||||
last;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
for my $file (@pref_files) {
|
||||
my $pref = LoadFile( "$path_pref_en/$file" );
|
||||
for my $tab ( keys %$pref ) {
|
||||
my $content = $pref->{$tab};
|
||||
if ( ref($content) eq 'ARRAY' ) {
|
||||
$append->($content);
|
||||
next;
|
||||
}
|
||||
for my $section ( keys %$content ) {
|
||||
my $syspref = $content->{$section};
|
||||
$append->($syspref);
|
||||
}
|
||||
}
|
||||
}
|
||||
return @names;
|
||||
}
|
||||
|
||||
|
||||
# Return an array containg all preferences defined in DB
|
||||
|
||||
sub get_prefs_from_db {
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $sth = $dbh->prepare("SELECT variable FROM systempreferences");
|
||||
$sth->execute;
|
||||
my @names = ();
|
||||
while ( (my $name) = $sth->fetchrow_array ) {
|
||||
push @names, $name if $name;
|
||||
}
|
||||
return @names;
|
||||
}
|
||||
|
||||
|
||||
# Return an array containing all local preferences: those which are defined in
|
||||
# DB and not defined in Koha .pref files.
|
||||
|
||||
sub get_local_prefs {
|
||||
my @prefs_file = get_prefs_from_files();
|
||||
my @prefs_db = get_prefs_from_db();
|
||||
|
||||
my %prefs_file = map { $_ => 1 } @prefs_file;
|
||||
my @names = ();
|
||||
foreach my $name (@prefs_db) {
|
||||
push @names, $name unless $prefs_file{$name};
|
||||
}
|
||||
|
||||
return @names;
|
||||
}
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ libidzebra-2.0-mod-grs-regx \
|
|||
libidzebra-2.0-mod-grs-xml \
|
||||
libidzebra-2.0-mod-text \
|
||||
libidzebra-2.0-modules \
|
||||
libimage-magick-perl \
|
||||
libgraphics-magick-perl \
|
||||
libjson-perl \
|
||||
libjson-xs-perl \
|
||||
liblingua-ispell-perl \
|
||||
|
|
|
@ -38,7 +38,7 @@ libidzebra-2.0-mod-grs-regx install
|
|||
libidzebra-2.0-mod-grs-xml install
|
||||
libidzebra-2.0-mod-text install
|
||||
libidzebra-2.0-modules install
|
||||
libimage-magick-perl install
|
||||
libgraphics-magick-perl install
|
||||
libjson-perl install
|
||||
liblingua-ispell-perl install
|
||||
liblingua-stem-perl install
|
||||
|
|
|
@ -467,7 +467,7 @@ libxslt1-dev
|
|||
libyaml-syck-perl
|
||||
libhtml-template-pro-perl
|
||||
libdbd-mysql-perl/testing
|
||||
libimage-magick-perl
|
||||
libgraphics-magick-perl
|
||||
liblist-moreutils-perl
|
||||
libtext-iconv-perl/testing
|
||||
libalgorithm-checkdigits-perl
|
||||
|
|
|
@ -14,7 +14,7 @@ libdate-calc-perl install
|
|||
libdate-manip-perl install
|
||||
libdate-ical-perl install
|
||||
libdatetime-format-mail-perl install
|
||||
libimage-magick-perl install
|
||||
libgraphics-magick-perl install
|
||||
libmail-sendmail-perl install
|
||||
liblingua-ispell-perl install
|
||||
liblingua-stem-perl install
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
var newmenu = [
|
||||
<!--TMPL_IF Name="AddPatronLists_categorycode"-->
|
||||
<!--TMPL_LOOP Name="categoryloop"-->
|
||||
<!--TMPL_LOOP Name="categories"-->
|
||||
{ text: "<!--TMPL_VAR Name="description"-->", url: "/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=<!--TMPL_VAR Name="categorycode"-->" },
|
||||
<!--/TMPL_LOOP-->
|
||||
<!--TMPL_ELSE-->
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<!-- TMPL_IF NAME="Creators" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Creators" href="/cgi-bin/koha/admin/preferences.pl?tab=creators">Creators</a></li>
|
||||
<!-- TMPL_IF NAME="enhanced-content" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Enhanced Content Settings" href="/cgi-bin/koha/admin/preferences.pl?tab=enhanced-content">Enhanced Content</a></li>
|
||||
<!-- TMPL_IF NAME="i18n-l10n" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Internationalization and Localization" href="/cgi-bin/koha/admin/preferences.pl?tab=i18n-l10n">I18N/L10N</a></li>
|
||||
<!-- TMPL_IF NAME="local-use" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/admin/preferences.pl">Local Use</a></li>
|
||||
<!-- TMPL_IF NAME="local-use" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/admin/systempreferences.pl">Local Use</a></li>
|
||||
<!-- TMPL_IF NAME="logs" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Transaction Logs" href="/cgi-bin/koha/admin/preferences.pl?tab=logs">Logs</a></li>
|
||||
<!-- TMPL_IF NAME="opac" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Online Public Access Catalog" href="/cgi-bin/koha/admin/preferences.pl?tab=opac">OPAC</a></li>
|
||||
<!-- TMPL_IF NAME="patrons" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Patrons" href="/cgi-bin/koha/admin/preferences.pl?tab=patrons">Patrons</a></li>
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<div id="menu">
|
||||
<ul>
|
||||
<!-- TMPL_IF NAME="Admin" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Administration" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Admin">Admin</a></li>
|
||||
<!-- TMPL_IF NAME="Acquisitions" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Acquisitions" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Acquisitions">Acquisitions</a></li>
|
||||
<!-- TMPL_IF NAME="Authorities" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Authority Control" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Authorities">Authorities</a></li>
|
||||
<!-- TMPL_IF NAME="Cataloging" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Cataloging" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Cataloging">Cataloging</a></li>
|
||||
<!-- TMPL_IF NAME="Circulation" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Circulation" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Circulation">Circulation</a></li>
|
||||
<!-- TMPL_IF NAME="Creators" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Creators" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Creators">Creators</a></li>
|
||||
<!-- TMPL_IF NAME="EnhancedContent" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Enhanced content settings" href="/cgi-bin/koha/admin/systempreferences.pl?tab=EnhancedContent">Enhanced Content</a></li>
|
||||
<!-- TMPL_IF NAME="I18N/L10N" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Internationalization and Localization" href="/cgi-bin/koha/admin/systempreferences.pl?tab=I18N/L10N">I18N/L10N</a></li>
|
||||
<!-- TMPL_IF NAME="Logs" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Transaction Logs" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Logs">Logs</a></li>
|
||||
<!-- TMPL_IF NAME="OAI-PMH" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="OAI-PMH" href="/cgi-bin/koha/admin/systempreferences.pl?tab=OAI-PMH">OAI-PMH</a></li>
|
||||
<!-- TMPL_IF NAME="OPAC" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Online Public Access Catalog" href="/cgi-bin/koha/admin/systempreferences.pl?tab=OPAC">OPAC</a></li>
|
||||
<!-- TMPL_IF NAME="Patrons" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Patrons" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Patrons">Patrons</a></li>
|
||||
<!-- TMPL_IF NAME="Searching" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Searching" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Searching">Searching</a></li>
|
||||
<!-- TMPL_IF NAME="Serials" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Serials" href="/cgi-bin/koha/admin/systempreferences.pl?tab=Serials">Serials</a></li>
|
||||
<!-- TMPL_IF NAME="StaffClient" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Staff Client" href="/cgi-bin/koha/admin/systempreferences.pl?tab=StaffClient">Staff Client</a></li>
|
||||
<!-- TMPL_IF NAME="Acquisitions" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Acquisitions" href="/cgi-bin/koha/admin/preferences.pl?tab=acquisitions">Acquisitions</a></li>
|
||||
<!-- TMPL_IF NAME="Admin" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Administration" href="/cgi-bin/koha/admin/preferences.pl?tab=admin">Administration</a></li>
|
||||
<!-- TMPL_IF NAME="Authorities" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Authority Control" href="/cgi-bin/koha/admin/preferences.pl?tab=authorities">Authorities</a></li>
|
||||
<!-- TMPL_IF NAME="Cataloging" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Cataloging" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloging">Cataloging</a></li>
|
||||
<!-- TMPL_IF NAME="Circulation" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Circulation" href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">Circulation</a></li>
|
||||
<!-- TMPL_IF NAME="Creators" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Creators" href="/cgi-bin/koha/admin/preferences.pl?tab=creators">Creators</a></li>
|
||||
<!-- TMPL_IF NAME="EnhancedContent" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Enhanced content settings" href="/cgi-bin/koha/admin/preferences.pl?tab=enhanced-content">Enhanced Content</a></li>
|
||||
<!-- TMPL_IF NAME="I18N/L10N" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Internationalization and Localization" href="/cgi-bin/koha/admin/preferences.pl?tab=i18n-l10n">I18N/L10N</a></li>
|
||||
<!-- TMPL_IF NAME="" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/admin/systempreferences.pl">Local Use</a></li>
|
||||
<!-- TMPL_IF NAME="Logs" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Transaction Logs" href="/cgi-bin/koha/admin/preferences.pl?tab=logs">Logs</a></li>
|
||||
<!-- TMPL_IF NAME="OPAC" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Online Public Access Catalog" href="/cgi-bin/koha/admin/preferences.pl?tab=opac">OPAC</a></li>
|
||||
<!-- TMPL_IF NAME="Patrons" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Patrons" href="/cgi-bin/koha/admin/preferences.pl?tab=patrons">Patrons</a></li>
|
||||
<!-- TMPL_IF NAME="Searching" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Searching" href="/cgi-bin/koha/admin/preferences.pl?tab=searching">Searching</a></li>
|
||||
<!-- TMPL_IF NAME="Serials" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Serials" href="/cgi-bin/koha/admin/preferences.pl?tab=serials">Serials</a></li>
|
||||
<!-- TMPL_IF NAME="StaffClient" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Staff Client" href="/cgi-bin/koha/admin/preferences.pl?tab=staff-client">Staff Client</a></li>
|
||||
<!-- TMPL_IF NAME="OAI-PMH" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a title="Web Services" href="/cgi-bin/koha/admin/preferences.pl?tab=web-services">Web Services</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<div class="yui-u first">
|
||||
<form action="/cgi-bin/koha/admin/preferences.pl" method="post">
|
||||
<fieldset>
|
||||
<h4><a href="/cgi-bin/koha/admin/preferences.pl">Global system preferences</a></h4>
|
||||
<h4><a href="/cgi-bin/koha/admin/systempreferences.pl">Global system preferences</a></h4>
|
||||
<p>Manage global system preferences like MARC flavor, date format, administrator email, and templates.</p>
|
||||
<input type="hidden" name="op" value="search" />
|
||||
<input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
|
||||
|
|
|
@ -225,7 +225,7 @@ $(document).ready(function() {
|
|||
remove it from all classification source definitions before trying again.
|
||||
</p>
|
||||
<form action="<!-- TMPL_VAR name="script_name" -->" method="get">
|
||||
<input type="button" value="OK" class="approve" />
|
||||
<input type="submit" value="OK" class="approve" />
|
||||
</form>
|
||||
</div>
|
||||
<!-- /TMPL_IF -->
|
||||
|
@ -240,13 +240,13 @@ $(document).ready(function() {
|
|||
|
||||
<h2>Classification Sources</h2>
|
||||
<!-- TMPL_IF name="added_source" -->
|
||||
<span class="problem">Added classification source <!-- TMPL_VAR name="added_source" --></span>
|
||||
<div class="dialog message">Added classification source <!-- TMPL_VAR name="added_source" --></div>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="edited_source" -->
|
||||
<span class="problem">Modified classification source <!-- TMPL_VAR name="edited_source" --></span>
|
||||
<div class="dialog message">Modified classification source <!-- TMPL_VAR name="edited_source" --></div>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="deleted_source" -->
|
||||
<span class="problem">Deleted classification source <!-- TMPL_VAR name="deleted_source" --></span>
|
||||
<div class="dialog message">Deleted classification source <!-- TMPL_VAR name="deleted_source" --></div>
|
||||
<!-- /TMPL_IF -->
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -279,13 +279,13 @@ $(document).ready(function() {
|
|||
<div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
|
||||
<h2>Classification Filing Rules</h2>
|
||||
<!-- TMPL_IF name="added_rule" -->
|
||||
<span class="problem">Added filing rule <!-- TMPL_VAR name="added_rule" --></span>
|
||||
<div class="dialog message">Added filing rule <!-- TMPL_VAR name="added_rule" --></div>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="edited_rule" -->
|
||||
<span class="problem">Modified filing rule <!-- TMPL_VAR name="edited_rule" --></span>
|
||||
<div class="dialog message">Modified filing rule <!-- TMPL_VAR name="edited_rule" --></div>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="deleted_rule" -->
|
||||
<span class="problem">Deleted filing rule <!-- TMPL_VAR name="deleted_rule" --></span>
|
||||
<div class="dialog message">Deleted filing rule <!-- TMPL_VAR name="deleted_rule" --></div>
|
||||
<!-- /TMPL_IF -->
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › Sending Your Cart
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
||||
<title><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › Sending Your Cart</title>
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
</head>
|
||||
<body style="padding: 1em;" id="sendbasket">
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › An Error Has Occurred
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
</head>
|
||||
<body>
|
||||
<body id="error400">
|
||||
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
|
||||
<div id="bd">
|
||||
<!--TMPL_INCLUDE NAME="masthead.inc" -->
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
|
||||
<div id="doc3" class="yui-t1">
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b"><div class="yui-g">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
<div class="yui-g">
|
||||
<h3>An Error has Occurred</h3>
|
||||
<h4>Error 400</h4>
|
||||
<ul>
|
||||
|
@ -17,13 +17,14 @@
|
|||
<a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
|
||||
<li>Use top menu bar to navigate to another part of Koha.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div id="main"> -->
|
||||
<!-- </div> -->
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TMPL_IF NAME="OpacNav" -->
|
||||
<div class="yui-b">
|
||||
<div class="container">
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
</div>
|
||||
</div><!-- /TMPL_IF -->
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › An Error Has Occurred
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
</head>
|
||||
<body>
|
||||
<body id="error401">
|
||||
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
|
||||
<div id="bd">
|
||||
<!--TMPL_INCLUDE NAME="masthead.inc" -->
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
|
||||
<div id="doc3" class="yui-t1">
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b"><div class="yui-g">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
<div class="yui-g">
|
||||
<h3>An Error has Occurred</h3>
|
||||
<h4>Error 401</h4>
|
||||
<ul>
|
||||
|
@ -18,13 +18,14 @@
|
|||
<a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
|
||||
<li>Use top menu bar to navigate to another part of Koha.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div id="main"> -->
|
||||
<!-- </div> -->
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TMPL_IF NAME="OpacNav" -->
|
||||
<div class="yui-b">
|
||||
<div class="container">
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
</div>
|
||||
</div><!-- /TMPL_IF -->
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › An Error Has Occurred
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
</head>
|
||||
<body>
|
||||
<body id="error402">
|
||||
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
|
||||
<div id="bd">
|
||||
<!--TMPL_INCLUDE NAME="masthead.inc" -->
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
|
||||
<div id="doc3" class="yui-t1">
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b"><div class="yui-g">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
<div class="yui-g">
|
||||
<h3>An Error has Occurred</h3>
|
||||
<h4>Error 402</h4>
|
||||
<ul>
|
||||
|
@ -17,13 +17,14 @@
|
|||
<a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
|
||||
<li>Use top menu bar to navigate to another part of Koha.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div id="main"> -->
|
||||
<!-- </div> -->
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TMPL_IF NAME="OpacNav" -->
|
||||
<div class="yui-b">
|
||||
<div class="container">
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
</div>
|
||||
</div><!-- /TMPL_IF -->
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › An Error Has Occurred
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
</head>
|
||||
<body>
|
||||
<body id="error403">
|
||||
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
|
||||
<div id="bd">
|
||||
<!--TMPL_INCLUDE NAME="masthead.inc" -->
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
|
||||
<div id="doc3" class="yui-t1">
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b"><div class="yui-g">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
<div class="yui-g">
|
||||
<h3>An Error has Occurred</h3>
|
||||
<h4>Error 403</h4>
|
||||
<ul>
|
||||
|
@ -17,13 +17,14 @@
|
|||
<a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
|
||||
<li>Use top menu bar to navigate to another part of Koha.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div id="main"> -->
|
||||
<!-- </div> -->
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TMPL_IF NAME="OpacNav" -->
|
||||
<div class="yui-b">
|
||||
<div class="container">
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
</div>
|
||||
</div><!-- /TMPL_IF -->
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › An Error Has Occurred
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
</head>
|
||||
<body>
|
||||
<body id="error404">
|
||||
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
|
||||
<div id="bd">
|
||||
<!--TMPL_INCLUDE NAME="masthead.inc" -->
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
|
||||
<div id="doc3" class="yui-t1">
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b"><div class="yui-g">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
<div class="yui-g">
|
||||
<h3>An Error has Occurred</h3>
|
||||
<h4>Error 404</h4>
|
||||
<ul>
|
||||
|
@ -17,13 +17,14 @@
|
|||
<a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
|
||||
<li>Use top menu bar to navigate to another part of Koha.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div id="main"> -->
|
||||
<!-- </div> -->
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TMPL_IF NAME="OpacNav" -->
|
||||
<div class="yui-b">
|
||||
<div class="container">
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
</div>
|
||||
</div><!-- /TMPL_IF -->
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › An Error Has Occurred
|
||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
</head>
|
||||
<body>
|
||||
<body id="error500">
|
||||
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
|
||||
<div id="bd">
|
||||
<!--TMPL_INCLUDE NAME="masthead.inc" -->
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
|
||||
<div id="doc3" class="yui-t1">
|
||||
<div id="bd">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b"><div class="yui-g">
|
||||
<div id="yui-main">
|
||||
<div class="yui-b">
|
||||
<div class="yui-g">
|
||||
<h3>An Error has Occurred</h3>
|
||||
<h4>Error 500</h4>
|
||||
<ul>
|
||||
|
@ -17,13 +17,14 @@
|
|||
<a href="mailto:<!-- TMPL_VAR NAME="admin" -->">email the Koha Administrator</a>.</li>
|
||||
<li>Use top menu bar to navigate to another part of Koha.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div id="main"> -->
|
||||
<!-- </div> -->
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
</div>
|
||||
<!-- TMPL_IF NAME="OpacNav" -->
|
||||
<div class="yui-b">
|
||||
<div class="container">
|
||||
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
||||
</div>
|
||||
</div><!-- /TMPL_IF -->
|
||||
</div>
|
||||
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
||||
|
|
|
@ -54,7 +54,7 @@ if($quicksearch){
|
|||
my @categories=C4::Category->all;
|
||||
$template->param(
|
||||
branchloop=>(defined $branch?GetBranchesLoop($branch):GetBranchesLoop()),
|
||||
categoryloop=>\@categories,
|
||||
categories=>\@categories,
|
||||
);
|
||||
$template->param(
|
||||
"AddPatronLists_".C4::Context->preference("AddPatronLists")=> "1",
|
||||
|
|
Loading…
Reference in a new issue