diff --git a/e107_admin/prefs.php b/e107_admin/prefs.php index 5e8245aeb..5f9557596 100644 --- a/e107_admin/prefs.php +++ b/e107_admin/prefs.php @@ -264,20 +264,20 @@ $text = " - ".PRFLAN_2." + ".$frm->text('sitename', $pref['sitename'], 100, 'required=1')." - ".PRFLAN_3." + ".$frm->text('siteurl', $pref['siteurl'], 150)." ".($pref['siteurl'] == SITEURL ? "" : "
".PRFLAN_159.": ".SITEURL."
")." - ".PRFLAN_134." + "; /* ".$frm->radio('redirectsiteurl', 1, $pref['redirectsiteurl'], array('label'=>LAN_ENABLED))." @@ -287,7 +287,7 @@ $text = " - ".PRFLAN_4." + "; /* @@ -319,18 +319,18 @@ $text .= " - ".PRFLAN_214." + ".$frm->imagepicker('sitelogo',$pref['sitelogo'],'_common','help=Used by some themes as the header image on some pages.')." - ".PRFLAN_5." + ".$frm->textarea('sitetag', $pref['sitetag'], 3, 59)."
Used by some themes. Place 'SITETAG' in your theme to use this value.
- ".PRFLAN_6." + ".$frm->textarea('sitedescription', $pref['sitedescription'], 3, 80)."
Used by some themes. Place 'SITEDESCRIPTION' in your theme to use this value.
@@ -338,7 +338,7 @@ $text .= " - ".PRFLAN_9." + ".$frm->textarea('sitedisclaimer', str_replace(array('<', '>', '"'), array('<', '>', '"'), $pref['sitedisclaimer']), 3, 80)."
Used by some themes. Place 'SITEDISCLAIMER' in your theme to use this value.
@@ -362,26 +362,26 @@ $text .= "
- ".PRFLAN_7." + ".$frm->text('siteadmin', SITEADMIN, 100)." - ".PRFLAN_8." + ".$frm->text('siteadminemail', SITEADMINEMAIL, 100)." - ".PRFLAN_174." + ".$frm->text('replyto_name', $pref['replyto_name'], 100)."
".PRFLAN_175."
- ".PRFLAN_176." + ".$frm->text('replyto_email', $pref['replyto_email'], 100)."
".PRFLAN_177."
@@ -390,16 +390,16 @@ $text .= "
- ".LAN_MAILOUT_110."
+
".$frm->admin_button('testemail', LAN_MAILOUT_112,'other')."  - + - ".LAN_MAILOUT_115."
+
- \n"; $mailers = array('php','smtp','sendmail'); foreach($mailers as $opt) { @@ -422,29 +422,29 @@ $text .= "
"; $text .= " - ".LAN_MAILOUT_87.":   + - + - ".LAN_MAILOUT_88.": (".LAN_OPTIONAL.")   + - + - ".LAN_MAILOUT_89.": (".LAN_OPTIONAL.")   + - + - ".LAN_MAILOUT_90." - \n \n"; $selected = (in_array('secure=SSL',$smtp_opts) ? " selected='selected'" : ''); $text .= "\n"; @@ -455,17 +455,17 @@ $text .= "
$text .= "".LAN_MAILOUT_94.""; $text .= " - ".LAN_MAILOUT_57." + "; $checked = (varsettrue($pref['smtp_keepalive']) ) ? "checked='checked'" : ''; - $text .= " + $text .= " "; $checked = (in_array('useVERP',$smtp_opts) ? "checked='checked'" : ""); $text .= " - ".LAN_MAILOUT_95." - + + "; @@ -495,7 +495,7 @@ $text .= "
- ".LAN_MAILOUT_222." + "; $emFormat = array( @@ -510,21 +510,21 @@ $text .= "
- ".PRFLAN_162." + ".$frm->textarea('sitecontactinfo', $pref['sitecontactinfo'], 6, 59)."
".PRFLAN_163."
- ".PRFLAN_168." + ".$e_userclass->uc_dropdown('sitecontacts', $pref['sitecontacts'], 'nobody,main,admin,classes', "tabindex='".$frm->getNext()."'")."
".PRFLAN_169."
- ".PRFLAN_164." + "; /* ".$frm->radio('contact_emailcopy', 1, $pref['contact_emailcopy'])." @@ -555,7 +555,7 @@ $text .= " - ".PRFLAN_14." + ".$frm->radio_switch('displaythemeinfo', $pref['displaythemeinfo'])." @@ -1925,7 +1925,7 @@ function pref_submit($post_id = '') function prefs_adminmenu() { $var['core-prefs-main']['text'] = PRFLAN_1; - $var['core-prefs-email']['text'] = "Email & Contact Info."; + $var['core-prefs-email']['text'] = "Email & Contact Info"; $var['core-prefs-registration']['text'] = PRFLAN_28; $var['core-prefs-signup']['text'] = PRFLAN_19; $var['core-prefs-sociallogin']['text'] = "Social Options"; diff --git a/e107_handlers/userclass_class.php b/e107_handlers/userclass_class.php index 35fad3577..c8ce785cd 100644 --- a/e107_handlers/userclass_class.php +++ b/e107_handlers/userclass_class.php @@ -435,7 +435,7 @@ class user_class } // Only return the select box if we've ended up with some options - if ($text) $text = "\n\n"; + if ($text) $text = "\n\n"; return $text; }