diff --git a/sms_contact/index.php b/sms_contact/index.php index 06cb771..a890bad 100644 --- a/sms_contact/index.php +++ b/sms_contact/index.php @@ -9,7 +9,7 @@ - +
getBalance(); echo '

SMS wurde gesendet!

Vielen Dank :)

'; echo '

Du kannst deine nächste SMS in ' . format_duration($config['blocked']) . ' senden!

'; - echo '

Verbleibendes Guthaben: ' . round($balance['CurrentBalance']['TotalIncludingVat']) . ' ' . $balance['CurrentBalance']['Currency'] . ' (das sind noch ' . floor(($balance['CurrentBalance']['TotalIncludingVat'] - $config['reserve']) / 0.079) . ' SMS)

'; + echo '

Verbleibendes Guthaben: ' . round($balance['CurrentBalance']['TotalIncludingVat'], 2) . ' ' . $balance['CurrentBalance']['Currency'] . ' (das sind noch +' . floor(($balance['CurrentBalance']['TotalIncludingVat'] - $config['reserve']) / 0.079) . ' SMS)

'; if ($_SERVER['REMOTE_ADDR'] != '172.0.0.1') $blacklist[] = array($_SERVER['REMOTE_ADDR'], time()); - echo '

back

'; + echo '

zuück

'; write_blacklist($blacklist); } else { @@ -71,9 +72,9 @@ function show_form() { global $config; $message = (isset($_REQUEST['message'])) ? $_REQUEST['message'] : $config['default']; - echo '
+ echo ' - +
An: ++' . $config['recipient'] . '
Zeichen: ' . strlen($message) . ' (übrig: ' . (160 - strlen($message)) . ')
diff --git a/sms_contact/style.css b/sms_contact/style.css index 526d293..b8328a5 100644 --- a/sms_contact/style.css +++ b/sms_contact/style.css @@ -1,7 +1,12 @@ -* { +html, body { padding: 0; + margin: 0; + color: #666666; +} + +* { font-family: sans-serif; - font-size: small; + font-size: x-small; } .error { @@ -19,5 +24,5 @@ span.number { textarea { width: 165px; - height: 170px; + height: 165px; }