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

TOP » xpwiki » calendar xpWiki開発日記/2008.04
Archives
2006
1 2 3 4 5 6 7 8 9 10 11 12
2007
1 2 3 4 5 6 7 8 9 10 11 12
2008
1 2 3 4 5 6 7 8 9 10 11 12
2009
1 2 3 4 5 6 7 8 9 10 11 12
2010
1 2 3 4 5 6 7 8 9 10 11 12
2011
1 2 3 4 5 6 7 8 9 10 11 12
2012
1 2 3 4 5 6 7 8 9 10 11 12
2013
1 2 3 4 5 6 7 8 9 10 11 12
2014
1 2 3 4 5 6 7 8 9 10 11 12
2017
1 2 3 4 5 6 7 8 9 10 11 12
<< 2008.4 >>
[xpWiki開発日記]
    1 2 3 4
6 7 8 10 11 12
13 15 17 18 19
21 22 23 26
28 30      
 

Ver 3.71.10 (moblogプラグイン新規追加とプラグインメンテなど) anchor.png Edit

Page Top

moblog プラグイン 新規追加 anchor.png Edit

PukiWikiMod の moblog プラグインを、xpWiki 用に修正してみました。

moblog は E-Mail にてページを投稿できるプラグインです。使用にあたっては、plugin_moblog_init() にて、メールアカウントの設定が必要になります。

html(XOOPS_ROOT_PATH)側にて、オーバーライトして使用してください。

  • html側に置くプラグイン(設定部分のみ抜粋したもの)
    [インストールディレクトリ名]の部分を環境に合わせて修正してください。
    • XOOPS_ROOT_PATH/modules/[インストールディレクトリ名]/private/plugin/moblog.inc.php
      filemoblog.inc.php
       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
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      51
      52
      53
      54
      55
      56
      57
      58
      59
      60
      61
      62
      63
      64
      65
      66
      67
      68
      69
      70
      71
      72
      73
      74
      75
      76
      77
      78
      79
      80
      81
      
      <?php
      class xpwiki_[インストールディレクトリ名]_plugin_moblog extends xpwiki_plugin_moblog {
          function plugin_moblog_init () {
              parent::plugin_moblog_init();
              
              ////// 必須設定項目 ///////
              
              // 受信用メールアドレス
              $this->config['mail'] = '';
              // POPサーバー
              $this->config['host'] = 'localhost';
              // POPサーバーアカウント
              $this->config['user'] = '';
              // POPサーバーパスワード
              $this->config['pass'] = '';
              // POPサーバーポート番号
              $this->config['port'] = 110;
              
              // 送信元アドレスによって振り分けるページの指定
              // ページ名空白 '' で無視(投稿登録中止)
              $this->config['adr2page'] = array(
              //      'メールアドレス'     => array('ページ名', UserIDナンバー),
              //      'hoge@example.com' => array('日記', 1),     // 設定例
                  'other'               => array('', 0),           // 登録メールアドレス以外
              );
              
              ////// 必須設定項目終了 //////
              
              //////////////////////////////
              ///// 以下はお好みで設定 /////
              
              // refプラグインの追加オプション
              $this->config['ref'] = ',left,around,mw:240,mh:240';
              
              // googlemaps の追加オプション
              $this->config['gmap'] = ',width=100%,height=300px,zoom=15,type=normal,overviewctrl=1,autozoom=1';
              
              // 最大添付量(バイト・1ファイルにつき)※超えるものは保存しない
              $this->config['maxbyte'] = "1048576"; //1MB
              
              // 本文文字制限(半角で
              $this->config['body_limit'] = 1000;
              
              // 最小自動更新間隔(分)
              $this->config['refresh_min'] = 5;
              
              // 件名がないときの題名
              $this->config['nosubject'] = "";
              
              // 投稿非許可アドレス(ログに記録しない)
              $this->config['deny'] = array('163.com','bigfoot.com','boss.com','yahoo-delivers@mail.yahoo.co.jp');
              
              // 投稿非許可メーラー(perl互換正規表現)(ログに記録しない)
              $this->config['deny_mailer'] = '/(Mail\s*Magic|Easy\s*DM|Friend\s*Mailer|Extra\s*Japan|The\s*Bat)/i';
              
              // 投稿非許可タイトル(perl互換正規表現)(ログに記録しない)
              $this->config['deny_title'] = '/((未|末)\s?承\s?(諾|認)\s?広\s?告)|相互リンク/i';
              
              // 投稿非許可キャラクターセット(perl互換正規表現)(ログに記録しない)
              $this->config['deny_lang'] = '/us-ascii|big5|euc-kr|gb2312|iso-2022-kr|ks_c_5601-1987/i';
              
              // 対応MIMEタイプ(正規表現)Content-Type: image/jpegの後ろの部分。octet-streamは危険かも
              $this->config['subtype'] = "gif|jpe?g|png|bmp|octet-stream|x-pmd|x-mld|x-mid|x-smd|x-smaf|x-mpeg";
              
              // 保存しないファイル(正規表現)
              $this->config['viri'] = ".+\.exe$|.+\.zip$|.+\.pif$|.+\.scr$";
              
              // 25字以上の下線は削除(広告区切り)
              $this->config['del_ereg'] = "[_]{25,}";
              
              // 本文から削除する文字列
              $this->config['word'][] = "http://auction.msn.co.jp/";
              $this->config['word'][] = "Do You Yahoo!?";
              $this->config['word'][] = "Yahoo! BB is Broadband by Yahoo!";
              $this->config['word'][] = "http://bb.yahoo.co.jp/";
              
              // 添付メールのみ記録する?Yes=1 No=0(本文のみはログに載せない)
              $this->config['imgonly'] = 0;
          }
      }
      ?>
  • #moblog と記述しておくと、指定されたメールサーバーをチェックしに行きますので、MenuBar などに記述しておくと自動的に更新されます。
  • メール Subject で振り分ける機能はありませんので、メールアカウントは、moblog 専用のものを用意してください。
