2007
10月
12
(金)
Ver 3.28 (ページポップアップ機能など)
JavaScript によるページポップアップ機能
JavaScript によるページポップアップ機能を追加しました。ページ編集時の「テキスト整形のルールを表示する」リンクに適用されています。
また、この機能の動作サンプルとして、pagepopup (インライン)プラグインを新規追加しました。
&pagepopup([ページ名]); と記述すると、そのリンクは JavaScript を利用したページポップアップになります。JavaScript が無効のクライアントは通常のリンクとして機能します。
例) &pagepopup(Help); ->
また、Wikiレンダラーモードにて、すべてのページリンクをポップアップリンクとする設定を pukiwiki.ini.php に追加しました。
1
2
3
4
5
6
7
8
9
10
11
12
13
| // ページリンクをポップアップにする
// All page link uses popup.
$root->render_popuplink = 0;
$root->render_popuplink_position = array(
// Array values are value of the CSS.
'top' => '',
'bottom' => '',
'left' => '',
'right' => '',
'width' => '',
'height' => ''
);
|
オートリンクの適用を英単語単位に
英単語途中の文字列には、オートリンクが効かないようにしました。
例えば、この xpWiki には、Help というページがあるので、Help という文字列にオートリンクされます。これまでは、Helper という文字列中の Help にもマッチしてオートリンクされていましたが、今回のバージョンからは、単語中の文字列にはマッチしないようになりました。
ただし、日本語は単語としての区切りの判定が困難なため、この限りではありません。
主な更新内容
- 英単語単位のオートリンクに変更
- キャッシュファイル名の生成を MD5 から SHA1 に変更
- JavaScript によるページポップアップ機能を追加
- resizable.js のメンテナンス
- EncodeHint をシステムの文字エンコーディングにより設定するようにした。
- CSS を JavaScript より先に読み込むように変更
- レンダラーモードにおいてすべてのページリンクをポップアップにする設定を追加
- pagepopup プラグインの追加
- レンダラーモードの添付ファイル機能を修正
- 連続する英数文字の折り返し方法を調整(referer.inc.php)
- 1日に1回程度、レンダラーモードの古いキャッシュファイルを削除するようにした。
CVS 更新内容
- 2007-10-12 17:51 nao-pon
- * xoops_version.php (1.203):
- 2007-10-12 17:49 nao-pon
- * ways/bgrun.php (1.3):
- Added unlink old render caches function.
- 2007-10-12 17:10 nao-pon
- * loader.php (1.21):
- Added replaces word '$module_url'.
- 2007-10-12 17:08 nao-pon
- * skin/: css/main.css (1.5), js/xpwiki.js (1.1):
- Added a page popup function by the JavaScript.
- 2007-10-12 17:08 nao-pon
- * plugin/referer.inc.php (1.6):
- Coordinated the method of the word wrap.
- 2007-10-12 17:07 nao-pon
- * plugin/ref.inc.php (1.15):
- Changed it to read CSS earlier than a JavaScript.
- Bugfixed the
attached file function of the renderer mode.
- 2007-10-12 17:07 nao-pon
- * plugin/pginfo.inc.php (1.17):
- Changed it to read CSS earlier than a JavaScript.
- 2007-10-12 17:07 nao-pon
- * plugin/pagepopup.inc.php (1.1):
- Added the pagepopup plugin. (pagepopup.inc.php)
- 2007-10-12 17:06 nao-pon
- * plugin/edit.inc.php (1.43), skin/js/calendar9.js (1.4),
skin/js/main.js (1.23), skin/js/resizable.js (1.3):
- Maintenance of resizable.js.
- 2007-10-12 17:05 nao-pon
- * plugin/api.inc.php (1.4):
- Changed the generation of the cache file name by SHA1 from MD5.
- 2007-10-12 17:05 nao-pon
- * ini/pukiwiki.ini.php (1.51):
- Added setting to make all page links popup in renderer mode.
- 2007-10-12 17:04 nao-pon
- * class/func/xpwiki_func.php (1.103):
- Set EncodeHint by the character encoding of the system.
- Changed it to read CSS earlier than a JavaScript.
- 2007-10-12 17:03 nao-pon
- * class/func/xoops_wrapper.php (1.38), class/include/init.php
(1.30), lang/EUC-JP.lng.php (1.1), lang/ISO-8859-1.lng.php (1.1),
lang/UTF-8.lng.php (1.1), lang/en.lng.php (1.21), lang/ja.lng.php
(1.21), lang/ja_utf8.lng.php (1.8):
- Set EncodeHint by the character encoding of the system.
- 2007-10-12 17:02 nao-pon
- * class/func/pukiwiki_func.php (1.123):
- Changed it in the automatic link of the English word unit.
- Added a page popup function by the JavaScript.
- Maintenance of resizable.js.
- 2007-10-12 17:00 nao-pon
- * class/xpwiki.php (1.56):
- Changed the generation of the cache file name by SHA1 from MD5.
- Added a page popup function by the JavaScript.
- Changed it to read CSS earlier than a JavaScript.
- 2007-10-12 16:59 nao-pon
- * class/root.php (1.11):
- Added a page popup function by the JavaScript.
- 2007-10-12 16:58 nao-pon
- * class/ext_autolink.php (1.18):
- Changed it in the automatic link of the English word unit.
- Changed the generation of the cache file name by SHA1 from MD5.
一行コメント
Counter: 173,
today: 1,
yesterday: 0
初版日時: 2007-10-12 (金) 21:08:01
最終更新: 2007-10-12 (金) 21:08:01 (JST) (6012d) by nao-pon