added subforum read/unread icons (thanks to thatbitextra for providing them).

fixed issue with forum passwords only alloweing ASCII in administration while allowing non-ASCII on user-entered passwords


git-svn-id: file:///svn/phpbb/trunk@7581 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-05-15 10:55:17 +00:00
parent f751aba4d6
commit 0d7b31e884
10 changed files with 30 additions and 4 deletions

View file

@ -311,7 +311,7 @@ p a {
<h3>Administrator details</h3> <h3>Administrator details</h3>
<p>Now you have to create your administration user. This user will have full administration access and he will be the first user on your forum. All fields on this page are required. You can also set the default language of your forum on this page. In a vanilla phpBB3 installation we only include English. You can download further languages from <a href="http://www.phpbb.com/">www.phpbb.com</a>, and add them before installing or later.</p> <p>Now you have to create your administration user. This user will have full administration access and he/she will be the first user on your forum. All fields on this page are required. You can also set the default language of your forum on this page. In a vanilla phpBB3 installation we only include English. You can download further languages from <a href="http://www.phpbb.com/">www.phpbb.com</a>, and add them before installing or later.</p>
<h3>Configuration file</h3> <h3>Configuration file</h3>

View file

@ -129,8 +129,8 @@ class acp_forums
'prune_old_polls' => request_var('prune_old_polls', false), 'prune_old_polls' => request_var('prune_old_polls', false),
'prune_announce' => request_var('prune_announce', false), 'prune_announce' => request_var('prune_announce', false),
'prune_sticky' => request_var('prune_sticky', false), 'prune_sticky' => request_var('prune_sticky', false),
'forum_password' => request_var('forum_password', ''), 'forum_password' => request_var('forum_password', '', true),
'forum_password_confirm'=> request_var('forum_password_confirm', ''), 'forum_password_confirm'=> request_var('forum_password_confirm', '', true),
); );
// Use link_display_on_index setting if forum type is link // Use link_display_on_index setting if forum type is link

View file

