Revision | 8b8cab692f03a6ac6fd06b3da18db53c582b6e1b (tree) |
---|---|
Time | 2019-02-14 19:10:18 |
Author | Kana Koda <kodakana@user...> |
Commiter | Kana Koda |
一頁に表示できる最大件数を200に拡大。ユーザーTLとキーワードTLで長い投稿を省略しないように変更。
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku |
3 | -//(c) 2014 YANMAH2 project | |
3 | +//(c) 2019 YANMAH2 project | |
4 | 4 | //This program is freesoftware. you can redistribute it and/or modify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html). |
5 | 5 | ?> |
6 | 6 | <?php |
@@ -236,6 +236,11 @@ EOL; | ||
236 | 236 | if (isset($y2count) && $y2count == '100') $echo = $echo . ' selected="selected"'; |
237 | 237 | $echo = $echo . <<<EOL |
238 | 238 | >100</option> |
239 | + <option value="200" | |
240 | +EOL; | |
241 | +if (isset($y2count) && $y2count == '200') $echo = $echo . ' selected="selected"'; | |
242 | +$echo = $echo . <<<EOL | |
243 | +>200</option> | |
239 | 244 | </select> |
240 | 245 | </div> |
241 | 246 | EOL; |
@@ -1,6 +1,6 @@ | ||
1 | 1 | <?php |
2 | 2 | //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku |
3 | -//(c) 2018 YANMAH2 project | |
3 | +//(c) 2019 YANMAH2 project | |
4 | 4 | //This program is freesoftware. you can redistribute it and/or modify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html). |
5 | 5 | ?> |
6 | 6 | <?php defined("HELLO") or exit(); ?> |
@@ -70,7 +70,8 @@ if (preg_match("/((<br \/>|\n)*>>(<br \/>|\n))(.+)((<br \/>\n)<<(<br | ||
70 | 70 | $bquote = "0"; |
71 | 71 | } |
72 | 72 | //文字数制限 |
73 | -if ($entry_processor_mode == "entries" && !preg_match('/^(kalen_t|fumobot)$/u', $val->user->id)){ | |
73 | +if ($entry_processor_mode == "entries" && !preg_match('/^(kalen_t|fumobot)$/u', $val->user->id) | |
74 | + && $entries_mode != 'user_timeline' && $entries_mode != 'keyword_timeline'){ | |
74 | 75 | $see_more = "<a href=\"./entry.php?entry={$val->id}&user={$val->user->id}&keyword=" . rawurlencode($val->keyword) . "\" class=\"see-more\">(…)</a>"; |
75 | 76 | $plain_body = strip_tags($entry_body); |
76 | 77 | $entry_width = mb_strwidth($plain_body); |
@@ -1,13 +1,13 @@ | ||
1 | 1 | <?php |
2 | 2 | //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku |
3 | -//(c) 2018 YANMAH2 project | |
3 | +//(c) 2019 YANMAH2 project | |
4 | 4 | //This program is freesoftware. you can redistribute it and/ormodify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html). |
5 | 5 | ?> |
6 | 6 | <?php defined("HELLO") or exit(); ?> |
7 | 7 | <?php |
8 | 8 | $product_name_abbr = "YANMAH2"; |
9 | 9 | $product_name_full = "Yet ANother Mobile Accelerated Hatena-Haiku"; |
10 | -$product_version = "season2 2.03"; | |
10 | +$product_version = "season2 final"; | |
11 | 11 | $project_name = "YANMAH2 project"; |
12 | 12 | $project_url = "http://yanmah2.sourceforge.jp/"; |
13 | 13 | $user_agent = $product_name_abbr . '/' . $product_version . ' ' . $_SERVER['SERVER_NAME']; |