More work on polls and themes

This commit is contained in:
Daisuke
2020-04-21 17:42:31 -05:00
parent d34a7c7ced
commit f59049c3c2
18 changed files with 281 additions and 103 deletions

View File

@ -10,12 +10,12 @@
<legend>Timeline</legend>
<h2>Show replies</h2>
<div class='setting'>
<input type='radio' name='replies' id='repliesOn' value='on' style='display:none;' <?php echo ($user_settings['replies'] == 'on' ? "checked" : ""); ?>>
<label for='repliesOn'>Yes</label>
<input type='radio' name='replies' id='repliesOff' value='off' style='display:none;' <?php echo ($user_settings['replies'] == 'off' ? "checked" : ""); ?>>
<label for='repliesOff'>No</label>
<select name="replies">
<option value="on" <?php echo ($user_settings['replies'] == 'on' ? "selected" : ""); ?>>All</option>
<option value="off" <?php echo ($user_settings['replies'] == 'off' ? "selected" : ""); ?>>Only to people i follow</option>
</select>
</div>
<br><br>
<h2>Show text-only posts</h2>
<div class='setting'>
<input type='radio' name='text' id='textOn' value='on' style='display:none;' <?php echo ($user_settings['text'] == 'on' ? "checked" : ""); ?>>
@ -26,9 +26,9 @@
<br><br>
<h2>Show reblogs</h2>
<div class='setting'>
<input type='radio' name='setreblog' id='reblogOn' value='on' style='display:none;' <?php echo ($user_settings['reblog'] == 'on' ? "checked" : ""); ?>>
<input type='radio' name='reblog' id='reblogOn' value='on' style='display:none;' <?php echo ($user_settings['reblog'] == 'on' ? "checked" : ""); ?>>
<label for='reblogOn'>Yes</label>
<input type='radio' name='setreblog' id='reblogOff' value='off' style='display:none;' <?php echo ($user_settings['reblog'] == 'off' ? "checked" : ""); ?>>
<input type='radio' name='reblog' id='reblogOff' value='off' style='display:none;' <?php echo ($user_settings['reblog'] == 'off' ? "checked" : ""); ?>>
<label for='reblogOff'>No</label>
</div>
</fieldset>