diff --git a/inc/admin.php b/inc/admin.php
index 9541cb5..6daef1f 100644
--- a/inc/admin.php
+++ b/inc/admin.php
@@ -14,7 +14,7 @@ if (isset($ui['log']) && !in_array($ui['log'], $acceptParam['log']) || $_SESSION
die('Tell me, Mr Anderson, what good is a phone call if you\'re unable to speak ?');
}
-if (empty($ui['log'])) {
+if (empty($ui['log']) && empty($ui['ac'])) {
$ui['log'] = 'success';
}
@@ -123,8 +123,16 @@ function keepThisThumb($hash, $log) {
if (isset($ui['clear']) && (int)$ui['clear'] === 1) {
clearLog($ui['log']);
}
-?>
-
';
-
if (!empty($success)) {
echo '';
- echo '
';
+ echo '
';
echo '
';
echo '
Try with root domain / ';
echo '
Keep this thumbshot';
diff --git a/index.php b/index.php
index 5ed1790..6dd6b0d 100644
--- a/index.php
+++ b/index.php
@@ -181,7 +181,7 @@ function testValidUrl($url) {
}
return true;
} else {
- return array('msg' => 'Url are not valid.');
+ return array('msg' => 'Not a valid url.');
}
}
diff --git a/style.css b/style.css
index 1546d98..c88d123 100644
--- a/style.css
+++ b/style.css
@@ -22,7 +22,7 @@ a:visited {
form, #result, #header, .message, .hMenu, #log {
padding: 1em;
text-align: center;
- width: 50%;
+ width: 60%;
margin: 1em auto;
background-color: #ffffff;
border-radius: 5px;