|
Lines 91-96
sub BuildReport {
Link Here
|
| 91 |
{ |
91 |
{ |
| 92 |
$report->{systempreferences}{$_} = C4::Context->preference($_); |
92 |
$report->{systempreferences}{$_} = C4::Context->preference($_); |
| 93 |
} |
93 |
} |
|
|
94 |
|
| 95 |
# Get private systempreferences and set "Used" or "Empty" |
| 96 |
foreach ( @{ _shared_private_preferences() } ) { |
| 97 |
if ( C4::Context->preference($_) ) { |
| 98 |
$report->{systempreferences}{$_} = "Used"; |
| 99 |
next; |
| 100 |
} |
| 101 |
$report->{systempreferences}{$_} = "Empty"; |
| 102 |
} |
| 94 |
return $report; |
103 |
return $report; |
| 95 |
} |
104 |
} |
| 96 |
|
105 |
|
|
Lines 369-374
sub _shared_preferences {
Link Here
|
| 369 |
return \@preferences; |
378 |
return \@preferences; |
| 370 |
} |
379 |
} |
| 371 |
|
380 |
|
|
|
381 |
=head2 _shared_private_preferences |
| 382 |
|
| 383 |
my $preferences = C4::UsageStats::_shared_private_preferences |
| 384 |
|
| 385 |
Returns an I<arreyref> with the system preferences to be shared without their values. |
| 386 |
|
| 387 |
=cut |
| 388 |
|
| 389 |
sub _shared_private_preferences { |
| 390 |
|
| 391 |
my @preferences = qw/ |
| 392 |
AmazonAssocTag |
| 393 |
CoceHost |
| 394 |
CookieConsentedJS |
| 395 |
IntranetCirculationHomeHTML |
| 396 |
intranetcolorstylesheet |
| 397 |
IntranetFavicon |
| 398 |
IntranetmainUserblock |
| 399 |
IntranetNav |
| 400 |
IntranetReportsHomeHTML |
| 401 |
IntranetSlipPrinterJS |
| 402 |
intranetstylesheet |
| 403 |
IntranetUserCSS |
| 404 |
IntranetUserJS |
| 405 |
OpacAdditionalStylesheet |
| 406 |
OpacCustomSearch |
| 407 |
OPACHoldsIfAvailableAtPickupExceptions |
| 408 |
opaclayoutstylesheet |
| 409 |
OpacLoginInstructions |
| 410 |
OPACLoginLabelTextContent |
| 411 |
OpacMainUserBlock |
| 412 |
OpacMetaRobots |
| 413 |
OpacMoreSearches |
| 414 |
OPACMySummaryHTML |
| 415 |
OPACNoResultsFound |
| 416 |
OPACnumSearchResultsDropdown |
| 417 |
OPACOpenURLItemTypes |
| 418 |
OPACOverDrive |
| 419 |
OPACResultsLibrary |
| 420 |
OPACResultsSidebar |
| 421 |
OPACSearchForTitleIn |
| 422 |
OPACUserCSS |
| 423 |
OPACUserJS |
| 424 |
ProcessingFeeNote |
| 425 |
RestrictedPageContent |
| 426 |
RoutingListNote |
| 427 |
SCOUserCSS |
| 428 |
SCOUserJS |
| 429 |
SelfCheckInUserCSS |
| 430 |
SelfCheckInUserJS |
| 431 |
SlipCSS |
| 432 |
SpineLabelFormat |
| 433 |
XSLTDetailsDisplay |
| 434 |
z3950Status |
| 435 |
/; |
| 436 |
|
| 437 |
return \@preferences; |
| 438 |
} |
| 439 |
|
| 372 |
=head2 _count |
440 |
=head2 _count |
| 373 |
|
441 |
|
| 374 |
$data = _count($table); |
442 |
$data = _count($table); |
| 375 |
- |
|
|