OSDN Git Service

一頁に表示できる最大件数を200に拡大。ユーザーTLとキーワードTLで長い投稿を省略しないように変更。 master
authorKana Koda <kodakana@users.sourceforge.jp>
Thu, 14 Feb 2019 10:10:18 +0000 (19:10 +0900)
committerKana Koda <kodakana@users.sourceforge.jp>
Thu, 14 Feb 2019 10:10:18 +0000 (19:10 +0900)
config.php
entry_processor.php
product_definitions.php

index c1ea59d..75ea969 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
-//(c) 2014 YANMAH2 project
+//(c) 2019 YANMAH2 project
 //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).
 ?>
 <?php
@@ -236,6 +236,11 @@ EOL;
 if (isset($y2count) && $y2count == '100') $echo = $echo . ' selected="selected"';
 $echo = $echo . <<<EOL
 >100</option>
+       <option value="200"
+EOL;
+if (isset($y2count) && $y2count == '200') $echo = $echo . ' selected="selected"';
+$echo = $echo . <<<EOL
+>200</option>
   </select>
 </div>
 EOL;
index ff67f1e..775a73d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
-//(c) 2018 YANMAH2 project
+//(c) 2019 YANMAH2 project
 //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).
 ?>
 <?php defined("HELLO") or exit(); ?>
@@ -70,7 +70,8 @@ if (preg_match("/((<br \/>|\n)*&gt;&gt;(<br \/>|\n))(.+)((<br \/>\n)&lt;&lt;(<br
   $bquote = "0";
 }
 //文字数制限
-if ($entry_processor_mode == "entries" && !preg_match('/^(kalen_t|fumobot)$/u', $val->user->id)){
+if ($entry_processor_mode == "entries" && !preg_match('/^(kalen_t|fumobot)$/u', $val->user->id)
+    && $entries_mode != 'user_timeline' && $entries_mode != 'keyword_timeline'){
   $see_more = "<a href=\"./entry.php?entry={$val->id}&amp;user={$val->user->id}&amp;keyword=" . rawurlencode($val->keyword) . "\" class=\"see-more\">(…)</a>";
   $plain_body = strip_tags($entry_body);
   $entry_width = mb_strwidth($plain_body);
index 8645e87..1c22345 100644 (file)
@@ -1,13 +1,13 @@
 <?php
 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
-//(c) 2018 YANMAH2 project
+//(c) 2019 YANMAH2 project
 //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).
 ?>
 <?php defined("HELLO") or exit(); ?>
 <?php
 $product_name_abbr = "YANMAH2";
 $product_name_full = "Yet ANother Mobile Accelerated Hatena-Haiku";
-$product_version = "season2 2.03";
+$product_version = "season2 final";
 $project_name = "YANMAH2 project";
 $project_url = "http://yanmah2.sourceforge.jp/";
 $user_agent = $product_name_abbr . '/' . $product_version . ' ' . $_SERVER['SERVER_NAME'];