Page Top

エンバグ修正 anchor.png Edit

  • ページ削除ができなくなっていた :-o ので、修正しました。
Page Top

プラグインのメンテナンスなど anchor.png Edit

  • code プラグインで行番号の最後の行が表示されないことがある問題を修正。
  • search プラグインのフォーム表示で、項目途中で改行されないようにして見やすくしてみました。
  • calendar_viewer プラグインで、ページナビゲーションのリンクを間違うことがあったので修正しました。
  • $this->cont['PAGENAME'] に、現在表示中のページ名をセットするようにしました。この値は通常変わることはありません。
    • 似たような変数で $this->root->vars['page'] がありますが、この値は他のページをインクルードするためにレンダリングする場合に、他のページのレンダリング中は、そのページ名に変わります。
  • PHP の memory_limit を 64M に設定するようにしてみました。
  • その他、諸々。
Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-05 09:02 nao-pon
    • * xoops_version.php (1.325):
      • Version 3.71.10
  • 2008-04-05 09:02 nao-pon
    • * plugin/moblog.inc.php (1.1), skin/image/gif/spacer.gif (1.1):
      • Added New plugin "moblog", It enables page update with E-mail.
  • 2008-04-05 08:56 nao-pon
    • * plugin/search.inc.php (1.6):
      • Added <span class="nowrap"> in search form.
  • 2008-04-05 08:54 nao-pon
    • * plugin/isbn.inc.php (1.5):
      • $this->config['AMAZON_ASE_ID'] = '';
  • 2008-04-05 08:53 nao-pon
    • * plugin/edit.inc.php (1.58):
      • simply.
  • 2008-04-05 08:53 nao-pon
    • * plugin/calendar_viewer.inc.php (1.12):
      • Bugfixed, The link of "Following" was wrong.
  • 2008-04-05 08:51 nao-pon
    • * plugin/aws.inc.php (1.2):
      • Move "load_language()" to convert().
  • 2008-04-05 08:50 nao-pon
    • * plugin/attach.inc.php (1.38):
      • Return attach file name too, from do_upload().
  • 2008-04-05 08:48 nao-pon
    • * plugin/amazon.inc.php (1.6):
      • cleanup.
  • 2008-04-05 08:48 nao-pon
    • * class/include/init.php (1.49):
      • Added "cont['PAGENAME']" that is showing pagename.
  • 2008-04-05 08:47 nao-pon
    • * class/func/pukiwiki_func.php (1.158):
      • Bugfixed(embug), Page deletion were impossible.
      • Do not auto link with the self-page.
  • 2008-04-05 08:44 nao-pon
    • * class/root.php (1.13):
      • Added "cont['PAGENAME']" that is showing pagename.
  • 2008-04-05 08:43 nao-pon
    • * class/plugin.php (1.9):
      • Reading the language file : only once.
  • 2008-04-05 08:41 nao-pon
    • * plugin/code/codehighlight.php (1.10):
      • Bugfixed the problem that the line - number shifts.
  • 2008-04-05 08:40 nao-pon
    • * include.php (1.12):
      • set memory_limit '64M'
