diff --git a/e107_core/shortcodes/batch/admin_shortcodes.php b/e107_core/shortcodes/batch/admin_shortcodes.php index c9b8f8a70..0a48a99ca 100644 --- a/e107_core/shortcodes/batch/admin_shortcodes.php +++ b/e107_core/shortcodes/batch/admin_shortcodes.php @@ -97,7 +97,7 @@ class admin_shortcodes if (!ADMIN) { return ''; } return "
- +
"; } @@ -310,7 +310,7 @@ class admin_shortcodes { $text .= $sql->mySQLlanguage; $text .= " (".$slng->convert($sql->mySQLlanguage).") - :   ".count($aff)." ".UTHEME_MENU_L3."  
+ :   ".count($aff)." ".UTHEME_MENU_L3."  
- + "; diff --git a/e107_plugins/forum/templates/forum_post_template.php b/e107_plugins/forum/templates/forum_post_template.php index e706ceb12..988edc35a 100644 --- a/e107_plugins/forum/templates/forum_post_template.php +++ b/e107_plugins/forum/templates/forum_post_template.php @@ -59,7 +59,7 @@ $fileattach = " - + "; diff --git a/e107_plugins/linkwords/admin_config.php b/e107_plugins/linkwords/admin_config.php index 7837bce9d..1e5f27f1a 100644 --- a/e107_plugins/linkwords/admin_config.php +++ b/e107_plugins/linkwords/admin_config.php @@ -297,8 +297,8 @@ if (($action == 'words') || ($action == 'edit'))
- - + +
\n diff --git a/e107_plugins/list_new/list_admin_class.php b/e107_plugins/list_new/list_admin_class.php index 49d042652..743da2d9a 100644 --- a/e107_plugins/list_new/list_admin_class.php +++ b/e107_plugins/list_new/list_admin_class.php @@ -179,7 +179,7 @@ class list_admin // $this->row['FIELD_ITEM'] = $frm->iconpicker($this->parent->sections[$i]."_".$type."_icon",$this->parent->list_pref[$this->parent->sections[$i]."_".$type."_icon"]). // $this->row['FIELD_ITEM'] = $rs->form_text($this->parent->sections[$i]."_".$type."_icon", 15, $this->parent->list_pref[$this->parent->sections[$i]."_".$type."_icon"], 100)." - // parent->sections[$i]."_".$type."_icon'); return false;\" /> + // parent->sections[$i]."_".$type."_icon'); return false;\" /> // $this->row['FIELD_ITEM'] .= div id='div_".$this->parent->sections[$i]."_".$type."_icon' style='display:none;'>"; diff --git a/e107_plugins/newsletter/newsletter_menu.php b/e107_plugins/newsletter/newsletter_menu.php index 9eade5821..3bc3ec8a4 100644 --- a/e107_plugins/newsletter/newsletter_menu.php +++ b/e107_plugins/newsletter/newsletter_menu.php @@ -91,13 +91,13 @@ foreach($newsletterArray as $nl) if(preg_match("#".chr(1).USERID."(".chr(1)."|$)#si", $nl['newsletter_subscribers'])) { $text .= NLLAN_48."

- toJS(NLLAN_49)."') \" /> + toJS(NLLAN_49)."') \" /> "; } else { $text .= NLLAN_50." ".USEREMAIL." )

