aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-04-08 17:40:36 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-04-08 17:40:36 +0000
commit887863e5c5ba80cd1bcbcd6097719afe2178c672 (patch)
treee8b433b0b9aaf9266315448c96aa6ac6a0be2f6c /phpBB/develop
parent0be22140b2338b4b77f257fd3c2928d5038287fd (diff)
downloadforums-887863e5c5ba80cd1bcbcd6097719afe2178c672.tar
forums-887863e5c5ba80cd1bcbcd6097719afe2178c672.tar.gz
forums-887863e5c5ba80cd1bcbcd6097719afe2178c672.tar.bz2
forums-887863e5c5ba80cd1bcbcd6097719afe2178c672.tar.xz
forums-887863e5c5ba80cd1bcbcd6097719afe2178c672.zip
- overhaul of imagesets
imagesets are now "intelligently" multilingual, one may use imagesets inside of CSS files now (as well as properties like the width and height of an imageset's image) all previous styles should change their imageset.cfg to be like prosilver and subsilver2 (notice how there is now an imageset.cfg in the /en folder, there should be one for each language) git-svn-id: file:///svn/phpbb/trunk@7304 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/create_schema_files.php125
1 files changed, 16 insertions, 109 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index bc4e20e035..75017328a0 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1628,115 +1628,6 @@ function get_schema_struct()
'imageset_name' => array('VCHAR_UNI:255', ''),
'imageset_copyright' => array('VCHAR_UNI', ''),
'imageset_path' => array('VCHAR:100', ''),
-
- 'site_logo' => array('VCHAR:200', ''),
- 'upload_bar' => array('VCHAR:200', ''),
- 'poll_left' => array('VCHAR:200', ''),
- 'poll_center' => array('VCHAR:200', ''),
- 'poll_right' => array('VCHAR:200', ''),
- 'icon_friend' => array('VCHAR:200', ''),
- 'icon_foe' => array('VCHAR:200', ''),
-
- 'forum_link' => array('VCHAR:200', ''),
- 'forum_read' => array('VCHAR:200', ''),
- 'forum_read_locked' => array('VCHAR:200', ''),
- 'forum_read_subforum' => array('VCHAR:200', ''),
- 'forum_unread' => array('VCHAR:200', ''),
- 'forum_unread_locked' => array('VCHAR:200', ''),
- 'forum_unread_subforum' => array('VCHAR:200', ''),
-
- 'topic_moved' => array('VCHAR:200', ''),
-
- 'topic_read' => array('VCHAR:200', ''),
- 'topic_read_mine' => array('VCHAR:200', ''),
- 'topic_read_hot' => array('VCHAR:200', ''),
- 'topic_read_hot_mine' => array('VCHAR:200', ''),
- 'topic_read_locked' => array('VCHAR:200', ''),
- 'topic_read_locked_mine' => array('VCHAR:200', ''),
-
- 'topic_unread' => array('VCHAR:200', ''),
- 'topic_unread_mine' => array('VCHAR:200', ''),
- 'topic_unread_hot' => array('VCHAR:200', ''),
- 'topic_unread_hot_mine' => array('VCHAR:200', ''),
- 'topic_unread_locked' => array('VCHAR:200', ''),
- 'topic_unread_locked_mine' => array('VCHAR:200', ''),
-
- 'sticky_read' => array('VCHAR:200', ''),
- 'sticky_read_mine' => array('VCHAR:200', ''),
- 'sticky_read_locked' => array('VCHAR:200', ''),
- 'sticky_read_locked_mine' => array('VCHAR:200', ''),
- 'sticky_unread' => array('VCHAR:200', ''),
- 'sticky_unread_mine' => array('VCHAR:200', ''),
- 'sticky_unread_locked' => array('VCHAR:200', ''),
- 'sticky_unread_locked_mine' => array('VCHAR:200', ''),
-
- 'announce_read' => array('VCHAR:200', ''),
- 'announce_read_mine' => array('VCHAR:200', ''),
- 'announce_read_locked' => array('VCHAR:200', ''),
- 'announce_read_locked_mine' => array('VCHAR:200', ''),
- 'announce_unread' => array('VCHAR:200', ''),
- 'announce_unread_mine' => array('VCHAR:200', ''),
- 'announce_unread_locked' => array('VCHAR:200', ''),
- 'announce_unread_locked_mine' => array('VCHAR:200', ''),
-
- 'global_read' => array('VCHAR:200', ''),
- 'global_read_mine' => array('VCHAR:200', ''),
- 'global_read_locked' => array('VCHAR:200', ''),
- 'global_read_locked_mine' => array('VCHAR:200', ''),
- 'global_unread' => array('VCHAR:200', ''),
- 'global_unread_mine' => array('VCHAR:200', ''),
- 'global_unread_locked' => array('VCHAR:200', ''),
- 'global_unread_locked_mine' => array('VCHAR:200', ''),
-
- 'pm_read' => array('VCHAR:200', ''),
- 'pm_unread' => array('VCHAR:200', ''),
-
- 'icon_contact_aim' => array('VCHAR:200', ''),
- 'icon_contact_email' => array('VCHAR:200', ''),
- 'icon_contact_icq' => array('VCHAR:200', ''),
- 'icon_contact_jabber' => array('VCHAR:200', ''),
- 'icon_contact_msnm' => array('VCHAR:200', ''),
- 'icon_contact_pm' => array('VCHAR:200', ''),
- 'icon_contact_yahoo' => array('VCHAR:200', ''),
- 'icon_contact_www' => array('VCHAR:200', ''),
-
- 'icon_post_delete' => array('VCHAR:200', ''),
- 'icon_post_edit' => array('VCHAR:200', ''),
- 'icon_post_info' => array('VCHAR:200', ''),
- 'icon_post_quote' => array('VCHAR:200', ''),
- 'icon_post_report' => array('VCHAR:200', ''),
- 'icon_post_target' => array('VCHAR:200', ''),
- 'icon_post_target_unread' => array('VCHAR:200', ''),
-
- 'icon_topic_attach' => array('VCHAR:200', ''),
- 'icon_topic_latest' => array('VCHAR:200', ''),
- 'icon_topic_newest' => array('VCHAR:200', ''),
- 'icon_topic_reported' => array('VCHAR:200', ''),
- 'icon_topic_unapproved' => array('VCHAR:200', ''),
-
- 'icon_user_online' => array('VCHAR:200', ''),
- 'icon_user_offline' => array('VCHAR:200', ''),
- 'icon_user_profile' => array('VCHAR:200', ''),
- 'icon_user_search' => array('VCHAR:200', ''),
- 'icon_user_warn' => array('VCHAR:200', ''),
-
- 'button_pm_forward' => array('VCHAR:200', ''),
- 'button_pm_new' => array('VCHAR:200', ''),
- 'button_pm_reply' => array('VCHAR:200', ''),
- 'button_topic_locked' => array('VCHAR:200', ''),
- 'button_topic_new' => array('VCHAR:200', ''),
- 'button_topic_reply' => array('VCHAR:200', ''),
-
- 'user_icon1' => array('VCHAR:200', ''),
- 'user_icon2' => array('VCHAR:200', ''),
- 'user_icon3' => array('VCHAR:200', ''),
- 'user_icon4' => array('VCHAR:200', ''),
- 'user_icon5' => array('VCHAR:200', ''),
- 'user_icon6' => array('VCHAR:200', ''),
- 'user_icon7' => array('VCHAR:200', ''),
- 'user_icon8' => array('VCHAR:200', ''),
- 'user_icon9' => array('VCHAR:200', ''),
- 'user_icon10' => array('VCHAR:200', ''),
),
'PRIMARY_KEY' => 'imageset_id',
'KEYS' => array(
@@ -1744,6 +1635,22 @@ function get_schema_struct()
),
);
+ $schema_data['phpbb_styles_imageset_data'] = array(
+ 'COLUMNS' => array(
+ 'image_id' => array('USINT', NULL, 'auto_increment'),
+ 'image_name' => array('VCHAR:200', ''),
+ 'image_filename' => array('VCHAR:200', ''),
+ 'image_lang' => array('VCHAR:30', ''),
+ 'image_height' => array('USINT', 0),
+ 'image_width' => array('USINT', 0),
+ 'imageset_id' => array('TINT:4', 0),
+ ),
+ 'PRIMARY_KEY' => 'image_id',
+ 'KEYS' => array(
+ 'imgset_id' => array('INDEX', 'imageset_id'),
+ ),
+ );
+
$schema_data['phpbb_topics'] = array(
'COLUMNS' => array(
'topic_id' => array('UINT', NULL, 'auto_increment'),