Page Top

一行コメント anchor.png Edit



 

Ver 3.71.13 (ページ権限設定のバグ修正、moblogプラグイン設定追加など) anchor.png Edit

Page Top

ページ権限のバグ修正 anchor.png Edit

エンバグをしてしまい、管理者以外のページオーナーが、ページ権限の設定ができなくなっていましたので修正しました。

Page Top

moblog プラグインに設定追加 anchor.png Edit

メールヘッダの "Received-SPF" を検査して、正当な送信者かを判断できる設定を追加しました。

送信元のメールサーバーが、SPF ( Sender Policy Framework ) に対応して、かつ、受信メールサーバーも対応している場合に有効にしておくと、他人の成りすましをある程度防ぐことができます。

大手のプロバイダーや携帯各社は、ほぼ SPF に対応しています。対応しているかどうかを確認するには、そのメールアドレスでmoblog 専用メールアドレス宛にメールを送信して、手元のメーラーで受信してメールヘッダを見てください。

Received-SPF: pass (.....)

このようなヘッダがあれば対応しています。

moblog プラグインの設定は、次のようにします。

  • moblog.inc.php plugin_moblog_init() 内
    1
    2
    3
    4
    5
    
    // 許可する Received-SPF: ヘッダ
    // Received-SPF: ヘッダを付加しないMTAは、「チェックしない」にする。
    //$this->config['allow_spf'] = '';                     // チェックしない
    $this->config['allow_spf'] = '/pass/i';              // pass のみ許可 (奨励)
    //$this->config['allow_spf'] = '/pass|none|neutral/i'; // pass, none, neutral を許可

「pass のみ許可」が一番安心です。

Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-09 16:54 nao-pon
    • * xoops_version.php (1.328):
      • Version 3.71.13
  • 2008-04-09 16:54 nao-pon
    • * plugin/pginfo.inc.php (1.25):
      • Bugfixed. Could not change the page permission as page owner.
  • 2008-04-09 16:51 nao-pon
    • * class/plugin.php (1.10):
      • Added a function "action_msg_owner_only()".
  • 2008-04-09 16:51 nao-pon
    • * plugin/calendar9.inc.php (1.11):
      • Suppored the moblog page.
  • 2008-04-09 16:50 nao-pon
    • * plugin/moblog.inc.php (1.3):
      • Suppoted Mail header "Received-SPF".
Page Top

一行コメント anchor.png Edit



 

Ver 3.71.14 (code, jsmath プラグインのメンテナンスなど) anchor.png Edit

Page Top

概要 anchor.png Edit

  • ページ更新作業中にブラウザとの接続が切れても継続するように明示した。
  • plugin 基底クラスの fetch_options() 関数でオプション判定ロジックに若干誤りがあったので修正した。
  • func->add_js_var_head() で、JavaScriptコードを出力できるようにした。
  • ページ情報DBのシンクロナイズで、"pgorder" 情報が漏れていたので修正した。
  • ブラウザによっては、<table>の幅が内包するブロック要素により、拡張されて横に広がってしまうので、<table> 内の <div class="pre"> 要素の幅を JavaScript で自動調整するようにした。
  • code プラグインで、添付ファイルのハイライトキャッシュ時に、id が一意にならない、オプションが有効にならないなどの問題があったので修正した。
  • jsmath プラグインで、インライン記述、ブロック記述をサポートし、オプションを追加した。
  • moblog プラグインの wait 指定を最大5秒とした。(セッションが切れる?ことがあったので)
