[forum.geeklog] push by rous...@placella.com - Removed some hard-coded text from buttons. Related to Issue #1 on 2011-04-11 20:00 GMT

0 views
Skip to first unread message

gee...@googlecode.com

unread,
Apr 11, 2011, 4:01:59 PM4/11/11
to geeklo...@googlegroups.com
Revision: 7e1a3a9a63dc
Author: Rouslan Placella <rou...@placella.com>
Date: Mon Apr 11 13:00:05 2011
Log: Removed some hard-coded text from buttons. Related to Issue #1
http://code.google.com/p/geeklog/source/detail?repo=forum&r=7e1a3a9a63dc

Added:
/public_html/forum/image_set/quotes.png
Deleted:
/public_html/forum/image_set/edit.png
/public_html/forum/image_set/edit_button.png
/public_html/forum/image_set/email.png
/public_html/forum/image_set/email_button.png
/public_html/forum/image_set/home.png
/public_html/forum/image_set/home_button.png
/public_html/forum/image_set/latestposts.png
/public_html/forum/image_set/pm.png
/public_html/forum/image_set/pm_button.png
/public_html/forum/image_set/profile.png
/public_html/forum/image_set/profile_button.png
/public_html/forum/image_set/quote.gif
/public_html/forum/image_set/quote.png
/public_html/forum/image_set/quote_button.png
/public_html/forum/image_set/website.png
/public_html/forum/image_set/website_button.png
Modified:
/include/gf_showtopic.php
/language/english.php
/language/english_utf-8.php
/language/german.php
/language/german_utf-8.php
/language/japanese_utf-8.php
/public_html/forum/layout/forum.css
/public_html/forum/layout/links/edittopic.thtml
/public_html/forum/layout/links/email.thtml
/public_html/forum/layout/links/pm.thtml
/public_html/forum/layout/links/profile.thtml
/public_html/forum/layout/links/quotetopic.thtml
/public_html/forum/layout/links/website.thtml
/public_html/forum/layout/reports/memberlist_line.thtml
/public_html/forum/layout/reports/memberlist_link.thtml
/public_html/memberlist.php

