Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: themes.php 2154 2006-08-27 16:52:47Z Tikitiki $
| * $Id: themes.php 2389 2006-11-07 22:59:42Z 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 349 | Zeile 354 |
---|
} else {
|
} else {
|
$db->query("INSERT INTO ".TABLE_PREFIX."templatesets VALUES ('', '$name Templates')");
| $db->query("INSERT INTO ".TABLE_PREFIX."templatesets (title) VALUES ('$name Templates')");
|
$templateset = $db->insert_id(); $tid = ""; }
| $templateset = $db->insert_id(); $tid = ""; }
|
Zeile 375 | Zeile 380 |
---|
$themearray = array( "name" => $db->escape_string($name), "pid" => $mybb->input['pid'],
|
$themearray = array( "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);
|