Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの
Revision | e10fd6594f2eb2a0dcdaacd69c44a493f7a7740f (tree) |
---|---|
Time | 2010-06-23 23:24:02 |
Author | hsur <hsur@1ca2...> |
Commiter | hsur |
NP_Moblog v1.17.1
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@1064 1ca29b6e-896d-4ea0-84a5-967f57386b96
@@ -2,9 +2,9 @@ | ||
2 | 2 | // vim: tabstop=2:shiftwidth=2 |
3 | 3 | |
4 | 4 | /** |
5 | - * NP_Moblog ($Revision: 1.136 $) | |
5 | + * NP_Moblog ($Revision: 1.137 $) | |
6 | 6 | * by hsur ( http://blog.cles.jp/np_cles ) |
7 | - * $Id: NP_Moblog.php,v 1.136 2010/06/06 11:44:19 hsur Exp $ | |
7 | + * $Id: NP_Moblog.php,v 1.137 2010/06/23 14:20:28 hsur Exp $ | |
8 | 8 | * |
9 | 9 | * Based on NP_HeelloWorld v0.8 |
10 | 10 | * http://nakahara21.com/?itemid=133 |
@@ -76,7 +76,7 @@ class NP_Moblog extends NucleusPlugin { | ||
76 | 76 | |
77 | 77 | // version of the plugin |
78 | 78 | function getVersion() { |
79 | - return '1.17.0'; | |
79 | + return '1.17.1'; | |
80 | 80 | } |
81 | 81 | |
82 | 82 | function hasAdminArea() { |
@@ -216,7 +216,7 @@ class NP_Moblog extends NucleusPlugin { | ||
216 | 216 | |
217 | 217 | // a description to be shown on the installed plugins listing |
218 | 218 | function getDescription() { |
219 | - return '[$Revision: 1.136 $]<br />メールを拾ってアイテムを追加します。<%Moblog%>の記述のあるスキンを適用するページを開くと実行されます。<br /> | |
219 | + return '[$Revision: 1.137 $]<br />メールを拾ってアイテムを追加します。<%Moblog%>の記述のあるスキンを適用するページを開くと実行されます。<br /> | |
220 | 220 | <%Moblog(link)%>と記入することでメールを取得するためのリンクを表示することができます(要ログイン)<br /> |
221 | 221 | 個人ごとに設定ができるようになりましたので「あなたの設定」か「メンバー管理」から設定を行ってください。'; |
222 | 222 | } |
@@ -764,7 +764,7 @@ class NP_Moblog extends NucleusPlugin { | ||
764 | 764 | $size = strlen($part->body); |
765 | 765 | if( preg_match("/".$this->subtype."/i", trim($part->ctype_secondary) )){ |
766 | 766 | // サイズ、拡張子チェック |
767 | - if ($size < $this->maxbyte && preg_match("/".$this->viri.'/i', $filename)) { | |
767 | + if ($size < $this->maxbyte && !preg_match("/".$this->viri.'/i', $filename)) { | |
768 | 768 | |
769 | 769 | $fp = fopen($this->tmpdir.$filename, "w"); |
770 | 770 | fputs($fp, $part->body); |