Zeile 1294 | Zeile 1294 |
---|
if($mybb->request_method == "post") {
|
if($mybb->request_method == "post") {
|
if(!$mybb->input['name'])
| // Do we not have a name, or is it just an extension? if(!$mybb->input['name'] || $mybb->input['name'] == ".css")
|
{ $errors[] = $lang->error_missing_stylesheet_name; }
| { $errors[] = $lang->error_missing_stylesheet_name; }
|
Zeile 1985 | Zeile 1986 |
---|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
<link type="text/css" href="./jscripts/codepress/languages/codepress-css.css" rel="stylesheet" id="cp-lang-style" />
| <link type="text/css" href="./jscripts/codepress/languages/css.css" rel="stylesheet" id="cp-lang-style" />
|
<script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\';
| <script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\';
|
Zeile 2191 | Zeile 2192 |
---|
if($mybb->request_method == "post") {
|
if($mybb->request_method == "post") {
|
if(!$mybb->input['name'])
| if(!$mybb->input['name'] || $mybb->input['name'] == ".css")
|
{ $errors[] = $lang->error_missing_stylesheet_name; }
| { $errors[] = $lang->error_missing_stylesheet_name; }
|
Zeile 2284 | Zeile 2285 |
---|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
if($admin_options['codepress'] != 0) { $page->extra_header .= '
|
<link type="text/css" href="./jscripts/codepress/languages/codepress-css.css" rel="stylesheet" id="cp-lang-style" />
| <link type="text/css" href="./jscripts/codepress/languages/css.css" rel="stylesheet" id="cp-lang-style" />
|
<script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\';
| <script type="text/javascript" src="./jscripts/codepress/codepress.js"></script> <script type="text/javascript"> CodePress.language = \'css\';
|