This commit is contained in:
Filip Penkava
2017-04-13 11:05:44 +02:00
parent 50f871f306
commit 7a42198e02
2 changed files with 3 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ function superdesk_admin() {
</tr>
<tr>
<th scope="row">
Display the copyright information
Choose words to replace from the byline
</th>
<td>
<fieldset>

View File

@@ -22,9 +22,9 @@ if ($obj['type'] == 'text') {
$content = '<p>' . 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.= "<p>" . wp_strip_all_tags($obj['associations']['featuremedia']['copyrightnotice']) . "</p>";
}
}*/
if (!empty($obj['ednote'])) {
$content.= "<p>Editors Note: " . wp_strip_all_tags($obj['ednote']) . "</p>";