mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-21 07:51:33 +02:00
- introduce new function build_url to easily build a valid url from the user->page object as well as optionally removing certain keys
- changed attachment config to utilize the config build methods - cleaned up posting.php - the submit/delete_post functions are now usable (functions_posting.php) - adjusted header icons (transparency) - a bunch of fixes for mssql - bug fixes git-svn-id: file:///svn/phpbb/trunk@5902 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -31,6 +31,9 @@ class acp_styles
|
||||
global $db, $user, $auth, $template;
|
||||
global $config, $SID, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
||||
|
||||
// Hardcoded template bitfield to add for new templates
|
||||
define('TEMPLATE_BITFIELD', 6921);
|
||||
|
||||
$user->add_lang('acp/styles');
|
||||
|
||||
$this->tpl_name = 'acp_styles';
|
||||
@@ -2216,7 +2219,9 @@ pagination_sep = \'{PAGINATION_SEP}\'
|
||||
switch ($mode)
|
||||
{
|
||||
case 'template':
|
||||
// We set a pre-defined bitfield here which we may use further in 3.2
|
||||
$sql_ary += array(
|
||||
'bbcode_bitfield' => TEMPLATE_BITFIELD,
|
||||
$mode . '_storedb' => (!is_writeable("{$phpbb_root_path}styles/$path/$mode")) ? 1 : 0
|
||||
);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user