WSP-33
This commit is contained in:
@@ -197,7 +197,7 @@ function superdesk_admin() {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
Display the copyright information
|
Choose words to replace from the byline
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ if ($obj['type'] == 'text') {
|
|||||||
$content = '<p>' . wp_strip_all_tags($obj['located']) . $settings['separator-located'] . $content;
|
$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>";
|
$content.= "<p>" . wp_strip_all_tags($obj['associations']['featuremedia']['copyrightnotice']) . "</p>";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (!empty($obj['ednote'])) {
|
if (!empty($obj['ednote'])) {
|
||||||
$content.= "<p>Editors Note: " . wp_strip_all_tags($obj['ednote']) . "</p>";
|
$content.= "<p>Editors Note: " . wp_strip_all_tags($obj['ednote']) . "</p>";
|
||||||
|
|||||||
Reference in New Issue
Block a user