Improve strings for custom CSS

This commit is contained in:
Hyleus
2017-12-22 10:15:19 +01:00
parent 3abc0e22e7
commit 4d459cc1bb
2 changed files with 3 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ class UserController extends Controller
$user->style = (int)Request::get('theme');
$css_url = Request::get('custom_css');
if (isset($css_url) && filter_var($css_url, FILTER_VALIDATE_URL) === false) {
return redirect()->back()->with(Toastr::warning('The CSS URL is invalid!', 'Error', ['options']));
return redirect()->back()->with(Toastr::warning('The URL for the external CSS stylesheet is invalid, try it again with a valid URL.', 'Error', ['options']));
} else {
$user->custom_css = $css_url;
}