[
自宅サーバーWebRing
┃
前
|ID=54
前後5表示
|
次
┃
乱移動
|
サイト一覧
]
このサイト内
書籍 DVD CD
Google(日本語)
Google(Web全体)
Google(イメージ)
Google(キャッシュ)
Yahoo! JAPAN
goo 英和
goo 和英
goo 国語
goo 新語
サイトマップ
リンク集
ダウンロード
フォーラム
Users Wiki
最新情報
TOP
»
xpwiki
»
keyword
» MyTextSanitizer をテンプレートにして作成
|
新規
下位
一覧
検索
最新
ヘルプ
ページへ戻る
複製
履歴
リンク元
印刷
MyTextSanitizer (まい・てきすと・さにたいざぁ)
をテンプレートにして作成
xpwiki
:keyword/MyTextSanitizer をテンプレートにして作成
開始行:
#nopagecomment
#noattach
#navi
#contents
* MyTextSanitizer (まい・てきすと・さにたいざぁ)
XOOPS, XOOPS Cube Legacy において、登録されたテキストを整...
このクラスに変更を加えることで、その XOOPS 全体に渡り、テ...
ここ XOOPSマニア のサイトでは、xpWiki のWikiレンダリング...
** XOOPS Cube Legacy 2.1.x 〜 2.2.0 用
#block(class:@info @round,w:90%){{
XOOPS Cube Legacy 2.2.1 beta3 以降では、HypCommonFunc に...
あわせて HypConf モジュールでは、サイトワイド Wiki ヘルパ...
}}
XOOPS Cube Legacy 用には、本来ならプリロードだけで完結す...
XOOPS_ROOT_PATH/class/module.textsanitizer.php を置き換え...
Cube に対応させるために、[[XUGJ にて Marijuana さんにいろ...
- &ref(module.textsanitizer_0.php){XOOPS_ROOT_PATH/class/...
- &ref(module.textsanitizer_1.php){XOOPS_ROOT_PATH/class/...
-- 変更箇所のみ
#code(php){{
/**
* Filters textarea form data in DB for display
*
* @param string $text
* @param bool $html allow html?
* @param bool $smiley allow smileys?
* @param bool $xcode allow xoopscode?
* @param bool $image allow inline images?
* @param bool $br convert linebreaks?
* @return string
**/
function &displayTarea($text, $html = 0, $smiley = 1,...
{
//$text = $this->_ToShowTarea($text, $html, $smil...
$text = $this->mTextFilter->ToShowTarea($text, $h...
return $text;
}
/**
* Filters textarea form data submitted for preview
*
* @param string $text
* @param bool $html allow html?
* @param bool $smiley allow smileys?
* @param bool $xcode allow xoopscode?
* @param bool $image allow inline images?
* @param bool $br convert linebreaks?
* @return string
**/
function &previewTarea($text, $html = 0, $smiley = 1,...
{
$text =& $this->stripSlashesGPC($text);
//$text = $this->_ToShowTarea($text, $html, $smil...
$text = $this->mTextFilter->ToShowTarea($text, $h...
return $text;
}
}}
- &ref(SetupHyp_TextFilter.class.php){XOOPS_ROOT_PATH/pre...
-- 2008/1/26 に修正しました。(BBコードの[siteurl]に対...
-- 2008/4/30 と 5/3 に修正しました。(BBコードの[img&#...
-- 2008/5/30 に修正しました。(BBコードの siteimage, fig ...
-- 2008/5/31 に typo 修正しました。[[参考スレッド:http://...
-- 2008/10/9 xpWiki のディレクトリ名指定を定数 XPWIKI_REN...
--- xpWiki Ver 3.71.83 で搭載された画面変遷のないファイル...
-- 2008/10/11 10/9 の修正でCSSが効かなくなっていたのを修...
-- 2008/12/22 PHP 4 環境で Warning エラーが出ていたのを修...
-- 2009/5/3 [quote]を使用した場合に、HTML構造が不正になる...
-- 2009/5/12 5/3 の修正が原因で、レンダリング内容によって...
#code(SetupHyp_TextFilter.class.php)
-- &font(b,Red){※}; xpWiki を xpwiki という名前以外でイン...
#code(php,5-){{
// xpWiki wikirenderer dirctory name
define('XPWIKI_RENDERER_DIR', 'xpwiki');
}}
** XOOPS 2.0.16a JP 用
- &ref(module.textsanitizer.php){XOOPS_ROOT_PATH/class/mo...
-- 2008/1/26 に修正しました。(BBコードの[siteurl]に対...
-- 2008/4/30 と 5/3 に修正しました。(BBコードの[img&#...
-- 2008/5/30 に修正しました。(BBコードの siteimage, fig ...
-- 2008/5/31 に typo 修正しました。[[参考スレッド:http://...
-- 2008/10/9 xpWiki のディレクトリ名指定を定数 XPWIKI_REN...
--- xpWiki Ver 3.71.83 で搭載された画面変遷のないファイル...
-- 2008/10/11 10/9 の修正でCSSが効かなくなっていたのを修...
-- 2008/12/22 PHP 4 環境で Warning エラーが出ていたのを修...
-- 2009/5/3 [quote]を使用した場合に、HTML構造が不正になる...
-- 2009/5/12 5/3 の修正が原因で、レンダリング内容によって...
#code(module.textsanitizer.php)
-- &font(b,Red){※}; xpWiki を xpwiki という名前以外でイン...
#code(php,35-){{
// xpWiki wikirenderer dirctory name
define('XPWIKI_RENDERER_DIR', 'xpwiki');
}}
* Wikiヘルパーをテキストエリアに表示する方法
JavaScriptによる「Wikiヘルパー」(IE と FireFox に対応)を...
また、hypconf モジュールを使用しない場合は次の方法があり...
** まずはじめに
+ html側xpWikiモジュールディレクトリ/private/ini/pukiwiki...
#code(php,nonumbar){{
// Show the Wiki Helper on the site wide.
$root->render_UseWikihelperAtAll = 1;
}}
*** 選択その1 (ブロックの配置)
+ "''xpWikiのページ表示ブロック''" 又は "''XOOPSのカスタ...
*** 選択その2
+ XOOPS テーマの theme.html の <head> 内 <{$xoops_module_...
#code(html,nonumber){{
<{$xoops_module_header}>
<script type="text/javascript" src="<{$xoops_url}>/module...
}}
-- パス中の xpwiki はxpWikiをインストールしたディレクトリ...
#navi
終了行:
#nopagecomment
#noattach
#navi
#contents
* MyTextSanitizer (まい・てきすと・さにたいざぁ)
XOOPS, XOOPS Cube Legacy において、登録されたテキストを整...
このクラスに変更を加えることで、その XOOPS 全体に渡り、テ...
ここ XOOPSマニア のサイトでは、xpWiki のWikiレンダリング...
** XOOPS Cube Legacy 2.1.x 〜 2.2.0 用
#block(class:@info @round,w:90%){{
XOOPS Cube Legacy 2.2.1 beta3 以降では、HypCommonFunc に...
あわせて HypConf モジュールでは、サイトワイド Wiki ヘルパ...
}}
XOOPS Cube Legacy 用には、本来ならプリロードだけで完結す...
XOOPS_ROOT_PATH/class/module.textsanitizer.php を置き換え...
Cube に対応させるために、[[XUGJ にて Marijuana さんにいろ...
- &ref(module.textsanitizer_0.php){XOOPS_ROOT_PATH/class/...
- &ref(module.textsanitizer_1.php){XOOPS_ROOT_PATH/class/...
-- 変更箇所のみ
#code(php){{
/**
* Filters textarea form data in DB for display
*
* @param string $text
* @param bool $html allow html?
* @param bool $smiley allow smileys?
* @param bool $xcode allow xoopscode?
* @param bool $image allow inline images?
* @param bool $br convert linebreaks?
* @return string
**/
function &displayTarea($text, $html = 0, $smiley = 1,...
{
//$text = $this->_ToShowTarea($text, $html, $smil...
$text = $this->mTextFilter->ToShowTarea($text, $h...
return $text;
}
/**
* Filters textarea form data submitted for preview
*
* @param string $text
* @param bool $html allow html?
* @param bool $smiley allow smileys?
* @param bool $xcode allow xoopscode?
* @param bool $image allow inline images?
* @param bool $br convert linebreaks?
* @return string
**/
function &previewTarea($text, $html = 0, $smiley = 1,...
{
$text =& $this->stripSlashesGPC($text);
//$text = $this->_ToShowTarea($text, $html, $smil...
$text = $this->mTextFilter->ToShowTarea($text, $h...
return $text;
}
}}
- &ref(SetupHyp_TextFilter.class.php){XOOPS_ROOT_PATH/pre...
-- 2008/1/26 に修正しました。(BBコードの[siteurl]に対...
-- 2008/4/30 と 5/3 に修正しました。(BBコードの[img&#...
-- 2008/5/30 に修正しました。(BBコードの siteimage, fig ...
-- 2008/5/31 に typo 修正しました。[[参考スレッド:http://...
-- 2008/10/9 xpWiki のディレクトリ名指定を定数 XPWIKI_REN...
--- xpWiki Ver 3.71.83 で搭載された画面変遷のないファイル...
-- 2008/10/11 10/9 の修正でCSSが効かなくなっていたのを修...
-- 2008/12/22 PHP 4 環境で Warning エラーが出ていたのを修...
-- 2009/5/3 [quote]を使用した場合に、HTML構造が不正になる...
-- 2009/5/12 5/3 の修正が原因で、レンダリング内容によって...
#code(SetupHyp_TextFilter.class.php)
-- &font(b,Red){※}; xpWiki を xpwiki という名前以外でイン...
#code(php,5-){{
// xpWiki wikirenderer dirctory name
define('XPWIKI_RENDERER_DIR', 'xpwiki');
}}
** XOOPS 2.0.16a JP 用
- &ref(module.textsanitizer.php){XOOPS_ROOT_PATH/class/mo...
-- 2008/1/26 に修正しました。(BBコードの[siteurl]に対...
-- 2008/4/30 と 5/3 に修正しました。(BBコードの[img&#...
-- 2008/5/30 に修正しました。(BBコードの siteimage, fig ...
-- 2008/5/31 に typo 修正しました。[[参考スレッド:http://...
-- 2008/10/9 xpWiki のディレクトリ名指定を定数 XPWIKI_REN...
--- xpWiki Ver 3.71.83 で搭載された画面変遷のないファイル...
-- 2008/10/11 10/9 の修正でCSSが効かなくなっていたのを修...
-- 2008/12/22 PHP 4 環境で Warning エラーが出ていたのを修...
-- 2009/5/3 [quote]を使用した場合に、HTML構造が不正になる...
-- 2009/5/12 5/3 の修正が原因で、レンダリング内容によって...
#code(module.textsanitizer.php)
-- &font(b,Red){※}; xpWiki を xpwiki という名前以外でイン...
#code(php,35-){{
// xpWiki wikirenderer dirctory name
define('XPWIKI_RENDERER_DIR', 'xpwiki');
}}
* Wikiヘルパーをテキストエリアに表示する方法
JavaScriptによる「Wikiヘルパー」(IE と FireFox に対応)を...
また、hypconf モジュールを使用しない場合は次の方法があり...
** まずはじめに
+ html側xpWikiモジュールディレクトリ/private/ini/pukiwiki...
#code(php,nonumbar){{
// Show the Wiki Helper on the site wide.
$root->render_UseWikihelperAtAll = 1;
}}
*** 選択その1 (ブロックの配置)
+ "''xpWikiのページ表示ブロック''" 又は "''XOOPSのカスタ...
*** 選択その2
+ XOOPS テーマの theme.html の <head> 内 <{$xoops_module_...
#code(html,nonumber){{
<{$xoops_module_header}>
<script type="text/javascript" src="<{$xoops_url}>/module...
}}
-- パス中の xpwiki はxpWikiをインストールしたディレクトリ...
#navi
ページ名:
ぺージ情報
ぺージ名 :
keyword/MyTextSanitizer
ページ別名 :
未設定
ページオーナー :
nao-pon
閲覧可
グループ :
すべての訪問者
ユーザー :
すべての訪問者
編集可
グループ :
なし
ユーザー :
なし
Counter: 0, today: 0, yesterday: 0
メインメニュー
ホーム
価格比較 百貨
UsersWiki
xpwiki
新規ページ作成
最新ページ一覧
全ページ一覧
人気のページ
全コメント一覧
xpWikiフォーラム
スキン選択
ヘルプ
お問い合わせ
ファイルマネージャー
ログイン
ユーザー名:
パスワード:
パスワード紛失
|
新規登録
オンライン状況
689 人のユーザが現在オンラインです。 (16 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 689
もっと...
サイト情報