Vergleich newreply.php - 1.8.8 - 1.8.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 12Zeile 12
define('THIS_SCRIPT', 'newreply.php');

$templatelist = "newreply,previewpost,loginbox,changeuserbox,posticons,newreply_threadreview,newreply_threadreview_post,forumdisplay_rules_link,newreply_multiquote_external,post_attachments_add,post_subscription_method";

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

$templatelist = "newreply,previewpost,loginbox,changeuserbox,posticons,newreply_threadreview,newreply_threadreview_post,forumdisplay_rules_link,newreply_multiquote_external,post_attachments_add,post_subscription_method";

$templatelist .= ",codebuttons,post_attachments_new,post_attachments,post_savedraftbutton,newreply_modoptions,newreply_threadreview_more,postbit_online,postbit_pm,newreply_disablesmilies_hidden,post_attachments_update";
$templatelist .= ",postbit_www,postbit_email,postbit_reputation,postbit_warninglevel,postbit_author_user,postbit_edit,postbit_quickdelete,postbit_inlinecheck,postbit_posturl,postbit_quote,postbit_multiquote,postbit_icon";
$templatelist .= ",post_attachments_attachment_postinsert,post_attachments_attachment_remove,post_attachments_attachment_unapproved,post_attachments_attachment,postbit_attachments_attachment,newreply_options_signature";
$templatelist .= ",member_register_regimage,member_register_regimage_recaptcha,post_captcha_hidden,post_captcha,post_captcha_recaptcha,post_captcha_nocaptcha,postbit_groupimage,postbit_attachments,postbit_report";
$templatelist .= ",postbit_rep_button,postbit_warn,postbit_author_guest,postbit_signature,postbit_classic,postbit_attachments_thumbnails_thumbnailpostbit_attachments_images_image,postbit_attachments_attachment_unapproved";

$templatelist .= ",codebuttons,post_attachments_new,post_attachments,post_savedraftbutton,newreply_modoptions,newreply_threadreview_more,postbit_online,postbit_pm,newreply_disablesmilies_hidden,post_attachments_update,postbit_icon";
$templatelist .= ",postbit_email,postbit_warninglevel,postbit_author_user,postbit_edit,postbit_quickdelete,postbit_inlinecheck,postbit_posturl,postbit_quote,postbit_multiquote,newreply_modoptions_close,newreply_modoptions_stick";
$templatelist .= ",post_attachments_attachment_postinsert,post_attachments_attachment_remove,post_attachments_attachment_unapproved,post_attachments_attachment,postbit_attachments_attachment,newreply_signature,postbit_report";
$templatelist .= ",member_register_regimage,member_register_regimage_recaptcha,post_captcha_hidden,post_captcha,post_captcha_recaptcha,post_captcha_nocaptcha,postbit_groupimage,postbit_attachments,newreply_postoptions,postbit_reputation";
$templatelist .= ",postbit_rep_button,postbit_warn,postbit_author_guest,postbit_signature,postbit_classic,postbit_attachments_thumbnails_thumbnailpostbit_attachments_images_image,postbit_attachments_attachment_unapproved,postbit_www";

$templatelist .= ",postbit_attachments_thumbnails,postbit_attachments_images,postbit_gotopost,forumdisplay_password_wrongpass,forumdisplay_password,posticons_icon,attachment_icon,postbit_reputation_formatted_link,postbit_away";
$templatelist .= ",global_moderation_notice,newreply_disablesmilies,postbit_userstar,newreply_draftinput,postbit_avatar,forumdisplay_rules,postbit_offline,postbit_find,postbit_warninglevel_formatted,postbit_ignored,postbit";


$templatelist .= ",postbit_attachments_thumbnails,postbit_attachments_images,postbit_gotopost,forumdisplay_password_wrongpass,forumdisplay_password,posticons_icon,attachment_icon,postbit_reputation_formatted_link,postbit_away";
$templatelist .= ",global_moderation_notice,newreply_disablesmilies,postbit_userstar,newreply_draftinput,postbit_avatar,forumdisplay_rules,postbit_offline,postbit_find,postbit_warninglevel_formatted,postbit_ignored,postbit";


