Vergleich warnings.php - 1.4.0 - 1.4.2

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: warnings.php 4031 2008-07-20 20:56:39Z Tikitiki $

 * $Id: warnings.php 4187 2008-09-13 04:12:56Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

 
define('THIS_SCRIPT', 'warnings.php');


$templatelist = '';
require_once "./global.php";


$templatelist = '';
require_once "./global.php";

Zeile 565Zeile 566
		$notes = htmlspecialchars_uni($mybb->input['notes']);
$type_checked[$mybb->input['type']] = "checked=\"checked\"";
$pm_subject = htmlspecialchars_uni($mybb->input['pm_subject']);

		$notes = htmlspecialchars_uni($mybb->input['notes']);
$type_checked[$mybb->input['type']] = "checked=\"checked\"";
$pm_subject = htmlspecialchars_uni($mybb->input['pm_subject']);

		$pm_message = htmlspecialchars_uni($mybb->input['pm_message']);

		$message = htmlspecialchars_uni($mybb->input['pm_message']);

		if($mybb->input['send_pm'])
{
$send_pm_checked = "checked=\"checked\"";

		if($mybb->input['send_pm'])
{
$send_pm_checked = "checked=\"checked\"";

Zeile 581Zeile 582
		$expires = 1;
$custom_points = 2;
$pm_subject = $lang->warning_pm_subject;

		$expires = 1;
$custom_points = 2;
$pm_subject = $lang->warning_pm_subject;

		$pm_message = $lang->warning_pm_message;

		$message = $lang->sprintf($lang->warning_pm_message, $user['username'], $mybb->settings['bbname']);

	}

$lang->nav_profile = $lang->sprintf($lang->nav_profile, $user['username']);

	}

$lang->nav_profile = $lang->sprintf($lang->nav_profile, $user['username']);

Zeile 822Zeile 823
	{
$warning['post_subject'] = $parser->parse_badwords($warning['post_subject']);
$warning['post_subject'] = htmlspecialchars_uni($warning['post_subject']);

	{
$warning['post_subject'] = $parser->parse_badwords($warning['post_subject']);
$warning['post_subject'] = htmlspecialchars_uni($warning['post_subject']);

		$post_link = get_post_link($warning['pid']);

		$post_link = get_post_link($warning['pid'])."#pid{$warning['pid']}";

		eval("\$warning_info = \"".$templates->get("warnings_view_post")."\";");
}
else

		eval("\$warning_info = \"".$templates->get("warnings_view_post")."\";");
}
else