|
1: 2008-03-30 (日) 10:46:11 nonn50 |
| + | #nofollow |
| + | #norelated |
| + | #navi(../) |
| + | #contents |
| + | *L [#g02cf5a8] |
| | | |
| + | ** ls2 [#iea22349] |
| + | |
| + | -次のオプションが追加されました。 |
| + | [[PukiWiki-1.4での説明>PukiWiki/1.4/Manual/Plugin/L-N]] |
| + | |
| + | :pagename| |
| + | 多階層の場合、最終階層のみを表示し、階層の深さによりインデントします。 |
| + | |
| + | :notemplate| |
| + | テンプレートページをリストアップしません。 |
| + | |
| + | :relatedcount| |
| + | そのページへリンクしているページ数を表示します。 |
| + | |
| + | :depth:[Number]| |
| + | 表示する階層の深さを指定します。 |
| + | |
| + | :nonew| |
| + | New! 表示をしません。 |
| + | |
| + | :col:[Number]| |
| + | 表示する列数を指定します。 |
| + | |
| + | 例: #ls2(テストページ/,pagename,relatedcount,depth:1,col:2) |
| + | |
| + | #ls2(テストページ/,pagename,relatedcount,depth:1,col:2) |
| + | |
| + | **lsx [#ob8ba915] |
| + | -html側にコンバートして独自設定ができるように、設定する箇所を移動しました。 |
| + | --次のプラグイン(lsx.inc.php)をhtml側に置いて編集することで、独自設定できます。 |
| + | <?php |
| + | class xpwiki_user_plugin_lsx extends xpwiki_plugin_lsx { |
| + | function plugin_lsx_init() |
| + | { |
| + | |
| + | $this->plugin_lsx = new XpWikiPluginLsx($this->xpwiki); |
| + | |
| + | // Modify here for default values |
| + | $this->plugin_lsx->options = array( |
| + | 'hierarchy' => array('bool', true), |
| + | 'non_list' => array('bool', true), |
| + | 'reverse' => array('bool', false), |
| + | 'basename' => array('bool', false), |
| + | 'sort' => array('enum', 'name', array('name', 'date')), |
| + | 'tree' => array('enum', false, array(false, 'leaf', 'dir')), |
| + | 'depth' => array('number', ''), |
| + | 'num' => array('number', ''), |
| + | 'except' => array('string', ''), |
| + | 'filter' => array('string', ''), |
| + | 'prefix' => array('string', ''), |
| + | 'contents' => array('array', ''), |
| + | 'include' => array('array', ''), |
| + | 'info' => array('enumarray', array(), array('date', 'new')), |
| + | 'date' => array('bool', false), // obsolete |
| + | 'new' => array('bool', false), |
| + | 'tag' => array('string', ''), |
| + | 'notitle' => array('bool', false), |
| + | ); |
| + | |
| + | // Modify here for external plugins |
| + | $this->plugin_lsx->plugin_contents = 'contentsx'; |
| + | $this->plugin_lsx->plugin_include = 'includex'; |
| + | $this->plugin_lsx->plugin_new = 'new'; |
| + | } |
| + | } |
| + | ?> |
| + | |
| + | *M [#o4b99ed7] |
| + | |
| + | **map [#i83f94e0] |
| + | |
| + | |
| + | **※#menu [#ce182cf6] |
| + | |
| + | *N [#ze1bc993] |
| + | |
| + | **※navi [#q26c46af] |
| + | |
| + | **※new [#gbbe1d10] |
| + | |
| + | **newpage [#rbca84af] |
| + | |
| + | **noattach [#od48c460] |
| + | |
| + | **※noheader [#o93cf124] |
| + | |
| + | **nopagecommen [#k1a19329] |
| + | |
| + | * [[PukiWiki 1.4 に同梱されているプラグインマニュアル及び凡例>PukiWiki/1.4/Manual/Plugin]] [#b03447f6] |
| + | |
| + | #navi(../) |