From 6a520a61a6821dd841175c5839a991075f8cec65 Mon Sep 17 00:00:00 2001
From: Cameron <e107inc@gmail.com>
Date: Sun, 26 Jun 2016 10:34:44 -0700
Subject: [PATCH] HTML fixes.

---
 e107_handlers/form_handler.php         | 4 ++--
 e107_plugins/social/e_admin.php        | 2 +-
 e107_themes/bootstrap3/admin_style.css | 9 +++++----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index 5fe983f0c..e73e1126e 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -5231,7 +5231,7 @@ class e_form
 	{
 		
 		$text = vartrue($fdata['fieldset_pre'])."
-			<fieldset id='{$id}'>
+			<fieldset id='{$id}-".$tab."'>
 				<legend>".vartrue($fdata['legend'])."</legend>
 				".vartrue($fdata['table_pre'])."
 				<table class='table adminform'>
@@ -5677,7 +5677,7 @@ class e_form
 							
 							foreach($defsubmitopt as $k=>$v)
 							{
-								$text .= "<li><a href='#' class='e-noclick'>".$this->radio('__after_submit_action', $k, $selected == $k, "label=".$v)."</a></li>";	
+								$text .= "<li class='after-submit'>".$this->radio('__after_submit_action', $k, $selected == $k, "label=".$v)."</li>";
 							}
 							
 							//$text .= '
diff --git a/e107_plugins/social/e_admin.php b/e107_plugins/social/e_admin.php
index d5e2a6983..4e7ffce0c 100644
--- a/e107_plugins/social/e_admin.php
+++ b/e107_plugins/social/e_admin.php
@@ -13,7 +13,7 @@ class social_admin
 	{
 		$pref = e107::pref('core','social_login');
 
-		if(!empty($pref) && is_array($pref['Twitter']))
+		if(!empty($pref) && !empty($pref['Twitter']) && is_array($pref['Twitter']))
 		{
 			$this->twitterActive = vartrue($pref['Twitter']['keys']['key']);
 		}
diff --git a/e107_themes/bootstrap3/admin_style.css b/e107_themes/bootstrap3/admin_style.css
index 6988d353b..fb6ebcf63 100644
--- a/e107_themes/bootstrap3/admin_style.css
+++ b/e107_themes/bootstrap3/admin_style.css
@@ -252,12 +252,12 @@ a.brand:hover img 			{
 
 } 
 
-img.image-selector							{ margin-bottom:0px; }
+img.image-selector							{ margin-bottom:0; }
       
 .nav-collapse 								{ margin-top:8px; }
-.dropdown-menu 								{ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3); }
+.dropdown-menu 								{ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); }
 .dropdown-menu i,
-.dropdown-menu img 							{ padding: 0px 0px; margin-right: 10px; }
+.dropdown-menu img 							{ padding: 0 0; margin-right: 10px; }
 
 ul.navbar-nav li ul.dropdown-menu > li a img,
 ul.navbar-nav li ul.dropdown-menu > li a i		{
@@ -1254,7 +1254,8 @@ li.rssRow > div {
 
 .xdebug-error { color: black; font-size:1.5em }
 
-
+li.after-submit { padding:5px; }
+li.after-submit:hover { background-color: #337AB7; color:white }
 
 /* Legacy Styling  */
 .fborder .forumheader3    { padding: 8px; line-height: 1.42857143; vertical-align: top; border-top: 1px solid #0a0a0a; }