aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/manage/boardoptions.html
diff options
context:
space:
mode:
authorLibravatar neptune 2021-11-12 01:15:38 -0300
committerLibravatar neptune 2021-11-12 01:15:38 -0300
commite34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3 (patch)
tree88e5d4ee438a0b413bf83f7cc763def464da50d7 /cgi/templates/manage/boardoptions.html
parent3693f572b119cf172be0f669313bdb8314cbbdc2 (diff)
downloadweabot-e34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3.tar.gz
weabot-e34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3.tar.xz
weabot-e34ea592bd9981d99d1c7f70c0fbf10c0bd83eb3.zip
Actualización inicial a Python 3
Diffstat (limited to 'cgi/templates/manage/boardoptions.html')
-rw-r--r--cgi/templates/manage/boardoptions.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/cgi/templates/manage/boardoptions.html b/cgi/templates/manage/boardoptions.html
index 436b036..fcd3bb8 100644
--- a/cgi/templates/manage/boardoptions.html
+++ b/cgi/templates/manage/boardoptions.html
@@ -38,7 +38,7 @@
<td>
<select style="width:100%;" name="type">
<option value="0">Imageboard</option>
- <option value="1"#{selected(boardopts['board_type'] == '1')}>Textboard</option>
+ <option value="1"#{selected(boardopts['board_type'] == 1)}>Textboard</option>
</select>
</td>
</tr>
@@ -74,9 +74,9 @@
<td>
<select name="useid" style="width:100%;">
<option value="0">Desactivado</option>
- <option value="1"#{selected(boardopts['useid'] == '1')}>Activado</option>
- <option value="2"#{selected(boardopts['useid'] == '2')}>Activado siempre</option>
- <option value="3"#{selected(boardopts['useid'] == '3')}>Activado siempre, detallado</option>
+ <option value="1"#{selected(boardopts['useid'] == 1)}>Activado</option>
+ <option value="2"#{selected(boardopts['useid'] == 2)}>Activado siempre</option>
+ <option value="3"#{selected(boardopts['useid'] == 3)}>Activado siempre, detallado</option>
</select>
</td>
</tr>
@@ -85,9 +85,9 @@
<td>
<select name="slip" style="width:100%;">
<option value="0">Desactivado</option>
- <option value="1"#{selected(boardopts['slip'] == '1')}>Activado</option>
- <option value="2"#{selected(boardopts['slip'] == '2')}>Sólo dominio</option>
- <option value="3"#{selected(boardopts['slip'] == '3')}>Todo</option>
+ <option value="1"#{selected(boardopts['slip'] == 1)}>Activado</option>
+ <option value="2"#{selected(boardopts['slip'] == 2)}>Sólo dominio</option>
+ <option value="3"#{selected(boardopts['slip'] == 3)}>Todo</option>
</select>
</td>
</tr>
@@ -96,45 +96,45 @@
<td>
<select name="countrycode" style="width:100%;">
<option value="0">Desactivado</option>
- <option value="1"#{selected(boardopts['countrycode'] == '1')}>Activado</option>
+ <option value="1"#{selected(boardopts['countrycode'] == 1)}>Activado</option>
</select>
</td>
</tr>
<tr>
<td class="postblock">Desactivar nombre</td>
-<td><input type="checkbox" name="disable_name" id="noname" value="1"#{checked(boardopts['disable_name'] == '1')} /><label for="noname"></label></td>
+<td><input type="checkbox" name="disable_name" id="noname" value="1"#{checked(boardopts['disable_name'])} /><label for="noname"></label></td>
</tr>
<tr>
<td class="postblock">Desactivar asunto</td>
-<td><input type="checkbox" name="disable_subject" id="nosub" value="1"#{checked(boardopts['disable_subject'] == '1')} /><label for="nosub"></label></td>
+<td><input type="checkbox" name="disable_subject" id="nosub" value="1"#{checked(boardopts['disable_subject'])} /><label for="nosub"></label></td>
</tr>
<tr>
<td class="postblock">Papelera de reciclaje</td>
-<td><input type="checkbox" name="recyclebin" id="bin" value="1"#{checked(boardopts['recyclebin'] == '1')} /><label for="bin"></label></td>
+<td><input type="checkbox" name="recyclebin" id="bin" value="1"#{checked(boardopts['recyclebin'])} /><label for="bin"></label></td>
</tr>
<tr>
<td class="postblock">Cerrado</td>
-<td><input type="checkbox" name="locked" id="locked" value="1"#{checked(boardopts['locked'] == '1')} /><label for="locked"></label></td>
+<td><input type="checkbox" name="locked" id="locked" value="1"#{checked(boardopts['locked'])} /><label for="locked"></label></td>
</tr>
<tr>
<td class="postblock">Secreto</td>
-<td><input type="checkbox" name="secret" id="secret" value="1"#{checked(boardopts['secret'] == '1')} /><label for="secret"></label></td>
+<td><input type="checkbox" name="secret" id="secret" value="1"#{checked(boardopts['secret'])} /><label for="secret"></label></td>
</tr>
<tr>
<td class="postblock">Permitir spoilers</td>
-<td><input type="checkbox" name="allow_spoilers" id="spoil" value="1"#{checked(boardopts['allow_spoilers'] == '1')} /><label for="spoil"></label></td>
+<td><input type="checkbox" name="allow_spoilers" id="spoil" value="1"#{checked(boardopts['allow_spoilers'])} /><label for="spoil"></label></td>
</tr>
<tr>
<td class="postblock">Permitir oekaki</td>
-<td><input type="checkbox" name="allow_oekaki" id="oek" value="1"#{checked(boardopts['allow_oekaki'] == '1')} /><label for="oek"></label></td>
+<td><input type="checkbox" name="allow_oekaki" id="oek" value="1"#{checked(boardopts['allow_oekaki'])} /><label for="oek"></label></td>
</tr>
<tr>
<td class="postblock">Permitir crear hilos sin imagen</td>
-<td><input type="checkbox" name="allow_noimage" id="noimgallow" value="1"#{checked(boardopts['allow_noimage'] == '1')} /><label for="noimgallow"></label></td>
+<td><input type="checkbox" name="allow_noimage" id="noimgallow" value="1"#{checked(boardopts['allow_noimage'])} /><label for="noimgallow"></label></td>
</tr>
<tr>
<td class="postblock">Permitir subida</td>
-<td><input type="checkbox" name="allow_images" id="img" value="1"#{checked(boardopts['allow_images'] == '1')} /><label for="img">Al crear un hilo</label><br /><input type="checkbox" name="allow_image_replies" id="imgres" value="1"#{checked(boardopts['allow_image_replies'] == '1')} /><label for="imgres">Al responder</label></td>
+<td><input type="checkbox" name="allow_images" id="img" value="1"#{checked(boardopts['allow_images'])} /><label for="img">Al crear un hilo</label><br /><input type="checkbox" name="allow_image_replies" id="imgres" value="1"#{checked(boardopts['allow_image_replies'])} /><label for="imgres">Al responder</label></td>
</tr>
<tr>
<td class="postblock">Tipos de archivo</td>