Vergleich admin/modules/style/themes.php - 1.6.12 - 1.6.13

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


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


		if(substr($mybb->input['name'], -4) != ".css")



		// Get 30 chars only because we don't want more than that
$mybb->input['name'] = my_substr($mybb->input['name'], 0, 30);
if(get_extension($mybb->input['name']) != "css")

		{
// Does not end with '.css'
$errors[] = $lang->sprintf($lang->error_missing_stylesheet_extension, $mybb->input['name']);

		{
// Does not end with '.css'
$errors[] = $lang->sprintf($lang->error_missing_stylesheet_extension, $mybb->input['name']);

Zeile 2209Zeile 2211
			$errors[] = $lang->error_missing_stylesheet_name;
}


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


		if(substr($mybb->input['name'], -4) != ".css")



		// Get 30 chars only because we don't want more than that
$mybb->input['name'] = my_substr($mybb->input['name'], 0, 30);
if(get_extension($mybb->input['name']) != "css")

		{
// Does not end with '.css'
$errors[] = $lang->sprintf($lang->error_missing_stylesheet_extension, $mybb->input['name']);

		{
// Does not end with '.css'
$errors[] = $lang->sprintf($lang->error_missing_stylesheet_extension, $mybb->input['name']);