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

- bugfixes

- default sort options for posts too
- adjusted format_date to remove the (time intensive) preg_ calls
- temporary style.php code.


git-svn-id: file:///svn/phpbb/trunk@5068 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2005-01-20 20:57:45 +00:00
parent a7ef13c639
commit 9c1a4bdac1
21 changed files with 221 additions and 86 deletions

View File

@@ -755,9 +755,14 @@ CREATE TABLE phpbb_users (
user_message_rules INTEGER DEFAULT 0 NOT NULL,
user_full_folder INTEGER DEFAULT -3 NOT NULL,
user_emailtime INTEGER DEFAULT 0 NOT NULL,
user_sortby_type VARCHAR(1) NOT NULL,
user_sortby_dir VARCHAR(1) NOT NULL,
user_show_days INTEGER DEFAULT 0 NOT NULL,
user_sortby_type VARCHAR(2) NOT NULL,
user_sortby_dir VARCHAR(2) NOT NULL,
user_topic_show_days INTEGER DEFAULT 0 NOT NULL,
user_topic_sortby_type VARCHAR(1) NOT NULL,
user_topic_sortby_dir VARCHAR(1) NOT NULL,
user_post_show_days INTEGER DEFAULT 0 NOT NULL,
user_post_sortby_type VARCHAR(2) NOT NULL,
user_post_sortby_dir VARCHAR(2) NOT NULL,
user_notify INTEGER DEFAULT 0 NOT NULL,
user_notify_pm INTEGER DEFAULT 1 NOT NULL,
user_notify_type INTEGER DEFAULT 0 NOT NULL,

View File

@@ -760,9 +760,12 @@ CREATE TABLE [phpbb_users] (
[user_message_rules] [int] NOT NULL ,
[user_full_folder] [int] NOT NULL ,
[user_emailtime] [int] NOT NULL ,
[user_sortby_type] [varchar] (1) NOT NULL ,
[user_sortby_dir] [varchar] (1) NOT NULL ,
[user_show_days] [int] NOT NULL ,
[user_post_show_days] [int] NOT NULL ,
[user_post_sortby_type] [varchar] (1) NOT NULL ,
[user_post_sortby_dir] [varchar] (1) NOT NULL ,
[user_topic_show_days] [int] NOT NULL ,
[user_topic_sortby_type] [varchar] (1) NOT NULL ,
[user_topic_sortby_dir] [varchar] (1) NOT NULL ,
[user_notify] [int] NOT NULL ,
[user_notify_pm] [int] NOT NULL ,
[user_notify_type] [int] NOT NULL ,
@@ -1557,7 +1560,8 @@ ALTER TABLE [phpbb_users] WITH NOCHECK ADD
CONSTRAINT [DF_users__user_message_rules] DEFAULT (0) FOR [user_message_rules],
CONSTRAINT [DF_users__user_full_folder] DEFAULT ((-3)) FOR [user_full_folder],
CONSTRAINT [DF_users__user_emailtime] DEFAULT (0) FOR [user_emailtime],
CONSTRAINT [DF_users__user_show_days] DEFAULT (0) FOR [user_show_days],
CONSTRAINT [DF_users__user_topic_show_days] DEFAULT (0) FOR [user_topic_show_days],
CONSTRAINT [DF_users__user_post_show_days] DEFAULT (0) FOR [user_post_show_days],
CONSTRAINT [DF_users__user_notify] DEFAULT (0) FOR [user_notify],
CONSTRAINT [DF_users__user_notify_pm] DEFAULT (1) FOR [user_notify_pm],
CONSTRAINT [DF_users__user_notify_type] DEFAULT (0) FOR [user_notify_type],

View File

@@ -874,9 +874,12 @@ CREATE TABLE phpbb_users (
user_message_rules tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
user_full_folder int(11) DEFAULT '-3' NOT NULL,
user_emailtime int(11) DEFAULT '0' NOT NULL,
user_sortby_type varchar(1) DEFAULT '' NOT NULL,
user_sortby_dir varchar(1) DEFAULT '' NOT NULL,
user_show_days tinyint(1) DEFAULT '' NOT NULL,
user_topic_show_days smallint(4) DEFAULT 0 NOT NULL,
user_topic_sortby_type varchar(1) DEFAULT '' NOT NULL,
user_topic_sortby_dir varchar(1) DEFAULT '' NOT NULL,
user_post_show_days smallint(4) DEFAULT 0 NOT NULL,
user_post_sortby_type varchar(1) DEFAULT '' NOT NULL,
user_post_sortby_dir varchar(1) DEFAULT '' NOT NULL,
user_notify tinyint(1) DEFAULT '0' NOT NULL,
user_notify_pm tinyint(1) DEFAULT '1' NOT NULL,
user_notify_type tinyint(4) DEFAULT '0' NOT NULL,

View File

@@ -1165,7 +1165,12 @@ CREATE TABLE phpbb_users (
user_emailtime INT4 DEFAULT '0' NOT NULL,
user_sortby_type varchar(1) DEFAULT '' NOT NULL,
user_sortby_dir varchar(1) DEFAULT '' NOT NULL,
user_show_days INT2 DEFAULT '' NOT NULL,
user_topic_show_days INT4 DEFAULT '0' NOT NULL,
user_topic_sortby_type varchar(1) DEFAULT '' NOT NULL,
user_topic_sortby_dir varchar(1) DEFAULT '' NOT NULL,
user_post_show_days INT4 DEFAULT '0' NOT NULL,
user_post_sortby_type varchar(1) DEFAULT '' NOT NULL,
user_post_sortby_dir varchar(1) DEFAULT '' NOT NULL,
user_notify INT2 DEFAULT '0' NOT NULL,
user_notify_pm INT2 DEFAULT '1' NOT NULL,
user_notify_type INT2 DEFAULT '0' NOT NULL,