Page Top

jsmath プラグイン anchor.png Edit

書式

&jsmath(オプション){数式};

#jsmath(オプション){{

数式

}}

オプション

すべて省略可能です。 noGlobal のみデフォルトで有効になっています。

mimeTeX AMSmath, AMSsymbols, autobold, boldsymbol, verb, smallFonts, noImageFonts, lobal, noGlobal, noCache, CHMmode, spriteImageFonts

Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-14 17:37 nao-pon
    • * xoops_version.php (1.329):
      • Version 3.71.14
  • 2008-04-14 17:37 nao-pon
    • * plugin/jsmath.inc.php (1.2), skin/css/jsmath.css (1.3):
      • Supported as block & inline plugin.
  • 2008-04-14 17:36 nao-pon
    • * plugin/: code.inc.php (1.18), code/codehighlight.php (1.11):
      • Bigfix of making of attached file highlight cache.
  • 2008-04-14 17:33 nao-pon
    • * skin/js/: main.js (1.43), xpwiki.js (1.13):
      • Do the self adjustment of the width of div(class="pre") in the <table>.
  • 2008-04-14 17:32 nao-pon
    • * plugin/moblog.inc.php (1.4):
      • Max sleeep is 5 sec.
  • 2008-04-14 17:30 nao-pon
    • * plugin/dbsync.inc.php (1.29):
      • Bugfix that doesn't synchronize "pgorder" on synchronization of pginfo DB.
  • 2008-04-14 17:27 nao-pon
    • * class/func/xpwiki_func.php (1.161):
      • The expression of JavaScript when the argument is 1 piece.
  • 2008-04-14 17:25 nao-pon
    • * class/plugin.php (1.11):
      • Bugfix of extraction mistake of parameter.
  • 2008-04-13 15:44 nao-pon
    • * class/func/pukiwiki_func.php (1.160):
      • Added user_abort control in "page_write()".
Page Top

一行コメント anchor.png Edit



 

Ver 3.71.15 (Wiki書式、インポート機能の調整など) anchor.png Edit

Page Top

概要 anchor.png Edit

  • ブラケット[[ ]] 内にURLのみを記述可能にした。
  • ブラケット[[ ]] を使ったリンクでエイリアスに画像を指定した場合の出力HTMLを調整した。
  • PukiWikiModデータのインポート機能で行末の ~ を考慮するようにした。
  • isbn プラグインの Bugfix
Page Top

ブラケット記述の調整 anchor.png Edit

Page Top
URLのみを記述可能に anchor.png Edit

URLリンクを作成する場合に、[[リンクテキスト:URL]] または [[リンクテキスト>URL]] と記述しますが、リンクテキストを省略して [[URL]] とした場合にも、きちんと URLリンクになるようにしました。

