Vergleich admin/modules/style/themes.php - 1.6.0 - 1.6.2

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1294Zeile 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 1985Zeile 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 2191Zeile 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 2284Zeile 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\';