Vergleich admin/modules/config/thread_prefixes.php - 1.8.10 - 1.8.21

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 49Zeile 49

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 64Zeile 64

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 125Zeile 125
			$plugins->run_hooks('admin_config_thread_prefixes_add_prefix_commit');

// Log admin action

			$plugins->run_hooks('admin_config_thread_prefixes_add_prefix_commit');

// Log admin action

			log_admin_action($pid, htmlspecialchars_uni($mybb->input['prefix']));

			log_admin_action($pid, $mybb->input['prefix']);

			$cache->update_threadprefixes();

flash_message($lang->success_thread_prefix_created, 'success');

			$cache->update_threadprefixes();

flash_message($lang->success_thread_prefix_created, 'success');

Zeile 251Zeile 251

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 266Zeile 266

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 327Zeile 327
			$db->update_query('threadprefixes', $update_prefix, "pid='{$prefix['pid']}'");

// Log admin action

			$db->update_query('threadprefixes', $update_prefix, "pid='{$prefix['pid']}'");

// Log admin action

			log_admin_action($prefix['pid'], htmlspecialchars_uni($mybb->input['prefix']));

			log_admin_action($prefix['pid'], $mybb->input['prefix']);

			$cache->update_threadprefixes();

flash_message($lang->success_thread_prefix_updated, 'success');

			$cache->update_threadprefixes();

flash_message($lang->success_thread_prefix_updated, 'success');

Zeile 489Zeile 489
		$db->update_query('threads', $update_threads, "prefix='{$prefix['pid']}'");

// Log admin action

		$db->update_query('threads', $update_threads, "prefix='{$prefix['pid']}'");

// Log admin action

		log_admin_action($prefix['pid'], htmlspecialchars_uni($prefix['prefix']));

		log_admin_action($prefix['pid'], $prefix['prefix']);

		$cache->update_threadprefixes();

flash_message($lang->success_thread_prefix_deleted, 'success');

		$cache->update_threadprefixes();

flash_message($lang->success_thread_prefix_deleted, 'success');