• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-plugins: Commit

Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの


Commit MetaInfo

Revisione10fd6594f2eb2a0dcdaacd69c44a493f7a7740f (tree)
Time2010-06-23 23:24:02
Authorhsur <hsur@1ca2...>
Commiterhsur

Log Message

NP_Moblog v1.17.1

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@1064 1ca29b6e-896d-4ea0-84a5-967f57386b96

Change Summary

Incremental Difference

--- a/trunk/NP_Moblog/NP_Moblog.php
+++ b/trunk/NP_Moblog/NP_Moblog.php
@@ -2,9 +2,9 @@
22 // vim: tabstop=2:shiftwidth=2
33
44 /**
5- * NP_Moblog ($Revision: 1.136 $)
5+ * NP_Moblog ($Revision: 1.137 $)
66 * 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 $
88 *
99 * Based on NP_HeelloWorld v0.8
1010 * http://nakahara21.com/?itemid=133
@@ -76,7 +76,7 @@ class NP_Moblog extends NucleusPlugin {
7676
7777 // version of the plugin
7878 function getVersion() {
79- return '1.17.0';
79+ return '1.17.1';
8080 }
8181
8282 function hasAdminArea() {
@@ -216,7 +216,7 @@ class NP_Moblog extends NucleusPlugin {
216216
217217 // a description to be shown on the installed plugins listing
218218 function getDescription() {
219- return '[$Revision: 1.136 $]<br />メールを拾ってアイテムを追加します。&lt;%Moblog%&gt;の記述のあるスキンを適用するページを開くと実行されます。<br />
219+ return '[$Revision: 1.137 $]<br />メールを拾ってアイテムを追加します。&lt;%Moblog%&gt;の記述のあるスキンを適用するページを開くと実行されます。<br />
220220 &lt;%Moblog(link)%&gt;と記入することでメールを取得するためのリンクを表示することができます(要ログイン)<br />
221221 個人ごとに設定ができるようになりましたので「あなたの設定」か「メンバー管理」から設定を行ってください。';
222222 }
@@ -764,7 +764,7 @@ class NP_Moblog extends NucleusPlugin {
764764 $size = strlen($part->body);
765765 if( preg_match("/".$this->subtype."/i", trim($part->ctype_secondary) )){
766766 // サイズ、拡張子チェック
767- if ($size < $this->maxbyte && preg_match("/".$this->viri.'/i', $filename)) {
767+ if ($size < $this->maxbyte && !preg_match("/".$this->viri.'/i', $filename)) {
768768
769769 $fp = fopen($this->tmpdir.$filename, "w");
770770 fputs($fp, $part->body);
Show on old repository browser