Vergleich showthread.php - 1.8.37 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1324Zeile 1324
			{
eval("\$viewnotes = \"".$templates->get("showthread_threadnotes_viewnotes")."\";");
$thread['notes'] = my_substr($thread['notes'], 0, 200)."... {$viewnotes}";

			{
eval("\$viewnotes = \"".$templates->get("showthread_threadnotes_viewnotes")."\";");
$thread['notes'] = my_substr($thread['notes'], 0, 200)."... {$viewnotes}";

 
			}

if(!isset($collapsedthead['threadnotes']))
{
$collapsedthead['threadnotes'] = '';
}
if(!isset($collapsedimg['threadnotes']))
{
$collapsedimg['threadnotes'] = '';
}
if(!isset($collapsed['threadnotes_e']))
{
$collapsed['threadnotes_e'] = '';

			}

$expaltext = (in_array("threadnotes", $collapse)) ? $lang->expcol_expand : $lang->expcol_collapse;

			}

$expaltext = (in_array("threadnotes", $collapse)) ? $lang->expcol_expand : $lang->expcol_collapse;

Zeile 1374Zeile 1387
			if(!empty($customposttools))
{
eval("\$customposttools = \"".$templates->get("showthread_inlinemoderation_custom")."\";");

			if(!empty($customposttools))
{
eval("\$customposttools = \"".$templates->get("showthread_inlinemoderation_custom")."\";");

			}
}

$inlinemodsoftdelete = $inlinemodrestore = $inlinemoddelete = $inlinemodmanage = $inlinemodapprove = '';

			}
}

$inlinemodsoftdelete = $inlinemodrestore = $inlinemoddelete = $inlinemodmanage = $inlinemodapprove = '';


if(is_moderator($forum['fid'], "cansoftdeleteposts"))
{
eval("\$inlinemodsoftdelete = \"".$templates->get("showthread_inlinemoderation_softdelete")."\";");


if(is_moderator($forum['fid'], "cansoftdeleteposts"))
{
eval("\$inlinemodsoftdelete = \"".$templates->get("showthread_inlinemoderation_softdelete")."\";");

		}

		}


if(is_moderator($forum['fid'], "canrestoreposts"))
{


if(is_moderator($forum['fid'], "canrestoreposts"))
{

Zeile 1390Zeile 1403
		}

if(is_moderator($forum['fid'], "candeleteposts"))

		}

if(is_moderator($forum['fid'], "candeleteposts"))

		{

		{

			eval("\$inlinemoddelete = \"".$templates->get("showthread_inlinemoderation_delete")."\";");

			eval("\$inlinemoddelete = \"".$templates->get("showthread_inlinemoderation_delete")."\";");

		}

		}


if(is_moderator($forum['fid'], "canmanagethreads"))


if(is_moderator($forum['fid'], "canmanagethreads"))

		{

		{

			eval("\$inlinemodmanage = \"".$templates->get("showthread_inlinemoderation_manage")."\";");

			eval("\$inlinemodmanage = \"".$templates->get("showthread_inlinemoderation_manage")."\";");

		}


		}


		if(is_moderator($forum['fid'], "canapproveunapproveposts"))
{
eval("\$inlinemodapprove = \"".$templates->get("showthread_inlinemoderation_approve")."\";");

		if(is_moderator($forum['fid'], "canapproveunapproveposts"))
{
eval("\$inlinemodapprove = \"".$templates->get("showthread_inlinemoderation_approve")."\";");

		}


		}


		if(!empty($inlinemodsoftdelete) || !empty($inlinemodrestore) || !empty($inlinemoddelete) || !empty($inlinemodmanage) || !empty($inlinemodapprove))
{
eval("\$standardposttools = \"".$templates->get("showthread_inlinemoderation_standard")."\";");

		if(!empty($inlinemodsoftdelete) || !empty($inlinemodrestore) || !empty($inlinemoddelete) || !empty($inlinemodmanage) || !empty($inlinemodapprove))
{
eval("\$standardposttools = \"".$templates->get("showthread_inlinemoderation_standard")."\";");

Zeile 1425Zeile 1438

if(is_moderator($forum['fid'], "canopenclosethreads"))
{


if(is_moderator($forum['fid'], "canopenclosethreads"))
{

 
			if($thread['closed'])
{
$lang->open_close_thread = $lang->open_thread;
}
else
{
$lang->open_close_thread = $lang->close_thread;
}

			eval("\$openclosethread = \"".$templates->get("showthread_moderationoptions_openclose")."\";");
}

if(is_moderator($forum['fid'], "canstickunstickthreads"))
{

			eval("\$openclosethread = \"".$templates->get("showthread_moderationoptions_openclose")."\";");
}

if(is_moderator($forum['fid'], "canstickunstickthreads"))
{

 
			if($thread['sticky'])
{
$lang->stick_unstick_thread = $lang->unstick_thread;
}
else
{
$lang->stick_unstick_thread = $lang->stick_thread;
}

			eval("\$stickunstickthread = \"".$templates->get("showthread_moderationoptions_stickunstick")."\";");
}


			eval("\$stickunstickthread = \"".$templates->get("showthread_moderationoptions_stickunstick")."\";");
}


Zeile 1560Zeile 1589
				$doneusers[$user['uid']] = $user['time'];

$invisiblemark = '';

				$doneusers[$user['uid']] = $user['time'];

$invisiblemark = '';

				if($user['invisible'] == 1 && $mybb->usergroup['canbeinvisible'] == 1)

				if($user['invisible'] == 1)

				{
$invisiblemark = "*";
++$inviscount;

				{
$invisiblemark = "*";
++$inviscount;