Vergleich admin/modules/config/settings.php - 1.6.4 - 1.6.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: settings.php 5466 2011-05-17 11:45:17Z dvb $

 * $Id: settings.php 5617 2011-09-20 13:50:05Z Tomm $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 898Zeile 898
			$mybb->settings['cookieprefix'] = $mybb->input['upsetting']['cookieprefix'];
my_setcookie("adminsid", $admin_session['sid']);
}

			$mybb->settings['cookieprefix'] = $mybb->input['upsetting']['cookieprefix'];
my_setcookie("adminsid", $admin_session['sid']);
}

		








// Have we opted for a reCAPTCHA and not set a public/private key?
if($mybb->input['upsetting']['captchaimage'] == 2 && !$mybb->input['upsetting']['captchaprivatekey'] && !$mybb->input['upsetting']['captchapublickey'])
{
$db->update_query("settings", array("value" => 1), "name = 'captchaimage'");
}


		rebuild_settings();

$plugins->run_hooks("admin_config_settings_change_commit");

		rebuild_settings();

$plugins->run_hooks("admin_config_settings_change_commit");

Zeile 1388Zeile 1394
			new Peeker($$(".setting_showsimilarthreads"), $("row_setting_similarityrating"), /1/, true);
new Peeker($$(".setting_showsimilarthreads"), $("row_setting_similarlimit"), /1/, true);
new Peeker($$(".setting_disableregs"), $("row_setting_regtype"), /0/, true);

			new Peeker($$(".setting_showsimilarthreads"), $("row_setting_similarityrating"), /1/, true);
new Peeker($$(".setting_showsimilarthreads"), $("row_setting_similarlimit"), /1/, true);
new Peeker($$(".setting_disableregs"), $("row_setting_regtype"), /0/, true);

 
			new Peeker($$(".setting_hiddencaptchaimage"), $("row_setting_hiddencaptchaimagefield"), /1/, true);

			new Peeker($$(".setting_showsimilarthreads"), $("row_setting_similarlimit"), /1/, true);
new Peeker($("setting_failedlogincount"), $("row_setting_failedlogintime"), /[^0]/, false);
new Peeker($("setting_failedlogincount"), $("row_setting_failedlogintext"), /[^0]/, false);

			new Peeker($$(".setting_showsimilarthreads"), $("row_setting_similarlimit"), /1/, true);
new Peeker($("setting_failedlogincount"), $("row_setting_failedlogintime"), /[^0]/, false);
new Peeker($("setting_failedlogincount"), $("row_setting_failedlogintext"), /[^0]/, false);

Zeile 1415Zeile 1422
			new Peeker($("setting_mail_handler"), $("row_setting_smtp_pass"), /smtp/, false);
new Peeker($("setting_mail_handler"), $("row_setting_secure_smtp"), /smtp/, false);
new Peeker($("setting_mail_handler"), $("row_setting_mail_parameters"), /mail/, false);

			new Peeker($("setting_mail_handler"), $("row_setting_smtp_pass"), /smtp/, false);
new Peeker($("setting_mail_handler"), $("row_setting_secure_smtp"), /smtp/, false);
new Peeker($("setting_mail_handler"), $("row_setting_mail_parameters"), /mail/, false);

 
			new Peeker($("setting_captchaimage"), $("row_setting_captchapublickey"), 2, false);
new Peeker($("setting_captchaimage"), $("row_setting_captchaprivatekey"), 2, false);

		}
</script>';
}

		}
</script>';
}