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
d0c012e3
Commit
d0c012e3
authored
Aug 23, 2012
by
Alan Garcia
Browse files
Tcho notices
parent
fb926aae
Changes
9
Hide whitespace changes
Inline
Side-by-side
bureau/admin/adm_mxaccount.php
View file @
d0c012e3
...
...
@@ -36,7 +36,6 @@ if (!$admin->enabled) {
$fields
=
array
(
"delaccount"
=>
array
(
"request"
,
"string"
,
""
),
"newlogin"
=>
array
(
"request"
,
"string"
,
""
),
"newpass"
=>
array
(
"request"
,
"string"
,
""
),
);
...
...
@@ -64,7 +63,7 @@ include_once("head.php");
<hr
id=
"topbar"
/>
<br
/>
<?php
if
(
$error
)
{
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
}
...
...
bureau/admin/dom_subdel.php
View file @
d0c012e3
...
...
@@ -56,7 +56,7 @@ $dom->unlock();
?>
<h3>
<?php
printf
(
_
(
"Deleting subdomain %s"
),
"http://"
.
ife
(
$sub
,
$sub
.
"."
)
.
$domain
);
?>
:
</h3>
<?php
if
(
$error
)
{
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
include_once
(
"foot.php"
);
exit
();
...
...
bureau/admin/dom_subdodel.php
View file @
d0c012e3
...
...
@@ -58,7 +58,7 @@ $dom->unlock();
<hr
id=
"topbar"
/>
<br
/>
<?php
if
(
$error
)
{
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
include_once
(
"foot.php"
);
exit
();
...
...
bureau/admin/dom_subdoedit.php
View file @
d0c012e3
...
...
@@ -35,7 +35,7 @@ $fields = array (
"sub_old"
=>
array
(
"request"
,
"string"
,
""
),
"type"
=>
array
(
"request"
,
"string"
,
$dom
->
type_local
),
"type_old"
=>
array
(
"request"
,
"string"
,
""
),
"value_old"
=>
array
(
"request"
,
"string"
,
""
),
"value_old"
=>
array
(
"request"
,
"string"
,
""
),
);
getFields
(
$fields
);
...
...
@@ -51,7 +51,7 @@ $value=$$dynamicvar;
$dom
->
lock
();
$dt
=
$dom
->
domains_type_lst
();
if
(
!
$isinvited
&&
$dt
[
strtolower
(
$type
)][
"enable"
]
!=
"ALL"
)
{
if
(
(
!
isset
(
$isinvited
)
||
!
$isinvited
)
&&
$dt
[
strtolower
(
$type
)][
"enable"
]
!=
"ALL"
)
{
__
(
"This page is restricted to authorized staff"
);
exit
();
}
...
...
bureau/admin/hta_adduser.php
View file @
d0c012e3
...
...
@@ -32,13 +32,14 @@ include_once("head.php");
$fields
=
array
(
"dir"
=>
array
(
"request"
,
"string"
,
""
),
"user"
=>
array
(
"request"
,
"string"
,
""
),
);
getFields
(
$fields
);
?>
<h3>
<?php
printf
(
_
(
"Adding a username in %s"
),
$dir
);
?>
</h3>
<?php
if
(
$error
)
{
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
}
?>
...
...
@@ -69,4 +70,4 @@ getFields($fields);
<script
type=
"text/javascript"
>
document
.
forms
[
'
main
'
].
user
.
focus
();
</script>
<?php
include_once
(
"foot.php"
);
?>
\ No newline at end of file
<?php
include_once
(
"foot.php"
);
?>
bureau/admin/hta_edituser.php
View file @
d0c012e3
...
...
@@ -41,9 +41,9 @@ getFields($fields);
<hr
id=
"topbar"
/>
<br
/>
<?php
if
(
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
}
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
}
?>
<form
method=
"post"
action=
"hta_doedituser.php"
name=
"main"
id=
"main"
>
<table
border=
"1"
cellspacing=
"0"
cellpadding=
"4"
>
...
...
bureau/admin/mem_admin.php
View file @
d0c012e3
...
...
@@ -45,7 +45,7 @@ include_once("head.php");
?>
<h3>
<?php
__
(
"Admin preferences"
);
?>
</h3>
<?php
if
(
$error
)
{
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
}
?>
...
...
bureau/admin/mem_chgmail.php
View file @
d0c012e3
...
...
@@ -43,7 +43,7 @@ include_once("head.php");
?>
<h3>
<?php
__
(
"Change the email of the account"
);
?>
</h3>
<?php
if
(
$error
)
{
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
include_once
(
"foot.php"
);
exit
();
...
...
@@ -51,4 +51,4 @@ include_once("head.php");
printf
(
_
(
"help_mem_chgmail %s"
),
$newmail
);
?>
<p
class=
"code"
>
<?php
echo
$cle
;
?>
</p>
<?php
include_once
(
"foot.php"
);
?>
\ No newline at end of file
<?php
include_once
(
"foot.php"
);
?>
bureau/admin/sql_admin.php
View file @
d0c012e3
...
...
@@ -46,7 +46,7 @@ include_once("head.php");
?>
<h3>
<?php
__
(
"SQL Admin"
);
?>
</h3>
<?php
if
(
$error
)
{
if
(
isset
(
$error
)
&&
$error
)
{
echo
"<p class=
\"
error
\"
>
$error
</p>"
;
}
?>
...
...
Write
Preview
Supports
Markdown
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