@ -1052,6 +1052,8 @@ if (version_compare($current_version, '3.0.b5', '<='))
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_unapproved', 'icon_topic_unapproved.gif', '', 14, 16, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_unapproved', 'icon_topic_unapproved.gif', '', 14, 16, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_profile', 'icon_user_profile.gif', '', 11, 11, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_profile', 'icon_user_profile.gif', '', 11, 11, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_warn', 'icon_user_warn.gif', '', 20, 20, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_warn', 'icon_user_warn.gif', '', 20, 20, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('subforum_read', 'subforum_read.gif', '', 9, 11, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('subforum_unread', 'subforum_unread.gif', '', 9, 11, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_pm', 'icon_contact_pm.gif', 'en', 20, 28, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_pm', 'icon_contact_pm.gif', 'en', 20, 28, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_edit', 'icon_post_edit.gif', 'en', 20, 42, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_edit', 'icon_post_edit.gif', 'en', 20, 42, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_quote', 'icon_post_quote.gif', 'en', 20, 54, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_post_quote', 'icon_post_quote.gif', 'en', 20, 54, 1);
@ -1064,6 +1066,7 @@ if (version_compare($current_version, '3.0.b5', '<='))
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('button_topic_locked', 'button_topic_locked.gif', 'en', 25, 88, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('button_topic_locked', 'button_topic_locked.gif', 'en', 25, 88, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('button_topic_new', 'button_topic_new.gif', 'en', 25, 96, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('button_topic_new', 'button_topic_new.gif', 'en', 25, 96, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('button_topic_reply', 'button_topic_reply.gif', 'en', 25, 96, 1);"; INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('button_topic_reply', 'button_topic_reply.gif', 'en', 25, 96, 1);";
$data = str_replace('phpbb_', $table_prefix, $data); $data = str_replace('phpbb_', $table_prefix, $data);
$sql_ary = explode("\n", $data); $sql_ary = explode("\n", $data);

View file

@ -453,6 +453,8 @@ INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang,
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_unapproved', 'icon_topic_unapproved.gif', '', 14, 16, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_topic_unapproved', 'icon_topic_unapproved.gif', '', 14, 16, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_profile', 'icon_user_profile.gif', '', 11, 11, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_profile', 'icon_user_profile.gif', '', 11, 11, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_warn', 'icon_user_warn.gif', '', 20, 20, 1); INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_user_warn', 'icon_user_warn.gif', '', 20, 20, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('subforum_read', 'subforum_read.gif', '', 9, 11, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('subforum_unread', 'subforum_unread.gif', '', 9, 11, 1);
# -- phpbb_styles_template # -- phpbb_styles_template
INSERT INTO phpbb_styles_template (template_name, template_copyright, template_path, bbcode_bitfield, template_storedb) VALUES ('prosilver', '&copy; phpBB Group', 'prosilver', 'lNg=', 0); INSERT INTO phpbb_styles_template (template_name, template_copyright, template_path, bbcode_bitfield, template_storedb) VALUES ('prosilver', '&copy; phpBB Group', 'prosilver', 'lNg=', 0);

View file

@ -80,6 +80,9 @@ img_global_unread_mine = announce_unread_mine.gif*27*27
img_global_unread_locked = announce_unread_locked.gif*27*27 img_global_unread_locked = announce_unread_locked.gif*27*27
img_global_unread_locked_mine = announce_unread_locked_mine.gif*27*27 img_global_unread_locked_mine = announce_unread_locked_mine.gif*27*27
img_subforum_read = subforum_read.gif*9*11
img_subforum_unread = subforum_unread.gif*9*11
img_pm_read = topic_read.gif*27*27 img_pm_read = topic_read.gif*27*27
img_pm_unread = topic_unread.gif*27*27 img_pm_unread = topic_unread.gif*27*27

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

View file

@ -372,6 +372,14 @@ ul.topiclist dd {
border-left-color: #FFFFFF; border-left-color: #FFFFFF;
} }
ul.topiclist li.row dt a.subforum.read {
background-image: url("{IMG_SUBFORUM_READ_SRC}");
}
ul.topiclist li.row dt a.subforum.unread {
background-image: url("{IMG_SUBFORUM_UNREAD_SRC}");
}
li.row { li.row {
border-top-color: #FFFFFF; border-top-color: #FFFFFF;
border-bottom-color: #00608F; border-bottom-color: #00608F;

View file

@ -47,6 +47,13 @@ ul.topiclist dfn {
display: none; display: none;
} }
ul.topiclist li.row dt a.subforum {
background-image: none;
background-position: 0pt 50%;
background-repeat: no-repeat;
padding: 0 0 0 12px;
}
li.row { li.row {
border-top: 1px solid #FFFFFF; border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #8f8f8f; border-bottom: 1px solid #8f8f8f;
@ -105,7 +112,7 @@ dl.icon {
dl.icon dt { dl.icon dt {
padding-left: 45px; /* Space for folder icon */ padding-left: 45px; /* Space for folder icon */
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 27px 70%; /* Position of topic icon */ background-position: 5px 95%; /* Position of topic icon */
} }
dd.posts, dd.topics, dd.views { dd.posts, dd.topics, dd.views {

View file

@ -81,6 +81,9 @@ img_global_unread_mine = announce_unread_mine.gif*18*19
img_global_unread_locked = announce_unread_locked.gif*18*19 img_global_unread_locked = announce_unread_locked.gif*18*19
img_global_unread_locked_mine = announce_unread_locked_mine.gif*18*19 img_global_unread_locked_mine = announce_unread_locked_mine.gif*18*19
img_subforum_read =
img_subforum_unread =
img_pm_read = topic_read.gif*18*19 img_pm_read = topic_read.gif*18*19
img_pm_unread = topic_unread.gif*18*19 img_pm_unread = topic_unread.gif*18*19