diff options
author | Aaron Parecki <aaron@parecki.com> | 2017-01-17 09:58:04 -0800 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2017-01-17 09:58:04 -0800 |
commit | d376dac11c8008c59dc29d6515543ac23f856a0e (patch) | |
tree | 1638b98cded1184ff3402dd0c31a3a034b0a5f48 /views/settings.php | |
parent | 0e8ee9973a550a3ab0a2069d9a12b683651b7d9b (diff) |
allow only mp-syndicate-to and syndicate-to
Diffstat (limited to 'views/settings.php')
-rw-r--r-- | views/settings.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/views/settings.php b/views/settings.php index 5895718..23a1b71 100644 --- a/views/settings.php +++ b/views/settings.php @@ -48,7 +48,12 @@ <tr> <td>Syndication</td> <td> - <div style="margin-bottom:4px;"><input type="text" id="syndicate-to-field-name" value="<?= $this->user->micropub_syndicate_field ?>" placeholder="mp-syndicate-to" class="form-control"></div> + <div style="margin-bottom:4px;"> + <select id="syndicate-to-field-name"> + <option value="mp-syndicate-to" <?= $this->user->micropub_syndicate_field == 'mp-syndicate-to' ? 'selected="selected"' : '' ?>>mp-syndicate-to</option> + <option value="syndicate-to" <?= $this->user->micropub_syndicate_field == 'syndicate-to' ? 'selected="selected"' : '' ?>>syndicate-to</option> + </select> + </div> <div><input type="button" class="btn btn-primary" value="Save" id="save-syndicate-to-field"></div> </td> <td>Choose the name of the field that the syndication values will be sent in. This should be set to <code>mp-syndicate-to</code> unless your endpoint is using the deprecated <code>syndicate-to</code> property.</td> |