Vergleich admin/modules/config/mod_tools.php - 1.8.4 - 1.8.23

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 177Zeile 177
			$forum_checked[1] = '';
$forum_checked[2] = "checked=\"checked\"";


			$forum_checked[1] = '';
$forum_checked[2] = "checked=\"checked\"";


			if(count($mybb->input['forum_1_forums']) < 1)

			if(is_array($mybb->input['forum_1_forums']) && count($mybb->input['forum_1_forums']) < 1)

			{
$errors[] = $lang->error_no_forums_selected;
}

			{
$errors[] = $lang->error_no_forums_selected;
}

Zeile 195Zeile 195
			$group_checked[1] = '';
$group_checked[2] = "checked=\"checked\"";


			$group_checked[1] = '';
$group_checked[2] = "checked=\"checked\"";


			if(count($mybb->input['group_1_groups']) < 1)

			if(is_array($mybb->input['group_1_groups']) && count($mybb->input['group_1_groups']) < 1)

			{
$errors[] = $lang->error_no_groups_selected;
}

			{
$errors[] = $lang->error_no_groups_selected;
}

Zeile 296Zeile 296
		if(!$errors)
{
$thread_options = array(

		if(!$errors)
{
$thread_options = array(

				'confirmation' => $mybb->input['confirmation'],
'deletethread' => $mybb->input['deletethread'],
'mergethreads' => $mybb->input['mergethreads'],
'deletepoll' => $mybb->input['deletepoll'],
'removeredirects' => $mybb->input['removeredirects'],
'removesubscriptions' => $mybb->input['removesubscriptions'],
'recountrebuild' => $mybb->input['recountrebuild'],

				'confirmation' => $mybb->get_input('confirmation', MyBB::INPUT_INT),
'deletethread' => $mybb->get_input('deletethread', MyBB::INPUT_INT),
'mergethreads' => $mybb->get_input('mergethreads', MyBB::INPUT_INT),
'deletepoll' => $mybb->get_input('deletepoll', MyBB::INPUT_INT),
'removeredirects' => $mybb->get_input('removeredirects', MyBB::INPUT_INT),
'removesubscriptions' => $mybb->get_input('removesubscriptions', MyBB::INPUT_INT),
'recountrebuild' => $mybb->get_input('recountrebuild', MyBB::INPUT_INT),

				'approvethread' => $mybb->input['approvethread'],
'softdeletethread' => $mybb->input['softdeletethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'approvethread' => $mybb->input['approvethread'],
'softdeletethread' => $mybb->input['softdeletethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'movethreadredirect' => $mybb->input['move_2_redirect'],

				'movethreadredirect' => $mybb->get_input('move_2_redirect', MyBB::INPUT_INT),

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

Zeile 680Zeile 680
			$forum_checked[1] = '';
$forum_checked[2] = "checked=\"checked\"";


			$forum_checked[1] = '';
$forum_checked[2] = "checked=\"checked\"";


			if(count($mybb->input['forum_1_forums']) < 1)

			if(is_array($mybb->input['forum_1_forums']) && count($mybb->input['forum_1_forums']) < 1)

			{
$errors[] = $lang->error_no_forums_selected;
}

			{
$errors[] = $lang->error_no_forums_selected;
}

Zeile 698Zeile 698
			$group_checked[1] = '';
$group_checked[2] = "checked=\"checked\"";


			$group_checked[1] = '';
$group_checked[2] = "checked=\"checked\"";


			if(count($mybb->input['group_1_groups']) < 1)

			if(is_array($mybb->input['group_1_groups']) && count($mybb->input['group_1_groups']) < 1)

			{
$errors[] = $lang->error_no_groups_selected;
}

			{
$errors[] = $lang->error_no_groups_selected;
}

Zeile 731Zeile 731
			$mybb->input['stickthread'] = '';
}


			$mybb->input['stickthread'] = '';
}


		if(!$mybb->get_input('threadprefix', MyBB::INPUT_INT))

		if(!isset($mybb->input['threadprefix']))

		{
$mybb->input['threadprefix'] = '';
}

		{
$mybb->input['threadprefix'] = '';
}

Zeile 794Zeile 794
		if(!$errors)
{
$thread_options = array(

		if(!$errors)
{
$thread_options = array(

				'confirmation' => $mybb->input['confirmation'],
'deletethread' => $mybb->input['deletethread'],
'mergethreads' => $mybb->input['mergethreads'],
'deletepoll' => $mybb->input['deletepoll'],
'removeredirects' => $mybb->input['removeredirects'],
'removesubscriptions' => $mybb->input['removesubscriptions'],
'recountrebuild' => $mybb->input['recountrebuild'],

				'confirmation' => $mybb->get_input('confirmation', MyBB::INPUT_INT),
'deletethread' => $mybb->get_input('deletethread', MyBB::INPUT_INT),
'mergethreads' => $mybb->get_input('mergethreads', MyBB::INPUT_INT),
'deletepoll' => $mybb->get_input('deletepoll', MyBB::INPUT_INT),
'removeredirects' => $mybb->get_input('removeredirects', MyBB::INPUT_INT),
'removesubscriptions' => $mybb->get_input('removesubscriptions', MyBB::INPUT_INT),
'recountrebuild' => $mybb->get_input('recountrebuild', MyBB::INPUT_INT),

				'approvethread' => $mybb->input['approvethread'],
'softdeletethread' => $mybb->input['softdeletethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'approvethread' => $mybb->input['approvethread'],
'softdeletethread' => $mybb->input['softdeletethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'movethreadredirect' => $mybb->input['move_2_redirect'],

				'movethreadredirect' => $mybb->get_input('move_2_redirect', MyBB::INPUT_INT),

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

Zeile 1157Zeile 1157

if($mybb->input['forum_type'] == 2)
{


if($mybb->input['forum_type'] == 2)
{

			if(count($mybb->input['forum_1_forums']) < 1)

			if(is_array($mybb->input['forum_1_forums']) && count($mybb->input['forum_1_forums']) < 1)

			{
$errors[] = $lang->error_no_forums_selected;
}

			{
$errors[] = $lang->error_no_forums_selected;
}

Zeile 1169Zeile 1169

if($mybb->input['group_type'] == 2)
{


if($mybb->input['group_type'] == 2)
{

			if(count($mybb->input['group_1_groups']) < 1)

			if(is_array($mybb->input['group_1_groups']) && count($mybb->input['group_1_groups']) < 1)

			{
$errors[] = $lang->error_no_groups_selected;
}

			{
$errors[] = $lang->error_no_groups_selected;
}

Zeile 1287Zeile 1287
		if(!$errors)
{
$thread_options = array(

		if(!$errors)
{
$thread_options = array(

				'confirmation' => $mybb->input['confirmation'],
'deletethread' => $mybb->input['deletethread'],

				'confirmation' => $mybb->get_input('confirmation', MyBB::INPUT_INT),
'deletethread' => $mybb->get_input('deletethread', MyBB::INPUT_INT),

				'softdeletethread' => $mybb->input['softdeletethread'],
'approvethread' => $mybb->input['approvethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'softdeletethread' => $mybb->input['softdeletethread'],
'approvethread' => $mybb->input['approvethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'movethreadredirect' => $mybb->input['move_2_redirect'],

				'movethreadredirect' => $mybb->get_input('move_2_redirect', MyBB::INPUT_INT),

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

Zeile 1311Zeile 1311
			}

$post_options = array(

			}

$post_options = array(

				'deleteposts' => $mybb->input['deleteposts'],

				'deleteposts' => $mybb->get_input('deleteposts', MyBB::INPUT_INT),

				'softdeleteposts' => $mybb->input['softdeleteposts'],

				'softdeleteposts' => $mybb->input['softdeleteposts'],

				'mergeposts' => $mybb->input['mergeposts'],

				'mergeposts' =>$mybb->get_input('mergeposts', MyBB::INPUT_INT),

				'approveposts' => $mybb->input['approveposts'],
'splitposts' => $mybb->get_input('splitposts', MyBB::INPUT_INT),
'splitpostsclose' => $mybb->input['splitpostsclose'],

				'approveposts' => $mybb->input['approveposts'],
'splitposts' => $mybb->get_input('splitposts', MyBB::INPUT_INT),
'splitpostsclose' => $mybb->input['splitpostsclose'],

Zeile 1763Zeile 1763
			$forum_checked[1] = '';
$forum_checked[2] = "checked=\"checked\"";


			$forum_checked[1] = '';
$forum_checked[2] = "checked=\"checked\"";


			if(count($mybb->input['forum_1_forums']) < 1)

			if(is_array($mybb->input['forum_1_forums']) && count($mybb->input['forum_1_forums']) < 1)

			{
$errors[] = $lang->error_no_forums_selected;
}

			{
$errors[] = $lang->error_no_forums_selected;
}

Zeile 1781Zeile 1781
			$group_checked[1] = '';
$group_checked[2] = "checked=\"checked\"";


			$group_checked[1] = '';
$group_checked[2] = "checked=\"checked\"";


			if(count($mybb->input['group_1_groups']) < 1)

			if(is_array($mybb->input['group_1_groups']) && count($mybb->input['group_1_groups']) < 1)

			{
$errors[] = $lang->error_no_groups_selected;
}

			{
$errors[] = $lang->error_no_groups_selected;
}

Zeile 1924Zeile 1924
		if(!$errors)
{
$thread_options = array(

		if(!$errors)
{
$thread_options = array(

				'confirmation' => $mybb->input['confirmation'],
'deletethread' => $mybb->input['deletethread'],

				'confirmation' => $mybb->get_input('confirmation', MyBB::INPUT_INT),
'deletethread' => $mybb->get_input('deletethread', MyBB::INPUT_INT),

				'softdeletethread' => $mybb->input['softdeletethread'],
'approvethread' => $mybb->input['approvethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'softdeletethread' => $mybb->input['softdeletethread'],
'approvethread' => $mybb->input['approvethread'],
'openthread' => $mybb->input['openthread'],
'stickthread' => $mybb->input['stickthread'],
'movethread' => $mybb->get_input('move_1_forum', MyBB::INPUT_INT),

				'movethreadredirect' => $mybb->input['move_2_redirect'],

				'movethreadredirect' => $mybb->get_input('move_2_redirect', MyBB::INPUT_INT),

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

				'movethreadredirectexpire' => $mybb->get_input('move_3_redirecttime', MyBB::INPUT_INT),
'copythread' => $mybb->get_input('copy_1_forum', MyBB::INPUT_INT),
'newsubject' => $mybb->input['newsubject'],

Zeile 1948Zeile 1948
			}

$post_options = array(

			}

$post_options = array(

				'deleteposts' => $mybb->input['deleteposts'],

				'deleteposts' => $mybb->get_input('deleteposts', MyBB::INPUT_INT),

				'softdeleteposts' => $mybb->input['softdeleteposts'],

				'softdeleteposts' => $mybb->input['softdeleteposts'],

				'mergeposts' => $mybb->input['mergeposts'],

				'mergeposts' => $mybb->get_input('mergeposts', MyBB::INPUT_INT),

				'approveposts' => $mybb->input['approveposts'],
'splitposts' => $mybb->get_input('splitposts', MyBB::INPUT_INT),
'splitpostsclose' => $mybb->input['splitpostsclose'],

				'approveposts' => $mybb->input['approveposts'],
'splitposts' => $mybb->get_input('splitposts', MyBB::INPUT_INT),
'splitpostsclose' => $mybb->input['splitpostsclose'],