• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-plugins: Commit

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


Commit MetaInfo

Revisionb51200c8613df9e88720b940574e4b4e98a012af (tree)
Time2006-09-29 21:32:09
Authorshizuki <shizuki@1ca2...>
Commitershizuki

Log Message

security fix - no_check

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

Change Summary

Incremental Difference

--- a/trunk/NP_ItemNaviEX/NP_ItemNaviEX.php
+++ b/trunk/NP_ItemNaviEX/NP_ItemNaviEX.php
@@ -184,6 +184,7 @@ class NP_ItemNaviEX extends NucleusPlugin
184184 $subNaviUnit = array();
185185 $this->linkparams = array();
186186 //store Home =====================================
187+// comment out this block when HOME is sub-blog top
187188 if($showHome > 0){
188189 $naviUnit[] = array(
189190 0 => 'Home',
@@ -196,9 +197,9 @@ class NP_ItemNaviEX extends NucleusPlugin
196197 // if ($showHome > 0) {
197198 $naviUnit[] = array(
198199 0 => htmlspecialchars(getBlogNameFromID($blogid)),
199-// 0 => 'Home',
200+// 0 => 'Home', // when HOME is sub-blog top
200201 1 => createBlogidLink($blogid),
201-// 1 => $CONF['BlogURL'] . '/',
202+// 1 => $CONF['BlogURL'] . '/', // when HOME is sub-blog top
202203 2 => createArchiveListLink($blogid)
203204 );
204205 }
@@ -353,7 +354,7 @@ class NP_ItemNaviEX extends NucleusPlugin
353354 // $a2buf .= ' | ( <a href="'.$today_link.'">Today</a> )';
354355 }
355356 }
356-//============================= // end of archive
357+//============================= // end of archive(s)
357358
358359 // Print subNavi
359360 // todo Henceforth to template
@@ -396,7 +397,7 @@ class NP_ItemNaviEX extends NucleusPlugin
396397 . htmlspecialchars($tag) . '</a>';
397398 }
398399 echo ' <small style="font-family:Tahoma;">';
399- // echo ' (Tag for "'.$tagPlugin->_rawdecode(requestVar('tag')).'")';
400+// echo ' (Tag for "'.$tagPlugin->_rawdecode(requestVar('tag')).'")';
400401 echo ' (Tag for "' . @join(' / ', $taglist) . '")';
401402 echo '</small>';
402403 }
Show on old repository browser