Vergleich announcements.php - 1.8.7 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 11Zeile 11
define("IN_MYBB", 1);
define('THIS_SCRIPT', 'announcements.php');


define("IN_MYBB", 1);
define('THIS_SCRIPT', 'announcements.php');


$templatelist = "announcement,postbit_groupimage,postbit_reputation,postbit_avatar,postbit_online,postbit_offline,postbit_away,postbit_find,postbit_pm,postbit_email,postbit_www,postbit_author_user,announcement_edit,announcement_quickdelete,postbit,postbit_classic,postbit_author_guest,postbit_userstar,forumdisplay_password_wrongpass,forumdisplay_password";



$templatelist = "announcement,postbit_groupimage,postbit_reputation,postbit_avatar,postbit_online,postbit_offline,postbit_away,postbit_find,postbit_pm,postbit_email,postbit_author_user";
$templatelist .= ",forumdisplay_password_wrongpass,forumdisplay_password,postbit_author_guest,postbit_userstar,announcement_quickdelete,postbit,postbit_classic,postbit_www,announcement_edit";


require_once "./global.php";
require_once MYBB_ROOT."inc/functions_post.php";


require_once "./global.php";
require_once MYBB_ROOT."inc/functions_post.php";


Zeile 106Zeile 108
	$setcookie = true;
if(isset($mybb->cookies['mybb']['announcements']) && is_scalar($mybb->cookies['mybb']['announcements']))
{

	$setcookie = true;
if(isset($mybb->cookies['mybb']['announcements']) && is_scalar($mybb->cookies['mybb']['announcements']))
{

		$cookie = my_unserialize(stripslashes($mybb->cookies['mybb']['announcements']));

		$cookie = my_unserialize(stripslashes($mybb->cookies['mybb']['announcements']), false);


if(isset($cookie[$announcementarray['aid']]))
{


if(isset($cookie[$announcementarray['aid']]))
{