Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
domainepublic
alternc
Commits
3b1e0a35
Commit
3b1e0a35
authored
Mar 26, 2014
by
Alan Garcia
Browse files
Coding style, again
parent
ed3ab589
Changes
3
Hide whitespace changes
Inline
Side-by-side
bureau/admin/adm_authip_whitelist.php
View file @
3b1e0a35
...
...
@@ -76,7 +76,9 @@ $list_ip = $authip->list_ip_whitelist();
}
else
{
$txt
=
"Subnet IPv6"
;
}
}
}
else
{
$txt
=
"Unknow IP"
;
}
echo
"<tr class='lst'><td>
$txt
</td><td>
{
$i
[
'ip_human'
]
}
</td><td>
{
$i
[
'infos'
]
}
</td>"
;
?>
<td><div
class=
"ina edit"
><a
href=
"javascript:edit_ip(
<?php
echo
"'"
.
htmlentities
(
$i
[
'id'
])
.
"','"
.
htmlentities
(
$i
[
'ip_human'
])
.
"','"
.
htmlentities
(
$i
[
'infos'
])
.
"'"
;
?>
);"
>
<?php
__
(
"Edit"
);
?>
</a></div></td>
...
...
bureau/admin/adm_doedit.php
View file @
3b1e0a35
...
...
@@ -68,7 +68,7 @@ if ($pass != $passconf) {
// When changing its own account, enabled forced to 1.
if
(
$uid
==
$mem
->
user
[
"uid"
])
{
$enabled
=
1
;
}
}
if
(
!
$admin
->
update_mem
(
$uid
,
$nmail
,
$nom
,
$prenom
,
$pass
,
$enabled
,
$canpass
,
$type
,
$duration
,
$notes
,
$reset_quotas
)){
$error
=
$err
->
errstr
();
...
...
bureau/admin/dom_subedit.php
View file @
3b1e0a35
...
...
@@ -41,6 +41,9 @@ $dom->lock();
if
(
!
isset
(
$noread
)
||
!
$noread
)
{
if
(
!
$r
=
$dom
->
get_sub_domain_all
(
$sub_domain_id
))
{
$error
=
$err
->
errstr
();
echo
"<p class=
\"
alert alert-danger
\"
>
$error
</p>"
;
include_once
(
'foot.php'
);
die
();
}
}
...
...
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