Vergleich admin/themes.php - 1.2.8 - 1.2.14
Zeile 6 | Zeile 6 |
---|---|
* Website: http://www.mybboard.net |
* Website: http://www.mybboard.net |
* $Id: themes.php 2932 2007-03-10 05:48:55Z chris $ | * $Id: themes.php 3694 2008-03-01 16:07:38Z Tikitiki $ |
*/ | */ |
Zeile 167 | Zeile 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"; | $xml .= "<theme name=\"".$theme['name']."\" version=\"".$mybb->version_code."\">\r\n"; |
Zeile 354 | Zeile 354 |
} |
} |
$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(); | $templateset = $db->insert_id(); |
Zeile 365 | Zeile 365 |
{ |
{ |
$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(); | $time = time(); |