From 42406440debeeddd5a8180aebb0a7312fce8e2eb Mon Sep 17 00:00:00 2001 From: Kedar Date: Thu, 19 Nov 2015 10:52:24 -0500 Subject: [PATCH] cleanup HTML markup --- assets/config/afuncs.php | 4 ++-- sources/public/register.php | 2 +- sources/public/vote.php | 4 ++-- sources/structure/sidebar.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/config/afuncs.php b/assets/config/afuncs.php index 8167de30..de48d7d8 100644 --- a/assets/config/afuncs.php +++ b/assets/config/afuncs.php @@ -511,7 +511,7 @@ function redirect_wait5($url) { function get_gravatar( $email, $s = 80, $d = 'mm', $r = 'g', $img = false, $atts = array() ) { $url = 'http://www.gravatar.com/avatar/'; $url .= md5( strtolower( trim( $email ) ) ); - $url .= "?s=$s&d=identicon&r=$r"; + $url .= "?s=$s&d=identicon&r=$r"; if ( $img ) { $url = ' $val ) @@ -523,7 +523,7 @@ function get_gravatar( $email, $s = 80, $d = 'mm', $r = 'g', $img = false, $atts function get_small_gravatar( $email, $s = 40, $d = 'mm', $r = 'g', $img = false, $atts = array() ) { $url = 'http://www.gravatar.com/avatar/'; $url .= md5( strtolower( trim( $email ) ) ); - $url .= "?s=$s&d=identicon&r=$r"; + $url .= "?s=$s&d=identicon&r=$r"; if ( $img ) { $url = ' $val ) diff --git a/sources/public/register.php b/sources/public/register.php index 276bb8ac..4934d82f 100644 --- a/sources/public/register.php +++ b/sources/public/register.php @@ -9,7 +9,7 @@ echo "

Registration


"; if (@$_POST["register"] != "1") { ?> -
+
diff --git a/sources/public/vote.php b/sources/public/vote.php index 933e6ce3..21068072 100644 --- a/sources/public/vote.php +++ b/sources/public/vote.php @@ -60,7 +60,6 @@ } else { ?> - '.$funct_msg.'
';} if(isset($funct_error)) {echo '
'.$funct_error.'
';} @@ -70,6 +69,7 @@ } else { echo " +

"; } else { - echo "
"; + echo "
"; } echo " diff --git a/sources/structure/sidebar.php b/sources/structure/sidebar.php index 2e07f597..ce5990ac 100644 --- a/sources/structure/sidebar.php +++ b/sources/structure/sidebar.php @@ -46,7 +46,7 @@
- Register + Register