Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncpython
/
srvcnf2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit aa393b90
authored
Jan 19, 2018
by
netz.coop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
1 parent
bfc00252
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
web/mailsrv/mailcnf_domain.py
web/templates/content_mailcnf_aliaslist_edit.html
web/templates/content_mailcnf_bcclist_edit.html
web/templates/content_mailcnf_domainlist_edit.html
web/templates/content_mailcnf_userlist_edit.html
web/mailsrv/mailcnf_domain.py
View file @
aa393b9
...
@@ -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
:
...
...
web/templates/content_mailcnf_aliaslist_edit.html
View file @
aa393b9
...
@@ -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"
>
...
...
web/templates/content_mailcnf_bcclist_edit.html
View file @
aa393b9
...
@@ -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"
>
...
...
web/templates/content_mailcnf_domainlist_edit.html
View file @
aa393b9
...
@@ -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"
>
...
...
web/templates/content_mailcnf_userlist_edit.html
View file @
aa393b9
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment