• R/O
  • SSH
  • HTTPS

jinrousiki: コミット


コミットメタ情報

リビジョン2124 (tree)
日時2018-01-07 20:33:01
作者umethyl

ログメッセージ

IconUploadHTML, IndexHTML, GameHTML, IconHTML, ImageHTML, OldLogHTML: img タグの要素並び調整

変更サマリ

差分

--- trunk/include/html/game_html_class.php (revision 2123)
+++ trunk/include/html/game_html_class.php (revision 2124)
@@ -99,7 +99,7 @@
9999
100100 //アイコンと名前を設定
101101 $str .= sprintf($stack->image,
102- $path, $user->color, self::ConvertImageLine($user->profile),
102+ $path, self::ConvertImageLine($user->profile), $user->color,
103103 Icon::GetTag(), $mouse,
104104 $td_header, $user->color, Message::SYMBOL, $user->handle_name
105105 );
@@ -759,7 +759,7 @@
759759 //プレイヤーアイコンタグ
760760 private static function GetPlayerImage() {
761761 return <<<EOF
762-<img src="%s" style="border-color: %s;" alt="icon" title="%s" %s%s></td>
762+<img src="%s" alt="icon" title="%s" style="border-color:%s;" %s%s></td>
763763 %s<span class="symbol" style="color:%s;">%s</span>%s
764764 EOF;
765765 }
--- trunk/include/html/old_log_html_class.php (revision 2123)
+++ trunk/include/html/old_log_html_class.php (revision 2124)
@@ -488,7 +488,7 @@
488488 $url = '';
489489 }
490490 $str = Text::Format(self::GetListHeader(),
491- $back, $url, $builder->Generate(),
491+ $back, $url, OldLogMessage::TITLE, OldLogMessage::TITLE, $builder->Generate(),
492492 OldLogMessage::NUMBER, OldLogMessage::NAME, OldLogMessage::COUNT,
493493 OldLogMessage::DATE, OldLogMessage::WIN
494494 );
@@ -501,7 +501,7 @@
501501 private static function GetListHeader() {
502502 return <<<EOF
503503 <p>%s</p>
504-<img src="%simg/title/old_log.jpg"><br>
504+<img src="%simg/title/old_log.jpg" alt="%s" title="%s"><br>
505505 <div>
506506 <table>
507507 <caption>%s</caption>
--- trunk/include/html/media/image_html_class.php (revision 2123)
+++ trunk/include/html/media/image_html_class.php (revision 2124)
@@ -43,7 +43,7 @@
4343
4444 //ユーザアイコンタグ
4545 private static function GetIcon() {
46- return '<img src="%s" style="border-color: %s;" alt="" align="middle" %s>';
46+ return '<img src="%s" alt="" style="border-color:%s;" align="middle" %s>';
4747 }
4848
4949 //投票画面用アイコンタグ
@@ -50,7 +50,7 @@
5050 private static function GetVoteIcon() {
5151 return <<<EOF
5252 <td><label for="%d">
53-<img src="%s" style="border-color: %s;" %s>
53+<img src="%s" alt="" style="border-color:%s;" %s>
5454 <span style="color:%s;">%s</span>%s<br>
5555 %s</label></td>
5656 EOF;
--- trunk/include/html/media/icon_html_class.php (revision 2123)
+++ trunk/include/html/media/icon_html_class.php (revision 2124)
@@ -40,7 +40,7 @@
4040 extract($stack);
4141 $size = UserIcon::GetMaxLength();
4242 Text::Printf(self::GetEdit(),
43- $icon_no, Icon::GetFile($icon_filename), $color,
43+ $icon_no, Icon::GetFile($icon_filename), $icon_name, $color,
4444 IconMessage::NAME, $icon_name, $size,
4545 IconMessage::APPEARANCE, $appearance, $size,
4646 IconMessage::CATEGORY, $category, $size,
@@ -274,7 +274,7 @@
274274 <input type="hidden" name="icon_no" value="%d">
275275 <table cellpadding="3">
276276 <tr>
277- <td rowspan="7"><img src="%s" style="border:3px solid %s;"></td>
277+ <td rowspan="7"><img src="%s" alt="%s" style="border:3px solid %s;"></td>
278278 <td><label for="name">%s</label></td>
279279 <td><input type="text" id="name" name="icon_name" value="%s" %s></td>
280280 </tr>
--- trunk/include/html/controller/index_html_class.php (revision 2123)
+++ trunk/include/html/controller/index_html_class.php (revision 2124)
@@ -134,7 +134,7 @@
134134 //タイトル画像タグ
135135 private static function GetTitle() {
136136 return <<<EOF
137-<a href="./"><img src="img/title/top.jpg" title="%s" alt="%s"></a>
137+<a href="./"><img src="img/title/top.jpg" alt="%s" title="%s"></a>
138138 <div class="comment">%s</div>
139139 <noscript>%s</noscript>
140140 EOF;
--- trunk/include/html/controller/icon_upload_html_class.php (revision 2123)
+++ trunk/include/html/controller/icon_upload_html_class.php (revision 2124)
@@ -15,7 +15,7 @@
1515 Text::Printf(self::GetConfirm(),
1616 IconUploadMessage::MESSAGE,
1717 IconMessage::APPEARANCE, IconMessage::CATEGORY, IconMessage::AUTHOR,
18- Icon::GetFile($file_name), $width, $height,
18+ Icon::GetFile($file_name), $icon_name, $width, $height,
1919 $icon_no, $icon_name, $color, Message::SYMBOL, $color, $data,
2020 IconUploadMessage::CONFIRM,
2121 $icon_no, IconUploadMessage::CHECK_NG,
@@ -149,7 +149,7 @@
149149 <p>%s</p>
150150 <p>[S] %s / [C] %s / [A] %s</p>
151151 <table><tr>
152-<td><img src="%s" width="%d" height="%d"></td>
152+<td><img src="%s" alt="%s" width="%d" height="%d"></td>
153153 <td class="name">No. %d %s<br><span style="color:%s;">%s</span>%s%s</td>
154154 </tr>
155155 <tr><td colspan="2">%s</td></tr>
旧リポジトリブラウザで表示