XOOPSマニア  最新情報のRSS(サイト全体)
[ 自宅サーバーWebRing |ID=54 前後5表示乱移動サイト一覧 ]

08年8月30日(Sat) 17時18分
TOP » xpWiki::Dev » xpWiki開発日記 » 2007-08-24

Ver 3.16.1 (attach, lsx の調整など) anchor.png Edit

  • lsx
    • html側にコンバートして独自設定ができるように、設定する箇所を移動しました。
      • 次のプラグイン(lsx.inc.php)をhtml側に置いて編集することで、独自設定できます。
         1
         2
         3
         4
         5
         6
         7
         8
         9
        10
        11
        12
        13
        14
        15
        16
        17
        18
        19
        20
        21
        22
        23
        24
        25
        26
        27
        28
        29
        30
        31
        32
        33
        34
        35
        36
        
        <?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';
            }
        }
        ?>
  • attach
    • ページ作成前にファイル添付フォームを表示した場合、自動で空ページを作成するようにしていましたが、そのタイミングをファイルアップロード時に変更しました。これは、ロボットなどのアクセスにより無意味な空ページが作成されることがあったためその対策です。
  • その他
    • pukiwiki.ini.php 設定変更
      • 管理者が修正できるようにするため、root->whatsdeleted から root->cantedit を除外しました。
Page Top

CVS 更新内容 anchor.png Edit

  • 2007-08-24 10:12 nao-pon
    • * xoops_version.php (1.165):
      • Version 3.16.1
  • 2007-08-24 10:11 nao-pon
    • * plugin/lsx.inc.php (1.7):
      • Moved default config from XpWikiPluginLsx::XpWikiPluginLsx() to plugin_lsx_init().
  • 2007-08-24 10:03 nao-pon
    • * plugin/attach.inc.php (1.21):
      • Moved "empty page check" from attach_form() to plugin_attach_action().
  • 2007-08-24 10:02 nao-pon

Post a new comment

Subject
guestname   :
Body
Go to richer form

Comments list


Front page   Edit Freeze Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 1024, today: 1, yesterday: 2
Last-modified: 2007-08-25 (Sat) 11:23:43 (JST) (371d) by nao-pon
このページのTopへ
ログイン
ユーザ名:

パスワード:

オートログイン

Basic 認証

Register now! | Lost Password?

mixiでログイン Yahoo!でログイン
アクティブメニュー
"ぽちっ"としてね☆ 
付箋機能 (xpwiki)
Fusen(Tag) menu 
Tag Editor
Color: BG:
Name:  Connect line ID:
 
MenuBar (xpwiki)
ブックマーク
Please log in to use it.
[Login]
サイト内 Wiki
☆ 検索 ☆



高度な検索(サイト内)
FireFox検索プラグイン
オンライン状況
合計 120 人がオンライン中 :-)
(xpWiki::Dev : 3 人)

登録ユーザ: 0 & ゲスト: 120

もっと...
サイト情報
管理人

nao-pon
 

登録ユーザ数: 1400


現在ページのQRコード 
現在ページのQRコード
[携帯対応]
参照元情報
No trackback