aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-08-20 12:59:15 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-08-20 12:59:15 +0000
commit80162a8145d1d3c5a75a7651bb1efe2daee5245f (patch)
tree2129beb210bdbf156177e52a4a66df792ee8ceaa
parent9db68f5d4e8d6fbe52ae69d901f661986e5e1aac (diff)
downloadforums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar.gz
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar.bz2
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.tar.xz
forums-80162a8145d1d3c5a75a7651bb1efe2daee5245f.zip
Minor schema change related to avatars so that they can be > 127px in size
Add additional note about the install directory Remove some empty tags from the template git-svn-id: file:///svn/phpbb/trunk@6305 89ea8834-ac86-4346-8a33-228a782c2dd0
-rwxr-xr-xphpBB/adm/style/install_install.html4
-rw-r--r--phpBB/develop/create_schema_files.php4
-rw-r--r--phpBB/install/schemas/mysql_schema.sql4
-rw-r--r--phpBB/install/schemas/postgres_schema.sql4
-rw-r--r--phpBB/install/schemas/sqlite_schema.sql4
-rwxr-xr-xphpBB/language/en/install.php2
6 files changed, 11 insertions, 11 deletions
diff --git a/phpBB/adm/style/install_install.html b/phpBB/adm/style/install_install.html
index 07de87fd31..f84f55d7b1 100755
--- a/phpBB/adm/style/install_install.html
+++ b/phpBB/adm/style/install_install.html
@@ -2,8 +2,8 @@
<form id="install_install" method="post" action="{U_ACTION}">
-<h2>{TITLE}</h2>
-<p>{BODY}</p>
+<!-- IF TITLE --><h2>{TITLE}</h2><!-- ENDIF -->
+<!-- IF BODY --><p>{BODY}</p><!-- ENDIF -->
<!-- IF .checks -->
<fieldset>
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 1cc5494e53..bf4ca84ade 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1740,8 +1740,8 @@ function get_schema_struct()
'user_options' => array('UINT:11', 893),
'user_avatar' => array('VCHAR', ''),
'user_avatar_type' => array('TINT:2', 0),
- 'user_avatar_width' => array('TINT:4', 0),
- 'user_avatar_height' => array('TINT:4', 0),
+ 'user_avatar_width' => array('USINT', 0),
+ 'user_avatar_height' => array('USINT', 0),
'user_sig' => array('MTEXT', ''),
'user_sig_bbcode_uid' => array('VCHAR:5', ''),
'user_sig_bbcode_bitfield' => array('VCHAR:252', ''),
diff --git a/phpBB/install/schemas/mysql_schema.sql b/phpBB/install/schemas/mysql_schema.sql
index c9e7009bd0..a90917ccc6 100644
--- a/phpBB/install/schemas/mysql_schema.sql
+++ b/phpBB/install/schemas/mysql_schema.sql
@@ -1006,8 +1006,8 @@ CREATE TABLE phpbb_users (
user_options int(11) UNSIGNED DEFAULT '893' NOT NULL,
user_avatar varchar(255) DEFAULT '' NOT NULL,
user_avatar_type tinyint(2) DEFAULT '0' NOT NULL,
- user_avatar_width tinyint(4) DEFAULT '0' NOT NULL,
- user_avatar_height tinyint(4) DEFAULT '0' NOT NULL,
+ user_avatar_width smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
+ user_avatar_height smallint(4) UNSIGNED DEFAULT '0' NOT NULL,
user_sig mediumtext DEFAULT '' NOT NULL,
user_sig_bbcode_uid varchar(5) DEFAULT '' NOT NULL,
user_sig_bbcode_bitfield varchar(252) DEFAULT '' NOT NULL,
diff --git a/phpBB/install/schemas/postgres_schema.sql b/phpBB/install/schemas/postgres_schema.sql
index de2f314171..7a4b3662b0 100644
--- a/phpBB/install/schemas/postgres_schema.sql
+++ b/phpBB/install/schemas/postgres_schema.sql
@@ -1266,8 +1266,8 @@ CREATE TABLE phpbb_users (
user_options INT4 DEFAULT '893' NOT NULL CHECK (user_options >= 0),
user_avatar varchar(255) DEFAULT '' NOT NULL,
user_avatar_type INT2 DEFAULT '0' NOT NULL,
- user_avatar_width INT2 DEFAULT '0' NOT NULL,
- user_avatar_height INT2 DEFAULT '0' NOT NULL,
+ user_avatar_width INT2 DEFAULT '0' NOT NULL CHECK (user_avatar_width >= 0),
+ user_avatar_height INT2 DEFAULT '0' NOT NULL CHECK (user_avatar_height >= 0),
user_sig TEXT DEFAULT '' NOT NULL,
user_sig_bbcode_uid varchar(5) DEFAULT '' NOT NULL,
user_sig_bbcode_bitfield varchar(252) DEFAULT '' NOT NULL,
diff --git a/phpBB/install/schemas/sqlite_schema.sql b/phpBB/install/schemas/sqlite_schema.sql
index 112c502803..ae204d4be9 100644
--- a/phpBB/install/schemas/sqlite_schema.sql
+++ b/phpBB/install/schemas/sqlite_schema.sql
@@ -977,8 +977,8 @@ CREATE TABLE phpbb_users (
user_options INTEGER UNSIGNED NOT NULL DEFAULT '893',
user_avatar varchar(255) NOT NULL DEFAULT '',
user_avatar_type tinyint(2) NOT NULL DEFAULT '0',
- user_avatar_width tinyint(4) NOT NULL DEFAULT '0',
- user_avatar_height tinyint(4) NOT NULL DEFAULT '0',
+ user_avatar_width INTEGER UNSIGNED NOT NULL DEFAULT '0',
+ user_avatar_height INTEGER UNSIGNED NOT NULL DEFAULT '0',
user_sig mediumtext(16777215) NOT NULL DEFAULT '',
user_sig_bbcode_uid varchar(5) NOT NULL DEFAULT '',
user_sig_bbcode_bitfield varchar(252) NOT NULL DEFAULT '',
diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php
index b31dc5e9de..d3738b95ca 100755
--- a/phpBB/language/en/install.php
+++ b/phpBB/language/en/install.php
@@ -134,7 +134,7 @@ $lang = array_merge($lang, array(
'INITIAL_CONFIG' => 'Basic Configuration',
'INITIAL_CONFIG_EXPLAIN' => 'Now that install has determined your server can run phpBB you need to supply some specific information. If you do not know how to connect to your database please contact your hosting provider (in the first instance) or use the phpBB support forums. When entering data please ensure you check it thoroughly before continuing.',
'INSTALL_CONGRATS' => 'Congratulations',
- 'INSTALL_CONGRATS_EXPLAIN' => 'You have now successfully installed phpBB 3.0. Clicking the button below will take you to your Administration Control Panel (ACP). Take some time to examine the options available to you. Remember that help is available online via the <a href="http://www.phpbb.com/support/documentation/3.0/">Userguide</a> and the <a href="http://www.phpbb.com/phpBB/viewforum.php?f=46">Beta support forum</a>, see the %sREADME%s for further information.',
+ 'INSTALL_CONGRATS_EXPLAIN' => 'You have now successfully installed phpBB 3.0. Clicking the button below will take you to your Administration Control Panel (ACP). Take some time to examine the options available to you. Remember that help is available online via the <a href="http://www.phpbb.com/support/documentation/3.0/">Userguide</a> and the <a href="http://www.phpbb.com/phpBB/viewforum.php?f=46">Beta support forum</a>, see the %sREADME%s for further information.<br /><br />Please now delete, move or rename the install directory before you use your forum. If this directory is still present, only the ACP will be accessible.',
'INSTALL_INTRO' => 'Welcome to Installation',
'INSTALL_INTRO_BODY' => 'With this option, it is possible to install phpBB onto your server.</p><p>In order to proceed, you will need the following information to hand:</p>
<ul>