Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Massimiliano
ISPConfig 3
Commits
cab9249b
Commit
cab9249b
authored
May 28, 2010
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed several bugs (revisions 1783-1788 from stable branch).
parent
2c3939aa
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
4 deletions
+25
-4
install/tpl/apache_ispconfig.vhost.master
install/tpl/apache_ispconfig.vhost.master
+5
-0
interface/lib/plugins/mail_user_filter_plugin.inc.php
interface/lib/plugins/mail_user_filter_plugin.inc.php
+2
-2
interface/web/client/client_edit.php
interface/web/client/client_edit.php
+8
-0
interface/web/client/reseller_edit.php
interface/web/client/reseller_edit.php
+8
-0
interface/web/client/templates/clients_list.htm
interface/web/client/templates/clients_list.htm
+1
-1
server/conf/autoresponder.master
server/conf/autoresponder.master
+1
-1
No files found.
install/tpl/apache_ispconfig.vhost.master
View file @
cab9249b
...
...
@@ -39,6 +39,11 @@ NameVirtualHost *:{vhost_port}
# CustomLog /var/log/apache2/access.log combined
ServerSignature Off
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</VirtualHost>
<Directory /var/www/php-cgi-scripts>
...
...
interface/lib/plugins/mail_user_filter_plugin.inc.php
View file @
cab9249b
...
...
@@ -72,13 +72,13 @@ class mail_user_filter_plugin {
}
if
(
$skip
==
false
&&
$line
!=
''
)
$out
.
=
$line
.
"
\n
"
;
if
(
$line
==
'### END FILTER_ID:'
.
$page_form
->
id
)
{
$out
.
=
$this
->
mail_user_filter_get_rule
(
$page_form
);
if
(
$page_form
->
dataRecord
[
"active"
]
==
'y'
)
$out
.
=
$this
->
mail_user_filter_get_rule
(
$page_form
);
$skip
=
false
;
}
}
// We did not found our rule, so we add it now as first rule.
if
(
$found
==
false
)
{
if
(
$found
==
false
&&
$page_form
->
dataRecord
[
"active"
]
==
'y'
)
{
$new_rule
=
$this
->
mail_user_filter_get_rule
(
$page_form
);
$out
=
$new_rule
.
$out
;
}
...
...
interface/web/client/client_edit.php
View file @
cab9249b
...
...
@@ -197,6 +197,14 @@ class page_action extends tform_actions {
$app
->
db
->
query
(
$sql
);
}
// language changed
if
(
isset
(
$this
->
dataRecord
[
'language'
])
&&
$this
->
dataRecord
[
'language'
]
!=
''
&&
$this
->
oldDataRecord
[
'language'
]
!=
$this
->
dataRecord
[
'language'
])
{
$language
=
$app
->
db
->
quote
(
$this
->
dataRecord
[
"language"
]);
$client_id
=
$this
->
id
;
$sql
=
"UPDATE sys_user SET language = '
$language
' WHERE client_id =
$client_id
"
;
$app
->
db
->
query
(
$sql
);
}
// reseller status changed
if
(
isset
(
$this
->
dataRecord
[
"limit_client"
])
&&
$this
->
dataRecord
[
"limit_client"
]
!=
$this
->
oldDataRecord
[
"limit_client"
])
{
$modules
=
ISPC_INTERFACE_MODULES_ENABLED
;
...
...
interface/web/client/reseller_edit.php
View file @
cab9249b
...
...
@@ -192,6 +192,14 @@ class page_action extends tform_actions {
$app
->
db
->
query
(
$sql
);
}
// language changed
if
(
isset
(
$this
->
dataRecord
[
'language'
])
&&
$this
->
dataRecord
[
'language'
]
!=
''
&&
$this
->
oldDataRecord
[
'language'
]
!=
$this
->
dataRecord
[
'language'
])
{
$language
=
$app
->
db
->
quote
(
$this
->
dataRecord
[
"language"
]);
$client_id
=
$this
->
id
;
$sql
=
"UPDATE sys_user SET language = '
$language
' WHERE client_id =
$client_id
"
;
$app
->
db
->
query
(
$sql
);
}
// reseller status changed
if
(
isset
(
$this
->
dataRecord
[
"limit_client"
])
&&
$this
->
dataRecord
[
"limit_client"
]
!=
$this
->
oldDataRecord
[
"limit_client"
])
{
$modules
=
ISPC_INTERFACE_MODULES_ENABLED
.
',client'
;
...
...
interface/web/client/templates/clients_list.htm
View file @
cab9249b
...
...
@@ -44,7 +44,7 @@
<td
class=
"tbl_col_country"
><a
href=
"#"
onClick=
"loadContent('client/client_edit.php?id={tmpl_var name='id'}');"
>
{tmpl_var name="country"}
</a></td>
<td
class=
"tbl_col_buttons"
>
<div
class=
"buttons icons16"
style=
"width:60px;"
>
<a
class=
"icons16 icoLoginAs"
href=
"#"
onclick=
"loadContent('admin/login_as.php?cid={tmpl_var name='id'}');"
><span>
{tmpl_var name='login_as_txt'}
</span></a>
<tmpl_if
name=
"is_admin"
>
<a
class=
"icons16 icoLoginAs"
href=
"#"
onclick=
"loadContent('admin/login_as.php?cid={tmpl_var name='id'}');"
><span>
{tmpl_var name='login_as_txt'}
</span></a>
</tmpl_if>
<a
class=
"icons16 icoDelete"
href=
"javascript: del_record('client/client_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"
><span>
{tmpl_var name='delete_txt'}
</span></a>
</div>
</td>
...
...
server/conf/autoresponder.master
View file @
cab9249b
`test -f
/var/vmail
/mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
`test -f
{vmail_mailbox_base}
/mailfilters/$HOST/$USER/.vacation.msg && exit 1 || exit 0`
if ($RETURNCODE==1)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment