languages/lang_english.conf:
サイト名を日本語に変更
sidebar_comments.php:
日本語コメントが...になる不具合の修正
コメントの切り詰め処理にutf8関数を使うように修正
templates/wistie/footer.tpl:
お知らせ,投稿ボタンページへのリンクを追加
templates/wistie/editlink_edit_center.tpl:
submitと同じようにmiddleテンプレートフックを追加
修正ページで拡張属性も修正できるようにするため。
templates/wistie/submit_step_2.tpl:
カテゴリselectボタンのoptionタグの記述をvalidに修正
@@ -51,8 +51,8 @@ | ||
51 | 51 | |
52 | 52 | $text = strip_tags($text); |
53 | 53 | $text = $text." "; |
54 | - $text = substr($text,0,$chars); | |
55 | - $text = substr($text,0,strrpos($text,' ')); | |
54 | + $text = utf8_substr($text,0,$chars); | |
55 | + $text = utf8_substr($text,0,utf8_strpos($text,' ')); | |
56 | 56 | $text = $text."..."; |
57 | 57 | |
58 | 58 | return $text; |