- toJS(NLLAN_53)."') \" /> + toJS(NLLAN_53)."') \" /> "; } $nl_count = $sql -> db_Count('newsletter', "(*)", "WHERE newsletter_parent='".$nl['newsletter_id']."' AND newsletter_flag='1'"); diff --git a/e107_plugins/pm/pm_shortcodes.php b/e107_plugins/pm/pm_shortcodes.php index f4b7994b7..e21a7931d 100755 --- a/e107_plugins/pm/pm_shortcodes.php +++ b/e107_plugins/pm/pm_shortcodes.php @@ -201,7 +201,7 @@ class pm_shortcodes extends e_shortcode - + "; return $ret; } @@ -481,7 +481,7 @@ class pm_shortcodes extends e_shortcode // pm_id is mapped insisde the config to id key $ret = "
var)."'> - ".LAN_PM_54."     + ".LAN_PM_54."    
"; return $ret; @@ -570,7 +570,7 @@ class pm_shortcodes extends e_shortcode public function sc_pm_delete_blocked_selected() { - return ""; + return ""; } /** diff --git a/e107_plugins/poll/poll_class.php b/e107_plugins/poll/poll_class.php index 23834eb29..ff82935f7 100644 --- a/e107_plugins/poll/poll_class.php +++ b/e107_plugins/poll/poll_class.php @@ -714,7 +714,7 @@ class poll $text .=" -
+
@@ -814,7 +814,7 @@ class poll if (isset($_POST['preview']) || varset($_POST['edit'])) { - // $text .= " "; + // $text .= " "; $text .= $frm->admin_button('preview',POLLAN_24,'other'); if (POLLACTION == 'edit') @@ -826,19 +826,19 @@ class poll else { $text .= $frm->admin_button('submit','no-value','submit', LAN_CREATE); - // $text .= " "; + // $text .= " "; } } else { $text .= $frm->admin_button('preview','no-value','other',POLLAN_24); - // $text .= " "; + // $text .= " "; } if (defset('POLLID')) { $text .= $frm->admin_button('reset','no-value','reset',POLLAN_25); - // $text .= " "; + // $text .= " "; } $text .= " diff --git a/e107_plugins/search_menu/search_menu.php b/e107_plugins/search_menu/search_menu.php index 10e024dca..09241565d 100644 --- a/e107_plugins/search_menu/search_menu.php +++ b/e107_plugins/search_menu/search_menu.php @@ -50,7 +50,7 @@ if (isset($custom_query[1]) && $custom_query[1] != '') } else { - $search_button = ""; + $search_button = ""; } if (isset($custom_query[5]) && $custom_query[5]) { diff --git a/e107_plugins/tagwords/tagwords_shortcodes.php b/e107_plugins/tagwords/tagwords_shortcodes.php index 04d1aab60..922139d92 100644 --- a/e107_plugins/tagwords/tagwords_shortcodes.php +++ b/e107_plugins/tagwords/tagwords_shortcodes.php @@ -59,7 +59,7 @@ class tagwords_shortcodes extends e_shortcode
- +
"; break; @@ -74,7 +74,7 @@ class tagwords_shortcodes extends e_shortcode
- +
"; break; @@ -86,7 +86,7 @@ class tagwords_shortcodes extends e_shortcode } return " - "; + "; break; } } @@ -262,7 +262,7 @@ class tagwords_shortcodes extends e_shortcode { global $tag; if(varsettrue($tag->pref['tagwords_view_sort']) || varsettrue($tag->pref['tagwords_view_style']) || varsettrue($tag->pref['tagwords_view_area'])) - return ""; + return ""; return ''; } @@ -409,7 +409,7 @@ class tagwords_shortcodes extends e_shortcode function sc_tag_opt_button() { - return ""; + return ""; } } diff --git a/e107_plugins/tinymce/admin_config.php b/e107_plugins/tinymce/admin_config.php index 92c3bd106..2790e3709 100644 --- a/e107_plugins/tinymce/admin_config.php +++ b/e107_plugins/tinymce/admin_config.php @@ -648,7 +648,7 @@ function edit_theme()
"; - $text .= ""; + $text .= ""; $text .= "
diff --git a/e107_plugins/user/userlanguage_menu.php b/e107_plugins/user/userlanguage_menu.php index da99b1c48..8e93c3893 100644 --- a/e107_plugins/user/userlanguage_menu.php +++ b/e107_plugins/user/userlanguage_menu.php @@ -58,7 +58,7 @@ else

- '; + '; $text .= ' '; diff --git a/e107_plugins/user/usertheme_menu.php b/e107_plugins/user/usertheme_menu.php index 97fc010ea..c8bb06c72 100644 --- a/e107_plugins/user/usertheme_menu.php +++ b/e107_plugins/user/usertheme_menu.php @@ -43,7 +43,7 @@ if ((USER == TRUE) && check_class(varset($pref['allow_theme_select'],FALSE))) while ($row = $sql->fetch()) { - $up = (substr($row['user_prefs'],0,5) == "array") ? $eArrayStorage->ReadArray($row['user_prefs']) : unserialize($row['user_prefs']); + $up = (substr($row['user_prefs'],0,5) == "array") ? e107::unserialize($row['user_prefs']) : unserialize($row['user_prefs']); if (isset($themecount[$up['sitetheme']])) { $themecount[$up['sitetheme']]++; } } @@ -68,7 +68,7 @@ if ((USER == TRUE) && check_class(varset($pref['allow_theme_select'],FALSE))) } $text .= "

