Vergleich admin/themes.php - 1.2.2 - 1.2.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: themes.php 2389 2006-11-07 22:59:42Z Tikitiki $

 * $Id: themes.php 3694 2008-03-01 16:07:38Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 167Zeile 167
			}
}
}

			}
}
}

	$xml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?".">\r\n";

	$xml = "<?xml version=\"1.0\" encoding=\"{$lang->settings['charset']}\"?".">\r\n";

	$xml .= "<theme name=\"".$theme['name']."\" version=\"".$mybb->version_code."\">\r\n";
function xml_css_bits($css, $depth)
{

	$xml .= "<theme name=\"".$theme['name']."\" version=\"".$mybb->version_code."\">\r\n";
function xml_css_bits($css, $depth)
{

Zeile 354Zeile 354
	}
else
{

	}
else
{

		$db->query("INSERT INTO ".TABLE_PREFIX."templatesets (title) VALUES ('$name Templates')");

		$db->query("INSERT INTO ".TABLE_PREFIX."templatesets (title) VALUES ('".$db->escape_string($name)." Templates')");

		$templateset = $db->insert_id();
$tid = "";
}

		$templateset = $db->insert_id();
$tid = "";
}

Zeile 365Zeile 365
	{
foreach($templates as $template)
{

	{
foreach($templates as $template)
{

			$templatename = $template['attributes']['name'];

			$templatename = $db->escape_string($template['attributes']['name']);

			$templatevalue = $db->escape_string($template['value']);

			$templatevalue = $db->escape_string($template['value']);

			$templateversion = $template['attributes']['version'];

			$templateversion = $db->escape_string($template['attributes']['version']);

			$time = time();
$db->query("INSERT INTO ".TABLE_PREFIX."templates (title,template,sid,version,status,dateline) VALUES ('$templatename','$templatevalue','$templateset','$templateversion','','$time')");
}

			$time = time();
$db->query("INSERT INTO ".TABLE_PREFIX."templates (title,template,sid,version,status,dateline) VALUES ('$templatename','$templatevalue','$templateset','$templateversion','','$time')");
}