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

(-)a/admin/branch_transfer_limits.pl (+1 lines)
Lines 58-63 my @branch_loop; Link Here
58
for my $thisbranch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %$branches) {
58
for my $thisbranch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %$branches) {
59
    my %row =(value => $thisbranch,
59
    my %row =(value => $thisbranch,
60
              branchname => $branches->{$thisbranch}->{'branchname'},
60
              branchname => $branches->{$thisbranch}->{'branchname'},
61
              selected => $thisbranch eq $branchcode ? 1 : 0,
61
             );
62
             );
62
    push @branch_loop, \%row;
63
    push @branch_loop, \%row;
63
}
64
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-5 / +8 lines)
Lines 71-77 Link Here
71
        <label for="branchselect">Select a library :</label>
71
        <label for="branchselect">Select a library :</label>
72
            <select name="branchcode" id="branchselect">
72
            <select name="branchcode" id="branchselect">
73
		[% FOREACH branch_loo IN branch_loop %]
73
		[% FOREACH branch_loo IN branch_loop %]
74
			[% IF ( branch_loo.selected ) %]
75
                <option value="[% branch_loo.value %]" selected="selected">[% branch_loo.branchname %]</option>
76
            [% ELSE %]
74
                <option value="[% branch_loo.value %]">[% branch_loo.branchname %]</option>
77
                <option value="[% branch_loo.value %]">[% branch_loo.branchname %]</option>
78
            [% END %]
75
		[% END %]
79
		[% END %]
76
            </select>
80
            </select>
77
	    <input type="submit" value="Choose" />	    
81
	    <input type="submit" value="Choose" />	    
Lines 99-106 Link Here
99
	}).tablesorterPager({container: $("#pager[% codes_loo.code %]table"),positionFixed: false,size: 10});
103
	}).tablesorterPager({container: $("#pager[% codes_loo.code %]table"),positionFixed: false,size: 10});
100
}); </script>
104
}); </script>
101
	
105
	
102
	<span id="pager[% codes_loo.code %]table" class="pager">
106
	<div id="pager[% codes_loo.code %]table" class="pager">
103
	<form class="formpager">&nbsp;<strong>page(s)</strong>&nbsp;:
107
	<p class="formpager">&nbsp;<strong>page(s)</strong>&nbsp;:
104
		<img src="[% interface %]/[% theme %]/img/first.png" class="first"/>
108
		<img src="[% interface %]/[% theme %]/img/first.png" class="first"/>
105
		<img src="[% interface %]/[% theme %]/img/prev.png" class="prev"/>
109
		<img src="[% interface %]/[% theme %]/img/prev.png" class="prev"/>
106
		<input type="text" size="5" class="pagedisplay"/>
110
		<input type="text" size="5" class="pagedisplay"/>
Lines 115-122 Link Here
115
			<option value="50">50</option>
119
			<option value="50">50</option>
116
			<option value="100">100</option>
120
			<option value="100">100</option>
117
		</select>
121
		</select>
118
	</form>
122
	</p>
119
</span>
123
</div>
120
		<table id="[% codes_loo.code %]table">
124
		<table id="[% codes_loo.code %]table">
121
			<thead>
125
			<thead>
122
				<tr>
126
				<tr>
123
- 

Return to bug 6842