Tcho notices
This commit is contained in:
parent
fb926aae72
commit
d0c012e31e
|
@ -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>";
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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"); ?>
|
||||
<?php include_once("foot.php"); ?>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -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"); ?>
|
||||
<?php include_once("foot.php"); ?>
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue