• R/O
  • HTTP
  • SSH
  • HTTPS

YANMAH2-season2-: Commit


Commit MetaInfo

Revision8b8cab692f03a6ac6fd06b3da18db53c582b6e1b (tree)
Time2019-02-14 19:10:18
AuthorKana Koda <kodakana@user...>
CommiterKana Koda

Log Message

一頁に表示できる最大件数を200に拡大。ユーザーTLとキーワードTLで長い投稿を省略しないように変更。

Change Summary

Incremental Difference

--- a/config.php
+++ b/config.php
@@ -1,6 +1,6 @@
11 <?php
22 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3-//(c) 2014 YANMAH2 project
3+//(c) 2019 YANMAH2 project
44 //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).
55 ?>
66 <?php
@@ -236,6 +236,11 @@ EOL;
236236 if (isset($y2count) && $y2count == '100') $echo = $echo . ' selected="selected"';
237237 $echo = $echo . <<<EOL
238238 >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>
239244 </select>
240245 </div>
241246 EOL;
--- a/entry_processor.php
+++ b/entry_processor.php
@@ -1,6 +1,6 @@
11 <?php
22 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3-//(c) 2018 YANMAH2 project
3+//(c) 2019 YANMAH2 project
44 //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).
55 ?>
66 <?php defined("HELLO") or exit(); ?>
@@ -70,7 +70,8 @@ if (preg_match("/((<br \/>|\n)*&gt;&gt;(<br \/>|\n))(.+)((<br \/>\n)&lt;&lt;(<br
7070 $bquote = "0";
7171 }
7272 //文字数制限
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'){
7475 $see_more = "<a href=\"./entry.php?entry={$val->id}&amp;user={$val->user->id}&amp;keyword=" . rawurlencode($val->keyword) . "\" class=\"see-more\">(…)</a>";
7576 $plain_body = strip_tags($entry_body);
7677 $entry_width = mb_strwidth($plain_body);
--- a/product_definitions.php
+++ b/product_definitions.php
@@ -1,13 +1,13 @@
11 <?php
22 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3-//(c) 2018 YANMAH2 project
3+//(c) 2019 YANMAH2 project
44 //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).
55 ?>
66 <?php defined("HELLO") or exit(); ?>
77 <?php
88 $product_name_abbr = "YANMAH2";
99 $product_name_full = "Yet ANother Mobile Accelerated Hatena-Haiku";
10-$product_version = "season2 2.03";
10+$product_version = "season2 final";
1111 $project_name = "YANMAH2 project";
1212 $project_url = "http://yanmah2.sourceforge.jp/";
1313 $user_agent = $product_name_abbr . '/' . $product_version . ' ' . $_SERVER['SERVER_NAME'];
Show on old repository browser