This commit is contained in:
Filip Penkava
2017-03-17 10:19:37 +01:00
parent ddd44a9f47
commit 5e7c7c3128
2 changed files with 37 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ function mvp_admin() {
'byline-words' => $_POST['byline-words'],
'display-copyright' => $_POST['display-copyright'],
'convert-keywords' => $_POST['convert-keywords'],
'import-keywords' => $_POST['import-keywords'],
'convert-services' => $_POST['convert-services'],
'subject-type' => $_POST['subject-type'],
'category' => $_POST['category'],
@@ -53,6 +54,7 @@ function mvp_admin() {
'byline-words' => '',
'display-copyright' => '',
'convert-keywords' => '',
'import-keywords' => '',
'convert-services' => '',
'subject-type' => '',
'category' => '',
@@ -225,6 +227,30 @@ function mvp_admin() {
</fieldset>
</td>
</tr>
<tr>
<th scope="row">
Import SD keywords as WP tags
</th>
<td>
<fieldset>
<label for="off">
<input type="radio" name="import-keywords" id="off" value="off"<?php
if ($settings['import-keywords'] == 'off') {
echo(' checked');
}
?>> off
</label>
<br>
<label for="on">
<input type="radio" name="import-keywords" id="on" value="on"<?php
if ($settings['import-keywords'] == 'on') {
echo(' checked');
}
?>> on
</label>
</fieldset>
</td>
</tr>
<tr>
<th scope="row">
Import Superdesk categories as Wordpress categories