[fix] uppercase by default for known has_msgs() calls
This commit is contained in:
parent
33f8e78885
commit
d25486213e
|
@ -61,7 +61,7 @@ $d=$dom->domains_type_get($name);
|
|||
<?php
|
||||
echo $msg->msg_html_all();
|
||||
|
||||
if (! $msg->has_msgs("Error")) {
|
||||
if (! $msg->has_msgs("ERROR")) {
|
||||
?>
|
||||
|
||||
<form action="adm_domstypedoedit.php" method="post" name="main" id="main">
|
||||
|
|
|
@ -51,7 +51,7 @@ while (list($key,$val)=each($qlist)) {
|
|||
}
|
||||
$mem->unsu();
|
||||
|
||||
if (!$msg->has_msgs("Error"))
|
||||
if (!$msg->has_msgs("ERROR"))
|
||||
$msg->raise("INFO", "admin", _("The quotas has been successfully edited"));
|
||||
|
||||
include("adm_list.php");
|
||||
|
|
|
@ -47,7 +47,7 @@ if (is_array($sel)) {
|
|||
$msg->raise("ERROR", "admin", _("Some TLD cannot be deleted...")." : ".$sel[$i]);
|
||||
}
|
||||
}
|
||||
if (!$msg->has_msgs("Error"))
|
||||
if (!$msg->has_msgs("ERROR"))
|
||||
$msg->raise("INFO", "admin", _("The requested TLD has been deleted"));
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ if (!$isinvited && $dt[strtolower($r['type'])]["enable"] != "ALL" ) {
|
|||
?>
|
||||
<h3><?php printf(_("Deleting subdomain %s"),ife($r['name'],$r['name'].".").$r['domain']); ?> : </h3>
|
||||
<?php
|
||||
if ($msg->has_msgs('Error')) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
echo $msg->msg_html_all();
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
|
|
|
@ -57,7 +57,7 @@ $dom->unlock();
|
|||
<hr id="topbar"/>
|
||||
<br />
|
||||
<?php
|
||||
if ($msg->has_msgs('Error')) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
echo $msg->msg_html_all();
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
|
|
|
@ -63,7 +63,7 @@ if (!$isinvited && $dt[strtolower($r['type'])]["enable"] != "ALL" ) {
|
|||
$domroot=$dom->get_domain_all($r['domain']);
|
||||
$dom->unlock();
|
||||
|
||||
if ($msg->has_msgs("Error")) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
include_once("dom_edit.php");
|
||||
exit();
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ include_once("head.php");
|
|||
<h3><?php __("Change the email of the account"); ?></h3>
|
||||
<?php
|
||||
echo $msg->msg_html_all();
|
||||
if ($msg->has_msgs('Error')) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
echo "<p><span class='ina'><a href='mem_param.php'>"._("Click here to continue")."</a></span></p>";
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
|
|
|
@ -42,7 +42,7 @@ getFields($fields);
|
|||
<h3><?php __("Change the email of the account"); ?></h3>
|
||||
<?php
|
||||
echo $msg->msg_html_all();
|
||||
if ($msg->has_msgs('Error')) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
echo "<p><span class='ina'><a href='mem_param.php'>"._("Click here to continue")."</a></span></p>";
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
|
|
|
@ -46,7 +46,7 @@ if (!empty($help_setting)) {
|
|||
?>
|
||||
<div align="center"><h3><?php __("Settings of your account"); ?></h3></div>
|
||||
<?php
|
||||
if ($msg->has_msgs('Error')) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
include_once("mem_param.php");
|
||||
exit();
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ getFields($fields);
|
|||
|
||||
$mysql->put_mysql_backup($id,$bck_mode,$bck_history,$bck_gzip,$bck_dir);
|
||||
|
||||
if ($msg->has_msgs("Error")) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
include("sql_bck.php");
|
||||
exit();
|
||||
} else {
|
||||
|
|
|
@ -47,7 +47,7 @@ $res=$mysql->get_defaultsparam($dbname);
|
|||
<?php
|
||||
echo $msg->msg_html_all();
|
||||
|
||||
if ($msg->has_msgs("error")) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
include_once("foot.php");
|
||||
exit();
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ getFields($fields);
|
|||
<?php
|
||||
$r=$mysql->get_user_dblist($id);
|
||||
|
||||
if ($msg->has_msgs("Error")) {
|
||||
if ($msg->has_msgs("ERROR")) {
|
||||
require_once('sql_users_list.php');
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue