Tcho notices
This commit is contained in:
parent
fb926aae72
commit
d0c012e31e
|
@ -36,7 +36,6 @@ if (!$admin->enabled) {
|
||||||
|
|
||||||
$fields = array (
|
$fields = array (
|
||||||
"delaccount" => array ("request", "string", ""),
|
"delaccount" => array ("request", "string", ""),
|
||||||
|
|
||||||
"newlogin" => array ("request", "string", ""),
|
"newlogin" => array ("request", "string", ""),
|
||||||
"newpass" => array ("request", "string", ""),
|
"newpass" => array ("request", "string", ""),
|
||||||
);
|
);
|
||||||
|
@ -64,7 +63,7 @@ include_once("head.php");
|
||||||
<hr id="topbar"/>
|
<hr id="topbar"/>
|
||||||
<br />
|
<br />
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ $dom->unlock();
|
||||||
?>
|
?>
|
||||||
<h3><?php printf(_("Deleting subdomain %s"),"http://".ife($sub,$sub.".").$domain); ?> : </h3>
|
<h3><?php printf(_("Deleting subdomain %s"),"http://".ife($sub,$sub.".").$domain); ?> : </h3>
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
include_once("foot.php");
|
include_once("foot.php");
|
||||||
exit();
|
exit();
|
||||||
|
|
|
@ -58,7 +58,7 @@ $dom->unlock();
|
||||||
<hr id="topbar"/>
|
<hr id="topbar"/>
|
||||||
<br />
|
<br />
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
include_once("foot.php");
|
include_once("foot.php");
|
||||||
exit();
|
exit();
|
||||||
|
|
|
@ -51,7 +51,7 @@ $value=$$dynamicvar;
|
||||||
$dom->lock();
|
$dom->lock();
|
||||||
|
|
||||||
$dt=$dom->domains_type_lst();
|
$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");
|
__("This page is restricted to authorized staff");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,13 +32,14 @@ include_once("head.php");
|
||||||
|
|
||||||
$fields = array (
|
$fields = array (
|
||||||
"dir" => array ("request", "string", ""),
|
"dir" => array ("request", "string", ""),
|
||||||
|
"user" => array ("request", "string", ""),
|
||||||
);
|
);
|
||||||
getFields($fields);
|
getFields($fields);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php printf(_("Adding a username in %s"),$dir); ?></h3>
|
<h3><?php printf(_("Adding a username in %s"),$dir); ?></h3>
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -41,7 +41,7 @@ getFields($fields);
|
||||||
<hr id="topbar"/>
|
<hr id="topbar"/>
|
||||||
<br />
|
<br />
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -45,7 +45,7 @@ include_once("head.php");
|
||||||
?>
|
?>
|
||||||
<h3><?php __("Admin preferences"); ?></h3>
|
<h3><?php __("Admin preferences"); ?></h3>
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -43,7 +43,7 @@ include_once("head.php");
|
||||||
?>
|
?>
|
||||||
<h3><?php __("Change the email of the account"); ?></h3>
|
<h3><?php __("Change the email of the account"); ?></h3>
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
include_once("foot.php");
|
include_once("foot.php");
|
||||||
exit();
|
exit();
|
||||||
|
|
|
@ -46,7 +46,7 @@ include_once("head.php");
|
||||||
?>
|
?>
|
||||||
<h3><?php __("SQL Admin"); ?></h3>
|
<h3><?php __("SQL Admin"); ?></h3>
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if (isset($error) && $error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue