1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

- added "display_on_posting" setting to custom bbcodes (creates a button with the bbcode tag)

- fixed forum editing and parent id selection
- completely removed HTML support (it only creates security problems)
- changed cache_moderators() to reflect permission changes


git-svn-id: file:///svn/phpbb/trunk@5603 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-03-06 14:03:56 +00:00
parent 14b6714c93
commit c01597499c
42 changed files with 324 additions and 330 deletions

View File

@@ -81,6 +81,7 @@ CREATE TABLE phpbb_banlist (
CREATE TABLE phpbb_bbcodes (
bbcode_id INTEGER DEFAULT 0 NOT NULL,
bbcode_tag VARCHAR(16) NOT NULL,
display_on_posting INTEGER DEFAULT 0 NOT NULL,
bbcode_match VARCHAR(255) NOT NULL,
bbcode_tpl BLOB SUB_TYPE TEXT NOT NULL,
first_pass_match VARCHAR(255) NOT NULL,
@@ -331,7 +332,6 @@ CREATE TABLE phpbb_posts (
post_approved INTEGER DEFAULT 1 NOT NULL,
post_reported INTEGER DEFAULT 0 NOT NULL,
enable_bbcode INTEGER DEFAULT 1 NOT NULL,
enable_html INTEGER DEFAULT 0 NOT NULL,
enable_smilies INTEGER DEFAULT 1 NOT NULL,
enable_magic_url INTEGER DEFAULT 1 NOT NULL,
enable_sig INTEGER DEFAULT 1 NOT NULL,
@@ -360,7 +360,6 @@ CREATE TABLE phpbb_privmsgs (
message_time INTEGER DEFAULT 0 NOT NULL,
message_reported INTEGER DEFAULT 0 NOT NULL,
enable_bbcode INTEGER DEFAULT 1 NOT NULL,
enable_html INTEGER DEFAULT 0 NOT NULL,
enable_smilies INTEGER DEFAULT 1 NOT NULL,
enable_magic_url INTEGER DEFAULT 1 NOT NULL,
enable_sig INTEGER DEFAULT 1 NOT NULL,
@@ -956,6 +955,11 @@ ADD PRIMARY KEY (
confirm_id
);;
CREATE INDEX display_on_posting
ON phpbb_bbcodes(
display_on_posting
);;
ALTER TABLE phpbb_disallow
ADD PRIMARY KEY (
disallow_id