my $value = $query->param($name);
push @inputs, { name => $name, value => $value };
}
- # get the branchloop, which we need for authentication
- my $branches = GetBranches();
- my @branch_loop;
- for my $branch_hash (sort keys %$branches) {
- push @branch_loop, {branchcode => "$branch_hash", branchname => $branches->{$branch_hash}->{'branchname'}, };
- }
my $template_name = ( $type eq 'opac' ) ? 'opac-auth.tmpl' : 'auth.tmpl';
my $template = C4::Templates::gettemplate($template_name, $type, $query );
$template->param(
- branchloop => \@branch_loop,
+ branchloop => GetBranchesLoop(),
opaccolorstylesheet => C4::Context->preference("opaccolorstylesheet"),
opaclayoutstylesheet => C4::Context->preference("opaclayoutstylesheet"),
login => 1,
my $onlymine = @_ ? shift : onlymine();
my $branches = GetBranches($onlymine);
my @loop;
- foreach ( sort { uc($branches->{$a}->{branchname}) cmp uc($branches->{$b}->{branchname}) } keys %$branches ) {
+ foreach my $branchcode ( sort { uc($branches->{$a}->{branchname}) cmp uc($branches->{$b}->{branchname}) } keys %$branches ) {
push @loop, {
- value => $_,
- selected => ($_ eq $branch) ? 1 : 0,
- branchname => $branches->{$_}->{branchname},
+ value => $branchcode,
+ branchcode => $branchcode,
+ selected => ($branchcode eq $branch) ? 1 : 0,
+ branchname => $branches->{$branchcode}->{branchname},
};
}
return \@loop;
for name in $(koha-list --enabled | grep -Fxv demo)
do
koha-dump "$name" > /dev/null
- if [ -z "$dirname"]; then
+ if [ -z "$dirname" ]; then
backupdir="$( xmlstarlet sel -t -v 'yazgfs/config/backupdir' /etc/koha/sites/$name/koha-conf.xml )";
else
backupdir="$dirname/$name";
November 23 2012 Koha 3.10.0 released releases
December 12 2012 Romina Racca becomes the 195th developer to have a patch pushed
December 17 2012 Vitor Fernandes becomes the 196th developer to have a patch pushed
+December 21 2012 Nadia Nicolaides becomes the 197th developer to have a patch pushed
<li><a href="https://www.ohloh.net/p/koha/contributors/6618544607803">Andrew Moore</a></li>
<li>Sharon Moreland</li>
<li>Nicolas Morin</li>
- <li>Mike Mylonas</li>
- <li>Joy Nelson</li>
+ <li>Mike Mylonas</li>
+ <li>Nadia Nicolaides</li>
+ <li>Joy Nelson</li>
<li><a href="https://www.ohloh.net/accounts/cnighswonger">Chris Nighswonger</a></li>
<li>Albert Oller</li>
<li>Eric Olsen</li>