Zeile 277Zeile 277
	}
}


	}
}


$reply_errors = $quoted_ids = '';


$reply_errors = '';
$quoted_ids = array();

$hide_captcha = false;

// Check the maximum posts per day for this user

$hide_captcha = false;

// Check the maximum posts per day for this user

Zeile 770Zeile 771
			$group_permissions = forum_permissions();
$onlyusfids = array();
$onlyusforums = '';

			$group_permissions = forum_permissions();
$onlyusfids = array();
$onlyusforums = '';

			foreach($group_permissions as $fid => $forum_permissions)

			foreach($group_permissions as $gpfid => $forum_permissions)

			{
if(isset($forum_permissions['canonlyviewownthreads']) && $forum_permissions['canonlyviewownthreads'] == 1)
{

			{
if(isset($forum_permissions['canonlyviewownthreads']) && $forum_permissions['canonlyviewownthreads'] == 1)
{

					$onlyusfids[] = $fid;

					$onlyusfids[] = $gpfid;

				}
}
if(!empty($onlyusfids))

				}
}
if(!empty($onlyusfids))

Zeile 1377Zeile 1378
			}
}
eval("\$threadreview = \"".$templates->get("newreply_threadreview")."\";");

			}
}
eval("\$threadreview = \"".$templates->get("newreply_threadreview")."\";");

 
	}

// Hide signature option if no permission
$signature = '';
if($mybb->usergroup['canusesig'] == 1 && !$mybb->user['suspendsignature'])
{
eval("\$signature = \"".$templates->get('newreply_signature')."\";");

	}

// Can we disable smilies or are they disabled already?
$disablesmilies = '';
if($forum['allowsmilies'] != 0)

	}

// Can we disable smilies or are they disabled already?
$disablesmilies = '';
if($forum['allowsmilies'] != 0)

	{

	{

		eval("\$disablesmilies = \"".$templates->get("newreply_disablesmilies")."\";");

		eval("\$disablesmilies = \"".$templates->get("newreply_disablesmilies")."\";");

 
	}

$postoptions = '';
if(!empty($signature) || !empty($disablesmilies))
{
eval("\$postoptions = \"".$templates->get("newreply_postoptions")."\";");
$bgcolor = "trow2";

	}
else
{

	}
else
{

		eval("\$disablesmilies = \"".$templates->get("newreply_disablesmilies_hidden")."\";");

		$bgcolor = "trow1";

	}

$modoptions = '';

	}

$modoptions = '';

Zeile 1412Zeile 1427
		{
$closed = $thread['closed'];
$stuck = $thread['sticky'];

		{
$closed = $thread['closed'];
$stuck = $thread['sticky'];

		}


		}


		if($closed)

		if($closed)

		{

		{

			$closecheck = ' checked="checked"';

			$closecheck = ' checked="checked"';

		}
else
{

		}
else
{

			$closecheck = '';
}

if($stuck)
{
$stickycheck = ' checked="checked"';

			$closecheck = '';
}

if($stuck)
{
$stickycheck = ' checked="checked"';

		}























		}
else
{
$stickycheck = '';
}

$closeoption = '';
if(is_moderator($thread['fid'], "canopenclosethreads"))
{
eval("\$closeoption = \"".$templates->get("newreply_modoptions_close")."\";");
}

$stickoption = '';
if(is_moderator($thread['fid'], "canstickunstickthreads"))
{
eval("\$stickoption = \"".$templates->get("newreply_modoptions_stick")."\";");
}

if(!empty($closeoption) || !empty($stickoption))
{
eval("\$modoptions = \"".$templates->get("newreply_modoptions")."\";");
$bgcolor = "trow1";
}

		else
{

		else
{

			$stickycheck = '';

			$bgcolor = "trow2";

		}

		}


eval("\$modoptions = \"".$templates->get("newreply_modoptions")."\";");
$bgcolor = "trow1";

 
	}
else
{

	}
else
{