aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJonathan Stanley <shs@users.sourceforge.net>2007-04-13 06:34:09 +0000
committerJonathan Stanley <shs@users.sourceforge.net>2007-04-13 06:34:09 +0000
commit59c4fad29693584f44fe3acf4de12291c4d8f170 (patch)
treea9cc780ce9fb26938761d840e0b2158d620e1620 /phpBB
parentbb43f8f0de7c1cdc640ddca980e089de695442bf (diff)
downloadforums-59c4fad29693584f44fe3acf4de12291c4d8f170.tar
forums-59c4fad29693584f44fe3acf4de12291c4d8f170.tar.gz
forums-59c4fad29693584f44fe3acf4de12291c4d8f170.tar.bz2
forums-59c4fad29693584f44fe3acf4de12291c4d8f170.tar.xz
forums-59c4fad29693584f44fe3acf4de12291c4d8f170.zip
icon_back_top.gif wasn't imagesetified and was an ugly inlined image in viewtopic... bleurgh! :P
git-svn-id: file:///svn/phpbb/trunk@7353 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/install/database_update.php1
-rw-r--r--phpBB/install/schemas/schema_data.sql1
-rw-r--r--phpBB/styles/prosilver/imageset/imageset.cfg2
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html2
-rw-r--r--phpBB/styles/prosilver/theme/colours.css4
-rw-r--r--phpBB/styles/prosilver/theme/links.css4
6 files changed, 8 insertions, 6 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index e13d8dda87..1ce64acb79 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -997,6 +997,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 ('global_unread_locked_mine', 'announce_unread_locked_mine.gif', '', 27, 27, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('pm_read', 'topic_read.gif', '', 27, 27, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('pm_unread', 'topic_unread.gif', '', 27, 27, 1);
+ INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_back_top', 'icon_back_top.gif', '', 11, 11, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_aim', 'icon_contact_aim.gif', '', 20, 20, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_email', 'icon_contact_email.gif', '', 20, 20, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_icq', 'icon_contact_icq.gif', '', 20, 20, 1);
diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql
index 6e1623ef8c..c0657dd26e 100644
--- a/phpBB/install/schemas/schema_data.sql
+++ b/phpBB/install/schemas/schema_data.sql
@@ -515,6 +515,7 @@ 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 ('global_unread_locked_mine', 'announce_unread_locked_mine.gif', '', 27, 27, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('pm_read', 'topic_read.gif', '', 27, 27, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('pm_unread', 'topic_unread.gif', '', 27, 27, 1);
+INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_back_top', 'icon_back_top.gif', '', 11, 11, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_aim', 'icon_contact_aim.gif', '', 20, 20, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_email', 'icon_contact_email.gif', '', 20, 20, 1);
INSERT INTO phpbb_styles_imageset_data (image_name, image_filename, image_lang, image_height, image_width, imageset_id) VALUES ('icon_contact_icq', 'icon_contact_icq.gif', '', 20, 20, 1);
diff --git a/phpBB/styles/prosilver/imageset/imageset.cfg b/phpBB/styles/prosilver/imageset/imageset.cfg
index 6af9ed56af..21dc56e00b 100644
--- a/phpBB/styles/prosilver/imageset/imageset.cfg
+++ b/phpBB/styles/prosilver/imageset/imageset.cfg
@@ -83,7 +83,7 @@ img_global_unread_locked_mine = announce_unread_locked_mine.gif*27*27
img_pm_read = topic_read.gif*27*27
img_pm_unread = topic_unread.gif*27*27
-img_icon_back_top = icon_back_top.gif
+img_icon_back_top = icon_back_top.gif*11*11
img_icon_contact_aim = icon_contact_aim.gif*20*20
img_icon_contact_email = icon_contact_email.gif*20*20
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index 494686f419..c785d541e1 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -209,7 +209,7 @@
</dl>
<!-- ENDIF -->
- <div class="back2top"><a href="#wrap" title="{L_BACK_TO_TOP}"><img src="{T_IMAGESET_PATH}/icon_back_top.gif" alt="{L_BACK_TO_TOP}" /></a></div>
+ <div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
<span class="corners-bottom"><span></span></span></div>
</div>
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css
index c946a501ae..71ad7b4ec4 100644
--- a/phpBB/styles/prosilver/theme/colours.css
+++ b/phpBB/styles/prosilver/theme/colours.css
@@ -328,11 +328,11 @@ a.topictitle:active {
/* Back to top of page */
a.top {
- background-image: url("{T_IMAGESET_PATH}/images/top.gif");
+ background-image: url("{IMG_ICON_BACK_TOP_SRC}");
}
a.top2 {
- background-image: url("{T_IMAGESET_PATH}/images/top.gif");
+ background-image: url("{IMG_ICON_BACK_TOP_SRC}");
}
/* Arrow links */
diff --git a/phpBB/styles/prosilver/theme/links.css b/phpBB/styles/prosilver/theme/links.css
index c04d7f0420..733a3cc8d3 100644
--- a/phpBB/styles/prosilver/theme/links.css
+++ b/phpBB/styles/prosilver/theme/links.css
@@ -136,8 +136,8 @@ a.topictitle:active {
a.top {
background: none no-repeat 50% 50%;
text-decoration: none;
- width: 11px;
- height: 11px;
+ width: {IMG_ICON_BACK_TOP_WIDTH}px;
+ height: {IMG_ICON_BACK_TOP_HEIGHT}px;
display: block;
float: right;
overflow: hidden;