- + "; $ns->tablerender(LAN_UMENU_THEME_2, $text, 'usertheme'); diff --git a/e107_web/js/core/all.jquery.js b/e107_web/js/core/all.jquery.js index 7c90f49e6..cbb81dcb8 100644 --- a/e107_web/js/core/all.jquery.js +++ b/e107_web/js/core/all.jquery.js @@ -1122,7 +1122,7 @@ function duplicateHTML(copy,paste,baseid){ but.type = 'button'; but.innerHTML = 'x'; but.value = 'x'; - but.className = 'btn button'; + but.className = 'btn btn-default button'; but.onclick = function(){ this.parentNode.parentNode.removeChild(this.parentNode); }; var destination = document.getElementById(paste); diff --git a/email.php b/email.php index 860ae01cd..5cef2e0d9 100644 --- a/email.php +++ b/email.php @@ -229,7 +229,7 @@ $text .= " - + diff --git a/search.php b/search.php index a35bad803..dd3fd9d90 100644 --- a/search.php +++ b/search.php @@ -187,7 +187,7 @@ class search extends e_shortcode { if($this->search_prefs['selector'] == 1) { - return ""; + return ""; } } @@ -195,7 +195,7 @@ class search extends e_shortcode { if($this->search_prefs['selector'] == 1) { - return ""; + return ""; } } @@ -1111,11 +1111,11 @@ if (!$search_prefs['user_select'] && $_GET['r'] < 1) { /* if ($search_prefs['selector'] == 1) { - $SEARCH_VARS->SEARCH_MAIN_CHECKALL = ""; - $SEARCH_VARS->SEARCH_MAIN_UNCHECKALL = ""; + $SEARCH_VARS->SEARCH_MAIN_CHECKALL = ""; + $SEARCH_VARS->SEARCH_MAIN_UNCHECKALL = ""; } */ -//$SEARCH_VARS->SEARCH_MAIN_SUBMIT = ""; +//$SEARCH_VARS->SEARCH_MAIN_SUBMIT = ""; //$SEARCH_VARS->ENHANCED_ICON = "".LAN_SEARCH_23.""; diff --git a/signup.php b/signup.php index 623d97750..8d1d7d360 100644 --- a/signup.php +++ b/signup.php @@ -174,7 +174,7 @@ if((e_QUERY == 'resend') && !USER && ($pref['user_reg_veri'] == 1)) $text .=" "; - $text .= ""; // resend activation email. + $text .= ""; // resend activation email. $text .= " diff --git a/upload.php b/upload.php index 189fc2498..b5a05494b 100644 --- a/upload.php +++ b/upload.php @@ -256,7 +256,7 @@ $text .= " - + diff --git a/userposts.php b/userposts.php index 2da039217..56bd57008 100644 --- a/userposts.php +++ b/userposts.php @@ -238,7 +238,7 @@ elseif ($action == 'forums') if($vars->NEXTPREV) $vars->NEXTPREV = str_replace('{USERPOSTS_NEXTPREV}', $vars->NEXTPREV, $USERPOSTS_TEMPLATE['np_table']); $vars->USERPOSTS_FORUM_SEARCH_VALUE = htmlspecialchars($_POST['f_query'], ENT_QUOTES, CHARSET); $vars->USERPOSTS_FORUM_SEARCH_FIELD = ""; - $vars->USERPOSTS_FORUM_SEARCH_BUTTON = ""; + $vars->USERPOSTS_FORUM_SEARCH_BUTTON = ""; $vars->USERPOSTS_FORUM_SEARCH = " "; // $userposts_forum_table_start = preg_replace("/\{(.*?)\}/e", '$\1', $USERPOSTS_FORUM_TABLE_START);