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

(-)a/installer/data/mysql/atomicupdate/add_news_prefs.pl (+11 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
use strict;
4
use warnings;
5
6
use C4::Context;
7
8
my $dbh = C4::Context->dbh;
9
$dbh->do("INSERT IGNORE INTO systempreferences (variable,value,type,explanation) VALUES('NewsAuthorDisplay','','YesNo','Display the author name for news items.')");
10
11
print "Upgrade done (Adding author display options for news into systempreferences).\n"
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref (-1 / +7 lines)
Lines 11-13 Tools: Link Here
11
            - pref: ImageLimit
11
            - pref: ImageLimit
12
              class: Integer
12
              class: Integer
13
            - images.
13
            - images.
14
- 
14
    News:
15
        -
16
            - pref: NewsAuthorDisplay
17
              choices:
18
                  yes: Show
19
                  no: "Don't show"
20
            - "the author for news items."

Return to bug 14247