mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Ooops, sorry
git-svn-id: file:///svn/phpbb/trunk@7630 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
25e2411494
commit
41aae48ad3
1 changed files with 3 additions and 8 deletions
|
@ -99,7 +99,7 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||||
'forum_link', 'forum_read', 'forum_read_locked', 'forum_read_subforum', 'forum_unread', 'forum_unread_locked', 'forum_unread_subforum', 'subforum_read', 'subforum_unread'
|
'forum_link', 'forum_read', 'forum_read_locked', 'forum_read_subforum', 'forum_unread', 'forum_unread_locked', 'forum_unread_subforum', 'subforum_read', 'subforum_unread'
|
||||||
),
|
),
|
||||||
'folders' => array(
|
'folders' => array(
|
||||||
'topic_moved', 'topic_read', 'topic_read_mine', 'topic_read_hot', 'topic_read_hot_mine', 'topic_read_locked', 'topic_read_locked_mine', 'topic_unread', 'topic_unread_mine', 'topic_unread_hot', 'topic_unread_hot_mine', 'topic_unread_locked', 'topic_unread_locked_mine', 'sticky_read', 'sticky_read_mine', 'sticky_read_locked', 'sticky_read_locked_mine', 'sticky_unread', 'sticky_unread_mine', 'sticky_unread_locked', 'sticky_unread_locked_mine', 'announce_read', 'announce_read_mine', 'announce_read_locked', 'announce_read_locked_mine', 'announce_unread', 'announce_unread_mine', 'announce_unread_locked', 'announce_unread_locked_mine', 'global_read', 'global_read_mine', 'global_read_locked', 'global_read_locked_mine', 'global_unread', 'global_unread_mine', 'global_unread_locked', 'global_unread_locked_mine', 'subforum_read', 'subforum_unread', 'pm_read', 'pm_unread',
|
'topic_moved', 'topic_read', 'topic_read_mine', 'topic_read_hot', 'topic_read_hot_mine', 'topic_read_locked', 'topic_read_locked_mine', 'topic_unread', 'topic_unread_mine', 'topic_unread_hot', 'topic_unread_hot_mine', 'topic_unread_locked', 'topic_unread_locked_mine', 'sticky_read', 'sticky_read_mine', 'sticky_read_locked', 'sticky_read_locked_mine', 'sticky_unread', 'sticky_unread_mine', 'sticky_unread_locked', 'sticky_unread_locked_mine', 'announce_read', 'announce_read_mine', 'announce_read_locked', 'announce_read_locked_mine', 'announce_unread', 'announce_unread_mine', 'announce_unread_locked', 'announce_unread_locked_mine', 'global_read', 'global_read_mine', 'global_read_locked', 'global_read_locked_mine', 'global_unread', 'global_unread_mine', 'global_unread_locked', 'global_unread_locked_mine', 'pm_read', 'pm_unread',
|
||||||
),
|
),
|
||||||
'polls' => array(
|
'polls' => array(
|
||||||
'poll_left', 'poll_center', 'poll_right',
|
'poll_left', 'poll_center', 'poll_right',
|
||||||
|
@ -1958,7 +1958,7 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||||
*/
|
*/
|
||||||
function details($mode, $style_id)
|
function details($mode, $style_id)
|
||||||
{
|
{
|
||||||
global $template, $db, $config, $cache, $user, $safe_mode, $cache, $phpbb_root_path;
|
global $template, $db, $config, $user, $safe_mode, $cache, $phpbb_root_path;
|
||||||
|
|
||||||
$update = (isset($_POST['update'])) ? true : false;
|
$update = (isset($_POST['update'])) ? true : false;
|
||||||
$l_type = strtoupper($mode);
|
$l_type = strtoupper($mode);
|
||||||
|
@ -2156,11 +2156,6 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||||
$filelist = filelist("{$phpbb_root_path}styles/{$style_row['template_path']}/template", '', 'html');
|
$filelist = filelist("{$phpbb_root_path}styles/{$style_row['template_path']}/template", '', 'html');
|
||||||
$this->store_templates('insert', $style_id, $style_row['template_path'], $filelist);
|
$this->store_templates('insert', $style_id, $style_row['template_path'], $filelist);
|
||||||
}
|
}
|
||||||
else if (!$store_db)
|
|
||||||
{
|
|
||||||
// template files not writable or similar error - leave as is
|
|
||||||
$store_db = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
$sql_ary += array(
|
$sql_ary += array(
|
||||||
'template_storedb' => $store_db,
|
'template_storedb' => $store_db,
|
||||||
|
|
Loading…
Add table
Reference in a new issue