Commit aa393b90 by netz.coop

small fixes

1 parent bfc00252
...@@ -118,7 +118,7 @@ class mailcnf_domain(ncauth_base): ...@@ -118,7 +118,7 @@ class mailcnf_domain(ncauth_base):
cursor = conn.cursor() cursor = conn.cursor()
cursor.execute(query) cursor.execute(query)
conn.commit() conn.commit()
self.write(query) # self.write(query)
except Error as error: except Error as error:
print(error) print(error)
finally: finally:
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<tr> <tr>
<td>Aktiv: </td> <td>Aktiv: </td>
<td><input type="checkbox" size="40" name="active" {% if list[5] == 1 %} value="1" checked {% else %} value="0" {% end %}></td> <td><input type="checkbox" size="40" name="active" {% if list[5] == 1 %} value="1" checked {% else %} value="1" {% end %}></td>
</tr> </tr>
<input type="hidden" size="70" name="fnc" value="submitedit"> <input type="hidden" size="70" name="fnc" value="submitedit">
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</tr> </tr>
<tr> <tr>
<td>Aktiv: </td> <td>Aktiv: </td>
<td><input type="checkbox" size="40" name="active" {% if list[5] == 1 %} value="1" checked {% else %} value="0" {% end %}></td> <td><input type="checkbox" size="40" name="active" {% if list[5] == 1 %} value="1" checked {% else %} value="1" {% end %}></td>
</tr> </tr>
<input type="hidden" size="70" name="fnc" value="submitedit"> <input type="hidden" size="70" name="fnc" value="submitedit">
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<tr> <tr>
<td>Aktiv: </td> <td>Aktiv: </td>
<td><input type="checkbox" size="40" name="active" {% if list[5] == 1 %} value="1" checked {% else %} value="0" {% end %}></td> <td><input type="checkbox" size="40" name="active" {% if list[5] == 1 %} value="1" checked {% else %} value="1" {% end %}></td>
</tr> </tr>
<input type="hidden" size="70" name="fnc" value="submitedit"> <input type="hidden" size="70" name="fnc" value="submitedit">
......
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
<tr> <tr>
<td>Sent Mail:</td> <td>Sent Mail:</td>
<td><input type="checkbox" size="40" name="sent_mail" {% if list[6] == 1 %} value="1" checked {% else %} value="0" {% end %} ></td> <td><input type="checkbox" size="40" name="sent_mail" {% if list[6] == 1 %} value="1" checked {% else %} value="1" {% end %} ></td>
</tr> </tr>
<tr> <tr>
<td>Aktiv: </td> <td>Aktiv: </td>
<td><input type="checkbox" size="40" name="active" {% if list[9] == 1 %} value="1" checked {% else %} value="0" {% end %}></td> <td><input type="checkbox" size="40" name="active" {% if list[9] == 1 %} value="1" checked {% else %} value="1" {% end %}></td>
</tr> </tr>
<input type="hidden" size="70" name="fnc" value="submitedit"> <input type="hidden" size="70" name="fnc" value="submitedit">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!