Zeile 1302 | Zeile 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 2209 | Zeile 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']);
|