From 4b133605687fa9257fa0c8c3a10c6b7f44fe18dd Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Fri, 28 Mar 2014 13:51:37 +0100 Subject: [PATCH] [UPDATE] more style fixes --- public/include/admin_checks.php | 3 ++- public/templates/bootstrap/login/default.tpl | 4 ++-- public/templates/bootstrap/register/default.tpl | 16 ++++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/public/include/admin_checks.php b/public/include/admin_checks.php index cdd9ad29..179d873a 100644 --- a/public/include/admin_checks.php +++ b/public/include/admin_checks.php @@ -101,7 +101,8 @@ if (@$_SESSION['USERDATA']['is_admin'] && $user->isAdmin(@$_SESSION['USERDATA'][ $host = @gethostbyname($config['gettingstarted']['stratumurl']); $port = $config['gettingstarted']['stratumport']; - if (isset($port) and + if (isset($host) and + isset($port) and ($socket=socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) and (socket_set_option($socket, SOL_SOCKET, SO_SNDTIMEO, array('sec' => 3, 'usec' => 0))) and (@socket_connect($socket, $host, $port))) diff --git a/public/templates/bootstrap/login/default.tpl b/public/templates/bootstrap/login/default.tpl index 818b1e13..2539ac8e 100644 --- a/public/templates/bootstrap/login/default.tpl +++ b/public/templates/bootstrap/login/default.tpl @@ -7,11 +7,11 @@
-
+
-
+
diff --git a/public/templates/bootstrap/register/default.tpl b/public/templates/bootstrap/register/default.tpl index 0d884376..2d302c73 100644 --- a/public/templates/bootstrap/register/default.tpl +++ b/public/templates/bootstrap/register/default.tpl @@ -18,36 +18,36 @@
-
+
- +
(Strength) -
+
-
+
-
+
-
+
Four digit number. Remember this pin! -
+
-
+