Bug 38714: systempreferences - remove localuse
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
49e9ca73e1
commit
ab20d9371c
|
|
@ -345,7 +345,7 @@ if ( $op eq 'add_form' ) {
|
|||
################## DEFAULT ##################################
|
||||
} else { # DEFAULT
|
||||
#Adding tab management for system preferences
|
||||
my $tab = $input->param('tab')||'local_use';
|
||||
my $tab = 'local_use';
|
||||
$template->param( $tab => 1 );
|
||||
my ( $count, $results ) = StringSearch( $searchfield, $tab );
|
||||
my @loop_data = ();
|
||||
|
|
|
|||
|
|
@ -310,20 +310,15 @@
|
|||
<a class="btn btn-default" id="newstopword" href="/cgi-bin/koha/admin/systempreferences.pl?op=add_form"><i class="fa fa-plus"></i> New system preference</a>
|
||||
</div>
|
||||
|
||||
[% IF ( tab != 'local_use' ) %]
|
||||
<p>Please click on one of the tabs at the left side of this form.</p>
|
||||
<table>
|
||||
[% ELSE %]
|
||||
<h1>Local use system preferences</h1>
|
||||
<div class="page-section">
|
||||
<table id="sysprefst">
|
||||
<thead><tr>
|
||||
<th>Preference</th>
|
||||
<th>Explanation</th>
|
||||
<th>Value</th>
|
||||
<th class="noExport">Actions</th>
|
||||
</tr></thead>
|
||||
[% END %]
|
||||
<h1>Local use system preferences</h1>
|
||||
<div class="page-section">
|
||||
<table id="sysprefst">
|
||||
<thead><tr>
|
||||
<th>Preference</th>
|
||||
<th>Explanation</th>
|
||||
<th>Value</th>
|
||||
<th class="noExport">Actions</th>
|
||||
</tr></thead>
|
||||
<tbody>[% FOREACH loo IN loop %]
|
||||
<tr>
|
||||
|
||||
|
|
@ -442,7 +437,6 @@
|
|||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
[% IF tab == 'local_use' %]</div>[% END %]
|
||||
[% END %]
|
||||
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in New Issue