From 7a42198e022fad6fff91b44c877d8b0492e79ce7 Mon Sep 17 00:00:00 2001 From: Filip Penkava Date: Thu, 13 Apr 2017 11:05:44 +0200 Subject: [PATCH] WSP-33 --- admin/admin.php | 2 +- autoload.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index e1c3c26..bdc45dd 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -197,7 +197,7 @@ function superdesk_admin() { - Display the copyright information + Choose words to replace from the byline
diff --git a/autoload.php b/autoload.php index 476937d..4a3cb84 100644 --- a/autoload.php +++ b/autoload.php @@ -22,9 +22,9 @@ if ($obj['type'] == 'text') { $content = '

' . wp_strip_all_tags($obj['located']) . $settings['separator-located'] . $content; } - if ($settings['display-copyright'] == "on" && isset($obj['associations']['featuremedia']['copyrightnotice'])) { + /*if ($settings['display-copyright'] == "on" && isset($obj['associations']['featuremedia']['copyrightnotice'])) { $content.= "

" . wp_strip_all_tags($obj['associations']['featuremedia']['copyrightnotice']) . "

"; - } + }*/ if (!empty($obj['ednote'])) { $content.= "

Editors Note: " . wp_strip_all_tags($obj['ednote']) . "

";