svnno****@sourc*****
svnno****@sourc*****
2009年 1月 31日 (土) 02:03:50 JST
Revision: 455 http://svn.sourceforge.jp/view?root=bbs2ch&view=rev&rev=455 Author: flyson Date: 2009-01-31 02:03:50 +0900 (Sat, 31 Jan 2009) Log Message: ----------- [04_BRANCH]!omikujiやfusianasan時に偽装と区別ができないのを修正 Modified Paths: -------------- branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js branches/bbs2chreader/04_BRANCH/defaults/skin/style.css -------------- next part -------------- Modified: branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js =================================================================== --- branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js 2008-12-17 11:08:55 UTC (rev 454) +++ branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js 2009-01-30 17:03:50 UTC (rev 455) @@ -302,12 +302,17 @@ var resMes = ""; if(resArray.length > 3){ - resName = resArray[0].replace(/<\/?b>|/g, ""); + resName = resArray[0] //.replace(/<\/?b>|/g, ""); resMail = resArray[1]; resDate = resArray[2]; resMes = resArray[3]; } + if(resName.indexOf("<") != -1){ + resName = resName.replace("</b>", "<span class=\"resSystem\">", "g") + .replace("<b>", "</span>", "g");; + } + if(resDate.indexOf("<") != -1){ resDate = this.htmlToText(resDate); } Modified: branches/bbs2chreader/04_BRANCH/defaults/skin/style.css =================================================================== --- branches/bbs2chreader/04_BRANCH/defaults/skin/style.css 2008-12-17 11:08:55 UTC (rev 454) +++ branches/bbs2chreader/04_BRANCH/defaults/skin/style.css 2009-01-30 17:03:50 UTC (rev 455) @@ -121,6 +121,11 @@ font-size: 1.2em; } +span.resSystem { + font-weight: normal; + color: #477; +} + span.resID, span.resMesID { text-decoration: underline;