"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/modules/config/settings.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

settings.php  (mybb_1822):settings.php  (mybb_1823)
skipping to change at line 961 skipping to change at line 961
} }
else else
{ {
flash_message($lang->sprintf($lan g->error_format_dimension, $lang->{'error_field_'.$field}), 'error'); flash_message($lang->sprintf($lan g->error_format_dimension, $lang->{'error_field_'.$field}), 'error');
admin_redirect("index.php?module= config-settings&action=change&gid=".$gid); admin_redirect("index.php?module= config-settings&action=change&gid=".$gid);
} }
} }
} }
} }
// Have we opted for a reCAPTCHA and not set a public/private key // Have we opted for a reCAPTCHA or hCaptcha and not set a public
? /private key?
if((isset($mybb->input['upsetting']['captchaimage']) && in_array( if((isset($mybb->input['upsetting']['captchaimage']) && in_array(
$mybb->input['upsetting']['captchaimage'], array(4, 5)) && (!$mybb->input['upset $mybb->input['upsetting']['captchaimage'], array(4, 5)) && (!$mybb->input['upset
ting']['captchaprivatekey'] || !$mybb->input['upsetting']['captchapublickey'])) ting']['recaptchaprivatekey'] || !$mybb->input['upsetting']['recaptchapublickey'
|| (in_array($mybb->settings['captchaimage'], array(4, 5)) && ]))
(!$mybb->settings['captchaprivatekey'] || !$mybb->settings['captchapublickey'])) || (in_array($mybb->settings['captchaimage'], array(4, 5)) &&
) (!$mybb->settings['recaptchaprivatekey'] || !$mybb->settings['recaptchapublickey
']))
|| (isset($mybb->input['upsetting']['captchaimage']) && in_arr
ay($mybb->input['upsetting']['captchaimage'], array(8)) && (!$mybb->input['upset
ting']['recaptchaprivatekey'] || !$mybb->input['upsetting']['recaptchapublickey'
] || !$mybb->input['upsetting']['recaptchascore']))
|| (in_array($mybb->settings['captchaimage'], array(8)) && (!$
mybb->settings['recaptchaprivatekey'] || !$mybb->settings['recaptchapublickey']
|| !$mybb->settings['recaptchascore']))
|| (isset($mybb->input['upsetting']['captchaimage']) && in_arr
ay($mybb->input['upsetting']['captchaimage'], array(6, 7)) && (!$mybb->input['up
setting']['hcaptchaprivatekey'] || !$mybb->input['upsetting']['hcaptchapublickey
']))
|| (in_array($mybb->settings['captchaimage'], array(6, 7)) &&
(!$mybb->settings['hcaptchaprivatekey'] || !$mybb->settings['hcaptchapublickey']
)))
{ {
$mybb->input['upsetting']['captchaimage'] = 1; $mybb->input['upsetting']['captchaimage'] = 1;
$lang->success_settings_updated .= $lang->success_setting s_updated_captchaimage; $lang->success_settings_updated .= $lang->success_setting s_updated_captchaimage;
} }
// If using fulltext then enforce minimum word length given by da
tabase
if(isset($mybb->input['upsetting']['minsearchword']) && $mybb->in
put['upsetting']['minsearchword'] > 0 && $mybb->input['upsetting']['searchtype']
== "fulltext" && $db->supports_fulltext_boolean("posts") && $db->supports_fullt
ext("threads"))
{
// Attempt to determine minimum word length from MySQL fo
r fulltext searches
$query = $db->query("SHOW VARIABLES LIKE 'ft_min_word_len
';");
$min_length = $db->fetch_field($query, 'Value');
if(is_numeric($min_length) && $mybb->input['upsetting']['
minsearchword'] < $min_length)
{
$mybb->input['upsetting']['minsearchword'] = $min
_length;
$lang->success_settings_updated .= $lang->success
_settings_updated_minsearchword;
}
}
// Get settings which optionscode is a forum/group select, checkb ox or numeric // Get settings which optionscode is a forum/group select, checkb ox or numeric
// We cannot rely on user input to decide this // We cannot rely on user input to decide this
$checkbox_settings = $forum_group_select = $prefix_select = array (); $checkbox_settings = $forum_group_select = $prefix_select = array ();
$query = $db->simple_select('settings', 'name, optionscode', "opt ionscode IN('forumselect', 'groupselect', 'prefixselect') OR optionscode LIKE 'c heckbox%' OR optionscode LIKE 'numeric%'"); $query = $db->simple_select('settings', 'name, optionscode', "opt ionscode IN('forumselect', 'groupselect', 'prefixselect') OR optionscode LIKE 'c heckbox%' OR optionscode LIKE 'numeric%'");
while($multisetting = $db->fetch_array($query)) while($multisetting = $db->fetch_array($query))
{ {
$options = array(); $options = array();
if(substr($multisetting['optionscode'], 0, 8) == 'checkbo x') if(substr($multisetting['optionscode'], 0, 8) == 'checkbo x')
skipping to change at line 1028 skipping to change at line 1045
$mybb->input['upsetting'][$multisetting[' name']] = $value; $mybb->input['upsetting'][$multisetting[' name']] = $value;
} }
} }
else else
{ {
$forum_group_select[] = $multisetting['name']; $forum_group_select[] = $multisetting['name'];
} }
} }
// Verify for admin email that can't be empty
if(isset($mybb->input['upsetting']['adminemail']) && !validate_em
ail_format($mybb->input['upsetting']['adminemail']))
{
unset($mybb->input['upsetting']['adminemail']);
$lang->success_settings_updated .= $lang->error_admin_ema
il_settings_empty;
}
// Administrator is changing the login method. // Administrator is changing the login method.
if($mybb->settings['username_method'] == 1 || $mybb->settings['us ername_method'] == 2 || $mybb->input['upsetting']['username_method'] == 1 || $my bb->input['upsetting']['username_method'] == 2) if($mybb->settings['username_method'] == 1 || $mybb->settings['us ername_method'] == 2 || $mybb->input['upsetting']['username_method'] == 1 || $my bb->input['upsetting']['username_method'] == 2)
{ {
$query = $db->simple_select('users', 'email', "email != ' '", array('group_by' => 'email HAVING COUNT(email)>1')); $query = $db->simple_select('users', 'email', "email != ' '", array('group_by' => 'email HAVING COUNT(email)>1'));
if($db->num_rows($query)) if($db->num_rows($query))
{ {
$mybb->input['upsetting']['username_method'] = 0; $mybb->input['upsetting']['username_method'] = 0;
$lang->success_settings_updated .= $lang->success _settings_updated_username_method; $lang->success_settings_updated .= $lang->success _settings_updated_username_method;
} }
else else
skipping to change at line 1140 skipping to change at line 1164
} }
} }
// Check if we need to create our fulltext index after changing t he search mode // Check if we need to create our fulltext index after changing t he search mode
if($mybb->settings['searchtype'] != $mybb->input['upsetting']['se archtype'] && $mybb->input['upsetting']['searchtype'] == "fulltext") if($mybb->settings['searchtype'] != $mybb->input['upsetting']['se archtype'] && $mybb->input['upsetting']['searchtype'] == "fulltext")
{ {
if(!$db->is_fulltext("posts") && $db->supports_fulltext_b oolean("posts")) if(!$db->is_fulltext("posts") && $db->supports_fulltext_b oolean("posts"))
{ {
$db->create_fulltext_index("posts", "message"); $db->create_fulltext_index("posts", "message");
} }
if(!$db->is_fulltext("posts") && $db->supports_fulltext(" threads")) if(!$db->is_fulltext("threads") && $db->supports_fulltext ("threads"))
{ {
$db->create_fulltext_index("threads", "subject"); $db->create_fulltext_index("threads", "subject");
} }
} }
// If the delayedthreadviews setting was changed, enable or disab le the tasks for it. // If the delayedthreadviews setting was changed, enable or disab le the tasks for it.
if(isset($mybb->input['upsetting']['delayedthreadviews']) && $myb b->settings['delayedthreadviews'] != $mybb->input['upsetting']['delayedthreadvie ws']) if(isset($mybb->input['upsetting']['delayedthreadviews']) && $myb b->settings['delayedthreadviews'] != $mybb->input['upsetting']['delayedthreadvie ws'])
{ {
$db->update_query("tasks", array('enabled' => (int)$mybb- >input['upsetting']['delayedthreadviews']), "file='threadviews'"); $db->update_query("tasks", array('enabled' => (int)$mybb- >input['upsetting']['delayedthreadviews']), "file='threadviews'");
} }
skipping to change at line 1191 skipping to change at line 1215
admin_redirect("index.php?module=config-settings"); admin_redirect("index.php?module=config-settings");
} }
// What type of page // What type of page
$cache_groups = $cache_settings = array(); $cache_groups = $cache_settings = array();
if(isset($mybb->input['search'])) if(isset($mybb->input['search']))
{ {
// Search // Search
// Search for settings // Search for settings
$search = $db->escape_string_like($mybb->input['search']); $search = trim($mybb->input['search']);
$query = $db->query(" if(!empty($search))
SELECT s.* , g.name as gname, g.title as gtitle, g.descri
ption as gdescription
FROM ".TABLE_PREFIX."settings s
LEFT JOIN ".TABLE_PREFIX."settinggroups g ON(s.gid=g.gid)
ORDER BY s.disporder
");
while($setting = $db->fetch_array($query))
{ {
$lang_var = "setting_{$setting['name']}"; $query = $db->query("
if(isset($lang->$lang_var)) SELECT s.* , g.name as gname, g.title as gtitle,
{ g.description as gdescription
$setting["title"] = $lang->$lang_var; FROM ".TABLE_PREFIX."settings s
} LEFT JOIN ".TABLE_PREFIX."settinggroups g ON(s.gi
$lang_var = "setting_{$setting['name']}_desc"; d=g.gid)
if(isset($lang->$lang_var)) ORDER BY s.disporder
");
while($setting = $db->fetch_array($query))
{ {
$setting["description"] = $lang->$lang_var; $search_in = $setting['name'] . ' ' . $setting['t
} itle'] . ' ' . $setting['description'] . ' ' . $setting['gname'] . ' ' . $settin
$lang_var = "setting_group_{$setting['gname']}"; g['gtitle'] . ' ' . $setting['gdescription'];
if(isset($lang->$lang_var)) foreach(array("setting_{$setting['name']}", "sett
{ ing_{$setting['name']}_desc", "setting_group_{$setting['gname']}", "setting_grou
$setting["gtitle"] = $lang->$lang_var; p_{$setting['gname']}_desc") as $search_in_lang_key)
} {
$lang_var = "setting_group_{$setting['gname']}_desc"; if(!empty($lang->$search_in_lang_key))
if(isset($lang->$lang_var)) {
{ $search_in .= ' ' . $lang->$searc
$setting["gdescription"] = $lang->$lang_var; h_in_lang_key;
} }
$lang_var = $setting["title"] . " " . $setting["descripti }
on"] . " " . $setting["gtitle"] . " " . $setting["gdescription"]; if(my_stripos($search_in, $search) !== false)
$search = mb_convert_encoding($search, mb_detect_encoding {
($setting["title"], "auto")); $cache_settings[$setting['gid']][$setting
if (mb_stripos($lang_var, $search)) ['sid']] = $setting;
{ }
$cache_settings[$setting['gid']][$setting['sid']]
= $setting;
} }
} }
if(!count($cache_settings)) if(!count($cache_settings))
{ {
if(isset($mybb->input['ajax_search'])) if(isset($mybb->input['ajax_search']))
{ {
echo json_encode(array("errors" => array($lang->e rror_no_settings_found))); echo json_encode(array("errors" => array($lang->e rror_no_settings_found)));
exit; exit;
} }
else else
skipping to change at line 1859 skipping to change at line 1872
/** /**
* Print all the peekers for all of the default settings * Print all the peekers for all of the default settings
*/ */
function print_setting_peekers() function print_setting_peekers()
{ {
global $plugins; global $plugins;
$peekers = array( $peekers = array(
'new Peeker($(".setting_boardclosed"), $("#row_setting_boardclose d_reason"), 1, true)', 'new Peeker($(".setting_boardclosed"), $("#row_setting_boardclose d_reason"), 1, true)',
'new Peeker($(".setting_gzipoutput"), $("#row_setting_gziplevel") , 1, true)', 'new Peeker($(".setting_gzipoutput"), $("#row_setting_gziplevel") , 1, true)',
'new Peeker($(".setting_useerrorhandling"), $("#row_setting_error logmedium, #row_setting_errortypemedium, #row_setting_errorloglocation"), 1, tru e)', 'new Peeker($(".setting_useerrorhandling"), $("#row_setting_error logmedium, #row_setting_errorloglocation"), 1, true)',
'new Peeker($("#setting_subforumsindex"), $("#row_setting_subforu msstatusicons"), /[^0+|]/, false)', 'new Peeker($("#setting_subforumsindex"), $("#row_setting_subforu msstatusicons"), /[^0+|]/, false)',
'new Peeker($(".setting_showsimilarthreads"), $("#row_setting_sim ilarityrating, #row_setting_similarlimit"), 1, true)', 'new Peeker($(".setting_showsimilarthreads"), $("#row_setting_sim ilarityrating, #row_setting_similarlimit"), 1, true)',
'new Peeker($(".setting_disableregs"), $("#row_setting_regtype, # row_setting_securityquestion, #row_setting_regtime, #row_setting_allowmultipleem ails, #row_setting_hiddencaptchaimage, #row_setting_betweenregstime"), 0, true)' , 'new Peeker($(".setting_disableregs"), $("#row_setting_regtype, # row_setting_securityquestion, #row_setting_regtime, #row_setting_allowmultipleem ails, #row_setting_hiddencaptchaimage, #row_setting_betweenregstime"), 0, true)' ,
'new Peeker($(".setting_hiddencaptchaimage"), $("#row_setting_hid dencaptchaimagefield"), 1, true)', 'new Peeker($(".setting_hiddencaptchaimage"), $("#row_setting_hid dencaptchaimagefield"), 1, true)',
'new Peeker($("#setting_failedlogincount"), $("#row_setting_faile dlogintime, #row_setting_failedlogintext"), /[^0+|]/, false)', 'new Peeker($("#setting_failedlogincount"), $("#row_setting_faile dlogintime, #row_setting_failedlogintext"), /[^0+|]/, false)',
'new Peeker($(".setting_postfloodcheck"), $("#row_setting_postflo odsecs"), 1, true)', 'new Peeker($(".setting_postfloodcheck"), $("#row_setting_postflo odsecs"), 1, true)',
'new Peeker($("#setting_postmergemins"), $("#row_setting_postmerg efignore, #row_setting_postmergeuignore, #row_setting_postmergesep"), /[^0+|]/, false)', 'new Peeker($("#setting_postmergemins"), $("#row_setting_postmerg efignore, #row_setting_postmergeuignore, #row_setting_postmergesep"), /[^0+|]/, false)',
'new Peeker($(".setting_enablememberlist"), $("#row_setting_membe rsperpage, #row_setting_default_memberlist_sortby, #row_setting_default_memberli st_order, #row_setting_memberlistmaxavatarsize"), 1, true)', 'new Peeker($(".setting_enablememberlist"), $("#row_setting_membe rsperpage, #row_setting_default_memberlist_sortby, #row_setting_default_memberli st_order, #row_setting_memberlistmaxavatarsize"), 1, true)',
'new Peeker($(".setting_enablereputation"), $("#row_setting_repsp erpage, #row_setting_posrep, #row_setting_neurep, #row_setting_negrep, #row_sett ing_postrep, #row_setting_multirep, #row_setting_maxreplength, #row_setting_minr eplength"), 1, true)', 'new Peeker($(".setting_enablereputation"), $("#row_setting_repsp erpage, #row_setting_posrep, #row_setting_neurep, #row_setting_negrep, #row_sett ing_postrep, #row_setting_multirep, #row_setting_maxreplength, #row_setting_minr eplength"), 1, true)',
'new Peeker($(".setting_enablewarningsystem"), $("#row_setting_al lowcustomwarnings, #row_setting_canviewownwarning, #row_setting_maxwarningpoints , #row_setting_allowanonwarningpms"), 1, true)', 'new Peeker($(".setting_enablewarningsystem"), $("#row_setting_al lowcustomwarnings, #row_setting_canviewownwarning, #row_setting_maxwarningpoints , #row_setting_allowanonwarningpms"), 1, true)',
'new Peeker($(".setting_enablepms"), $("#row_setting_pmsallowhtml , #row_setting_pmsallowmycode, #row_setting_pmsallowsmilies, #row_setting_pmsall owimgcode, #row_setting_pmsallowvideocode, #row_setting_pmquickreply, #row_setti ng_pmfloodsecs, #row_setting_showpmip, #row_setting_maxpmquotedepth"), 1, true)' , 'new Peeker($(".setting_enablepms"), $("#row_setting_pmsallowhtml , #row_setting_pmsallowmycode, #row_setting_pmsallowsmilies, #row_setting_pmsall owimgcode, #row_setting_pmsallowvideocode, #row_setting_pmquickreply, #row_setti ng_pmfloodsecs, #row_setting_showpmip, #row_setting_maxpmquotedepth"), 1, true)' ,
'new Peeker($(".setting_smilieinserter"), $("#row_setting_smiliei nsertertot, #row_setting_smilieinsertercols"), 1, true)', 'new Peeker($(".setting_smilieinserter"), $("#row_setting_smiliei nsertertot, #row_setting_smilieinsertercols"), 1, true)',
'new Peeker($("#setting_mail_handler"), $("#row_setting_smtp_host , #row_setting_smtp_port, #row_setting_smtp_user, #row_setting_smtp_pass, #row_s etting_secure_smtp"), "smtp", false)', 'new Peeker($("#setting_mail_handler"), $("#row_setting_smtp_host , #row_setting_smtp_port, #row_setting_smtp_user, #row_setting_smtp_pass, #row_s etting_secure_smtp"), "smtp", false)',
'new Peeker($("#setting_mail_handler"), $("#row_setting_mail_para meters"), "mail", false)', 'new Peeker($("#setting_mail_handler"), $("#row_setting_mail_para meters"), "mail", false)',
'new Peeker($("#setting_captchaimage"), $("#row_setting_captchapu 'new Peeker($("#setting_captchaimage"), $("#row_setting_recaptcha
blickey, #row_setting_captchaprivatekey"), /(4|5)/, false)', publickey, #row_setting_recaptchaprivatekey"), /(4|5|8)/, false)',
'new Peeker($("#setting_captchaimage"), $("#row_setting_recaptcha
score"), /(8)/, false)',
'new Peeker($("#setting_captchaimage"), $("#row_setting_hcaptchap
ublickey, #row_setting_hcaptchaprivatekey"), /(6|7)/, false)',
'new Peeker($("#setting_captchaimage"), $("#row_setting_hcaptchap
rivatekey, #row_setting_hcaptchaprivatekey"), /(6|7)/, false)',
'new Peeker($("#setting_captchaimage"), $("#row_setting_hcaptchat
heme"), 6, false)',
'new Peeker($("#setting_captchaimage"), $("#row_setting_hcaptchas
ize"), 6, false)',
'new Peeker($(".setting_contact"), $("#row_setting_contact_guests , #row_setting_contact_badwords, #row_setting_contact_maxsubjectlength, #row_set ting_contact_minmessagelength, #row_setting_contact_maxmessagelength"), 1, true) ', 'new Peeker($(".setting_contact"), $("#row_setting_contact_guests , #row_setting_contact_badwords, #row_setting_contact_maxsubjectlength, #row_set ting_contact_minmessagelength, #row_setting_contact_maxmessagelength"), 1, true) ',
'new Peeker($(".setting_enablepruning"), $("#row_setting_enablepr unebyposts, #row_setting_pruneunactived, #row_setting_prunethreads"), 1, true)', 'new Peeker($(".setting_enablepruning"), $("#row_setting_enablepr unebyposts, #row_setting_pruneunactived, #row_setting_prunethreads"), 1, true)',
'new Peeker($(".setting_enableprunebyposts"), $("#row_setting_pru nepostcount, #row_setting_dayspruneregistered, #row_setting_prunepostcountall"), 1, true)', 'new Peeker($(".setting_enableprunebyposts"), $("#row_setting_pru nepostcount, #row_setting_dayspruneregistered, #row_setting_prunepostcountall"), 1, true)',
'new Peeker($(".setting_pruneunactived"), $("#row_setting_dayspru neunactivated"), 1, true)', 'new Peeker($(".setting_pruneunactived"), $("#row_setting_dayspru neunactivated"), 1, true)',
'new Peeker($(".setting_statsenabled"), $("#row_setting_statscach etime, #row_setting_statslimit, #row_setting_statstopreferrer"), 1, true)', 'new Peeker($(".setting_statsenabled"), $("#row_setting_statscach etime, #row_setting_statslimit, #row_setting_statstopreferrer"), 1, true)',
'new Peeker($(".setting_purgespammergroups_forums_groups_check"), $("#row_setting_purgespammerpostlimit, #row_setting_purgespammerbandelete, #row _setting_purgespammerapikey"), /^(?!none)/, true)', 'new Peeker($(".setting_purgespammergroups_forums_groups_check"), $("#row_setting_purgespammerpostlimit, #row_setting_purgespammerbandelete, #row _setting_purgespammerapikey"), /^(?!none)/, true)',
'new Peeker($(".setting_purgespammerbandelete"),$("#row_setting_p urgespammerbangroup, #row_setting_purgespammerbanreason"), "ban", true)', 'new Peeker($(".setting_purgespammerbandelete"),$("#row_setting_p urgespammerbangroup, #row_setting_purgespammerbanreason"), "ban", true)',
'new Peeker($("#setting_maxloginattempts"), $("#row_setting_login attemptstimeout"), /[^0+|]/, false)', 'new Peeker($("#setting_maxloginattempts"), $("#row_setting_login attemptstimeout"), /[^0+|]/, false)',
'new Peeker($(".setting_bbcodeinserter"), $("#row_setting_partial mode, #row_setting_smilieinserter"), 1, true)', 'new Peeker($(".setting_bbcodeinserter"), $("#row_setting_partial mode, #row_setting_smilieinserter"), 1, true)',
'new Peeker($(".setting_portal"), $("#row_setting_portal_announce mentsfid, #row_setting_portal_showwelcome, #row_setting_portal_showpms, #row_set ting_portal_showstats, #row_setting_portal_showwol, #row_setting_portal_showsear ch, #row_setting_portal_showdiscussions"), 1, true)', 'new Peeker($(".setting_portal"), $("#row_setting_portal_announce mentsfid, #row_setting_portal_showwelcome, #row_setting_portal_showpms, #row_set ting_portal_showstats, #row_setting_portal_showwol, #row_setting_portal_showsear ch, #row_setting_portal_showdiscussions"), 1, true)',
'new Peeker($(".setting_portal_announcementsfid_forums_groups_che ck"), $("#row_setting_portal_numannouncements"), /^(?!none)/, true)', 'new Peeker($(".setting_portal_announcementsfid_forums_groups_che ck"), $("#row_setting_portal_numannouncements"), /^(?!none)/, true)',
'new Peeker($(".setting_portal_showdiscussions"), $("#row_setting _portal_showdiscussionsnum, #row_setting_portal_excludediscussion"), 1, true)', 'new Peeker($(".setting_portal_showdiscussions"), $("#row_setting _portal_showdiscussionsnum, #row_setting_portal_excludediscussion"), 1, true)',
'new Peeker($(".setting_enableattachments"), $("#row_setting_maxa ttachments, #row_setting_attachthumbnails"), 1, true)', 'new Peeker($(".setting_enableattachments"), $("#row_setting_maxa ttachments, #row_setting_attachthumbnails"), 1, true)',
'new Peeker($(".setting_attachthumbnails"), $("#row_setting_attac hthumbh, #row_setting_attachthumbw"), "yes", true)', 'new Peeker($(".setting_attachthumbnails"), $("#row_setting_attac hthumbh, #row_setting_attachthumbw"), "yes", true)',
'new Peeker($(".setting_showbirthdays"), $("#row_setting_showbirt hdayspostlimit"), 1, true)', 'new Peeker($(".setting_showbirthdays"), $("#row_setting_showbirt hdayspostlimit"), 1, true)',
'new Peeker($("#setting_betweenregstime"), $("#row_setting_maxreg sbetweentime"), /[^0+|]/, false)', 'new Peeker($("#setting_betweenregstime"), $("#row_setting_maxreg sbetweentime"), /[^0+|]/, false)',
'new Peeker($(".setting_usecdn"), $("#row_setting_cdnurl, #row_se tting_cdnpath"), 1, true)', 'new Peeker($(".setting_usecdn"), $("#row_setting_cdnurl, #row_se tting_cdnpath"), 1, true)',
'new Peeker($("#setting_errorlogmedium"), $("#row_setting_errorty pemedium"), /^(log|email|both)/, false)',
'new Peeker($("#setting_errorlogmedium"), $("#row_setting_errorlo glocation"), /^(log|both)/, false)', 'new Peeker($("#setting_errorlogmedium"), $("#row_setting_errorlo glocation"), /^(log|both)/, false)',
'new Peeker($(".setting_sigmycode"), $("#row_setting_sigcountmyco de, #row_setting_sigimgcode"), 1, true)', 'new Peeker($(".setting_sigmycode"), $("#row_setting_sigcountmyco de, #row_setting_sigimgcode"), 1, true)',
'new Peeker($(".setting_pmsallowmycode"), $("#row_setting_pmsallo wimgcode, #row_setting_pmsallowvideocode"), 1, true)', 'new Peeker($(".setting_pmsallowmycode"), $("#row_setting_pmsallo wimgcode, #row_setting_pmsallowvideocode"), 1, true)',
'new Peeker($(".setting_enableshowteam"), $("#row_setting_showadd lgroups, #row_setting_showgroupleaders"), 1, true)', 'new Peeker($(".setting_enableshowteam"), $("#row_setting_showadd lgroups, #row_setting_showgroupleaders"), 1, true)',
'new Peeker($(".setting_usereferrals"), $("#row_setting_referrals perpage"), 1, true)', 'new Peeker($(".setting_usereferrals"), $("#row_setting_referrals perpage"), 1, true)',
); );
$peekers = $plugins->run_hooks("admin_settings_print_peekers", $peekers); $peekers = $plugins->run_hooks("admin_settings_print_peekers", $peekers);
$setting_peekers = implode("\n ", $peekers); $setting_peekers = implode("\n ", $peekers);
 End of changes. 10 change blocks. 
49 lines changed or deleted 97 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)