Zeile 3 | Zeile 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 2255 2006-09-24 06:32:57Z Tikitiki $
| * $Id: themes.php 3285 2007-09-01 05:49:38Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 58 | Zeile 58 |
---|
$themearray = array( "name" => $db->escape_string($mybb->input['name']), "pid" => $mybb->input['pid'],
|
$themearray = array( "name" => $db->escape_string($mybb->input['name']), "pid" => $mybb->input['pid'],
|
| "css" => '', "cssbits" => '', "themebits" => '', "extracss" => '', "allowedgroups" => ''
|
); $plugins->run_hooks("admin_themes_do_add"); $db->insert_query(TABLE_PREFIX."themes", $themearray);
| ); $plugins->run_hooks("admin_themes_do_add"); $db->insert_query(TABLE_PREFIX."themes", $themearray);
|
Zeile 162 | 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"; function xml_css_bits($css, $depth) {
| $xml .= "<theme name=\"".$theme['name']."\" version=\"".$mybb->version_code."\">\r\n"; function xml_css_bits($css, $depth) {
|
Zeile 376 | Zeile 381 |
---|
"name" => $db->escape_string($name), "pid" => $mybb->input['pid'], "allowedgroups" => 'all',
|
"name" => $db->escape_string($name), "pid" => $mybb->input['pid'], "allowedgroups" => 'all',
|
| "css" => '', "cssbits" => '', "themebits" => '', "extracss" => ''
|
);
$db->insert_query(TABLE_PREFIX."themes", $themearray);
| );
$db->insert_query(TABLE_PREFIX."themes", $themearray);
|