=======================================
--- /dev/null
+++ /public_html/forum/image_set/quotes.png Mon Apr 11 13:00:05 2011
@@ -0,0 +1,8 @@
+‰PNG
+
+
+IHDR BÇ&£ sRGB ®Î
+é PLTE Bu
+W tRNS @æØf bKGD ˆ
+H IDAT ×c` ‚ `¸
+Ï0¼cx G idÓ& IEND®B`‚
=======================================
--- /public_html/forum/image_set/edit.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/edit_button.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/email.png Sun Mar 27 13:51:17 2011
+++ /dev/null
@@ -1,35 +0,0 @@
-‰PNG
-
-
-IHDR / jX¤¹ gAMA ÖØÔOX2 tEXtSoftware Adobe
ImageReadyqÉe< zIDATxÚbüÿÿ?ÃP Ä‚.пñ™
-
- b' Ö b¶Aèîé
-þRY Ä‚æð<)A¶‰Ê’ì r¢ì ‚<¬ ŒŒƒ+fþýc`˜ºíE& ™ @,È × æœhªÆÃ ÀÍÌ KMÿÿ3 ‡ÿ ºœ™
á
-€ b % Pˆ «r3ðs1ƒ
-üïÿ?†Á– ! òA ¤"Äà Œ–ÿÐ ü €˜ ´“´0;0Z þ
-ÿ Èø ¤é
- þúÍÀc› ¦‘ÙèêÀ
-L 0 @° × eο ×30ÁC þüùà ꚇáë×»'1°°°P% ÿþÇð`C;˜ Ù ß¿ÿbàæfESùŸ ‰‰ Î
¸í þþ ‡ü_´ôòõûO0}rN) 333˜ÍÎÎÎðã÷_ v&ê8þ #3 3 ˜þþë Äñ¿þ0°q¢ªcf`d`Ar
-@ !
- øŸ¿¨ ~ü„„ 3 ;0$¸!š€!þ h HNÎ 5VîoîgPô-„ó mCÄ (T‘ÕÃä@vÊy ‚ù0ûA4º[ÐK?€ bA.?±iøû ¢Ø$¡ EüÞæI ? BbåÐô2p¬€0Èá'æÖ “à_0 äX Z # þúËpfa X ²
-Ìœ¯ß~Âí ÑØ
-ÿ )ä ˆ ÙG Œ îx ½{b ˜ÍÆÆÆð ˜l@ l +$V~ü€D9#09ñpñÀùß übàâb ›e ߀b>Hî Ô•0ó`ö¢» TÆÿGÊ w<¨„ù Ä þ¢VJ¿ ^eåàbà@J6 UŽ Îg z ™ÿíço Í¿ ´ƒ
- Ì„Ä
-(´½
-û rhvÁØÈ|
p k{Îÿˆ @( ö Ðá þ j€ñÙÙ¹€¡Ç‹U DÃ0.þ·o?áÙŽ‹‹ L#› î fF&”d @(Éæ70áÿAO6Ð b™P
-"~vÅ ¸
-ˆþó /Ÿ Èß9¥†Á!½ «ùØØèna —õ 5 Ä j › ÿý-Å ~ ËY¤X„Dù·o >| — °R ”æùøøÀb
yPH‚0ˆ ‹ *^Aì¯_¿ ‡ pó àö@b„ Å xm
-t3 #ƒ0 â}/ €­JF€ B Ôÿ %Î?4ß² Ó/ Ÿ 8 £ XR0 ËdVVf
-`“ Ä é ©ÅÅ ©ç æ
-
-3 $ R 0uÈld·° ë+6 F†O_Áz/‚ € B*çÿÃK
-ÔÖ 3 ; Î
-†™
- Q* * |\fÁÔa˜ r8Е,ÌL <ÀÂîÖ p ¶ D Ë nx1ý †6 '0†ù¹!
-ÉÃ×àŒ¿ D Ri i” ò0
-ž&0°
-g & >NFpsä½o /ÞÿÊ ¦÷# y€ ‚;
-”žä„™€™‚iP
-þ« ¿ n<ýÎp÷ùw˜Ã'Áä æøé›O¾Ì
-¤©ç5 ï âɰ ‡ € b
-Ê£ ÄÄ0„ @€ o ƒ´ü[« IEND®B`‚
=======================================
--- /public_html/forum/image_set/email_button.png Sun Mar 27 13:51:17 2011
+++ /dev/null
@@ -1,35 +0,0 @@
-‰PNG
-
-
-IHDR / jX¤¹ gAMA ÖØÔOX2 tEXtSoftware Adobe
ImageReadyqÉe< zIDATxÚbüÿÿ?ÃP Ä‚.пñ™
-
- b' Ö b¶Aèîé
-þRY Ä‚æð<)A¶‰Ê’ì r¢ì ‚<¬ ŒŒƒ+fþýc`˜ºíE& ™ @,È × æœhªÆÃ ÀÍÌ KMÿÿ3 ‡ÿ ºœ™
á
-€ b % Pˆ «r3ðs1ƒ
-üïÿ?†Á– ! òA ¤"Äà Œ–ÿÐ ü €˜ ´“´0;0Z þ
-ÿ Èø ¤é
- þúÍÀc› ¦‘ÙèêÀ
-L 0 @° × eο ×30ÁC þüùà ꚇáë×»'1°°°P% ÿþÇð`C;˜ Ù ß¿ÿbàæfESùŸ ‰‰ Î
¸í þþ ‡ü_´ôòõûO0}rN) 333˜ÍÎÎÎðã÷_ v&ê8þ #3 3 ˜þþë Äñ¿þ0°q¢ªcf`d`Ar
-@ !
- øŸ¿¨ ~ü„„ 3 ;0$¸!š€!þ h HNÎ 5VîoîgPô-„ó mCÄ (T‘ÕÃä@vÊy ‚ù0ûA4º[ÐK?€ bA.?±iøû ¢Ø$¡ EüÞæI ? BbåÐô2p¬€0Èá'æÖ “à_0 äX Z # þúËpfa X ²
-Ìœ¯ß~Âí ÑØ
-ÿ )ä ˆ ÙG Œ îx ½{b ˜ÍÆÆÆð ˜l@ l +$V~ü€D9#09ñpñÀùß übàâb ›e ߀b>Hî Ô•0ó`ö¢» TÆÿGÊ w<¨„ù Ä þ¢VJ¿ ^eåàbà@J6 UŽ Îg z ™ÿíço Í¿ ´ƒ
- Ì„Ä
-(´½
-û rhvÁØÈ|
p k{Îÿˆ @( ö Ðá þ j€ñÙÙ¹€¡Ç‹U DÃ0.þ·o?áÙŽ‹‹ L#› î fF&”d @(Éæ70áÿAO6Ð b™P
-"~vÅ ¸
-ˆþó /Ÿ Èß9¥†Á!½ «ùØØèna —õ 5 Ä j › ÿý-Å ~ ËY¤X„Dù·o >| — °R ”æùøøÀb
yPH‚0ˆ ‹ *^Aì¯_¿ ‡ pó àö@b„ Å xm
-t3 #ƒ0 â}/ €­JF€ B Ôÿ %Î?4ß² Ó/ Ÿ 8 £ XR0 ËdVVf
-`“ Ä é ©ÅÅ ©ç æ
-
-3 $ R 0uÈld·° ë+6 F†O_Áz/‚ € B*çÿÃK
-ÔÖ 3 ; Î
-†™
- Q* * |\fÁÔa˜ r8Е,ÌL <ÀÂîÖ p ¶ D Ë nx1ý †6 '0†ù¹!
-ÉÃ×àŒ¿ D Ri i” ò0
-ž&0°
-g & >NFpsä½o /ÞÿÊ ¦÷# y€ ‚;
-”žä„™€™‚iP
-þ« ¿ n<ýÎp÷ùw˜Ã'Áä æøé›O¾Ì
-¤©ç5 ï âɰ ‡ € b
-Ê£ ÄÄ0„ @€ o ƒ´ü[« IEND®B`‚
=======================================
--- /public_html/forum/image_set/home.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/home_button.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/latestposts.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/pm.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/pm_button.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/profile.png Sun Mar 27 13:51:17 2011
+++ /dev/null
@@ -1,38 +0,0 @@
-‰PNG
-
-
-IHDR 4 µ Þ¦ gAMA ÖØÔOX2 tEXtSoftware Adobe
ImageReadyqÉe< éIDATxÚbüÿÿ?Ãp Ä‚.пñ™
-
- b' Ö b¶!â—é
-þRY Ä‚æ™<)A¶‰Ê’ì r¢ì ‚<¬ ŒŒƒ? ÿýc`˜ºíE& ™ @,ÈžÑ æœhªÆÃ ÀÍÌ K‰ÿÿ3 jÏü ú†™
áF€ b %3PÌ «r3ðs1ƒ=ñïÿ?†¡ ¿ ! CA d&Äà Œ¾ÿИ š
- @ 1Ai'iav`ô10ü zè7 ñ HÓ ÿüõ› Ç6 Œ¿}ÿ ¦Ab0q MŠyà€ ¦& X éƒ
-€¿ 10Ác þüùà ꚇ
-¯wOb`aa!9ô få3\YR
-ÖÿíÛO† Ú ~ÿþ – ïß 1ps³’`ê &&&8
€à®úó÷?8†þ¢¥µ¯ß ‚é“sJ ˜™™Á yðÙNÒ= 3ë? ; 3Tÿ?Ff†ï¿~@<ôë 'ñf2302° 9
€à^ûó ä ÇPñ Ÿ cfagàæá æ@ˆ#¾ C $'æœ fƒh ‰ÁÄÑÅ ýJÁzu£ Ál ù²^
-p» ‹° Ý t· 0( Kb€ bA.Ë‘
-F ‹ Å
-œ<@ ñ ùŸÀüŸ¿þ ÕBB\Ñ· áÄÜ pŒ <§ R
-æÿýû
-«r^y ××t3
- UÉ` Öΰor ÃÇO_á ³ Dƒ
-¯ä›‡aÆ½ÍØSÅ_¤ ¸,È— Œ†î! ­ ^ ;6§– ˜l~ý†ÄÞþ©e ¬l
-
-
-
-p1 < 0Yýø IJ¿~ÿe`ae‡ 7 'š
-²}ß ü ³-’[PÜ çâBõ ¨ ú ”ç . *Ù~ ñŸ¿¨ é/¨÷·õ 1°³³ƒC‹•ƒ h +Ár
> 7/$£ÿ„Ä Ðñ 1˜~ Í õ H= ;'Ã?¨þ_HA bÿúû ÅNX, äXþ¢æñÿÀ– ç D¡ @LÈ
-Â? gþ 3 : vv.`èð K > 6p®e†Ë13³Áù01tý¤Ê!Û ÂÎYí(vÀ0ÈÍÈ~ ”$÷ ˜‘þ '9h†c & .
-^D ü ! ¢áú€Imç” Ë„*¸Z $
-idõÈú‘í Å H s "É
-˜Ý ÖÄæ> p]„Ð @Œ æ
-°éóßßRœá'°>€¦ 8øöí sqq 1!9 £Ab_¿~ 4ÿÀu 777XþçÏŸ(ê‘õÃÌ ±AÉ — Ï“ Ð
-lŒ Â<L ‹ö½` ¶¶ ‘ÃþAJº h!À
-L÷<À& È bä u
- 0 €hXÚ 9 ÄGW Ì Ÿ Èn` Ö¿l,Œ Ÿ¾‚cþ"ˆ DÅúÿ?¼¤Cmý1 ë f”  
-Pœ ƒ ³´DW ćÔu¨rXÍ€y èr f&
- †[OÀ¥å> @,C®ñÉô + œ¬Ì üÜ Bìákp}¸ D RÓ Ò0 äa ÜÝ `Û
-˜Ôø8 0°þºpï Ë÷¿ò ùç H
- ۈ
- ¥E9a&`&c ô±ôêão† O¿3Ü}þ
-æ™I09€ ‚yhúæ“/3‡PÊ{
-j  ñdXÌÀ @ 1 ·Q € bb f À \ï¯c ’ IEND®B`‚
=======================================
--- /public_html/forum/image_set/profile_button.png Sun Mar 27 13:51:17 2011
+++ /dev/null
@@ -1,38 +0,0 @@
-‰PNG
-
-
-IHDR 4 µ Þ¦ gAMA ÖØÔOX2 tEXtSoftware Adobe
ImageReadyqÉe< éIDATxÚbüÿÿ?Ãp Ä‚.пñ™
-
- b' Ö b¶!â—é
-þRY Ä‚æ™<)A¶‰Ê’ì r¢ì ‚<¬ ŒŒƒ? ÿýc`˜ºíE& ™ @,ÈžÑ æœhªÆÃ ÀÍÌ K‰ÿÿ3 jÏü ú†™
áF€ b %3PÌ «r3ðs1ƒ=ñïÿ?†¡ ¿ ! CA d&Äà Œ¾ÿИ š
- @ 1Ai'iav`ô10ü zè7 ñ HÓ ÿüõ› Ç6 Œ¿}ÿ ¦Ab0q MŠyà€ ¦& X éƒ
-€¿ 10Ác þüùà ꚇ
-¯wOb`aa!9ô få3\YR
-ÖÿíÛO† Ú ~ÿþ – ïß 1ps³’`ê &&&8
€à®úó÷?8†þ¢¥µ¯ß ‚é“sJ ˜™™Á yðÙNÒ= 3ë? ; 3Tÿ?Ff†ï¿~@<ôë 'ñf2302° 9
€à^ûó ä ÇPñ Ÿ cfagàæá æ@ˆ#¾ C $'æœ fƒh ‰ÁÄÑÅ ýJÁzu£ Ál ù²^
-p» ‹° Ý t· 0( Kb€ bA.Ë‘
-F ‹ Å
-œ<@ ñ ùŸÀüŸ¿þ ÕBB\Ñ· áÄÜ pŒ <§ R
-æÿýû
-«r^y ××t3
- UÉ` Öΰor ÃÇO_á ³ Dƒ
-¯ä›‡aÆ½ÍØSÅ_¤ ¸,È— Œ†î! ­ ^ ;6§– ˜l~ý†ÄÞþ©e ¬l
-
-
-
-p1 < 0Yýø IJ¿~ÿe`ae‡ 7 'š
-²}ß ü ³-’[PÜ çâBõ ¨ ú ”ç . *Ù~ ñŸ¿¨ é/¨÷·õ 1°³³ƒC‹•ƒ h +Ár
> 7/$£ÿ„Ä Ðñ 1˜~ Í õ H= ;'Ã?¨þ_HA bÿúû ÅNX, äXþ¢æñÿÀ– ç D¡ @LÈ
-Â? gþ 3 : vv.`èð K > 6p®e†Ë13³Áù01tý¤Ê!Û ÂÎYí(vÀ0ÈÍÈ~ ”$÷ ˜‘þ '9h†c & .
-^D ü ! ¢áú€Imç” Ë„*¸Z $
-idõÈú‘í Å H s "É
-˜Ý ÖÄæ> p]„Ð @Œ æ
-°éóßßRœá'°>€¦ 8øöí sqq 1!9 £Ab_¿~ 4ÿÀu 777XþçÏŸ(ê‘õÃÌ ±AÉ — Ï“ Ð
-lŒ Â<L ‹ö½` ¶¶ ‘ÃþAJº h!À
-L÷<À& È bä u
- 0 €hXÚ 9 ÄGW Ì Ÿ Èn` Ö¿l,Œ Ÿ¾‚cþ"ˆ DÅúÿ?¼¤Cmý1 ë f”  
-Pœ ƒ ³´DW ćÔu¨rXÍ€y èr f&
- †[OÀ¥å> @,C®ñÉô + œ¬Ì üÜ Bìákp}¸ D RÓ Ò0 äa ÜÝ `Û
-˜Ôø8 0°þºpï Ë÷¿ò ùç H
- ۈ
- ¥E9a&`&c ô±ôêão† O¿3Ü}þ
-æ™I09€ ‚yhúæ“/3‡PÊ{
-j  ñdXÌÀ @ 1 ·Q € bb f À \ï¯c ’ IEND®B`‚
=======================================
--- /public_html/forum/image_set/quote.gif Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/quote.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/quote_button.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/website.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /public_html/forum/image_set/website_button.png Sun Mar 27 13:51:17 2011
+++ /dev/null
Binary file, no diff available.
=======================================
--- /include/gf_showtopic.php Mon Apr 11 12:42:40 2011
+++ /include/gf_showtopic.php Mon Apr 11 13:00:05 2011
@@ -79,7 +79,7 @@

function showtopic($showtopic,$mode='',$onetwo=1,$page=1)
{
- global $CONF_FORUM,$_CONF,$_TABLES,$_USER,$LANG_GF01,$LANG_GF02;
+ global $CONF_FORUM, $_CONF, $_TABLES, $_USER, $LANG_GF01, $LANG_GF02,
$LANG_GF09;
global $fromblock,$highlight;
global $oldPost;

@@ -236,9 +236,9 @@
}
if ($editAllowed) {
$editlink
= "{$_CONF['site_url']}/forum/createtopic.php?method=edit&amp;forum={$showtopic['forum']}&amp;id={$showtopic['id']}&amp;editid={$showtopic['id']}&amp;page=$page";
- $editlinkimg = '<img src="'.gf_getImage('edit_button').'"
style="border:none; vertical-align:middle;"
alt="'.$LANG_GF01['EDITICON'].'" title="'.$LANG_GF01['EDITICON'].'"' .
XHTML . '>';
+ $editlinktext = $LANG_GF09['edit'];
$topictemplate->set_var ('editlink', $editlink);
- $topictemplate->set_var ('editlinkimg', $editlinkimg);
+ $topictemplate->set_var ('editlinktext', $editlinktext);
$topictemplate->set_var ('LANG_edit', $LANG_GF01['EDITICON']);
$topictemplate->parse ('edittopic_link', 'edit');
}
@@ -276,9 +276,9 @@
$is_readonly =
DB_getItem($_TABLES['gf_forums'],'is_readonly','forum_id=' .
$showtopic['forum']);
if ($is_readonly == 0 OR
forum_modPermission($showtopic['forum'],$_USER['uid'],'mod_edit')) {
$quotelink
= "{$_CONF['site_url']}/forum/createtopic.php?method=postreply&amp;forum={$showtopic['forum']}&amp;id=$replytopicid&amp;quoteid={$showtopic['id']}";
- $quotelinkimg = '<img
src="'.gf_getImage('quote_button').'" style="border:none;
vertical-align:middle;" alt="'.$LANG_GF01['QUOTEICON'].'"
title="'.$LANG_GF01['QUOTEICON'].'"' . XHTML . '>';
+ $quotelinktext = '<img style="margin: 0 0.5em 0.1em 0;"
src="'.gf_getImage('quotes').'" alt=""' . XHTML . '>&nbsp;' .
$LANG_GF09['quote'];
$topictemplate->set_var ('quotelink', $quotelink);
- $topictemplate->set_var ('quotelinkimg', $quotelinkimg);
+ $topictemplate->set_var ('quotelinktext', $quotelinktext);
$topictemplate->set_var ('LANG_quote',
$LANG_GF01['QUOTEICON']);
$topictemplate->parse ('quotetopic_link', 'quote');
}
@@ -291,9 +291,9 @@
$mod_functions = forum_getmodFunctions($showtopic);
if ($showtopic['uid'] > 1 && $uservalid) {
$profile_link
= "{$_CONF['site_url']}/users.php?mode=profile&amp;uid={$showtopic['uid']}";
- $profile_linkimg = '<img
src="'.gf_getImage('profile_button').'" style="border:none;
vertical-align:middle;" alt="'.$LANG_GF01['ProfileLink'].'"
title="'.$LANG_GF01['ProfileLink'].'"' . XHTML . '>';
+ $profile_linktext = $LANG_GF09['profile'];
$topictemplate->set_var ('profilelink', $profile_link);
- $topictemplate->set_var ('profilelinkimg', $profile_linkimg);
+ $topictemplate->set_var ('profilelinktext', $profile_linktext);
$topictemplate->set_var
('LANG_profile',$LANG_GF01['ProfileLink']);
$topictemplate->parse ('profile_link', 'profile');
if ($CONF_FORUM['use_pm_plugin']) {
@@ -301,9 +301,9 @@
$pmplugin_link = forumPLG_getPMlink($pmusernmame);
if ($pmplugin_link != '') {
$pm_link = $pmplugin_link;
- $pm_linkimg = '<img src="'.gf_getImage('pm_button').'"
style="border:none; vertical-align:middle;" alt="'.$LANG_GF01['PMLink'].'"
title="'.$LANG_GF01['PMLink'].'"' . XHTML . '>';
+ $pm_linktext = $LANG_GF09['pm'];
$topictemplate->set_var ('pmlink', $pm_link);
- $topictemplate->set_var ('pmlinkimg', $pm_linkimg);
+ $topictemplate->set_var ('pmlinktext', $pm_linktext);
$topictemplate->set_var ('LANG_pm',
$LANG_GF01['PMLink']);
$topictemplate->parse ('pm_link', 'pm');
}
@@ -312,9 +312,9 @@

if ($userarray['email'] != '' && $showtopic["uid"] > 1) {
$email_link
= "{$_CONF['site_url']}/profiles.php?uid={$showtopic['uid']}";
- $email_linkimg = '<img src="'.gf_getImage('email_button').'"
style="border:none; vertical-align:middle;"
alt="'.$LANG_GF01['EmailLink'].'" title="'.$LANG_GF01['EmailLink'].'"' .
XHTML . '>';
+ $email_linktext = $LANG_GF09['email'];
$topictemplate->set_var ('emaillink', $email_link);
- $topictemplate->set_var ('emaillinkimg', $email_linkimg);
+ $topictemplate->set_var ('emaillinktext', $email_linktext);
$topictemplate->set_var ('LANG_email',
$LANG_GF01['EmailLink']);
$topictemplate->parse ('email_link', 'email');
}
@@ -323,9 +323,9 @@
if (strtolower(substr($homepage, 0, 4)) != 'http') {
$homepage = 'http://' .$homepage;
}
- $homepageimg = '<img src="'.gf_getImage('website_button').'"
style="border:none; vertical-align:middle;"
alt="'.$LANG_GF01['WebsiteLink'].'"
title="'.$LANG_GF01['WebsiteLink'].'"' . XHTML . '>';
+ $homepagetext = $LANG_GF09['website'];
$topictemplate->set_var ('websitelink', $homepage);
- $topictemplate->set_var ('websitelinkimg', $homepageimg);
+ $topictemplate->set_var ('websitelinktext', $homepagetext);
$topictemplate->set_var ('LANG_website',
$LANG_GF01['WebsiteLink']);
$topictemplate->parse ('website_link', 'website');
}
=======================================
--- /language/english.php Sat Apr 9 06:37:04 2011
+++ /language/english.php Mon Apr 11 13:00:05 2011
@@ -580,6 +580,17 @@
3 => 'Topic Exception Notifications'
);

+/* Text for the buttons in the footer of the posts */
+$LANG_GF09 = array (
+ 'edit' => 'Edit',
+ 'email' => 'Email',
+ 'home' => 'Home',
+ 'lastpost' => 'Last Post',
+ 'pm' => 'PM', // private message
+ 'profile' => 'Profile',
+ 'quote' => 'Quote',
+ 'website' => 'Website'
+);

$LANG_GF90 = array (
'viewforums' => 'Index',
=======================================
--- /language/english_utf-8.php Sat Apr 9 06:37:04 2011
+++ /language/english_utf-8.php Mon Apr 11 13:00:05 2011
@@ -580,6 +580,17 @@
3 => 'Topic Exception Notifications'
);

+/* Text for the buttons in the footer of the posts */
+$LANG_GF09 = array (
+ 'edit' => 'Edit',
+ 'email' => 'Email',
+ 'home' => 'Home',
+ 'lastpost' => 'Last Post',
+ 'pm' => 'PM', // private message
+ 'profile' => 'Profile',
+ 'quote' => 'Quote',
+ 'website' => 'Website'
+);

$LANG_GF90 = array (
'viewforums' => 'Index',
=======================================
--- /language/german.php Sat Apr 9 06:37:04 2011
+++ /language/german.php Mon Apr 11 13:00:05 2011
@@ -580,6 +580,17 @@
3 => 'Ausnahmen'
);

+/* Text for the buttons in the footer of the posts */
+$LANG_GF09 = array (
+ 'edit' => 'Edit',
+ 'email' => 'Email',
+ 'home' => 'Home',
+ 'lastpost' => 'Last Post',
+ 'pm' => 'PM', // private message
+ 'profile' => 'Profile',
+ 'quote' => 'Quote',
+ 'website' => 'Website'
+);

$LANG_GF90 = array (
'viewforums' => 'Index',
=======================================
--- /language/german_utf-8.php Sat Apr 9 06:37:04 2011
+++ /language/german_utf-8.php Mon Apr 11 13:00:05 2011
@@ -581,6 +581,18 @@
);


+/* Text for the buttons in the footer of the posts */
+$LANG_GF09 = array (
+ 'edit' => 'Edit',
+ 'email' => 'Email',
+ 'home' => 'Home',
+ 'lastpost' => 'Last Post',
+ 'pm' => 'PM', // private message
+ 'profile' => 'Profile',
+ 'quote' => 'Quote',
+ 'website' => 'Website'
+);
+
$LANG_GF90 = array (
'viewforums' => 'Index',
'stats' => 'Statistics',
=======================================
--- /language/japanese_utf-8.php Sat Apr 9 06:37:04 2011
+++ /language/japanese_utf-8.php Mon Apr 11 13:00:05 2011
@@ -590,6 +590,18 @@
);


+/* Text for the buttons in the footer of the posts */
+$LANG_GF09 = array (
+ 'edit' => 'Edit',
+ 'email' => 'Email',
+ 'home' => 'Home',
+ 'lastpost' => 'Last Post',
+ 'pm' => 'PM', // private message
+ 'profile' => 'Profile',
+ 'quote' => 'Quote',
+ 'website' => 'Website'
+);
+
$LANG_GF90 = array (
'viewforums' => '目次',
'stats' => '統計',
=======================================
--- /public_html/forum/layout/forum.css Sun Mar 27 13:51:17 2011
+++ /public_html/forum/layout/forum.css Mon Apr 11 13:00:05 2011
@@ -12,8 +12,7 @@
padding:5px;
border: 1px dashed black;
}
-.quotemain
-{
+.quotemain {
background:#FAFCFE url('../image_set/img_quote.gif') no-repeat top right;
border: 1px dotted #000;
border-left: 4px solid #8394B2;
@@ -21,6 +20,38 @@
padding: 4px;
margin: 5px auto 8px auto;
}
+
+a.profilebutton {
+ white-space:nowrap;
+ font-size: 11px;
+ color: #033666;
+ text-decoration: none;
+ height: 1.7em;
+ line-height: 1.8em;
+ display: block;
+ padding: 0 1em;
+ margin: 0.1em 0.5em 0.3em 0.5em;
+ border: 0.1em solid #7e9ccb;
+ -moz-border-radius-topleft: 6px;
+ -moz-border-radius-topright: 0px;
+ -moz-border-radius-bottomright: 6px;
+ -moz-border-radius-bottomleft: 0px;
+ border-top-left-radius: 6px;
+ border-top-right-radius: 0px;
+ border-bottom-right-radius: 6px;
+ border-bottom-left-radius: 0px;
+ background: #fbfcfd; /* old browsers */
+ background: -moz-linear-gradient(top, #fbfcfd 0%, #cadbfa 75%, #E5E5E5
100%); /* firefox */
+ background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#fbfcfd), color-stop(75%,#cadbfa), color-stop(100%,#E5E5E5));
/* webkit */
+ filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='#fbfcfd', endColorstr='#E5E5E5',GradientType=0 ); /* ie */
+}
+
+a.profilebutton:hover {
+ background: white;
+ -webkit-box-shadow: 0px 0px 2px #888;
+ -moz-box-shadow: 0px 0px 2px #888;
+ box-shadow: 0px 0px 2px #888;
+}

/* CSS Declarations for Code block feature - default will use the .php one
*/
div .php { max-height:400px; overflow:auto; height:auto; width:auto;
min-height:100px; }
=======================================
--- /public_html/forum/layout/links/edittopic.thtml Sun Mar 27 13:51:17 2011
+++ /public_html/forum/layout/links/edittopic.thtml Mon Apr 11 13:00:05 2011
@@ -1,3 +1,3 @@
<!-- start edittopic.thtml -->
-<td style="padding-top:3px; padding-right:3px;"><a
href="{editlink}">{editlinkimg}</a></td>
+<td style="padding-top:3px; padding-right:3px;"><a class="profilebutton"
href="{editlink}">{editlinktext}</a></td>
<!-- end edittopic.thtml -->
=======================================
--- /public_html/forum/layout/links/email.thtml Sun Mar 27 13:51:17 2011
+++ /public_html/forum/layout/links/email.thtml Mon Apr 11 13:00:05 2011
@@ -1,3 +1,3 @@
<!-- start email.thtml -->
-<td style="padding-top:3px; padding-right:3px;"><a
href="{emaillink}">{emaillinkimg}</a></td>
+<td style="padding-top:3px; padding-right:3px;"><a class="profilebutton"
href="{emaillink}">{emaillinktext}</a></td>
<!-- end email.thtml -->
=======================================
--- /public_html/forum/layout/links/pm.thtml Sun Mar 27 13:51:17 2011
+++ /public_html/forum/layout/links/pm.thtml Mon Apr 11 13:00:05 2011
@@ -1,3 +1,3 @@
<!-- start pm.thtml -->
-<td style="padding-top:3px; padding-right:3px;"><a
href="{pmlink}">{pmlinkimg}</a></td>
+<td style="padding-top:3px; padding-right:3px;"><a class="profilebutton"
href="{pmlink}">{pmlinktext}</a></td>
<!-- end pm.thtml -->
=======================================
--- /public_html/forum/layout/links/profile.thtml Sun Mar 27 13:51:17 2011
+++ /public_html/forum/layout/links/profile.thtml Mon Apr 11 13:00:05 2011
@@ -1,3 +1,3 @@
<!-- start profile.thtml -->
-<td style="padding-top:3px; padding-right:3px;"><a
href="{profilelink}">{profilelinkimg}</a></td>
+<td style="padding-top:3px; padding-right:3px;"><a class="profilebutton"
href="{profilelink}">{profilelinktext}</a></td>
<!-- end profile.thtml -->
=======================================
--- /public_html/forum/layout/links/quotetopic.thtml Sun Mar 27 13:51:17
2011
+++ /public_html/forum/layout/links/quotetopic.thtml Mon Apr 11 13:00:05
2011
@@ -1,3 +1,3 @@
<!-- start quotetopic.thtml -->
-<td style="padding-top:3px;"><a href="{quotelink}">{quotelinkimg}</a></td>
+<td style="padding-top:3px;"><a class="profilebutton"
href="{quotelink}">{quotelinktext}</a></td>
<!-- end quotetopic.thtml -->
=======================================
--- /public_html/forum/layout/links/website.thtml Sun Mar 27 13:51:17 2011
+++ /public_html/forum/layout/links/website.thtml Mon Apr 11 13:00:05 2011
@@ -1,3 +1,3 @@
<!-- start website.thtml -->
-<td style="padding-top:3px; padding-right:3px;"><a
href="{websitelink}">{websitelinkimg}</a></td>
+<td style="padding-top:3px; padding-right:3px;"><a class="profilebutton"
href="{websitelink}">{websitelinktext}</a></td>
<!-- end website.thtml -->
=======================================
--- /public_html/forum/layout/reports/memberlist_line.thtml Sun Mar 27
13:51:17 2011
+++ /public_html/forum/layout/reports/memberlist_line.thtml Mon Apr 11
13:00:05 2011
@@ -4,8 +4,8 @@
<td>&nbsp;<a
href="{site_url}/users.php?mode=profile&amp;uid={member_uid}">{member_name}</a></td>
<td class="aligncenter">{member_regdate}</td>
<td class="aligncenter">{member_numposts}</td>
- <td>{pm_link}</td>
- <td>{email_link}</td>
- <td>{website_link}</td>
- <td>{lastposts_link}</td>
+ <td style="white-space:nowrap;">{pm_link}</td>
+ <td style="white-space:nowrap;">{email_link}</td>
+ <td style="white-space:nowrap;">{website_link}</td>
+ <td style="white-space:nowrap;">{lastposts_link}</td>
</tr>
=======================================
--- /public_html/forum/layout/reports/memberlist_link.thtml Sun Mar 27
13:51:17 2011
+++ /public_html/forum/layout/reports/memberlist_link.thtml Mon Apr 11
13:00:05 2011
@@ -1,1 +1,1 @@
-<a href="{link_url}"><img src="{image}" title="{LANG_title}"
alt="{LANG_title}"{xhtml}></a>
+<a class="profilebutton" href="{link_url}">{link_text}</a>
=======================================
--- /public_html/memberlist.php Mon Apr 11 09:28:49 2011
+++ /public_html/memberlist.php Mon Apr 11 13:00:05 2011
@@ -252,9 +252,8 @@
if ($siteMembers['posts'] > 0) {
$reportlinkURL =
$_CONF['site_url'] .'/forum/memberlist.php?op=last10posts&amp;showuser='.$siteMembers['uid'];

$reportlinkURL .= '&amp;prevorder='.$order.'&amp;direction='.$direction.'&amp;page='.$page;
- $report->set_var ('image', gf_getImage('latestposts'));
$report->set_var ('link_url', $reportlinkURL);
- $report->set_var
('LANG_title',sprintf($LANG_GF02['msg86'],$CONF_FORUM['show_last_post_count']));
+ $report->set_var ('link_text', $LANG_GF09['lastpost']);
$report->parse('lastposts_link','link');
} else {
$report->set_var ('lastposts_link', '');
@@ -262,9 +261,8 @@

if ($siteMembers['emailfromuser'] == '1') {
$emaillinkURL
= "{$_CONF['site_url']}/profiles.php?uid={$siteMembers['uid']}";
- $report->set_var ('image', gf_getImage('email'));
$report->set_var ('link_url', $emaillinkURL);
- $report->set_var ('LANG_title',$LANG_GF01['EmailLink']);
+ $report->set_var ('link_text', $LANG_GF09['email']);
$report->parse('email_link','link');
} else {
$report->set_var ('email_link', '');
@@ -272,9 +270,8 @@
if ($CONF_FORUM['use_pm_plugin']) {
$pmplugin_link = forumPLG_getPMlink($siteMembers['username']);
if ($pmplugin_link != '') {
- $report->set_var ('image', gf_getImage('pm'));
$report->set_var ('link_url', $pmplugin_link);
- $report->set_var ('LANG_title',$LANG_GF01['PMLink']);
+ $report->set_var ('link_text', $LANG_GF09['pm']);
$report->parse('pm_link','link');
} else {
$report->set_var ('pm_link', '');
@@ -287,9 +284,8 @@
if (strtolower(substr($homepage, 0, 4)) != 'http') {
$homepage = 'http://' .$homepage;
}
- $report->set_var ('image', gf_getImage('home'));
$report->set_var ('link_url', $homepage);
- $report->set_var ('LANG_title',$LANG_GF01['WebsiteLink']);
+ $report->set_var ('link_text', $LANG_GF09['home']);
$report->parse('website_link','link');
} else {
$report->set_var ('website_link', '');
Reply all
Reply to author
Forward
0 new messages