Vergleich admin/modules/config/warning.php - 1.8.5 - 1.8.23

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 542Zeile 542
			$errors[] = $lang->error_missing_type_title;
}


			$errors[] = $lang->error_missing_type_title;
}


		if(!is_numeric($mybb->input['points']) || $mybb->input['points'] > $mybb->settings['maxwarningpoints'] || $mybb->input['points'] < 0)

		if(!is_numeric($mybb->input['points']) || $mybb->input['points'] > $mybb->settings['maxwarningpoints'] || $mybb->input['points'] <= 0)

		{
$errors[] = $lang->sprintf($lang->error_missing_type_points, $mybb->settings['maxwarningpoints']);
}

		{
$errors[] = $lang->sprintf($lang->error_missing_type_points, $mybb->settings['maxwarningpoints']);
}

Zeile 744Zeile 744
	while($type = $db->fetch_array($query))
{
$type['name'] = htmlspecialchars_uni($type['title']);

	while($type = $db->fetch_array($query))
{
$type['name'] = htmlspecialchars_uni($type['title']);

		$table->construct_cell("<a href=\"index.php?module=config-warning&amp;action=edit_type&amp;tid={$type['tid']}\"><strong>{$type['title']}</strong></a>");

		$table->construct_cell("<a href=\"index.php?module=config-warning&amp;action=edit_type&amp;tid={$type['tid']}\"><strong>{$type['name']}</strong></a>");

		$table->construct_cell("{$type['points']}", array("class" => "align_center"));
$expiration = fetch_friendly_expiration($type['expirationtime']);
$lang_str = "expiration_".$expiration['period'];

		$table->construct_cell("{$type['points']}", array("class" => "align_center"));
$expiration = fetch_friendly_expiration($type['expirationtime']);
$lang_str = "expiration_".$expiration['period'];