View | Details | Raw Unified | Return to bug 10038
Collapse All | Expand All

(-)a/admin/auth_tag_structure.pl (-1 / +2 lines)
Lines 57-63 my ($template, $loggedinuser, $cookie) Link Here
57
# get authtype list
57
# get authtype list
58
my $authtypes     = getauthtypes;
58
my $authtypes     = getauthtypes;
59
my @authtypesloop = ();
59
my @authtypesloop = ();
60
foreach my $thisauthtype ( keys %{$authtypes} ) {
60
foreach my $thisauthtype ( sort keys %{$authtypes} ) {
61
    push @authtypesloop,
61
    push @authtypesloop,
62
      { value        => $thisauthtype,
62
      { value        => $thisauthtype,
63
        selected     => $thisauthtype eq $authtypecode,
63
        selected     => $thisauthtype eq $authtypecode,
Lines 209-214 if ($op eq 'add_form') { Link Here
209
			push @existingauthtypeloop,\%line;
209
			push @existingauthtypeloop,\%line;
210
		}
210
		}
211
	}
211
	}
212
    @existingauthtypeloop = sort @existingauthtypeloop;
212
	$template->param(existingauthtypeloop => \@existingauthtypeloop,
213
	$template->param(existingauthtypeloop => \@existingauthtypeloop,
213
					authtypecode => $authtypecode,
214
					authtypecode => $authtypecode,
214
					);
215
					);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-3 lines)
Lines 192-198 return false; Link Here
192
        <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
192
        <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
193
        Create authority framework for [% authtypecode %] using
193
        Create authority framework for [% authtypecode %] using
194
        <select name="existingauthtypecode">
194
        <select name="existingauthtypecode">
195
            <option value="">Default</option>
196
        [% FOREACH existingauthtypeloo IN existingauthtypeloop %]
195
        [% FOREACH existingauthtypeloo IN existingauthtypeloop %]
197
            <option value="[% existingauthtypeloo.value %]">[% existingauthtypeloo.authtypetext %]</option>
196
            <option value="[% existingauthtypeloo.value %]">[% existingauthtypeloo.authtypetext %]</option>
198
        [% END %]
197
        [% END %]
Lines 211-217 return false; Link Here
211
<h2>Select an authority framework</h2>
210
<h2>Select an authority framework</h2>
212
<form action="[% script_name %]" method="post">
211
<form action="[% script_name %]" method="post">
213
    <select name="authtypecode">
212
    <select name="authtypecode">
214
        <option value="">Default</option>
215
    [% FOREACH authtypeloo IN authtypeloop %]
213
    [% FOREACH authtypeloo IN authtypeloop %]
216
        [% IF ( authtypeloo.selected ) %]
214
        [% IF ( authtypeloo.selected ) %]
217
        <option value="[% authtypeloo.value %]" selected="selected">[% authtypeloo.authtypetext %]</option>
215
        <option value="[% authtypeloo.value %]" selected="selected">[% authtypeloo.authtypetext %]</option>
218
- 

Return to bug 10038