Vergleich warnings.php - 1.6.11 - 1.6.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 634Zeile 634
					$ban_length = fetch_friendly_expiration($level['action']['length']);
$lang_str = "expiration_".$ban_length['period'];
$period = $lang->sprintf($lang->result_period, $ban_length['time'], $lang->$lang_str);

					$ban_length = fetch_friendly_expiration($level['action']['length']);
$lang_str = "expiration_".$ban_length['period'];
$period = $lang->sprintf($lang->result_period, $ban_length['time'], $lang->$lang_str);

 
				}
else
{
$period = $lang->result_period_perm;

				}
$group_name = $groupscache[$level['action']['usergroup']]['title'];
$level['friendly_action'] = $lang->sprintf($lang->result_banned, $group_name, $period);

				}
$group_name = $groupscache[$level['action']['usergroup']]['title'];
$level['friendly_action'] = $lang->sprintf($lang->result_banned, $group_name, $period);

				break;

				break;

			case 2:

			case 2:

				if($level['action']['length'] > 0)
{
$period = fetch_friendly_expiration($level['action']['length']);
$lang_str = "expiration_".$period['period'];
$period = $lang->sprintf($lang->result_period, $period['time'], $lang->$lang_str);





				if($level['action']['length'] > 0)
{
$period = fetch_friendly_expiration($level['action']['length']);
$lang_str = "expiration_".$period['period'];
$period = $lang->sprintf($lang->result_period, $period['time'], $lang->$lang_str);
}
else
{
$period = $lang->result_period_perm;

				}
$level['friendly_action'] = $lang->sprintf($lang->result_suspended, $period);
break;

				}
$level['friendly_action'] = $lang->sprintf($lang->result_suspended, $period);
break;

Zeile 653Zeile 661
					$period = fetch_friendly_expiration($level['action']['length']);
$lang_str = "expiration_".$period['period'];
$period = $lang->sprintf($lang->result_period, $period['time'], $lang->$lang_str);

					$period = fetch_friendly_expiration($level['action']['length']);
$lang_str = "expiration_".$period['period'];
$period = $lang->sprintf($lang->result_period, $period['time'], $lang->$lang_str);

 
				}
else
{
$period = $lang->result_period_perm;

				}
$level['friendly_action'] = $lang->sprintf($lang->result_moderated, $period);
break;

				}
$level['friendly_action'] = $lang->sprintf($lang->result_moderated, $period);
break;

Zeile 1048Zeile 1060
	add_breadcrumb($lang->nav_profile, get_profile_link($user['uid']));
add_breadcrumb($lang->nav_warning_log);


	add_breadcrumb($lang->nav_profile, get_profile_link($user['uid']));
add_breadcrumb($lang->nav_warning_log);


	if(!$mybb->settings['postsperpage'])

	if(!$mybb->settings['postsperpage'] || (int)$mybb->settings['postsperpage'] < 1)

	{

	{

		$mybb->settings['postperpage'] = 20;

		$mybb->settings['postsperpage'] = 20;

	}

// Figure out if we need to display multiple pages.

	}

// Figure out if we need to display multiple pages.