• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-plugins: Commit

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


Commit MetaInfo

Revision91cf1788dd0e2800c2930f914ce1ede676578a42 (tree)
Time2009-04-15 14:22:00
Authorshizuki <shizuki@1ca2...>
Commitershizuki

Log Message

fix typo

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

Change Summary

Incremental Difference

--- a/NP_TagEX/trunk/NP_TagEX.php
+++ b/NP_TagEX/trunk/NP_TagEX.php
@@ -9,7 +9,7 @@
99 * as published by the Free Software Foundation; either version 2
1010 * of the License, or (at your option) any later version.
1111 * (see nucleus/documentation/index.html#license for more info)
12- *
12+ *
1313 * @author Original Author nakahara21
1414 * @copyright 2005-2008 nakahara21
1515 * @copyright 2006-2009 shizuki
@@ -236,11 +236,11 @@ __ORTAGTPL__;
236236 ),
237237 '_NPTAGEX_TPL_AND' => array(
238238 "template for 'and'",
239- "'and' リンクのテンプレート',
239+ "'and' リンクのテンプレート",
240240 ),
241241 '_NPTAGEX_TPL_OR' => array(
242242 "template for 'or'",
243- "'or' リンクのテンプレート',
243+ "'or' リンクのテンプレート",
244244 ),
245245 '_NPTAGEX_TPL_TAGIDX' => array(
246246 "template for 'tagIndex'",
@@ -249,19 +249,19 @@ __ORTAGTPL__;
249249 '_NPTAGEX_TPL_ITEMHEAD' => array(
250250 "template for 'tagItemHeader'",
251251 'タグを含むアイテムごとのヘッダ',
252- ),
252+ ),
253253 '_NPTAGEX_TPL_TAGITEMS' => array(
254254 "template for 'tagItem'",
255255 'タグを含むアイテム',
256- ),
256+ ),
257257 '_NPTAGEX_TPL_ITEMSEPL' => array(
258258 "template for 'tagItemSeparator'",
259259 'タグを含むアイテムのセパレータ',
260- ),
260+ ),
261261 '_NPTAGEX_TPL_ITEMFOOT' => array(
262262 "template for 'tagItemFooter'",
263263 'タグを含むアイテムごとのフッタ',
264- ),
264+ ),
265265 '_NPTAGEX_TPL_IDXSEP' => array(
266266 "template for 'tagIndexSeparator'",
267267 'タグのリンクのセパレータ'
@@ -269,23 +269,23 @@ __ORTAGTPL__;
269269 '_NPTAGEX_ONLY_CURRENT' => array(
270270 'show tags only current blog have',
271271 '表示中のブログのアイテムに登録してあるタグのみ表示'
272- ),
272+ ),
273273 '_NPTAGEX_HILIGHT_MODE' => array(
274274 'colorful highlight mode ?',
275275 'カラフルハイライトモードにしますか?'
276- ),
276+ ),
277277 '_NPTAGEX_HILIGHT_NORM' => array(
278278 'template for normal highlightmode',
279279 'ノーマルハイライトモードの時のテンプレート'
280- ),
280+ ),
281281 '_NPTAGEX_MAX_TAGLEBEL' => array(
282282 'MAX tag lebel',
283283 'タグレベルの最大値'
284- ),
284+ ),
285285 '_NPTAGEX_MIN_TAGLEBEL' => array(
286286 'MAX tag lebel',
287287 'タグレベルの最小値'
288- ),
288+ ),
289289 );
290290 switch (ereg_replace('[\\|/]', '', getLanguageName())) {
291291 case 'japanese-euc':
@@ -524,7 +524,7 @@ __ORTAGTPL__;
524524 'nptagex_tagItemFooter' => _NPTAGEX_TPL_ITEMFOOT,
525525 'nptagex_tagIndexSeparator' => _NPTAGEX_TPL_IDXSEP,
526526 'nptagex_highlight' => _NPTAGEX_HILIGHT_NORM,
527- );
527+ );
528528 }
529529 /**
530530 *
@@ -658,7 +658,7 @@ __ORTAGTPL__;
658658 for ($i=0; $i < count($temp_tags_array); $i++) {
659659 $this->mergeTags(trim($temp_tags_array[$i]), $inum);
660660 }
661- }
661+ }
662662
663663 function event_PreUpdateItem($data)
664664 {
@@ -688,7 +688,7 @@ __ORTAGTPL__;
688688 for ($i=0; $i < count($addTags); $i++) {
689689 $this->mergeTags($addTags[$i], $inum);
690690 }
691-
691+
692692 }
693693
694694 function event_PreDeleteItem($data)
@@ -726,7 +726,7 @@ __ORTAGTPL__;
726726 // update Item's TAGs
727727 $c = array_diff($a,$b);
728728 $c = array_intersect($c, $a);
729- return array_values($c);
729+ return array_values($c);
730730 }
731731
732732 function deleteTags($tag, $inum)
@@ -796,7 +796,7 @@ __ORTAGTPL__;
796796 . 'VALUES (%s, %d, 1)';
797797 sql_query(sprintf($q_query, _TAGEX_KLIST_TABLE, $tag, intval($inum)));
798798 }
799-
799+
800800 if (!empty($inums)) {
801801 $q_query = 'UPDATE %s SET inums = %s, inums_count = %d WHERE tag = %s';
802802 $iCount = intval($inums_count);
@@ -815,7 +815,7 @@ __ORTAGTPL__;
815815 if ($blogid > 0) {
816816 $b =& $manager->getBlog($blogid);
817817 } elseif ($blog) {
818- $b =& $blog;
818+ $b =& $blog;
819819 } else {
820820 $b =& $manager->getBlog($CONF['DefaultBlog']);
821821 }
@@ -871,7 +871,7 @@ __ORTAGTPL__;
871871 sscanf($archive, '%d-%d-%d', $y, $m, $d);
872872 if ($d) {
873873 $timestamp_start = mktime(0, 0, 0, $m, $d, $y);
874- $timestamp_end = mktime(0, 0, 0, $m, $d+1, $y);
874+ $timestamp_end = mktime(0, 0, 0, $m, $d+1, $y);
875875 } elseif ($m) {
876876 $timestamp_start = mktime(0, 0, 0, $m, 1, $y);
877877 $timestamp_end = mktime(0, 0, 0, $m+1, 1, $y);
@@ -1120,7 +1120,7 @@ __ORTAGTPL__;
11201120 $reqOR = array_map(array(&$this, "_rawdecode"), $requestTarray['or']);
11211121 }
11221122 }
1123- switch($type[0]){
1123+ switch($type[0]){
11241124
11251125 case 'tag':
11261126 if ($requestTarray) {
@@ -1268,7 +1268,7 @@ __ORTAGTPL__;
12681268 }else{
12691269 $taglevel = round(($tagAmount - $minCount) / ($maxCount - $minCount) * $taglevelsum + $mintaglevel);
12701270 }
1271-/// Item's name had TAGs
1271+/// Item's name had TAGs
12721272 $iids = array_slice($inums, 0, 4);
12731273 sort($iids);
12741274 $qQuery = ' SELECT '
@@ -1401,7 +1401,7 @@ __ORTAGTPL__;
14011401
14021402 function _rawencode($str)
14031403 {
1404-
1404+
14051405 if (_CHERSET != 'UTF-8') {
14061406 $str = mb_convert_encoding($str, "UTF-8", _CHARSET);
14071407 }
Show on old repository browser