fix error message

This commit is contained in:
Abdulrahman
2019-02-28 22:07:42 +03:00
parent edd57f484a
commit 08e3e3a45c
2 changed files with 3 additions and 3 deletions

View File

@@ -335,14 +335,14 @@ function big_error($error_title, $msg_text, $error = true)
echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />' . "\n";
echo '<title>' . htmlspecialchars($error_title) . '</title>' . "\n";
echo '<style type="text/css">' . "\n\t";
echo '* { margin: 0; padding: 0; }' . "\n\t";
echo '* { margin: 0; padding: 0; direction:ltr}' . "\n\t";
echo '.error {color: #333;background:#ffebe8;float:left;width:73%;text-align:left;margin-top:10px;border: 1px solid #dd3c10;} .info {color: #333;background:#fff9d7;border: 1px solid #e2c822;}' . "\n\t";
echo '.error,.info {padding: 10px;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size: 12px;}' . "\n";
echo '</style>' . "\n";
echo '</head>' . "\n";
echo '<body>' . "\n\t";
echo '<div class="' . ($error ? 'error' : 'info') . '">' . "\n";
echo "\n\t\t<h2>Kleeja " . ($error ? 'error' : 'information message') . " : </h2><br />" . "\n";
echo "\n\t\t<h2>Kleeja " . ($error ? 'error' : 'information message') . ": </h2><br />" . "\n";
echo "\n\t\t<strong> [ " . $error_title . ' ] </strong><br /><br />' . "\n\t\t" . $msg_text . "\n\t";
echo "\n\t\t" . '<br /><br /><small>Visit <a href="http://www.kleeja.com/" title="kleeja">Kleeja</a> Website for more details.</small>' . "\n\t";
echo '</div>' . "\n";