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

10年3月13日(Sat) 0時02分
TOP » xpWiki::Dev » xpWiki開発日記 » 2007-10-12

Fri 12 Oct 2007
 

Ver 3.28 (ページポップアップ機能など) anchor.png Edit

Page Top

JavaScript によるページポップアップ機能 anchor.png Edit

JavaScript によるページポップアップ機能を追加しました。ページ編集時の「テキスト整形のルールを表示する」リンクに適用されています。

また、この機能の動作サンプルとして、pagepopup (インライン)プラグインを新規追加しました。

&pagepopup([ページ名]); と記述すると、そのリンクは JavaScript を利用したページポップアップになります。JavaScript が無効のクライアントは通常のリンクとして機能します。

例) &pagepopup(Help); -> 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' => ''
);
Page Top

オートリンクの適用を英単語単位に anchor.png Edit

英単語途中の文字列には、オートリンクが効かないようにしました。

例えば、この xpWiki には、Help というページがあるので、Help という文字列にオートリンクされます。これまでは、Helper という文字列中の Help にもマッチしてオートリンクされていましたが、今回のバージョンからは、単語中の文字列にはマッチしないようになりました。

ただし、日本語は単語としての区切りの判定が困難なため、この限りではありません。

Page Top

主な更新内容 anchor.png Edit

  • 英単語単位のオートリンクに変更
  • キャッシュファイル名の生成を MD5 から SHA1 に変更
  • JavaScript によるページポップアップ機能を追加
  • resizable.js のメンテナンス
  • EncodeHint をシステムの文字エンコーディングにより設定するようにした。
  • CSS を JavaScript より先に読み込むように変更
  • レンダラーモードにおいてすべてのページリンクをポップアップにする設定を追加
  • pagepopup プラグインの追加
  • レンダラーモードの添付ファイル機能を修正
  • 連続する英数文字の折り返し方法を調整(referer.inc.php)
  • 1日に1回程度、レンダラーモードの古いキャッシュファイルを削除するようにした。
Page Top

CVS 更新内容 anchor.png Edit

  • 2007-10-12 17:51 nao-pon
    • * xoops_version.php (1.203):
      • Version 3.28
  • 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.
Page Top

一行コメント anchor.png Edit




Comments list

Post a new comment

Subject
guestname   :
Body
Go to richer form

Front page   Edit Freeze Diff Backup Upload Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 2082, today: 1, yesterday: 0
Last-modified: 2007-10-12 (Fri) 21:08:01 (JST) (882d) 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検索プラグイン
オンライン状況
合計 139 人がオンライン中 :-)
(xpWiki::Dev : 9 人)

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

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

nao-pon
 

登録ユーザ数: 1680


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