• R/O
  • SSH
  • HTTPS

gokutracker: Commit


Commit MetaInfo

Revision78 (tree)
Time2010-08-11 13:44:08
Authorbuzei

Log Message

(empty log message)

Change Summary

Incremental Difference

--- blog/trunk/doc/59T4_1_release_note.txt (revision 77)
+++ blog/trunk/doc/59T4_1_release_note.txt (revision 78)
@@ -146,3 +146,18 @@
146146 doc/59T4_1_release_note.txt
147147
148148 ---
149+
150+59Tracker 4.1.5 のリリース
151+
152+・トピック詳細ページのパンくずリストのトピックタイトルが一部省略された場合に「...」が表示されない不具合の修正
153+・他のユーザーがオーナーのトピック詳細ページから投稿した場合に、そのトピックの広告が引き継がれる不具合の修正
154+・トピック詳細ページのUIを一部変更
155+・携帯電話用ページの出力文字エンコードをUTF-8からシフトJISに変更
156+・携帯電話用ページからコメントの投稿ができない不具合の修正
157+
158+Lib/Topic.pm
159+Plugins/editor.cgi
160+Plugins/mobile.cgi
161+doc/59T4_1_release_note.txt
162+
163+---
--- blog/trunk/Lib/Topic.pm (revision 77)
+++ blog/trunk/Lib/Topic.pm (revision 78)
@@ -738,6 +738,7 @@
738738
739739 my $homelabel = $language->get_statictext('home');
740740
741+ $string->set_tail('...');
741742 my $pathtitle = $string->cut($topictitle, 50);
742743 my $path = <<"END_PATH";
743744 <a href="./" class="path">$homelabel</a>&nbsp;
@@ -860,18 +861,19 @@
860861 my $enceditor = uri_escape($editor);
861862 $editor = "<a href=\"./?q=$enceditor\">$editor</a>";
862863
863- my $fontcolor = "Black";
864+ my $language = Lib::Language->new();
865+ my $statusline = $language->get_statictext('delete-status');
864866 if ($status == 0) {
865- $fontcolor = "Orange";
867+ $statusline = "<font color=\"Orange\">" . $language->get_statictext('draft-status') . "</font>";
866868 }
867869 elsif ($status == 1) {
868- $fontcolor = "Darkgreen";
870+ $statusline = "<font color=\"Darkgreen\">" . $language->get_statictext('open-status') . "</font>";
869871 }
870872 elsif ($status == 2) {
871- $fontcolor = "Darkred";
873+ $statusline = "<font color=\"Darkred\">" . $language->get_statictext('close-status') . "</font>";
872874 }
873875 elsif ($status == 3) {
874- $fontcolor = "Darkblue";
876+ $statusline = "<font color=\"Darkblue\">" . $language->get_statictext('limit-status') . "</font>";
875877 }
876878
877879 my $detail = <<"END_DETAIL";
@@ -878,7 +880,8 @@
878880 $topictitle
879881 $text
880882 <div>
881-<font color="$fontcolor">[$topicid]</font> Posted by <b>$editor</b> at <font class="datetime">$lastdate</font> $editmenu<br/>
883+[<a href="./?q=id:$topicid">$topicid</a>] Posted by <b>$editor</b> at <font class="datetime">$lastdate</font> $editmenu<br/>
884+$statusline |
882885 <b><font class="point" size="+1">$point</font> point</b> |
883886 <a href="$topicurl#link">Link ($linknum)</a> |
884887 <a href="$topicurl#trackback">Trackback ($trackbacknum)</a> |
Show on old repository browser