#!/usr/bin/perl
use strict;
use warnings;
use C4::Context;
my $dbh = C4::Context->dbh;
$dbh->do("INSERT IGNORE INTO systempreferences (variable,value,type,explanation) VALUES('NewsAuthorDisplay','','YesNo','Display the author name for news items.')");
print "Upgrade done (Adding author display options for news into systempreferences).\n"
- pref: ImageLimit
class: Integer
- images.
-
News:
- pref: NewsAuthorDisplay
choices:
yes: Show
no: "Don't show"
- "the author for news items."