[[Google:http://www.google.com/]]

Google

[[http://www.google.com/]]

http://www.google.com/

Page Top
エイリアスに画像を指定した場合の出力HTMLを調整 anchor.png Edit

URLリンクで [[画像:URL]] または [[画像>URL]] と記述した場合に、画像に対するURLリンクに LightBox による 画像ポップアップが指定されてしまっていたので、それを抑制しました。また、画像部分<img>の "title" 属性 も抑制しました。

[[http://xoops.hypweb.net/themes/div2/logo.gif:http://xoops.hypweb.net/]]

xoops.hypweb.net_logo.gif

Page Top

isbn プラグインの Bugfix anchor.png Edit

  • #isbn(clear) とした時に、Notice エラーが出ていたので、修正しました。
  • オプション "clear" を第二引数以降に指定した場合に正常に機能していなかったので、修正しました。
Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-16 15:53 nao-pon
    • * xoops_version.php (1.330):
      • Version 3.71.15
  • 2008-04-16 15:53 nao-pon
    • * plugin/isbn.inc.php (1.7):
      • Bugfixed notice errors & problem of option("clear").
  • 2008-04-16 15:50 nao-pon
    • * plugin/import.inc.php (1.11):
      • Bugfixed a problem that null line is added in definition list etc.
  • 2008-04-16 15:44 nao-pon
    • * class/make_link.php (1.25):
      • Can describe only URL in the bracket.
      • When image URL is specified for the alias, it improves it in the bracket.
Page Top

一行コメント anchor.png Edit



 

Ver 3.71.17 - 18 (言語ファイル"German[de]"の追加など) anchor.png Edit

ドイツの XOOPS サポートサイト myXOOPS.org - German Xoops Support の Octopus さんからドイツ語の言語ファイルを頂きましたので、アーカイブに含めました。

あわせて、言語ファイルの読み込みで若干バグがありましたので、修正しました。

Octopus さん、ありがとうございました。 :-D

Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
Page Top

一行コメント anchor.png Edit



 

Ver 3.71.19 (TOC自動挿入機能追加とバグ修正諸々) anchor.png Edit

Tag: TOC Bugfix JavaScript Wikiヘルパー 多言語 付箋 ini設定

Page Top

概要 anchor.png Edit

  • $root->plugin_follow_freeze = 0 環境で凍結ページをプラグインでページ更新すると、凍結が解除されてしまうバグの修正。
  • 多言語環境で、new プラグインによる New! マークが表示されないことがある問題を修正。
  • fusen フォームに WikiHelper が表示されないことがある問題を修正。
  • calendar2 プラグインの編集リンク表示を編集権限と連動させた。
  • calendar_viewer プラグインのページリンク生成で make_pagelink() を使うようにした。
  • TOC (Table of contents) [#contents 相当] の自動挿入機能を追加した。デフォルトで4つ以上見出しがあると、自動挿入が行われるようにしました。
    • 関連設定 pukiwiki.ini.php
      1
      2
      3
      4
      
      /////////////////////////////////////////////////
      // Number of heading that inserts "#contents" automatically
      // 0: Disabled
      $root->contents_auto_insertion = 4;
  • TOC をマウスクリックで折りたたみ可能とした。(JavaScript使用)
Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-24 09:22 nao-pon
    • * xoops_version.php (1.334):
      • Version 3.71.19
  • 2008-04-24 09:22 nao-pon
    • * class/convert_html.php (1.27), ini/pukiwiki.ini.php (1.72), language/xpwiki/de/lng.php (1.3), language/xpwiki/de_utf8/lng.php (1.3), language/xpwiki/en/lng.php (1.7), language/xpwiki/ja/lng.php (1.6), language/xpwiki/ja_utf8/lng.php (1.6), plugin/contents.inc.php (1.2), plugin/nocontents.inc.php (1.1), skin/css/main.css (1.18), skin/js/main.js (1.44), skin/js/xpwiki.js (1.14):
      • Automatic insertion of TOC.
      • pukiwiki.ini.php
        /////////////////////////////////////////////////
        // Number of heading that inserts "#contents" automatically
        // 0: Disabled
        $root->contents_auto_insertion = 4;
      • New plugin "#nocontents" that disable to Automatic insertion of TOC.
      • TOC to fold possible by JavaScript.
  • 2008-04-24 09:16 nao-pon
    • * plugin/calendar_viewer.inc.php (1.13):
      • Use "get_page_uri()" for make page link.
  • 2008-04-24 09:15 nao-pon
    • * plugin/calendar2.inc.php (1.10):
      • Check editauth for editlink.
  • 2008-04-24 09:08 nao-pon
    • * loader.php (1.41):
      • Added "ignore_user_abort(FALSE)".
  • 2008-04-24 09:03 nao-pon
    • * plugin/fusen.inc.php (1.22), skin/js/fusen.js (1.11):
      • Bugfixed not show "WikiHelper".
  • 2008-04-24 09:02 nao-pon
    • * plugin/new.inc.php (1.5):
      • Bugfixed a problem that Not show "New!" on the multi language.
  • 2008-04-24 08:59 nao-pon
    • * plugin/navi.inc.php (1.8):
      • Remove 'style="clear:both;"' from <hr>.
  • 2008-04-24 08:58 nao-pon
    • * class/func/pukiwiki_func.php (1.162):
      • Bugfixed a probulem that does unfreeze when update the page by plugin at "$root->plugin_follow_freeze = 0".
Page Top

一行コメント anchor.png Edit



 

Ver 3.17.20 - 21 (テーブル整形ルール拡張と {{ }} によるファイル参照など) anchor.png Edit

Tag: Wiki書式 画像表示 Wikiヘルパー テーブル拡張書式

Page Top

概要 anchor.png Edit

  • WikiHelper での書式挿入で &font(); から、Bold は '' '' , Italic は ''' ''' を使用するようにした。理由は、この方が標準的な書式だからです。
  • テーブルの整形ルールを拡張しました。
  • &ref([パラメータ]){[代替テキスト]}; と同等機能を簡易に書ける {{[パラメータ]|[代替テキスト]}} を追加しました。
  • レンダラーモードで content id が一意となるように考慮しました。
  • 同一ページ中に TOC が複数ある場合に、折りたたみ機能が正常に動作しない問題を修正しました。
Page Top
テーブルの整形ルール拡張 anchor.png Edit
  • セル内の行揃えは、1つ以上の空白(半角スペース)や "<" "=" ">" を使って表現することもできます。
    |           ~Table with alignment          |||h
    |         right|    center    |left          |
    |left          |         right|    center    |
    | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
    
    |=~Table with alignment                    |||h
    |>right        |=center       |<left         |
    |<left         |>right        |=center       |
    | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
    Table with alignment
    rightcenterleft
    leftrightcenter
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • 空白のセルは、左のセルと連結されます。(左に有効なセルがない時は、右のセルと連結します。)
  • セル内に > を単独で記述すると右のセルと連結します(colspan)。
  • セル内に < を単独で記述すると左のセルと連結します(colspan)。
  • セル内に ~ または ^ を単独で記述すると上のセルと連結します(rowspan)。
Page Top
{{ }} によるファイル参照 anchor.png Edit

行中で &ref または、{{ }} を記述すると、添付ファイルまたは指定されたURLにあるファイルへのリンクを貼り付けることができます。ファイルが画像ファイルの場合は、その画像を表示します。

書式
&ref(添付ファイル名[,パラメタ]){代替文字列};
{{添付ファイル名[,パラメタ][|代替文字列]}}

&ref(URL[,パラメタ]){代替文字列};
{{URL[,パラメタ][|代替文字列]}}
{{test.txt|これはテスト}}
fileこれはテスト
Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-25 21:13 nao-pon
    • * xoops_version.php (1.336):
      • Version 3.71.21
  • 2008-04-25 21:13 nao-pon
    • * plugin/noautolink.inc.php (1.1):
      • Disable the autolink in a page.
  • 2008-04-25 21:12 nao-pon
    • * skin/js/xpwiki.js (1.15):
      • It corresponds to two or more TOC in the same page.
  • 2008-04-25 21:11 nao-pon
    • * class/func/pukiwiki_func.php (1.164):
      • Content id must become unique in the renderer mode.
  • 2008-04-25 11:54 nao-pon
    • * xoops_version.php (1.335):
      • Version 3.71.20
  • 2008-04-25 11:54 nao-pon
    • * ID/: en/wiki/.timestamp (1.2), en/wiki/466F726D617474696E6752756C6573.txt (1.2), ja/wiki/.timestamp (1.2), ja/wiki/466F726D617474696E6752756C6573.txt (1.2):
  • 2008-04-25 11:51 nao-pon
    • * class/make_link.php (1.26), class/func/pukiwiki_func.php (1.163), ini/pukiwiki.ini.php (1.73), plugin/attach.inc.php (1.39):
      • Added syntax of file reference "Require File Name [ &ref(FILE NAME); or #ref(FILE NAME) ]". ( Like a DokuWiki )
      • Added new config to pukiwiki.ini.php
        // Enable easy ref syntax {{...}}
        $root->easy_ref_syntax = 1;
  • 2008-04-25 11:48 nao-pon
    • * class/convert_html.php (1.28):
      • Enhancing of table format. ( Like a DokuWiki )
  • 2008-04-25 11:43 nao-pon
    • * skin/css/main.css (1.19):
      • Edited CSS.
  • 2008-04-25 11:42 nao-pon
    • * class/func/xpwiki_func.php (1.163):
      • Added a function touch_page($page, $time).
  • 2008-04-25 11:40 nao-pon
    • * include/check.func.php (1.15):
      • Fixed problem of TZ.
  • 2008-04-25 11:27 nao-pon
    • * plugin/timestamp.inc.php (1.5):
      • Added a function restore().
  • 2008-04-25 11:26 nao-pon
    • * skin/js/: gecko.js (1.9), main.js (1.45), winie.js (1.8):
      • Use to Bold: '' '', Italic: ''' '''.
Page Top

一行コメント anchor.png Edit



 

Ver 3.71.22 (TOC関連の修正など) anchor.png Edit

Tag: TOC Bugfix Cookie 高速化

Page Top

概要 anchor.png Edit

  • TOCの開閉状態をCookieに保存するようにした。
  • ページをインクルードする場合に、TOCの表示フラグを各ページ毎に保存するようにした。
  • 可能な限り、if文 の == を === に、!= を !== にした。(pukiwiki_func.php) 微妙に高速化したかも。
Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-27 21:06 nao-pon
    • * xoops_version.php (1.337):
      • Version 3.71.22
  • 2008-04-27 21:06 nao-pon
    • * skin/js/: main.js (1.46), xpwiki.js (1.16):
      • The display of TOC is memorized in Cookie.
  • 2008-04-27 21:04 nao-pon
    • * class/convert_html.php (1.29), plugin/contents.inc.php (1.3), plugin/nocontents.inc.php (1.2):
      • Bugfixed of defective operation with page including.
  • 2008-04-27 20:52 nao-pon
    • * class/func/pukiwiki_func.php (1.165):
      • Strict comparison. ( == to ===, != to !== )
Page Top

一行コメント anchor.png Edit



 

Ver 3.71.23 (trust側 main.css を読み込まないスキンに対応) anchor.png Edit

Tag: スキン CSS html側更新

Page Top

概要 anchor.png Edit

  • trust側の main.css を読み込まないスキンに対応できるようにした。
  • html側にサンプルスキン "plain" を追加した。
    • html側の更新は必須ではないため、あえてメジャーバージョン番号は上げていません。
Page Top
trust側の main.css を読み込まないスキン anchor.png Edit

スキンディレクトリ内に css.conf を置き適切な内容を記述することで、trust側の同名ファイルを読み込まないようにしました。これにより上書き方式を完全入れ替え方式に変更することができます。

css.conf の書式は次の通りです。

[cssファイル名(.cssを除く)]
パラメータ = 値

現状ではパラメータは、完全入れ替え方式にする "replace" のみです。

例えば、main.css を完全入れ替え方式にする場合は、css.conf に次のように記述します。

[main]
replace = 1

この新機能を利用して、できる限り装飾のないスキン "plain" をサンプルとして作ってみましたので、html側のCVSリポジトリに追加しておきました。

plain スキンは、ここをクリックすると、どんな感じか確認できます。(defaultに戻す)

Page Top

CVS 更新内容 anchor.png Edit

+  今回の更新分
  • 2008-04-29 20:37 nao-pon
    • * xoops_version.php (1.338):
      • Version 3.71.23
  • 2008-04-29 20:36 nao-pon
    • * loader.php (1.42):
      • The option to replace CSS (It is not overwrite) is added.
        css.conf is written in the skin directory on the html side for that.
        Example ( css.conf ):
        [main]  replace = 1
        "main.css of skin directory on the html side doesn't read main.css on the trust side."
Page Top

一行コメント anchor.png Edit




トップ 印刷に適した表示   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom Powered by xpWiki
このページのTopへ
メインメニュー
ログイン

ユーザー名:


パスワード:





パスワード紛失  |新規登録
オンライン状況
553 人のユーザが現在オンラインです。 (12 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 553

もっと...
サイト情報