<?xml version="1.0" encoding="UTF-8"?>

<?xml-stylesheet type="text/xsl" media="screen" href="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=rss.ja.xml" ?>
<rdf:RDF
  xmlns:dc="http://purl.org/dc/elements/1.1/"

  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xml:lang="ja">
 <channel rdf:about="https://xoops.hypweb.net/modules/xpwiki/114.html">
  <title>XOOPS マニア::xpwiki/keyword</title>
  <link>https://xoops.hypweb.net/modules/xpwiki/114.html</link>
  <description>xpWiki RecentChanges</description>
  <dc:date>2026-05-13T06:11:21+09:00</dc:date>
  <image rdf:resource="https://xoops.hypweb.net/modules/xpwiki/index.phpmodule_icon.php" />
  <items>
   <rdf:Seq>
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/116.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/118.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/115.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/125.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/128.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/123.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/127.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/120.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/124.html" />
    <rdf:li rdf:resource="https://xoops.hypweb.net/modules/xpwiki/121.html" />

   </rdf:Seq>
  </items>
 </channel>
 <image rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.phpmodule_icon.php">
   <title>XOOPS マニア::xpwiki/keyword</title>
   <link>https://xoops.hypweb.net/modules/xpwiki/114.html</link>
   <url>https://xoops.hypweb.net/modules/xpwiki/index.phpmodule_icon.php</url>
 </image>

<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FHypCommonFunc">
 <title>HypCommonFunc</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/116.html</link>
 <dc:date>2017-10-26T16:49:06+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>当サイトで配布しているモジュールから利用する共通関数クラスです。XOOPS_TRUST_PATH を利用します。必ず trust ディレクトリを用意してお使いください。XOOPS へ組み込んで様々な機能を提供する HypCommonPreLoad を同梱しています。XOOPS への導入方法については、HypCommonPreLoad に XOOPS のバージョン別に記載してあります。ブラウザから HypCommonPreLoad の設定(の一部)を行う hypconf モジュールを同梱しています</description>
 <content:encoded><![CDATA[
 
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/115.html" title="keyword/.htaccess (4643d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5619d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6971d)">keyword</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>

<!--description ignore-->
<div>
 <div>
  ページ内コンテンツ
 </div>
 <div>
  <ul><li>  HypCommonFunc (はいぱー・こもん・ふぁんく) 
<ul><li>  ダウンロード 
<ul><li>  X-update 利用 </li>
<li>  HypCommonFunc ダウンロード 
<ul><li>  アップロード方法 </li>
<li>  PHP 5.3 未満向け </li></ul></li></ul></li>
<li>  最近の github 更新履歴 </li>
<li>  パーミッション設定など </li>
<li>  画像処理に imagemagick, jpegtran を使用する場合 </li></ul></li></ul>
 </div>
</div>
<!--/description ignore-->

<h2><span>HypCommonFunc</span> (はいぱー・こもん・ふぁんく)  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#d88d609f" title="d88d609f"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h2>
<p>当サイトで配布しているモジュールから利用する共通関数クラスです。</p>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink--> を利用します。必ず trust ディレクトリを用意してお使いください。</p>
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> へ組み込んで様々な機能を提供する <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5619d)">HypCommonPreLoad</a><!--/autolink--> を同梱しています。<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> への導入方法については、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5619d)">HypCommonPreLoad</a><!--/autolink--> に <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> のバージョン別に記載してあります。</li>
<li>ブラウザから <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5619d)">HypCommonPreLoad</a><!--/autolink--> の設定(の一部)を行う hypconf モジュールを同梱しています。hypconf モジュールはアーカイブ中の &quot;html/modules/hypconf&quot;以下と &quot;<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">xoops_trust_path</a><!--/autolink-->/modules/hypconf&quot;以下 となっています。サーバーにアップロード後に <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> のモジュール管理から<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->してください。尚、このモジュールは管理画面しかありませんので、公開側のメインメニューには表示されません。管理側のモジュール管理から「HypCommonの設定」を選択してください。</li></ul>
<ul><li><a href="https://xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;tag=HypCommonFunc&amp;reverse=on" title="xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;tag=HypCommonFunc&amp;reverse=on"><span style="font-size:150%;line-height:130%;">関連ブログエントリ一覧</span></a></li></ul>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>ダウンロード  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#o23db7e1" title="o23db7e1"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h3>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> 利用  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#vc9daa85" title="vc9daa85"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h4>
<p><span>HypCommonFunc</span> は、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> Cube Legacy 2.2 以上で動作する <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> に対応しています。</p>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> で<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->することで、ファイル・フォルダの配置やパーミッション設定を自動で行うことができるので、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> Cube Legacy 2.2 以上の環境下では <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> による<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->＆アップデートを強くお勧めします。</p>
<p><span>HypCommonFunc</span> は、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> 上では &quot;hypconf&quot;、各絵文字パックは、&quot;emoji_*&quot;、google AdSense for mobile 用の追加ファイルは &quot;googleAdsenseMobileExt&quot; としてリストアップされています。</p>

<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> については次のリンクを参照してください。</p>
<ul><li><a href="https://github.com/XoopsX/xupdate" title="github.com/XoopsX/xupdate">X-update GitHub</a></li>
<li><a href="https://github.com/XoopsX/xupdate/zipball/master" title="github.com/XoopsX/xupdate/zipball/master">X-update 最新版のダウンロード</a></li>
<li><a href="http://www.xugj.org/modules/xpwiki/?ModuleManuals%2FX-update" title="www.xugj.org/modules/xpwiki/?ModuleManuals/X-update">X-update マニュアル (XUGJ)</a></li></ul>
<!--vc9daa85--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4><span>HypCommonFunc</span> ダウンロード  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#z46c1f61" title="z46c1f61"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h4>
<ul><li><span style="font-size:150%;line-height:130%;"><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/HypCommonFunc_20171026.zip" title="2017/10/26 16:43:22 1.2MB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />HypCommonFunc_20171026.zip</a></span></li>
<li><span style="font-size:150%;line-height:130%;"><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/HypCommonFunc_20171026.tar.gz" title="2017/10/26 16:43:22 1.0MB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />HypCommonFunc_20171026.tar.gz</a></span> (<a href="http://xoops.peak.ne.jp/md/news/index.php?page=article&amp;storyid=463" title="xoops.peak.ne.jp/md/news/index.php?page=article&amp;storyid=463">bashCGI版インストーラ(hd_updater.cgi)</a> 対応)
<ul><li>※ Version 20120618 以降では <strong><span style="color:Red;">html/preload/HypXoopsTplHook.class.php が必要なくなりました</span></strong>ので、削除するか html/preload/disabled ディレクトリへ移動してください。</li></ul></li>
<li>携帯絵文字パック: <span style="font-size:150%;line-height:130%;"><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/K-tai_emoji.zip" title="2008/08/15 16:22:06 609.5KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />K-tai_emoji.zip</a></span> (携帯対応レンダーで使用します)
<ul><li>SoftBankの絵文字を営利目的でホームページ、ソフトウェア、書籍等で利用される場合は、以下のアドレスから事前に連絡する必要があります。
<ul><li><a href="https://hpwb.net/w655x" title="creation.mb.softbank.jp/web/web_privacy.html">https://hpwb.net/w655x</a><span> (creation.mb.softbank.jp)</span></li></ul></li>
<li>TypePad 絵文字アイコン画像 (K-tai_emoji.zip に含まれているi-mode 用画像の別バージョンです。images/emoji/i に上書きすることで画像を差し替えることができます。)
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/k-tai_emoji_i_typepad.zip" title="2009/05/25 22:22:15 104.4KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />k-tai_emoji_i_typepad.zip</a> <a href="http://creativecommons.org/licenses/by/2.1/jp/" title="creativecommons.org/licenses/by/2.1/jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/attach/s/6B6579776F72642F487970436F6D6D6F6E46756E63_50_692E6372656174697665636F6D6D6F6E732E6F72675F3838783331.png" alt="i.creativecommons.org_88x31.png" width="44" height="15" /></a>
<p>TypePad 絵文字アイコン画像 by <a href="http://typepad.jp/" title="typepad.jp/">Six Apart Ltd</a> is licensed under a <a href="http://creativecommons.org/licenses/by/2.1/jp/" title="creativecommons.org/licenses/by/2.1/jp/">Creative Commons 表示 2.1 日本 License</a>.<br />
Permissions beyond the scope of this license may be available at <a href="https://hpwb.net/jdaKXd" title="start.typepad.jp/typecast/.">https://hpwb.net/jdaKXd</a><span> (start.typepad.jp)</span></p></li></ul></li></ul></li>
<li>google AdSense for mobile 用の追加ファイル
<ul><li><span style="font-size:150%;line-height:130%;"><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/googleAdsense.php.zip" title="2011/11/24 00:00:02 2.1KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />googleAdsense.php.zip</a></span> (新しい広告コードに対応 2011/11/24)
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/118.html#t99cca95" title="keyword/HypCommonPreLoad/KtaiRender (4103d)">モバイルコンテンツ向け google Adsense の利用について</a></li></ul></li></ul></li></ul>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>アップロード方法  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#fb0bf0dd" title="fb0bf0dd"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h5>
<p>サーバーにアップロードする場合は以下のように行ってください。</p>
<ol><li>html ディレクトリの中身を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink--> へアップロード。</li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">xoops_trust_path</a><!--/autolink--> ディレクトリの中身を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink--> へアップロード。</li>
<li><strong><span style="color:Red;"><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> 2 系のみ</span></strong>、core_addons/html_(2.0.16aJP | jpex-1.2)*1 ディレクトリの中身を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink--> へアップロード。<br />
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> コアの header.php, class/template.php, include/common.php が<span style="color:Red;"><strong>上書きされます</strong></span>ので、これらのファイルに独自に変更を加えている場合は、アーカイブに含まれている diff で patch を当てるか手作業で編集してください。</li></ul></li>
<li>パーミッション設定などを参照して適切に設定する。</li>
<li>必要に応じて <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5619d)">HypCommonPreLoad</a><!--/autolink--> の導入と設定を行う。</li>
<li>必要に応じて hypconf モジュールの<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> の管理画面から行う。</li>
<li>必要に応じて、<a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/K-tai_emoji.zip" title="2008/08/15 16:22:06 609.5KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />K-tai_emoji.zip</a> を解凍後、html ディレクトリの中身を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink--> へアップロード。</li></ol>
<!--fb0bf0dd--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>PHP 5.3 未満向け  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#i0fc086e" title="i0fc086e"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h5>
<p><span>HypCommonFunc</span> Version 20171026 以降は PHP 5.3 未満の環境では動作しません。どうしても PHP 5.3 以上へアップグレードできない場合は以下のバージョンをお使いください。ただし、このバージョンは今後のメンテナンスは一切行われません。</p>
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/HypCommonFunc_20170819.zip" title="2017/10/26 16:43:22 1.2MB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />HypCommonFunc_20170819.zip</a></li>
<li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/HypCommonFunc_20170819.tar.gz" title="2017/10/26 16:43:22 1.0MB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />HypCommonFunc_20170819.tar.gz</a></li></ul>
<!--i0fc086e--></div>
<!--z46c1f61--></div>
<!--o23db7e1--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>最近の <a href="https://github.com/nao-pon/HypCommon" title="github.com/nao-pon/HypCommon">github</a> 更新履歴  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#e0720112" title="e0720112"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h3>
<ul><li><a href="https://github.com/nao-pon/HypCommon/commits/master.atom" title="github.com/nao-pon/HypCommon/commits/master.atom">HypCommon 最近の変更点(RSS)</a></li></ul>
<!--e0720112--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>パーミッション設定など  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#x7024263" title="x7024263"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h3>
<ul><li>ファイル作成権限が必要なディレクトリ (例: 707 など。ディレクトリがなければ作成する。)</li>
<li>[<strong><span style="color:Blue;">html側</span></strong>]
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink-->/class/hyp_common/cache</li></ul></li>
<li>[<strong><span style="color:Red;">trust側</span></strong>]
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink-->/cache</li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink-->/uploads/hyp_common</li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink-->/uploads/hyp_common/kakasi</li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink-->/class/hyp_common/favicon/cache</li></ul></li></ul>
<ul><li>プロキシ設定
<ul><li>[<strong><span style="color:Red;">trust側</span></strong>] <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink-->/class/hyp_common/ini/http_request.ini.dist は、http通信をする Hyp_HTTP_Request クラスの設定ファイルの雛形です。</li>
<li>プロキシ設定などサーバー固有の設定をしたい場合は、ファイル名を &quot;http_request.ini&quot; として設定保存してください。</li>
<li>設定書式は、ini 形式です。</li></ul></li></ul>
<!--x7024263--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>画像処理に imagemagick, jpegtran を使用する場合  <a href="https://xoops.hypweb.net/modules/xpwiki/116.html#z695a3e7" title="z695a3e7"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h3>
<p>画像処理には GD を使用しますが、imagemagick, jpegtran がサーバーに導入されている場合、画像サムネイルの作成、画像回転などにそれらを利用することができます。</p>
<p>使用するには、それぞれの実行パスを <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">XOOPS_TRUST_PATH</a><!--/autolink-->/class/hyp_common/execpath.inc.php に記載する必要があります。このファイルの記載内容例は次のような感じです。</p>

<!--description ignore-->
<div style="height:15.9em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;"> 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php
</span><span style="color: #FF8000">// サーバー環境に合わせてパスを設定する
// ImageMagick
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'HYP_IMAGEMAGICK_PATH'</span><span style="color: #007700">, </span><span style="color: #DD0000">'/usr/bin/'</span><span style="color: #007700">);
</span><span style="color: #FF8000">// jpegtran
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'HYP_JPEGTRAN_PATH'</span><span style="color: #007700">, </span><span style="color: #DD0000">'/usr/bin/'</span><span style="color: #007700">);
</span><span style="color: #FF8000">// KAKASI
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'HYP_KAKASI_PATH'</span><span style="color: #007700">, </span><span style="color: #DD0000">'/usr/bin/'</span><span style="color: #007700">);
</span><span style="color: #FF8000">// 以下の設定は、サーバーのPHPがセーフモードの場合に使用されます。
// PHP がセーフモードの場合に FTP で実行権限を与えてください。
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'HYP_IMAGE_MAGICK_URL'</span><span style="color: #007700">, </span><span style="color: #DD0000">'http://(<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink-->ルート)/class/hyp_common/image_magick.cgi'</span><span style="color: #007700">);
</span><span style="color: #0000BB">?&gt;</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->

<ul><li>Linux 環境で、CGIがFTPオーナー権限で動作するサーバーの場合、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink-->/class/hyp_common/get_execpath.cgi に実行権限を与えて、ブラウザからこのファイルにアクセスすることにより、このファイルを自動生成することができます。</li>
<li>get_execpath.cgi が上手く動作しない場合は、手元で上記ファイルを作成して、サーバーにアップロードしてください。</li>
<li>PHP がセーフモードで、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink-->/class/hyp_common/image_magick.cgi を使用する場合は、このcgi に実行権限を与えてください。</li></ul>

<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/115.html" title="keyword/.htaccess (4643d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/115.html" title="keyword/.htaccess (4643d)">.htaccess</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5619d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5619d)">HypCommonPreLoad</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6971d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--z695a3e7--></div>
<!--d88d609f--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FHypCommonFunc</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FHypCommonPreLoad%2FKtaiRender">
 <title>HypCommonPreLoad/KtaiRender</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/118.html</link>
 <dc:date>2015-02-16T16:01:25+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>[[[_real,state]&amp;gt;[_page]]][name][[[title]&amp;gt;[_page]]][[[filename1]&amp;gt;[_page]]][[[filename2]&amp;gt;[_page]]][[[filename3]&amp;gt;[_page]]][_past]&amp;#182; :middle[[[_real,state]&amp;gt;[_page]]]:middle[name]:middle[[[title]&amp;gt;[_page]]][[[filename1]&amp;gt;[_page]]&#182;HypCommonPreLoad に含まれる出力フィルターで、XOOPSを丸ごと携帯対応にすることができます。この機能を利用するには、サーバーに HypCommonFunc をアップロード後、XOOPS に HypCommonPreLoad を導入し、HypCommonPreLoad の設定を行ってください。簡単ログイン機能を使用するには、XOOPS_TRUST_PATH/cache ディレクトリに書き込み権限が必要です。RSS 出力に対応。(HypCommonFunc Ver 20080626</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div  style="text-align:center"><table border="0" cellspacing="1" align="center" style="margin-left:auto;margin-right:auto;width:100%;"><tbody><tr><td>[[[_real,state]&gt;[_page]]]</td><td style="text-align:left; vertical-align:middle;">[name]</td><td style="text-align:left; vertical-align:middle;">[[[title]&gt;[_page]]]</td><td style="text-align:center; vertical-align:middle;">[[[filename1]&gt;[_page]]][[[filename2]&gt;[_page]]][[[filename3]&gt;[_page]]]</td><td style="text-align:center; vertical-align:middle;">[_past]</td></tr></tbody></table></div>&#182;<!--ADD_TEXT_SEP-->
<div ><table style=""><tbody><tr><td>:middle[[[_real,state]&gt;[_page]]]</td><td>:middle[name]</td><td>:middle[[[title]&gt;[_page]]]</td><td style="text-align:center; vertical-align:middle;">[[[filename1]&gt;[_page]]][[[filename2]&gt;[_page]]][[[filename3]&gt;[_page]]]</td><td>[_past]</td></tr></tbody></table></div>&#182;<!--ADD_TEXT_SEP-->
<div><table cellspacing="1" border="0"><tbody><tr><td>[[[_real,state]&gt;[_page]]]</td><td>[name]</td><td>[[[title]&gt;[_page]]]</td><td style="text-align:center;">[[[filename1]&gt;[_page]]][[[filename2]&gt;[_page]]][[[filename3]&gt;[_page]]]</td><td>[_past]</td></tr></tbody></table></div></dd></dl><hr />
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5608d)">Prev</a></li>
 <li></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6960d)">keyword</a>/<a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5608d)">HypCommonPreLoad</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/119.html" title="keyword/HypCommonPreLoad/KtaiRender/テーマ調整 (6436d)">テーマ調整</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>

<!--description ignore-->
<div>
 <div>
  ページ内コンテンツ
 </div>
 <div>
  <ul><li>  携帯対応レンダラー 
<ul><li>  設定 (hyp_preload.conf.php) 
<ul><li>  サイトごとの設定 
<ul><li>  各設定値のキー名に #[XOOPS_URL] を付加する方法 </li>
<li>  XOOPS_ROOT_PATH(html側)/class/hyp_common/hyp_preload.conf.php にて設定する方法 </li></ul></li>
<li>  ブロックのコントロール </li>
<li>  モバイルコンテンツ向け google Adsense の利用 </li></ul></li>
<li>  HTMLコメントによるコンテンツコントロール </li>
<li>  各モジュールの対応など 
<ul><li>  d3forum </li>
<li>  mailbbs (写メールBBS) </li>
<li>  yomi (Yomiサーチ) </li>
<li>  テンプレートでよく使う絵文字 (i-mode 基準) </li></ul></li>
<li>  制限について </li>
<li>  意見・要望 </li></ul></li></ul>
 </div>
</div>
<!--/description ignore-->

<h2>携帯対応レンダラー  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#c558a62d" title="c558a62d"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=c558a62d" title="keyword/HypCommonPreLoad/KtaiRender#c558a62d の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#c558a62d の編集" /> </a>
<!--/description ignore--></h2>
<p><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5608d)">HypCommonPreLoad</a> に含まれる出力フィルターで、<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a>を丸ごと携帯対応にすることができます。</p>
<ul><li>この機能を利用するには、サーバーに <a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> をアップロード後、<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a> に <a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5608d)">HypCommonPreLoad</a> を導入し、<a href="https://xoops.hypweb.net/modules/xpwiki/117.html#y8348a4c" title="keyword/HypCommonPreLoad (5608d)">HypCommonPreLoad の設定</a>を行ってください。</li>
<li>簡単ログイン機能を使用するには、<a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">XOOPS_TRUST_PATH</a>/cache ディレクトリに書き込み権限が必要です。</li>
<li>RSS 出力に対応。(<a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> Ver 20080626 以降)</li>
<li>各モジュールのテーマ下テンプレートに対応。(<a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> Ver 20080717 以降)
<ul><li>各モジュールのテーマ下テンプレートは、<a href="http://www.mc8.jp/HD/" title="www.mc8.jp/HD/">モバイル テンプハウス</a> などで入手できます。</li></ul></li>
<li>携帯絵文字に対応しています。携帯三社とPCで絵文字の自動変換を行い、変換できない絵文字は画像で表示されます。(<a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> Ver 20080720 以降)
<ul><li>携帯絵文字パック: <a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/K-tai_emoji.zip" title="2008/08/15 16:22:06 609.5KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />K-tai_emoji.zip</a> を <a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6958d)">XOOPS_ROOT_PATH</a>/images に忘れずアップロードしてください。</li>
<li>詳しくは、<a href="https://xoops.hypweb.net/modules/UsersWiki/person/nao-pon/blog/2008-07-19" title="nao-pon/blog/2008-07-19 (5623d)">Blog:携帯絵文字に対応してみた</a> や <a href="https://xoops.hypweb.net/modules/forum/index.php?topic_id=2400" title="xoops.hypweb.net/modules/forum/index.php?topic_id=2400">フォーラム:[HypCommonFunc] Ver 20080720 携帯絵文字に対応</a> を参照してください。</li></ul></li>
<li>以前のバージョンで必要であった、<a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6958d)">XOOPS_ROOT_PATH</a>/class/hyp_common/redirect.php は、<a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> Ver. 20080910 以降で不要となりました。サーバー上の該当ファイルは不必要になりましたので、削除しても構いません。</li></ul>
<dl><dt><span style="color:Red;">注意事項</span></dt>
<dd><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> Ver 20080720 以降に含まれる SoftBankの絵文字を営利目的でホームページ、ソフトウェア、書籍等で利用される場合は、以下のアドレスから事前に連絡する必要があります。<br />
<a href="https://hpwb.net/w655x" title="creation.mb.softbank.jp/web/web_privacy.html">https://hpwb.net/w655x</a><span> (creation.mb.softbank.jp)</span></dd></dl>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>設定 (hyp_preload.conf.php)  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#gacdaf31" title="gacdaf31"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=gacdaf31" title="keyword/HypCommonPreLoad/KtaiRender#gacdaf31 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#gacdaf31 の編集" /> </a>
<!--/description ignore--></h3>
<div style="margin-left:auto;margin-right:auto;width:80%;"><p>ここに解説のある設定項目でも hypconf モジュールで設定できる項目は、そちらで設定したほうが、はるかに簡単に設定できます。ぜひ、hypconf モジュールを<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4564d)">インストール</a><!--/autolink-->してご活用ください。</p>
<p>hypconf モジュールは、<a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> に含まれています。html/modules/hypconf, <a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">xoops_trust_path</a>/modules/hypconf の各ディレクトリをサーバーの html側 と trustパス側へそれぞれ間違えないようにアップロードして、<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a> のモジュール管理から<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4564d)">インストール</a><!--/autolink-->してください。</p>
</div>

<p>&quot;<a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">XOOPS_TRUST_PATH</a>/class/hyp_common/preload/hyp_preload.conf.php&quot; を編集して設定をします。該当ファイルがない場合は、同じディレクトリに含まれている &quot;hyp_preload.conf.php.rename&quot; をリネームしてください。</p>
<ul><li>hyp_preload.conf.php 内の携帯対応レンダラー関連の設定項目 (HypCommoFunc Ver. 20120130)

<!--description ignore-->
<div style="height:30.3em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #FF8000">// 各機能のメインスイッチ (On = 1, Off = 0)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_set_query_words   </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// 検索ワードを定数にセット
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_words_highlight   </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// 検索ワードをハイライト表示
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_proxy_check       </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// POST時プロキシチェックする
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_dependence_filter </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// 機種依存文字フィルター
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_post_spam_filter  </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// POST SPAM フィルター
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_trap_set    </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// 無効フィールドのBot罠を自動で仕掛ける
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_k_tai_render      </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// 携帯対応レンダーを有効にする
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_smart_redirect    </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">; </span><span style="color: #FF8000">// スマートリダイレクトを有効にする
 
// 各種設定
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">configEncoding </span><span style="color: #007700">= </span><span style="color: #DD0000">'EUC-JP'</span><span style="color: #007700">; </span><span style="color: #FF8000">// このファイルの文字コード
 
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">encodehint_word </span><span style="color: #007700">= </span><span style="color: #DD0000">'ぷ'</span><span style="color: #007700">;    </span><span style="color: #FF8000">// POSTエンコーディング判定用文字
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">encodehint_name </span><span style="color: #007700">= </span><span style="color: #DD0000">'HypEncHint'</span><span style="color: #007700">; </span><span style="color: #FF8000">// POSTエンコーディング判定用 Filed name
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">detect_order </span><span style="color: #007700">= </span><span style="color: #DD0000">'ASCII, JIS, UTF-8, eucJP-win, EUC-JP, SJIS-win, SJIS'</span><span style="color: #007700">;
 
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">msg_words_highlight </span><span style="color: #007700">= </span><span style="color: #DD0000">'これらのキーワードがハイライトされています'</span><span style="color: #007700">;
 
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">no_proxy_check  </span><span style="color: #007700">= </span><span style="color: #DD0000">'/^(127\.0\.0\.1|192\.168\.1\.)/'</span><span style="color: #007700">; </span><span style="color: #FF8000">// 除外IP
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">msg_proxy_check </span><span style="color: #007700">= </span><span style="color: #DD0000">'Can not post from public proxy.'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// Input filter 制御文字の除去
// 0: null 以外許可, 1: SoftBankの絵文字と\t,\r,\n は許可, 2: \t,\r,\n のみ許可
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">input_filter_strength </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// POST SPAM
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">use_mail_notify    </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">;    </span><span style="color: #FF8000">// POST SPAM メール通知 0:なし, 1:SPAM判定のみ, 2:すべて
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">send_mail_interval </span><span style="color: #007700">= </span><span style="color: #0000BB">60</span><span style="color: #007700">;   </span><span style="color: #FF8000">// まとめ送りのインターバル(分) (0 で随時送信)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_a   </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">;         </span><span style="color: #FF8000">// &lt;a&gt; タグ 1個あたりのポイント
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_bb  </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">;         </span><span style="color: #FF8000">// BBリンク 1個あたりのポイント
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_url </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">;         </span><span style="color: #FF8000">// URL      1個あたりのポイント
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_unhost</span><span style="color: #007700">= </span><span style="color: #0000BB">5</span><span style="color: #007700">;       </span><span style="color: #FF8000">// 不明 HOST の加算ポイント
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_host  </span><span style="color: #007700">= </span><span style="color: #0000BB">31</span><span style="color: #007700">;      </span><span style="color: #FF8000">// Spam HOST の加算ポイント
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_word  </span><span style="color: #007700">= </span><span style="color: #0000BB">10</span><span style="color: #007700">;      </span><span style="color: #FF8000">// Spam Word の加算ポイント
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_filed </span><span style="color: #007700">= </span><span style="color: #0000BB">200</span><span style="color: #007700">;     </span><span style="color: #FF8000">// Spam 無効フィールドの加算ポイント
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_trap  </span><span style="color: #007700">= </span><span style="color: #DD0000">'___url'</span><span style="color: #007700">;</span><span style="color: #FF8000">// Spam 罠用無効フィールド名
 
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_user  </span><span style="color: #007700">= </span><span style="color: #0000BB">150</span><span style="color: #007700">;     </span><span style="color: #FF8000">// POST SPAM 閾値: ログインユーザー
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_guest </span><span style="color: #007700">= </span><span style="color: #0000BB">15</span><span style="color: #007700">;      </span><span style="color: #FF8000">// POST SPAM 閾値: ゲスト
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_badip </span><span style="color: #007700">= </span><span style="color: #0000BB">100</span><span style="color: #007700">;     </span><span style="color: #FF8000">// アクセス拒否リストへ登録する閾値
 
// 処理をパスするフォームフィールド名 (,&lt;カンマ&gt; 区切り)
// reference_quote : d3forum
// msg_before,msg_after : PukiWikiMod
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_pass_names </span><span style="color: #007700">= </span><span style="color: #DD0000">'reference_quote,msg_before,msg_after'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// Protector 併用設定 (Protector の拒否IP登録の保護グループ設定も有効)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_badip_ttl     </span><span style="color: #007700">= </span><span style="color: #0000BB">900</span><span style="color: #007700">;     </span><span style="color: #FF8000">// アクセス拒否の拒否継続時間[Sec](0:無期限,null:Protector不使用)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_badip_forever </span><span style="color: #007700">= </span><span style="color: #0000BB">200</span><span style="color: #007700">;     </span><span style="color: #FF8000">// 無期限アクセス拒否閾値
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_badip_ttl0    </span><span style="color: #007700">= </span><span style="color: #0000BB">2592000</span><span style="color: #007700">; </span><span style="color: #FF8000">// 無期限アクセス拒否継続時間[Sec](0:本当に無期限)
 
// Proxy Checkers
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_checkers </span><span style="color: #007700">= array(
    </span><span style="color: #FF8000">//'list.dsbl.org',
    </span><span style="color: #DD0000">'niku.2ch.net'</span><span style="color: #007700">,
    array(
        </span><span style="color: #DD0000">'dnsbl.spam-champuru.livedoor.com'</span><span style="color: #007700">,
        </span><span style="color: #DD0000">'/^192\.168\.1\.2/'
    </span><span style="color: #007700">),
);
 
</span><span style="color: #FF8000">// POST SPAM のポイント加算設定
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">post_spam_rules </span><span style="color: #007700">= array(
    </span><span style="color: #FF8000">// 同じURLが1行に3回 11pt
    </span><span style="color: #DD0000">"/((?:ht|f)tps?:\/\/[!~*'();\/?:\@&amp;=+\$,%#\w.-]+).+?\\1.+?\\1/i" </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">11</span><span style="color: #007700">,
 
    </span><span style="color: #FF8000">// 65文字以上の英数文字のみで構成されている 15pt
    // '/^[\x00-\x7f\s]{65,}$/' =&gt; 15,
 
    // 無効な文字コードがある 31pt
    </span><span style="color: #DD0000">'/[\x01-\x08\x0b-\x0c\x0e\x10-\x1a\x1c-\x1f\x7f]+/' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">31</span><span style="color: #007700">,
 
    </span><span style="color: #FF8000">// よくあるSPAM 15pt
    </span><span style="color: #DD0000">'/^\s*(?:Hi|Aloha)! (?:&lt;a[^&gt;]+?href=|\[url=|http:\/\/)/i' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">15</span><span style="color: #007700">,
);
 
</span><span style="color: #FF8000">// 無効なフィールド定義
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">ignore_fileds </span><span style="color: #007700">= array(
    </span><span style="color: #FF8000">// 'url' =&gt; array('newbb/post.php', 'comment_post.php'),
</span><span style="color: #007700">);
 
</span><span style="color: #FF8000">// 検索ワード定数名
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">q_word  </span><span style="color: #007700">= </span><span style="color: #DD0000">'XOOPS_QUERY_WORD'</span><span style="color: #007700">;         </span><span style="color: #FF8000">// 検索ワード
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">q_word2 </span><span style="color: #007700">= </span><span style="color: #DD0000">'XOOPS_QUERY_WORD2'</span><span style="color: #007700">;        </span><span style="color: #FF8000">// 検索ワード分かち書き(分かち書き不使用なら空文字''で設定)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">se_name </span><span style="color: #007700">= </span><span style="color: #DD0000">'XOOPS_SEARCH_ENGINE_NAME'</span><span style="color: #007700">; </span><span style="color: #FF8000">// 検索元名
 
// 外部リンクに付加する class属性値
// use_words_highlight = 1 の場合に有効
// 空値指定で class属性の付加なし
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">extlink_class_name </span><span style="color: #007700">= </span><span style="color: #DD0000">'ext'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// KAKASI での分かち書き結果のキャッシュ先
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">kakasi_cache_dir </span><span style="color: #007700">= </span><span style="color: #0000BB"><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">XOOPS_TRUST_PATH</a></span><span style="color: #007700">.</span><span style="color: #DD0000">'/uploads/hyp_common/kakasi/'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// スマートリダイレクトのポップアップ最短秒数
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smart_redirect_min_sec </span><span style="color: #007700">= </span><span style="color: #0000BB">5</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// 定数 "HYP_IS_BOT_UA" をセットする UserAgant PCRE 正規表現
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">bot_ua_reg </span><span style="color: #007700">= </span><span style="color: #DD0000">'/bot|Slurp|Crawler|Sidewinder|spider|Y!J|Ask/i'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">/////////////////////////
// 携帯対応レンダー設定
 
// 携帯端末判定用 UA 正規表現
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'ua_regex'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'#(?:Android|Windows Phone|SoftBank|Vodafone|J-PHONE|DoCoMo|UP\.Browser|DDIPOCKET|WILLCOM|iPhone|iPod|mixi-mobile-converter|Googlebot-Mobile|Google Wireless Transcoder|Hatena-Mobile-Gateway)#'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// jQuery mobile を使用するプロファイル
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_profiles'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'android,iphone,ipod,windows phone'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// jQuery mobile のテーマ
// ページ
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_theme'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'b'</span><span style="color: #007700">;
</span><span style="color: #FF8000">// メインコンテンツ
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_theme_content'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'d'</span><span style="color: #007700">;
</span><span style="color: #FF8000">// ブロックコンテンツ
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_theme_block'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'c'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// jQuery 使用時はHTMLの携帯用変換を行わない
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_no_reduce'</span><span style="color: #007700">] = </span><span style="color: #0000BB">true</span><span style="color: #007700">;
</span><span style="color: #FF8000">// jQuery Mobile 適用時に Flash を除去するプロファイル名をカンマ区切りで記述。
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_remove_flash'</span><span style="color: #007700">] = </span><span style="color: #DD0000">''</span><span style="color: #007700">; </span><span style="color: #FF8000">// 'iphone,ipod,ipad'
// jQuery Mobile 適用時に入れ子になっているテーブルを展開する。
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_resolve_table'</span><span style="color: #007700">] = </span><span style="color: #0000BB">false</span><span style="color: #007700">;
</span><span style="color: #FF8000">// jQuery Mobile 適用時に画像を指定幅[px]サイズまで縮小する。「0」で無効。
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_image_convert'</span><span style="color: #007700">] = </span><span style="color: #0000BB">0</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// HTML再構築用タグ設定
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'rebuilds'</span><span style="color: #007700">] = array(
    </span><span style="color: #DD0000">'header'         </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'body'           </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'footer'         </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'headerlogo'     </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;center&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/center&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'headerbar'      </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;hr&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'breadcrumbs'    </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'leftcolumn'     </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;hr&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'centerCcolumn'  </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;hr&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'centerLcolumn'  </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'centerRcolumn'  </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'content'        </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;hr&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'rightcolumn'    </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;hr&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'footerbar'      </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'easylogin'      </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;div style="text-align:center;background-color:#DBBCA6;font-size:small"&gt;[ '</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">' ]&lt;/div&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'redirectMessage'</span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;marquee loop="3"&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/marquee&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'blockMenu'      </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;div style="background-color:#E0EEEE;font-size:small"&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/div&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'blockContent'   </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'toMain'         </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;hr /&gt;&lt;div style="text-align:center"&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/div&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'subMenu'        </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;div id="submenu" style="background-color:#ccccff"&gt;&lt;h2 style="text-align:center"&gt;サブメニュー&lt;/h2&gt;&lt;/div&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
);
</span><span style="color: #FF8000">// jQuery Mobile 上書き用
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'rebuildsEx'</span><span style="color: #007700">][</span><span style="color: #DD0000">'jqm'</span><span style="color: #007700">] = array(
    </span><span style="color: #DD0000">'header'         </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;div data-role="header" data-theme="'</span><span style="color: #007700">.</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_theme'</span><span style="color: #007700">].</span><span style="color: #DD0000">'"&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/div&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'body'           </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;div data-role="content" id="keitaiContents" data-theme="'</span><span style="color: #007700">.</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_theme'</span><span style="color: #007700">].</span><span style="color: #DD0000">'"&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/div&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'footer'         </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;div data-role="footer" data-theme="'</span><span style="color: #007700">.</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'jquery_theme'</span><span style="color: #007700">].</span><span style="color: #DD0000">'"&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/div&gt;'</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'easylogin'      </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">''</span><span style="color: #007700">),
    </span><span style="color: #DD0000">'blockMenu'      </span><span style="color: #007700">=&gt; array( </span><span style="color: #DD0000">'above' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;div data-role="header" style="line-height:1"&gt;'</span><span style="color: #007700">,
                              </span><span style="color: #DD0000">'below' </span><span style="color: #007700">=&gt; </span><span style="color: #DD0000">'&lt;/div&gt;'</span><span style="color: #007700">),
);
 
</span><span style="color: #FF8000">// 携帯用<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a>テーマセット
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'themeSet'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'ktai_default'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'themeSets'</span><span style="color: #007700">] = array();
</span><span style="color: #FF8000">//$this-&gt;k_tai_conf['themeSets']['jqm'] = ''; // jQuery mobile 一括
// carrier 別の設定 (carrier をキーにして設定)
//$this-&gt;k_tai_conf['themeSets']['android'] = '';
//$this-&gt;k_tai_conf['themeSets']['iphone'] = '';
//$this-&gt;k_tai_conf['themeSets']['ipod'] = '';
//$this-&gt;k_tai_conf['themeSets']['windows phone'] = '';
 
// 携帯用<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a>テンプレートセット
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'templateSet'</span><span style="color: #007700">] = </span><span style="color: #DD0000">''</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'templateSets'</span><span style="color: #007700">] = array();
</span><span style="color: #FF8000">//$this-&gt;k_tai_conf['templateSets']['jqm'] = ''; // jQuery mobile 一括
// carrier 別の設定 (carrier をキーにして設定)
//$this-&gt;k_tai_conf['templateSets']['android'] = '';
//$this-&gt;k_tai_conf['templateSets']['iphone'] = '';
//$this-&gt;k_tai_conf['templateSets']['ipod'] = '';
//$this-&gt;k_tai_conf['templateSets']['windows phone'] = '';
 
// 使用テンプレート
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'template'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'default'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'templates'</span><span style="color: #007700">][</span><span style="color: #DD0000">'jqm'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'smart'</span><span style="color: #007700">; </span><span style="color: #FF8000">// jQuery mobile 用
 
// &lt;body&gt; attributes
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'bodyAttribute'</span><span style="color: #007700">] = </span><span style="color: #DD0000">''</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// 無効にするブロックの bid (Block Id) (無指定:フィルタリングしない)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'disabledBlockIds'</span><span style="color: #007700">] = array();
 
</span><span style="color: #FF8000">// 有効にするブロックの bid (Block Id) (無指定:フィルタリングしない)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'limitedBlockIds'</span><span style="color: #007700">] = array();
 
</span><span style="color: #FF8000">// 常に表示するブロックの bid (Block Id) (メインメニューなど)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'showBlockIds'</span><span style="color: #007700">] = array();
 
</span><span style="color: #FF8000">// インラインイメージのリサイズ最大ピクセル
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'pictSizeMax'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'200'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// インラインイメージを表示するホスト名(後方一致)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'showImgHosts'</span><span style="color: #007700">] = array(</span><span style="color: #DD0000">'amazon.com'</span><span style="color: #007700">, </span><span style="color: #DD0000">'yimg.jp'</span><span style="color: #007700">, </span><span style="color: #DD0000">'yimg.com'</span><span style="color: #007700">, </span><span style="color: #DD0000">'google.com'</span><span style="color: #007700">);
 
</span><span style="color: #FF8000">// 直接画像を表示するホスト名(後方一致)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'directImgHosts'</span><span style="color: #007700">] = array(</span><span style="color: #DD0000">'google-analytics.com'</span><span style="color: #007700">, </span><span style="color: #DD0000">'maps.google.com'</span><span style="color: #007700">, </span><span style="color: #DD0000">'ad.jp.ap.valuecommerce.com'</span><span style="color: #007700">, </span><span style="color: #DD0000">'ba.afl.rakuten.co.jp'</span><span style="color: #007700">, </span><span style="color: #DD0000">'assoc-amazon.jp'</span><span style="color: #007700">, </span><span style="color: #DD0000">'ad.linksynergy.com'</span><span style="color: #007700">);
 
</span><span style="color: #FF8000">// リダイレクトスクリプトを経由しないホスト名(後方一致)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'directLinkHosts'</span><span style="color: #007700">] = array(</span><span style="color: #DD0000">'amazon.co.jp'</span><span style="color: #007700">, </span><span style="color: #DD0000">'ck.jp.ap.valuecommerce.com'</span><span style="color: #007700">, </span><span style="color: #DD0000">'afl.rakuten.co.jp'</span><span style="color: #007700">, </span><span style="color: #DD0000">'maps.google.com'</span><span style="color: #007700">);
 
</span><span style="color: #FF8000">// 外部リンク用リダイレクトスクリプト
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'redirect'</span><span style="color: #007700">] = </span><span style="color: #0000BB">XOOPS_URL </span><span style="color: #007700">. </span><span style="color: #DD0000">'/class/hyp_common/gate.php?way=redirect&amp;amp;_d=0&amp;amp;_u=0&amp;amp;_x=0&amp;amp;l='</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// Easy login を有効にする
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'easyLogin'</span><span style="color: #007700">] = </span><span style="color: #0000BB">1</span><span style="color: #007700">;
</span><span style="color: #FF8000">// Easy login で IP アドレス帯域をチェックしない
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'noCheckIpRange'</span><span style="color: #007700">] = </span><span style="color: #0000BB">0</span><span style="color: #007700">;
</span><span style="color: #FF8000">// docomo の端末IDを確認する間隔(秒)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'docomoGuidTTL'</span><span style="color: #007700">] = </span><span style="color: #0000BB">300</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// リンクメッセージ
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'easylogin'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'簡単ログイン'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'logout'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'ログアウト'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'easyloginSet'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'簡単ログイン:設定'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'easyloginUnset'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'簡単ログイン:解除'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'toMain'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'本文を表示'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'mainMenu'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'メインメニュー'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'subMenu'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'サブメニュー'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'msg'</span><span style="color: #007700">][</span><span style="color: #DD0000">'switchSmart'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'スマホスタイルへ'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// アイコン
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'first'</span><span style="color: #007700">]   = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/s/18013.gif" alt="((s:465d))" border="0" width="15" height="15" />'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'prev'</span><span style="color: #007700">]    = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/s/18011.gif" alt="((s:465b))" border="0" width="15" height="15" />'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'next'</span><span style="color: #007700">]    = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/s/18010.gif" alt="((s:465a))" border="0" width="15" height="15" />'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'last'</span><span style="color: #007700">]    = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/s/18012.gif" alt="((s:465c))" border="0" width="15" height="15" />'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'extLink'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/i/63705.gif" alt="((i:f8d9))" border="0" width="16" height="16" />'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'hTag'</span><span style="color: #007700">]    = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/i/63716.gif" alt="((i:f8e4))" border="0" width="16" height="16" />'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'RSS'</span><span style="color: #007700">]     = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/e/228.gif" alt="((e:f699))" border="0" width="15" height="15" />'</span><span style="color: #007700">;
 
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'icon'</span><span style="color: #007700">][</span><span style="color: #DD0000">'toMain'</span><span style="color: #007700">]  = </span><span style="color: #DD0000">'<img src="https://xoops.hypweb.net/images/emoji/e/518.gif" alt="((e:f7e4))" border="0" width="15" height="15" />'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// style
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'style'</span><span style="color: #007700">][</span><span style="color: #DD0000">'highlight'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'background-color:#ffc0cb'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// Easy login: 設定 or 解除リンクを表示するURI(XOOPS_URL以降)とuidのGETキーと挿入位置
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'easyLoginConfPath'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'/userinfo.php'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'easyLoginConfuid'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'uid'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'easyLoginConfInsert'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'content'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// GET query keys
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'getKeys'</span><span style="color: #007700">][</span><span style="color: #DD0000">'page'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'_p_'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'getKeys'</span><span style="color: #007700">][</span><span style="color: #DD0000">'hash'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'_h_'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'getKeys'</span><span style="color: #007700">][</span><span style="color: #DD0000">'block'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'_b_'</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">//// Google Adsense 設定
// config ファイルのパス
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'googleAdsense'</span><span style="color: #007700">][</span><span style="color: #DD0000">'config'</span><span style="color: #007700">] = </span><span style="color: #DD0000">''</span><span style="color: #007700">;
</span><span style="color: #FF8000">// 挿入場所 ('header', 'body', 'footer') の下、無指定時はページ最上部
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'googleAdsense'</span><span style="color: #007700">][</span><span style="color: #DD0000">'below'</span><span style="color: #007700">] = </span><span style="color: #DD0000">''</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// Google Analytics 設定
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'googleAnalyticsId'</span><span style="color: #007700">] = </span><span style="color: #DD0000">''</span><span style="color: #007700">;
 
</span><span style="color: #FF8000">// &lt;a&gt; タグの href 属性の書き換えルール
//$this-&gt;k_tai_conf['urlRewrites']['regex'][] = '';
//$this-&gt;k_tai_conf['urlRewrites']['tostr'][] = '';
 
// &lt;img&gt; タグの src 属性の書き換えルール
//$this-&gt;k_tai_conf['urlImgRewrites']['regex'][] = '';
//$this-&gt;k_tai_conf['urlImgRewrites']['tostr'][] = '';
 
// 携帯対応レンダー設定 以上
/////////////////////////////</span></span></code></pre></div></div></div>
<!--/description ignore-->
</li></ul>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>サイトごとの設定  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#d50674f5" title="d50674f5"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=d50674f5" title="keyword/HypCommonPreLoad/KtaiRender#d50674f5 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#d50674f5 の編集" /> </a>
<!--/description ignore--></h4>
<p>$this-&gt;k_tai_conf の各設定は、サイトごとに行う必要がある場合がありますので、サイトごとの設定方法を説明します。</p>
<p>方法は、2種類あります。</p>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>各設定値のキー名に #[XOOPS_URL] を付加する方法  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#q72f0639" title="q72f0639"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=q72f0639" title="keyword/HypCommonPreLoad/KtaiRender#q72f0639 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#q72f0639 の編集" /> </a>
<!--/description ignore--></h5>
<p>この方法では、<a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">XOOPS_TRUST_PATH</a> 側 (<a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">XOOPS_TRUST_PATH</a>/class/hyp_common/preload/hyp_preload.conf.php) で各サイトごとに設定できます。</p>
<p>例えば、$this-&gt;k_tai_conf['disabledBlockIds'] の設定を <span> (<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">xoops</a>.hypweb.net)</span> に対して行いたい場合は、</p>

<!--description ignore-->
<div style="height:2.7em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;">1
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'disabledBlockIds#http://<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">xoops</a>.hypweb.net'</span><span style="color: #007700">] = array(</span><span style="color: #0000BB">55</span><span style="color: #007700">, </span><span style="color: #0000BB">63</span><span style="color: #007700">, </span><span style="color: #0000BB">154</span><span style="color: #007700">, </span><span style="color: #0000BB">67</span><span style="color: #007700">, </span><span style="color: #0000BB">106</span><span style="color: #007700">, </span><span style="color: #0000BB">34</span><span style="color: #007700">);</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->

<p>のように設定します。(このサイトの設定例です)</p>
<p><span style="color:Red;">※ trust側で設定する場合は、<a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6958d)">XOOPS_ROOT_PATH</a>/class/hyp_common/hyp_preload.conf.php を設置してはいけません。</span></p>
<!--q72f0639--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6958d)">XOOPS_ROOT_PATH</a>(html側)/class/hyp_common/hyp_preload.conf.php にて設定する方法  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#uaa66906" title="uaa66906"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=uaa66906" title="keyword/HypCommonPreLoad/KtaiRender#uaa66906 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#uaa66906 の編集" /> </a>
<!--/description ignore--></h5>
<p>各サイトの <a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6958d)">XOOPS_ROOT_PATH</a>/class/hyp_common に hyp_preload.conf.php に設置して設定を行います。</p>
<p><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6958d)">XOOPS_ROOT_PATH</a>/class/hyp_common/hyp_preload.conf.php を設置すると、<a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">XOOPS_TRUST_PATH</a>/class/hyp_common/preload/hyp_preload.conf.php は読み込まれなくなります。</p>
<!--uaa66906--></div>
<!--d50674f5--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>ブロックのコントロール  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#tf074ce2" title="tf074ce2"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=tf074ce2" title="keyword/HypCommonPreLoad/KtaiRender#tf074ce2 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#tf074ce2 の編集" /> </a>
<!--/description ignore--></h4>
<p>ブロックは、サブメニューとしてタイトルを一覧表示するようになっています。</p>
<p>また、特定のブロックを常に表示したり、ブロックを無効にすることもできます。</p>
<ul><li><strong><span style="font-size:140%;line-height:130%;color:#008080;">特定のブロックを常に表示したい</span></strong><span style="font-size:140%;line-height:130%;color:#008080;"> </span>
<p>特定のブロックを、メインコンテンツと共に常に表示することができます。</p>
<p>メインメニューやユーザーメニューは常に表示させておくと便利でしょう。</p>
<p>設定は、</p>

<!--description ignore-->
<div style="height:3.9em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #FF8000">// 常に表示するブロックの bid (Block Id) (メインメニューなど)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'showBlockIds'</span><span style="color: #007700">] = array();</span></span></code></pre></div></div></div>
<!--/description ignore-->

<p>で行います。</p></li>
<li><span style="color:#008080;"><strong><span style="font-size:140%;line-height:130%;">特定のブロックを無効にしたい</span></strong></span>
<p>特定のブロックを無効にすることができます。</p>
<p>設定は、</p>

<!--description ignore-->
<div style="height:3.9em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #FF8000">// 非表示にするブロックの bid (Block Id)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'disabledBlockIds'</span><span style="color: #007700">] = array();</span></span></code></pre></div></div></div>
<!--/description ignore-->

<p>で行います。</p></li></ul>
<p>ブロックの設定を行う場合は、その性格上、必ずサイトごとの設定で行う必要があります。</p>
<p>設定方法は、ブロックIDを配列で指定します。例えば、ブロックID 3, 5, 10 を非表示にしたい場合は、次のようになります。</p>

<!--description ignore-->
<div style="height:3.9em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #FF8000">// 非表示にするブロックの bid (Block Id)
</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'disabledBlockIds'</span><span style="color: #007700">] = array(</span><span style="color: #0000BB">3</span><span style="color: #007700">, </span><span style="color: #0000BB">5</span><span style="color: #007700">, </span><span style="color: #0000BB">10</span><span style="color: #007700">);</span></span></code></pre></div></div></div>
<!--/description ignore-->

<dl><dt><span style="color:Red;"><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a> 2.0.16a JP での注意事項</span></dt>
<dd><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a> 2.0.16a JP で運用している場合は、<a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3109d)">HypCommonFunc</a> Ver. 20080916 以降に含まれる header.phpのハック版 ( core_addons/html_2.0.16aJP/header.php ) を忘れずに <a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6958d)">XOOPS_ROOT_PATH</a> へアップロードする必要があります。</dd></dl>
<!--tf074ce2--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>モバイルコンテンツ向け google Adsense の利用  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#t99cca95" title="t99cca95"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=t99cca95" title="keyword/HypCommonPreLoad/KtaiRender#t99cca95 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#t99cca95 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li>googleAdsense.php を <a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">xoops_trust_path</a>/class/hyp_common/<span>ktairender</span> に配置する。
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonFunc/googleAdsense.php.zip" title="2011/11/24 00:00:02 2.1KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />googleAdsense.php.zip</a></li></ul></li>
<li>configファイルを作成して任意のディレクトリへ配置してそのパスを hyp_preload.conf.php の $this-&gt;k_tai_conf['googleAdsense']['config'] に指定する。
<ul><li>configファイル(PHP ファイル) へは google Adsense の「モバイル コンテンツ向け AdSense &gt; 広告ユニット」から「コードを取得」で表示されるコードのうち、$GLOBALS['google']['client'] と $GLOBALS['google']['slotname'] の部分を抜き出してください。</li>
<li>例: <a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">xoops_trust_path</a>/class/hyp_common/<span>ktairender</span>/adsenseConf.php

<!--description ignore-->
<div style="height:5.1em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;">1
2
3
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php
$GLOBALS</span><span style="color: #007700">[</span><span style="color: #DD0000">'google'</span><span style="color: #007700">][</span><span style="color: #DD0000">'client'</span><span style="color: #007700">]=</span><span style="color: #DD0000">'ca-mb-pub-xxxxxxxxxxxxxxxx'</span><span style="color: #007700">;
</span><span style="color: #0000BB">$GLOBALS</span><span style="color: #007700">[</span><span style="color: #DD0000">'google'</span><span style="color: #007700">][</span><span style="color: #DD0000">'slotname'</span><span style="color: #007700">]=</span><span style="color: #DD0000">'xxxxxxxxxx'</span><span style="color: #007700">;</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->
</li>
<li>hyp_preload.conf.php で config ファイルのパスを指定

<!--description ignore-->
<div style="height:2.7em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">k_tai_conf</span><span style="color: #007700">[</span><span style="color: #DD0000">'googleAdsense'</span><span style="color: #007700">][</span><span style="color: #DD0000">'config'</span><span style="color: #007700">] = </span><span style="color: #DD0000">'<a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">xoops_trust_path</a>/class/hyp_common/<span>ktairender</span>/adsenseConf.php'</span><span style="color: #007700">;</span></span></code></pre></div></div></div>
<!--/description ignore-->
</li></ul></li></ul>
<!--t99cca95--></div>
<!--gacdaf31--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>HTMLコメントによるコンテンツコントロール  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#bac393ad" title="bac393ad"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=bac393ad" title="keyword/HypCommonPreLoad/KtaiRender#bac393ad の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#bac393ad の編集" /> </a>
<!--/description ignore--></h3>
<p>特定の HTML コメントを使って、コンテンツの部分的なコントロールが可能です。</p>
<dl><dt>HypKTaiOnly - モバイルのみ有効</dt>
<dd>&lt;!--HypKTaiOnly と HypKTaiOnly--&gt; で囲んだ部分は、モバイル対応時のみ有効になります。</dd></dl>
<dl><dt>HypKTaiIgnore - モバイルは無効</dt>
<dd>&lt;!--HypKTaiIgnore--&gt; と &lt;!--/HypKTaiIgnore--&gt; で囲んだ部分は、モバイル対応時は完全に無視され、出力されません。</dd></dl>
<dl><dt>HypKTaiOptimized - モバイル最適化の無効</dt>
<dd>&lt;!--HypKTaiOptimized--&gt; と &lt;!--/HypKTaiOptimized--&gt; で囲んだ部分は、モバイル対応時の HTML タグ置換(最適化)は行われず、そのままの HTML 構造で出力されます。</dd></dl>
<!--bac393ad--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>各モジュールの対応など  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#p8402e35" title="p8402e35"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=p8402e35" title="keyword/HypCommonPreLoad/KtaiRender#p8402e35 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#p8402e35 の編集" /> </a>
<!--/description ignore--></h3>
<p>各モジュールのテンプレート内でも、Smarty変数の <span style="color:Blue;"><strong>Smarty変数の $smarty.const.HYP_K_TAI_RENDER</strong></span> を使って、場合分けができます。('===' とイコールが3つである必要があります)</p>
<p>部分的に場合分けしてもいいですし、大胆に全体を</p>
<div><pre >&lt;{if $smarty.const.HYP_K_TAI_RENDER === 2}&gt;
　スマートフォン(jQuery mobile 使用時)の場合のテンプレート
&lt;{elseif $smarty.const.HYP_K_TAI_RENDER === 1}&gt;
　携帯の場合のテンプレート
&lt;{else}&gt;
　PCの場合のテンプレート
&lt;{/if}&gt;
</pre></div>
<p>とすることもできます。</p>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>d3forum  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#j5f13651" title="j5f13651"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=j5f13651" title="keyword/HypCommonPreLoad/KtaiRender#j5f13651 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#j5f13651 の編集" /> </a>
<!--/description ignore--></h4>
<p>d3forum では、スパム対策のデフォルトフィルターで、ゲスト投稿時に JavaScript を利用してフィルタリングを行っていますが、このフィルターが有効になっていると、ゲストが携帯で投稿することができません。</p>
<p>そこで、携帯からのアクセスかを IP 帯域で判断して、携帯であると判断した場合は、フィルタリングを行わないフィルターを書いてみました。</p>
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FHypCommonPreLoad%252FKtaiRender/D3forumAntispamDefault_ktai.class.php" title="2008/07/01 09:11:32 1.7KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />D3forumAntispamDefault_ktai.class.php</a></li></ul>
<p>このファイルを、<a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6958d)">XOOPS_TRUST_PATH</a>/modules/d3forum/class にアップロードし、[ d3forum の管理画面 - 一般設定 - SPAM投稿チェック用クラス ] に 「default_ktai」と指定してください。</p>
<!--j5f13651--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>mailbbs (写メールBBS)  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#d0ec1420" title="d0ec1420"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=d0ec1420" title="keyword/HypCommonPreLoad/KtaiRender#d0ec1420 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#d0ec1420 の編集" /> </a>
<!--/description ignore--></h4>
<p>Version 2.3.6 で、携帯対応レンダラーに対応しました。Ver 2.3.6 以降をお使いください。</p>
<ul><li><a href="http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/hypweb/mailbbs.tar.gz?only_with_tag=MAIN&amp;view=tar" title="cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/hypweb/mailbbs.tar.gz?only_with_tag=MAIN&amp;view=tar">最新バージョンをCVSからダウンロード</a></li></ul>
<!--d0ec1420--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>yomi (Yomiサーチ)  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#d820213d" title="d820213d"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=d820213d" title="keyword/HypCommonPreLoad/KtaiRender#d820213d の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#d820213d の編集" /> </a>
<!--/description ignore--></h4>
<p>Version 0.89 にて、サイトバナーの表示に対応しました。</p>
<ul><li><a href="http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/hypweb/yomi.tar.gz?only_with_tag=MAIN&amp;view=tar" title="cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/hypweb/yomi.tar.gz?only_with_tag=MAIN&amp;view=tar">最新バージョンをCVSからダウンロード</a></li></ul>
<!--d820213d--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>テンプレートでよく使う絵文字 (i-mode 基準)  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#idd98a6b" title="idd98a6b"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=idd98a6b" title="keyword/HypCommonPreLoad/KtaiRender#idd98a6b の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#idd98a6b の編集" /> </a>
<!--/description ignore--></h4>
<div  style="text-align:left"><table border="0" cellspacing="1" align="left" style="margin-left:10px;margin-right:auto;"><thead><tr><th style="text-align:left;">絵文字</th><th style="text-align:left;">絵文字コード</th><th>意味</th><th>主な使用例</th></tr></thead><tbody><tr><td style="text-align:center;"><img src="https://xoops.hypweb.net/images/emoji/i/63826.gif" alt="((i:f952))" border="0" width="16" height="16" /></td><td style="text-align:center;">&#40;(i:f952))</td><td>ペン</td><td>投稿する</td></tr><tr><td style="text-align:center;"><img src="https://xoops.hypweb.net/images/emoji/i/63934.gif" alt="((i:f9be))" border="0" width="16" height="16" /></td><td style="text-align:center;">&#40;(i:f9be))</td><td>鉛筆</td><td>投稿数</td></tr><tr><td style="text-align:center;"><img src="https://xoops.hypweb.net/images/emoji/i/63829.gif" alt="((i:f955))" border="0" width="16" height="16" /></td><td style="text-align:center;">&#40;(i:f955))</td><td>人型</td><td>投稿者</td></tr><tr><td style="text-align:center;"><img src="https://xoops.hypweb.net/images/emoji/i/63684.gif" alt="((i:f8c4))" border="0" width="16" height="16" /></td><td style="text-align:center;">&#40;(i:f8c4))</td><td>家型</td><td>居住地・ホームページ</td></tr><tr><td style="text-align:center;"><img src="https://xoops.hypweb.net/images/emoji/i/63838.gif" alt="((i:f95e))" border="0" width="16" height="16" /></td><td style="text-align:center;">&#40;(i:f95e))</td><td>時計</td><td>投稿日時</td></tr><tr><td style="text-align:center;"><img src="https://xoops.hypweb.net/images/emoji/i/63874.gif" alt="((i:f982))" border="0" width="16" height="16" /></td><td style="text-align:center;">&#40;(i:f982))</td><td style="text-align:left;">New</td><td>最終更新・最新投稿</td></tr></tbody></table></div><br clear=all />
<!--idd98a6b--></div>
<!--p8402e35--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>制限について  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#w92fcd11" title="w92fcd11"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=w92fcd11" title="keyword/HypCommonPreLoad/KtaiRender#w92fcd11 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#w92fcd11 の編集" /> </a>
<!--/description ignore--></h3>
<p>サーバーの PHP が PHP 4.3.0 未満、又は PHP 5 未満で Web サーバーが Apache でない場合、header('Location: ...') でリダイレクトしているところでセッションが切れてしまいます。ログイン状態であっても、そこでログアウトしてしまうということです。</p>
<p>可能であれば、HTTP Header を検査して Location であれば、セッションID付きURLに書き換えることでセッションが切れないようになっていますが、未対応の環境下ではそれを行うことができないので、携帯対応レンダラー側で対処することはできません。</p>
<p>未対応の環境下サーバーで、リダイレクト時にセッションが切れないようにする方法は以下の2つの方法があります。</p>
<ol><li><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a> の関数 redirect_header() を使用する</li>
<li>Location によるリダイレクト時に URL にセッションIDを追加する</li></ol>
<p>例えば、</p>

<!--description ignore-->
<div style="height:2.7em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Location: ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$url</span><span style="color: #007700">);</span></span></code></pre></div></div></div>
<!--/description ignore-->

<p>となっているところを次のように変更します。</p>
<ul><li>1. redirect_header() 使用

<!--description ignore-->
<div style="height:7.5em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #007700">if (</span><span style="color: #0000BB">defined</span><span style="color: #007700">(</span><span style="color: #DD0000">'HYP_K_TAI_RENDER'</span><span style="color: #007700">) &amp;&amp; </span><span style="color: #0000BB">HYP_K_TAI_RENDER</span><span style="color: #007700">) {
    </span><span style="color: #0000BB">redirect_header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Location: ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$url</span><span style="color: #007700">);
} else {
    </span><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Location: ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$url</span><span style="color: #007700">);
}</span></span></code></pre></div></div></div>
<!--/description ignore-->
</li></ul>
<ul><li>2. セッションIDを追加

<!--description ignore-->
<div style="height:8.7em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #007700">if (</span><span style="color: #0000BB">defined</span><span style="color: #007700">(</span><span style="color: #DD0000">'HYP_K_TAI_RENDER'</span><span style="color: #007700">) &amp;&amp; </span><span style="color: #0000BB">HYP_K_TAI_RENDER</span><span style="color: #007700">) {
    </span><span style="color: #0000BB">$<span>ktairender</span> </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">HypKTaiRender</span><span style="color: #007700">::</span><span style="color: #0000BB">getSingleton</span><span style="color: #007700">(); </span><span style="color: #FF8000">// リファレンス取得
    </span><span style="color: #0000BB">$url </span><span style="color: #007700">= </span><span style="color: #0000BB">$HypKTaiRender</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getRealUrl</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">);      </span><span style="color: #FF8000">// 相対URLなら絶対URLに変換 (要: Ver. 20090104 以降)
    </span><span style="color: #0000BB">$url </span><span style="color: #007700">= </span><span style="color: #0000BB">$<span>ktairender</span></span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">addSID</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">);  </span><span style="color: #FF8000">// セッションIDを付加
</span><span style="color: #007700">}
</span><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Location: ' </span><span style="color: #007700">. </span><span style="color: #0000BB">$url</span><span style="color: #007700">);</span></span></code></pre></div></div></div>
<!--/description ignore-->
</li></ul>
<!--w92fcd11--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>意見・要望  <a href="https://xoops.hypweb.net/modules/xpwiki/118.html#fe659f99" title="fe659f99"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FHypCommonPreLoad%2FKtaiRender&amp;paraid=fe659f99" title="keyword/HypCommonPreLoad/KtaiRender#fe659f99 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/HypCommonPreLoad/KtaiRender#fe659f99 の編集" /> </a>
<!--/description ignore--></h3>
<ul><li>意見要望を書くところが、あちこち探したがよくわからなかったのでここにコメント欄を作ってみました。 -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2008-08-17 (Sun) 10:16:25</span></li>
<li>携帯判定にWILLCOMと、e-mobileを是非入れて欲しい。 -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2008-08-17 (Sun) 10:16:34</span></li>
<li>directLinkHosts に、Adsenseのgooglesyndication.comを入れて欲しい -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2008-08-17 (Sun) 10:32:53</span>
<ul><li>WILLCOM と e-mobile の端末の多くは、PCサイトブラウザを搭載していてほとんどのユーザーは、それでアクセスしているので、携帯対応はかえってユーザーの不利益になるという認識なのですが、如何でしょうか。(このあたり、私は詳しくないので間違っているかもしれません。)<br />Adsense対応に関しては、hyp_preload.conf.php にて設定していただければよいと思いますが、規定値に設定しておいたほうがよさそうなら加えておきます。 <img alt=":-)" src="https://xoops.hypweb.net/uploads/smil3dbd4d6422f04.gif" />  -- <a href="https://xoops.hypweb.net/modules/xpwiki/135.html" title="nao-pon (6678d)">nao-pon</a> <span>2008-08-17 (日) 21:38:06</span></li></ul></li>
<li>e-mobileはよく分かりませんが、WILLCOMのPCサイトブラウザは、端末の能力が他社端末に比べ低く抑えられていることや通信回線の遅さから、依然として非力であり、まだ今1つ実用的とは言えない状態です。むしろドコモやauのPCサイトブラウザの方がよほど快適なくらいで…従いまして、軽いページに対する需要は十分あると思われます。1ユーザーとして、WILLCOMの携帯対応をデフォルトで行っていただけると、大変有り難いです。 -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2008-09-20 (土) 23:49:44</span>
<ul><li>そのような事情があるのですね。仕様を調べた上で対応を検討しますね。 <img alt=":-)" src="https://xoops.hypweb.net/uploads/smil3dbd4d6422f04.gif" />  -- <a href="https://xoops.hypweb.net/modules/xpwiki/135.html" title="nao-pon (6678d)">nao-pon</a> <span>2008-09-21 (日) 21:06:49</span></li>
<li>まずは、このサイトでWILLCOMのケータイモードを対象にしてみました。<br /><a href="http://xoops.hypweb.net/modules/forum/index.php?topic_id=2461" title="xoops.hypweb.net/modules/forum/index.php?topic_id=2461">[携帯対応レンダラー] WILLCOM対応 レポート募集中 - XOOPSマニア</a>にレポートを頂けると助かります。 -- <a href="https://xoops.hypweb.net/modules/xpwiki/135.html" title="nao-pon (6678d)">nao-pon</a> <span>2008-09-23 (火) 10:58:50</span></li></ul></li>
<li>お世話になります。 -- <span>しょぼ<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%A4%B7%A4%E7%A4%DC&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="しょぼ の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2008-10-18 (土) 20:51:47</span></li>
<li>初心者なので、初歩的なご質問をさせていただくことをご了承ください。　各設定を行って、無事に携帯でmobile版表示ができたのですが、メインメニューもブロックもコンテンツも表示されません。何が原因なのでしょうか？ご指導いただければ幸いです。　<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">xoops</a>バージョンは2.0.16で上記の設定通り行ったつもりです。宜しくお願い致します。 -- <span>しょぼ<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%A4%B7%A4%E7%A4%DC&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="しょぼ の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2008-10-18 (土) 20:56:16</span></li>
<li>Hタグを任意で無効にできる機能があると・・・最高っす！ -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2009-02-18 (水) 17:43:32</span></li>
<li>携帯レンダラーでのpiCALの携帯対応について教えてください -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2009-09-16 (水) 12:38:03</span></li>
<li>つかっちゃう -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2010-04-07 (水) 19:53:30</span></li>
<li>すみません。素人で・・・ブロックIDの調べ方がわかりません。 -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2010-10-24 (日) 23:02:23</span>
<ul><li>hypconf モジュールにて簡単に設定できるようになりました。ご活用ください。</li></ul></li>
<li>iphoneとアンドロイドの場合に別のテンプレートに飛ばしたいのですが -- <span>通りすがりさん<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=%C4%CC%A4%EA%A4%B9%A4%AC%A4%EA%A4%B5%A4%F3&amp;refer=keyword%2FHypCommonPreLoad%2FKtaiRender" title="通りすがりさん の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" alt="編集" height="9" width="9" /></a></span> <span>2012-02-04 (土) 17:07:24</span>
<ul><li>携帯用<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a>テーマセット と 携帯用<a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5056d)">XOOPS</a>テンプレートセット は、それぞれキャリア別に設定できるようになっています。上記の 設定(hyp_preload.conf.php) を参考にしてください。テーマセットは適用するテーマ、テンプレートセットは適用するDBテンプレートセット名になっています。DBテンプレートよりもテーマ下テンプレートが優先されますので、テーマ下テンプレートをご利用の場合はご留意ください。 -- <a href="https://xoops.hypweb.net/modules/xpwiki/135.html" title="nao-pon (6678d)">nao-pon</a> <span>2012-02-05 (日) 11:28:32</span></li></ul></li></ul>
<br />


<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5608d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6960d)">keyword</a>/<a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5608d)">HypCommonPreLoad</a></li>
 <li><br /></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5608d)">Up</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/119.html" title="keyword/HypCommonPreLoad/KtaiRender/テーマ調整 (6436d)">Down</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--fe659f99--></div>
<!--c558a62d--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>
<fieldset><legend> fusen.dat </legend><div style="left:1298px; top:4700px; color:#ff0000; background-color:#ffaaaa; border:#000000 1px solid;">
<div>id.1: </div>
<div><span>通りすがりさん</span> : <span> : 09/02/17 17:09</span></div>
<div><p>&nbsp; <img alt=":D" src="https://xoops.hypweb.net/modules/xpwiki/image/face/bigsmile.png" /></p></div>
</div>
<div style="left:1371px; top:4232px; color:#000000; background-color:#ffffff; border:#000000 1px solid;overflow:hidden;white-space:normal;width:177px;height:98px;">
<div>id.2: </div>
<div><span>通りすがりさん</span> : <span> : 09/05/15 16:51</span></div>
<div><p>ヘェ〜。
なんだぁ、この付箋機能は。
面白れぇ〜。</p></div>
</div>
<div style="left:891px; top:3970px; color:#000000; background-color:#ffffff; border:#000000 1px solid;overflow:hidden;white-space:normal;width:162px;height:56px;">
<div>id.3: </div>
<div><span>通りすがりさん</span> : <span> : 09/05/19 23:36</span></div>
<div><p>ここかｗ</p></div>
</div>
<div style="left:1197px; top:2716px; color:#000000; background-color:#ffffff; border:#000000 1px solid;overflow:hidden;white-space:normal;width:49px;height:8px;">
<div>id.4: </div>
<div><span>通りすがりさん</span> : <span> : 09/05/26 18:36</span></div>
<div><p>test</p></div>
</div>
<div style="left:51px; top:1285px; color:#000000; background-color:#ffffff; border:#000000 1px solid;">
<div>id.6: </div>
<div><span>通りすがりさん</span> : <span> : 15/02/16 16:01</span></div>
<div><p>hogehoge
fugafuga</p></div>
</div>
</fieldset>
 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FHypCommonPreLoad%2FKtaiRender</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2F.htaccess">
 <title>.htaccess</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/115.html</link>
 <dc:date>2013-08-25T12:17:14+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>Webサーバ Apache の動作をディレクトリ単位で設定するためのテキストファイル。EUC-JP での運用なら次の設定が吉かも。UTF-8 なら EUC-JP の部分を UTF-8 にすればOK</description>
 <content:encoded><![CDATA[
 
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3113d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">keyword</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>
<h2><span>.htaccess</span> (どっとえいちてぃあくせす)  <a href="https://xoops.hypweb.net/modules/xpwiki/115.html#s518076e" title="s518076e"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2F.htaccess&amp;paraid=s518076e" title="keyword/.htaccess#s518076e の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/.htaccess#s518076e の編集" /> </a>
<!--/description ignore--></h2>
<p>Webサーバ Apache の動作をディレクトリ単位で設定するためのテキストファイル。</p>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>文字化けしないための <span>.htaccess</span>  <a href="https://xoops.hypweb.net/modules/xpwiki/115.html#gc8a93e4" title="gc8a93e4"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2F.htaccess&amp;paraid=gc8a93e4" title="keyword/.htaccess#gc8a93e4 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/.htaccess#gc8a93e4 の編集" /> </a>
<!--/description ignore--></h3>
<p>EUC-JP での運用なら次の設定が吉かも。</p>

<!--description ignore-->
<div style="height:18.3em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #FF8000"># Charactor Encoding
</span><span style="color: #0000BB">AddDefaultCharset EUC</span><span style="color: #007700">-</span><span style="color: #0000BB">JP
</span><span style="color: #FF8000"># PHP Settings
</span><span style="color: #0000BB">php_value output_buffering off
php_value output_handler none
php_value default_charset EUC</span><span style="color: #007700">-</span><span style="color: #0000BB">JP
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">language Japanese
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">encoding_translation off
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">internal_encoding EUC</span><span style="color: #007700">-</span><span style="color: #0000BB">JP
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">script_encoding none
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">http_input pass
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">http_output pass
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">detect_order auto
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">substitute_character none</span></span></code></pre></div></div></div>
<!--/description ignore-->

<p>UTF-8 なら EUC-JP の部分を UTF-8 にすればOK</p>

<!--description ignore-->
<div style="height:18.3em;overflow:auto;"><div><div><pre><code><span style="color: #000000"><span style="color: #FF8000"># Charactor Encoding
</span><span style="color: #0000BB">AddDefaultCharset UTF</span><span style="color: #007700">-</span><span style="color: #0000BB">8
</span><span style="color: #FF8000"># PHP Settings
</span><span style="color: #0000BB">php_value output_buffering off
php_value output_handler none
php_value default_charset UTF</span><span style="color: #007700">-</span><span style="color: #0000BB">8
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">language Japanese
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">encoding_translation off
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">internal_encoding UTF</span><span style="color: #007700">-</span><span style="color: #0000BB">8
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">script_encoding none
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">http_input pass
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">http_output pass
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">detect_order auto
php_value mbstring</span><span style="color: #007700">.</span><span style="color: #0000BB">substitute_character none</span></span></code></pre></div></div></div>
<!--/description ignore-->


<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">keyword</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3113d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3113d)">HypCommonFunc</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--gc8a93e4--></div>
<!--s518076e--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2F.htaccess</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FX-update">
 <title>X-update</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/125.html</link>
 <dc:date>2012-12-11T09:19:28+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>アップデータモジュール「X-update」（えっくす・あっぷでーと）は、XCL (Xoops Cube Legacy) 2.2 以降で動作し、モジュールやテーマのインストールやアップデートをFTPクライアントを使わずに迅速に行うことが可能になる、ユーティリティ系モジュールです。XoopsX/xupdate &amp;#183; GitHubXoops Users Group Japan - ModuleManuals/X-updateX-update(エックス・アップデート) - XUGJ Wikixu</description>
 <content:encoded><![CDATA[
 
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4993d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6235d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6957d)">keyword</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>
<h2><span>X-update</span> (えっくす・あっぷでーと)  <a href="https://xoops.hypweb.net/modules/xpwiki/125.html#x03832ba" title="x03832ba"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-update&amp;paraid=x03832ba" title="keyword/X-update#x03832ba の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-update#x03832ba の編集" /> </a>
<!--/description ignore--></h2>
<p>アップデータモジュール「<span>X-update</span>」（えっくす・あっぷでーと）は、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6235d)">XCL</a><!--/autolink--> (<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5054d)">Xoops</a><!--/autolink--> Cube Legacy) 2.2 以降で動作し、モジュールやテーマの<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4561d)">インストール</a><!--/autolink-->やアップデートをFTPクライアントを使わずに迅速に行うことが可能になる、ユーティリティ系モジュールです。</p>
<ul><li><a href="https://github.com/XoopsX/xupdate" title="github.com/XoopsX/xupdate">XoopsX/xupdate &#183; GitHub</a></li>
<li><a href="http://www.xugj.org/modules/xpwiki/?ModuleManuals%2FX-update" title="www.xugj.org/modules/xpwiki/?ModuleManuals/X-update">Xoops Users Group Japan - ModuleManuals/X-updateX-update(エックス・アップデート) - XUGJ Wiki</a></li>
<li><a href="http://www.naaon.com/modules/plactice/index.php/home/hobby/xoops/xupdate.htm" title="www.naaon.com/modules/plactice/index.php/home/hobby/xoops/xupdate.htm">xupdateモジュール - なーおんWEB</a></li></ul>

<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4993d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4993d)">X-elFinder</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6235d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6235d)">XCL</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6957d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--x03832ba--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FX-update</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FXOOPS%20X%28ten%29">
 <title>XOOPS X(ten)</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/128.html</link>
 <dc:date>2012-12-11T08:49:07+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>&#182;XOOPS Cube Legacy の最新バージョンを元に、コアの言語は英語と日本語がインストールフォルダ等に配置し、日本語でインストールが可能。(他の言語はextrasフォルダに存在)altsys, protector, xupdate の各モジュールが標準でインストールされます。X-update(導入・アップデート管理)モジュールにより、ブラウザ上で様々なモジュールの配置とインストールが簡単にできるようになっています。XOOPS X (ten) Distribution Pack - on </description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div style="float:right;margin:16px 16px 16px 16px;text-align:center">
 <a href="http://www.amazon.co.jp/exec/obidos/ASIN/4896273133/ref=nosim"><img src="http://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN4896273133.jpg" alt="オープンソース Zen Cartで作る本格インターネットショップ―無料で使えるXOOPSでさらに便利に!" /></a>
</div></dd></dl><hr />
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6971d)">keyword</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>
<h2><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> X (ten) (ずーぷす・てん)  <a href="https://xoops.hypweb.net/modules/xpwiki/128.html#rcc47568" title="rcc47568"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS%20X%28ten%29&amp;paraid=rcc47568" title="keyword/XOOPS X(ten)#rcc47568 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS X(ten)#rcc47568 の編集" /> </a>
<!--/description ignore--></h2>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> Cube Legacy の最新バージョンを元に、コアの言語は英語と日本語が<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->フォルダ等に配置し、日本語で<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->が可能。(他の言語はextrasフォルダに存在)</p>
<p>altsys, protector, xupdate の各モジュールが標準で<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->されます。</p>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink-->(導入・アップデート管理)モジュールにより、ブラウザ上で様々なモジュールの配置と<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->が簡単にできるようになっています。</p>
<ul><li><a href="http://www.xoopscube.net/" title="www.xoopscube.net/">XOOPS X (ten) Distribution Pack - on XOOPS Cube Legacy 2.2.1</a></li>
<li><a href="http://www.xoopscube.net/modules/xpwiki/#wa5e9b19" title="www.xoopscube.net/modules/xpwiki/#wa5e9b19">XOOPS X (ten) Distribution Pack - コンテンツ(Wiki) - ダウンロード : [XoopsX(ten)]</a></li></ul>

<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6971d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--rcc47568--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FXOOPS%20X%28ten%29</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FX-elFinder">
 <title>X-elFinder</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/123.html</link>
 <dc:date>2012-08-26T22:08:21+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>http://www.youtube.com/watch?v=8KATdAlvKbIJavaScript + PHP で動作する Webベースファイルマネージャーの elFinder 2.0 を XOOPS 用にモジュール化したもの。最新版ダウンロードXOOPS にインストールすることで、イメージマネージャーと換装*1して利用することができます。ただし、XOOPS Cube Legacy 以外は、XOOPS_ROOT_PATH/imagemanager.php を若干編集する必要があります。開発</description>
 <content:encoded><![CDATA[
 
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/132.html" title="keyword/pukiwiki.ini.php (6945d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6971d)">keyword</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/124.html" title="keyword/X-elFinder/Connect to Dropbox.com (5123d)">Connect to Dropbox.com</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>

<!--description ignore-->
<div>
 <div>
  ページ内コンテンツ
 </div>
 <div>
  <ul><li>  X-elFinder (えっくす・えるふぁいんだー) 
<ul><li>  インストール時の注意事項 
<ul><li>  ポップアップを IFRAME に変更したい場合 
<ul><li>  HypConf モジュールを利用する方法 </li>
<li>  XOOPS テーマに直接記述する方法 </li></ul></li>
<li>  依存ライブラリについて </li></ul></li>
<li>  X-elFinder 固有の主な機能 
<ul><li>  Tips :thumb_up: 
<ul><li>  XCL の preload ディレクトリの管理 </li></ul></li></ul></li>
<li>  XOOPS Cube Legacy 以外の imagemanager.php </li>
<li>  最近の開発動向 </li></ul></li></ul>
 </div>
</div>
<!--/description ignore-->

<h2><span>X-elFinder</span> (えっくす・えるふぁいんだー)  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#a8ad1743" title="a8ad1743"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=a8ad1743" title="keyword/X-elFinder#a8ad1743 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#a8ad1743 の編集" /> </a>
<!--/description ignore--></h2>
<div style="text-align:center;"><div><div><iframe type="text/html" width="400" height="225" src="https://www.youtube.com/embed/8KATdAlvKbI?wmode=transparent&amp;autohide=1&amp;rel=0" frameborder="0"><noiframe><a href="http://www.youtube.com/watch?v=8KATdAlvKbI">http://www.youtube.com/watch?v=8KATdAlvKbI</a></noiframe></iframe></div></div></div>

<p>JavaScript + PHP で動作する Webベースファイルマネージャーの <a href="http://elfinder.org/" title="elfinder.org/">elFinder 2.0</a> を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> 用にモジュール化したもの。</p>
<div style="float:right;width:250px;"><div style="text-align:center"><a href="https://github.com/nao-pon/xelfinder/zipball/master" title="github.com/nao-pon/xelfinder/zipball/master"><span style="font-size:150%;line-height:130%;">最新版ダウンロード</span></a></div>
</div>

<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> に<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->することで、イメージマネージャーと換装*1して利用することができます。</p>
<p>ただし、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> Cube Legacy 以外は、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink-->/imagemanager.php を若干編集する必要があります。</p>
<p>開発は github 上で行われています。</p>
<ul><li><a href="https://github.com/nao-pon/xelfinder" title="github.com/nao-pon/xelfinder">nao-pon/xelfinder - GitHub</a></li></ul>
<p>最新版のダウンロードは上記のページの「<a href="https://github.com/nao-pon/xelfinder/zipball/master" title="github.com/nao-pon/xelfinder/zipball/master">ZIP</a>」から行えます。ただし、開発中のものなので、取得タイミングによって不具合のある場合があります。そんな時は<a href="https://github.com/nao-pon/xelfinder/tags" title="github.com/nao-pon/xelfinder/tags">過去のバージョン</a>をお試しください。</p>
<p>また、<span>X-elFinder</span> は、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> Cube Legacy 2.2 以上で動作する <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> に対応しています。対象の <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> Cube Legacy を使用されている場合は、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a><!--/autolink--> での<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->、アップデートを強くお勧めします。</p>
<div ><table cellspacing="1" style="border:outset 1px;border-color:#66ff99;width:80%;"><tbody><tr><td style="text-align:center;"><a href="https://github.com/XoopsX/xupdate/zipball/master" title="github.com/XoopsX/xupdate/zipball/master"><span style="font-size:120%;line-height:130%;">X-update のダウンロード</span></a></td><td style="text-align:center;"><a href="http://www.xugj.org/modules/xpwiki/?ModuleManuals%2FX-update" title="www.xugj.org/modules/xpwiki/?ModuleManuals/X-update"><span style="font-size:120%;line-height:130%;">X-update のマニュアル</span></a></td></tr></tbody></table></div><br clear=all />
<p><span>X-elFinder</span> に関する話題、質問、要望 はフォーラムへどうぞ。 <img alt=":-)" src="https://xoops.hypweb.net/uploads/smil3dbd4d6422f04.gif" /></p>
<ul><li><a href="http://xoops.hypweb.net/modules/forum/index.php?forum_id=25" title="xoops.hypweb.net/modules/forum/index.php?forum_id=25">X-elFinder - フォーラム</a></li></ul>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4575d)">インストール</a><!--/autolink-->時の注意事項  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#e6bc1d49" title="e6bc1d49"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=e6bc1d49" title="keyword/X-elFinder#e6bc1d49 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#e6bc1d49 の編集" /> </a>
<!--/description ignore--></h3>
<ul><li>　次のディレクトリに書き込み(ファイル作成)権限 (777 とか 707) が必要です。
<ul><li>html/modules/xelfinder/cache</li>
<li>html/modules/xelfinder/cache/tmb</li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6969d)">xoops_trust_path</a><!--/autolink-->/uploads/xelfinder</li></ul></li>
<li>画像参照に PathInfo を使用していますが、サーバー環境によっては PathInfo が使えず正常に表示されない場合があります。
<p>その場合には、管理画面の一般設定で「ファイル参照URLの PathInfo を無効にする」を「はい」にしてください。</p></li>
<li>原則として、ゲストへモジュールアクセス権限を与えてください。
<p>マネージャー画面からフォルダ・ファイル単位でアクセス権限を設定できます。また、ファイルアップロード権限はフォルダ単位で設定できます。</p></li></ul>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>ポップアップを IFRAME に変更したい場合  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#v8f2e329" title="v8f2e329"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=v8f2e329" title="keyword/X-elFinder#v8f2e329 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#v8f2e329 の編集" /> </a>
<!--/description ignore--></h4>
<p>elFinder のポップアップには <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> の <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">xoops</a><!--/autolink-->.js に含まれている openWithSelfMain() を使用しますが、
openWithSelfMain() では、別ウィンドウが開きます。これを IFRAME を使ったポップアップに変更したい場合は、
テーマの theme.html にて `&lt;{$xoops_js}&gt;` を読み込んだ後で、openWithSelfMain_iframe.js を読みこませることで
それが可能になります。</p>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>HypConf モジュールを利用する方法  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#v880921b" title="v880921b"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=v880921b" title="keyword/X-elFinder#v880921b の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#v880921b の編集" /> </a>
<!--/description ignore--></h5>
<p>HypConf(HypCommon の設定) モジュールの「その他の設定」-「&lt;head&gt;内の最後に挿入するタグ」に次の内容を記述する</p>
<div><pre>&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;{$xoops_url}&gt;/modules/xelfinder/include/js/openWithSelfMain_iframe.js&quot;&gt;&lt;/script&gt;</pre></div>
<!--v880921b--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> テーマに直接記述する方法  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#ebb8b51f" title="ebb8b51f"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=ebb8b51f" title="keyword/X-elFinder#ebb8b51f の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#ebb8b51f の編集" /> </a>
<!--/description ignore--></h5>
<p>theme.html を編集してください。</p>
<dl><dt>例 (theme.html)</dt>
</dl>
<div><pre>&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
&lt;{$xoops_js}&gt;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;{$xoops_url}&gt;/modules/xelfinder/include/js/openWithSelfMain_iframe.js&quot;&gt;&lt;/script&gt;</pre></div>
<!--ebb8b51f--></div>
<!--v8f2e329--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>依存ライブラリについて  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#i4539ad5" title="i4539ad5"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=i4539ad5" title="keyword/X-elFinder#i4539ad5 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#i4539ad5 の編集" /> </a>
<!--/description ignore--></h4>
<p>BBcode での参照時など用に任意の縮小サイズの画像を表示できますが、その機能を有効にするために <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3120d)">HypCommonFunc</a><!--/autolink--> が必須になっています。</p>
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3120d)">HypCommonFunc について</a></li></ul>
<!--i4539ad5--></div>
<!--e6bc1d49--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>X-elFinder</span> 固有の主な機能  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#c76aa49a" title="c76aa49a"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=c76aa49a" title="keyword/X-elFinder#c76aa49a の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#c76aa49a の編集" /> </a>
<!--/description ignore--></h3>
<p>elFinder の機能に加えて次のような機能を持っています。</p>
<ul><li>ユーザー別ホルダー</li>
<li>グループ別ホルダー</li>
<li>ゲスト用ホルダー</li>
<li>ホルダー・ファイルの権限(パーミッション)設定(オーナー・グループ・ゲストに対してそれぞれ、読み込み・書き込み・ロック解除・非表示 を設定可能)</li>
<li>ホルダー単位に新規アイテムのパーミッションを設定可能</li>
<li>プラグイン形式によるボリューム(ドライブのようなもの)の追加
<ul><li>現状は d3diary, GNAVI, MailBBS, MyAlbum モジュールのプラグインがあり、それぞれのモジュールに保存されている画像を利用できます</li></ul></li></ul>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>Tips :thumb_up:  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#le07fee9" title="le07fee9"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=le07fee9" title="keyword/X-elFinder#le07fee9 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#le07fee9 の編集" /> </a>
<!--/description ignore--></h4>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6248d)">XCL</a><!--/autolink--> の preload ディレクトリの管理*2  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#l98be910" title="l98be910"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=l98be910" title="keyword/X-elFinder#l98be910 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#l98be910 の編集" /> </a>
<!--/description ignore--></h5>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6248d)">XCL</a><!--/autolink--> の preload ディレクトリの管理が <span>X-elfinder</span> でできます。</p>
<div style="width:auto;float:right;"><div><div><iframe type="text/html" width="300" height="168" src="https://www.youtube.com/embed/P6MBmAcIKUQ?wmode=transparent&amp;autohide=1&amp;rel=0" frameborder="0"><noiframe><a href="http://youtu.be/P6MBmAcIKUQ">http://youtu.be/P6MBmAcIKUQ</a></noiframe></iframe></div></div><div style="">GitHubから D&amp;D でプリロードを設置できます。</div></div>

<p><span>X-elFinder</span> の管理画面 - 一般設定 の「ボリュームドライバ」に</p>
<div><pre>xelfinder:xelfinder:preload:Prelaod:gid=1</pre></div>
<p>または</p>
<div><pre>xelfinder:ftp:preload:Preload:gid=1</pre></div>
<p>と記入すると「Preload」ドライブが表示され html/preload ディレクトリの操作ができるようになります。 末尾の&quot;gid=1&quot; は、利用を管理者グループに限定する指定ですので必ず付けてください。</p>
<p>1番目の xelfinder プラグインを使用する方法は、サーバーの PHP が suEXEC CGI で動いている環境で利用可能ですがこれでうまくいかない場合は 2番めの ftp プラグインを使う方法をお試しください。ftp を使う場合は、同、一般設定の FTP 接続に関する設定を利用しますので、正しく接続できるように設定を済ませてください。</p>
<!--l98be910--></div>
<!--le07fee9--></div>
<!--c76aa49a--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5067d)">XOOPS</a><!--/autolink--> Cube Legacy 以外の imagemanager.php  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#r25ab331" title="r25ab331"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=r25ab331" title="keyword/X-elFinder#r25ab331 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#r25ab331 の編集" /> </a>
<!--/description ignore--></h3>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6969d)">XOOPS_ROOT_PATH</a><!--/autolink-->/imagemanager.php で mainfile.php を読み込んでいる行の直後に</p>
<div><pre>include 'modules/xelfinder/manager.php';</pre></div>
<p>を挿入すればOKです。</p>
<!--r25ab331--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>最近の開発動向  <a href="https://xoops.hypweb.net/modules/xpwiki/123.html#yc7ed859" title="yc7ed859"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder&amp;paraid=yc7ed859" title="keyword/X-elFinder#yc7ed859 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder#yc7ed859 の編集" /> </a>
<!--/description ignore--></h3>
<ul><li><a href="https://xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;rtag=X-elFinder" title="xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;rtag=X-elFinder">関連ブログエントリ一覧</a></li>
<li>github コミット状況
<div>
 <div>
<div><div style="clear:both;"><strong>2026-05-10</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/806fc27b3bcb90a21277cabd778cdd97cd377251" title="2026-05-10 (日) 00:43:41 (3d)" rel="nofollow">X-elFinder Version 2.69.0</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/088221ddef8ad3765eaf8b49f6ed2c46c1405479" title="2026-05-10 (日) 00:41:07 (3d)" rel="nofollow">elFinder up to newly ( Studio-42/elFinder@242ed85 )</a></li>
</ul></div>
<div style="clear:both;"><strong>2024-01-05</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/cd5813d43aab77ae8c48761e189ce7eff34444bc" title="2024-01-05 (金) 14:06:12 (858d)" rel="nofollow">X-elFinder Version 2.65.0</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/4f2ddf5a631dff66e756ecb96d3f5ec2030c15a2" title="2024-01-05 (金) 14:04:14 (858d)" rel="nofollow">elFinder up to newly ( Studio-42/elFinder@c81d9f8 )</a></li>
</ul></div>
<div style="clear:both;"><strong>2023-12-21</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/777bf1d1fca2159de13ffb60e2c3fdcd70e976ef" title="2023-12-21 (木) 17:41:42 (873d)" rel="nofollow">elFinder up to newly ( Studio-42/elFinder@da35cc6 )</a></li>
</ul></div>
<div style="clear:both;"><strong>2023-06-14</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/5fcca71cd4fcedea57e9615dadb2cd3391fc6fde" title="2023-06-14 (水) 09:06:20 (1063d)" rel="nofollow">X-elFinder Version 2.62.0</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/dffdbc41b876490217659cf04e90a48d5e2d0907" title="2023-06-14 (水) 09:02:46 (1063d)" rel="nofollow">elFinder up to newly ( Studio-42/elFinder@f03b320 )</a></li>
</ul></div>
<div style="clear:both;"><strong>2022-03-18</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/3cf13080fd8d99e236868bb947b06ae38bc92fdf" title="2022-03-18 (金) 18:07:58 (1516d)" rel="nofollow">X-elFinder version 2.61.1</a></li>
</ul></div>
<div style="clear:both;"><strong>2022-03-17</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/32f813fea82a3732fe3bc66c814a8efc580f9501" title="2022-03-17 (木) 01:51:27 (1518d)" rel="nofollow">update cacert.pem</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/ba98a23a4bc221db0e9f4d2200339f5821acf803" title="2022-03-17 (木) 01:49:39 (1518d)" rel="nofollow">[vendorup] set kunalvarma05/dropbox-php-sdk ^0.2</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/bf109de2606748cd558edb254694c3278e6c616a" title="2022-03-17 (木) 01:36:40 (1518d)" rel="nofollow">fix commit mistake</a></li>
</ul></div>
<div style="clear:both;"><strong>2022-03-15</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/004d9086aab8183b36303676f4573dcfffa01911" title="2022-03-15 (火) 00:33:12 (1520d)" rel="nofollow">X-elFinder version 2.61</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/cc66e3401ddd7d8db03f122d54b5c28ca957e864" title="2022-03-15 (火) 00:29:45 (1520d)" rel="nofollow">elFinder up to newly ( Studio-42/elFinder@1733024 )</a></li>
</ul></div>
<div style="clear:both;"><strong>2022-03-14</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/45e2da64dcdc93d26e1db76038780424014f813c" title="2022-03-14 (月) 23:24:46 (1520d)" rel="nofollow">[xelfinder_db] Disable auto resize with Ctrl key by Admin or SpecialG…</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/484ae187dbb6400138782594603b332fed39e0e8" title="2022-03-14 (月) 23:24:28 (1520d)" rel="nofollow">change default value to "No" of `check_name_view`</a></li>
</ul></div>
<div style="clear:both;"><strong>2021-06-15</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/43a9e62289970a9ff11fb597dc1c8e4274d89449" title="2021-06-15 (火) 16:17:34 (1792d)" rel="nofollow">add module option `check_name_view` default off</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/aa72242a304acbd9a56f456cf942ffbe541ebba9" title="2021-06-15 (火) 16:15:33 (1792d)" rel="nofollow">[trust] typo fix of connector</a></li>
</ul></div>
<div style="clear:both;"><strong>2021-06-14</strong>
<ul>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/c7a4ed9495cedf876017431b3cedbd35d68b49be" title="2021-06-14 (月) 17:29:32 (1793d)" rel="nofollow">update composer.phar</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/761f75bc5874ad882dc95b6f2c2568a0ec6276b7" title="2021-06-14 (月) 00:08:54 (1794d)" rel="nofollow">X-elFinder version 2.59</a></li>
<li style="clear:both;"><a href="https://github.com/nao-pon/xelfinder/commit/3dfa5f384a4d41aff9d8d6210a2ed36fc0d5f99d" title="2021-06-14 (月) 00:08:09 (1794d)" rel="nofollow">elFinder up to newly ( Studio-42/elFinder@c921a71 )</a></li>
</ul></div>
</div>
 </div>
</div>

<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/132.html" title="keyword/pukiwiki.ini.php (6945d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/132.html" title="keyword/pukiwiki.ini.php (6945d)">pukiwiki.ini.php</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4900d)">X-update</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6971d)">Up</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/124.html" title="keyword/X-elFinder/Connect to Dropbox.com (5123d)">Down</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
</li></ul><!--yc7ed859--></div>
<!--a8ad1743--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FX-elFinder</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FXOOPS">
 <title>XOOPS</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/127.html</link>
 <dc:date>2012-06-27T09:21:05+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>&amp;nbsp;&amp;#182; Thu 1 Jan 1970&#182;PHP言語で書かれた、Webサイト用CMS(コンテンツ・マネージメント・システム)HypCommonFunc関連ブログエントリ一覧HypCommonPreLoad携帯対応レンダラーxpWiki開発日記X-elFinder関連ブログエントリ一覧公式サイト XOOPS Cube 日本公式サイト Web Application Platform - simple : secure : scalable Official XOOPS Website (XOOPS.org) The ImpressCMS </description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><div></div><div>&nbsp;</div>&#182;<!--ADD_TEXT_SEP-->
<div><span>
<span> Thu </span>
<span> 1 </span>
<span> Jan </span>
<span> 1970 </span>
</span></div><br /><br /></dd></dl><hr />
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6247d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/128.html" title="keyword/XOOPS X(ten) (4899d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6969d)">keyword</a></li>
</ul>
<hr />
<!--/description ignore-->


<!--description ignore-->
<div>
 <div>
  ページ内コンテンツ
 </div>
 <div>
  <ul><li>  XOOPS (ずーぷす)
<ul><li>  当サイト内リンク </li>
<li>  XOOPS関連リンク集 
<ul><li>  公式サイト </li>
<li>  ディストリビューション </li>
<li>  ユーザーコミュニティ </li>
<li>  地域コミュニティ </li>
<li>  チュートリアル </li>
<li>  モジュール配布サイト </li>
<li>  デザイン系サイト </li>
<li>  開発系サイト </li></ul></li></ul></li></ul>
 </div>
</div>
<!--/description ignore-->

<div>
<h2><span>XOOPS</span> (ずーぷす) <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#zf4358e6" title="zf4358e6"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=zf4358e6" title="keyword/XOOPS#zf4358e6 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#zf4358e6 の編集" /> </a>
<!--/description ignore--></h2>
<p>PHP言語で書かれた、Webサイト用CMS(コンテンツ・マネージメント・システム)</p>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>当サイト内リンク  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#v0c2ad22" title="v0c2ad22"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=v0c2ad22" title="keyword/XOOPS#v0c2ad22 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#v0c2ad22 の編集" /> </a>
<!--/description ignore--></h3>
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3119d)">HypCommonFunc</a><!--/autolink-->
<ul><li><a href="https://xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;rtag=HypCommonFunc" title="xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;rtag=HypCommonFunc">関連ブログエントリ一覧</a></li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5618d)">HypCommonPreLoad</a><!--/autolink-->
<ul><li>携帯対応レンダラー</li></ul></li></ul></li>
<li><a href="https://xoops.hypweb.net/modules/xpwiki/" title="xpWiki開発日記 (3119d)">xpWiki開発日記</a></li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (5005d)">X-elFinder</a><!--/autolink-->
<ul><li><a href="https://xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;rtag=X-elFinder" title="xoops.hypweb.net/modules/UsersWiki/?cmd=lsx&amp;rtag=X-elFinder">関連ブログエントリ一覧</a></li></ul></li></ul>
<!--v0c2ad22--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><span>XOOPS</span>関連リンク集  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#wcb016be" title="wcb016be"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=wcb016be" title="keyword/XOOPS#wcb016be の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#wcb016be の編集" /> </a>
<!--/description ignore--></h3>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>公式サイト  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#l85cf2a2" title="l85cf2a2"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=l85cf2a2" title="keyword/XOOPS#l85cf2a2 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#l85cf2a2 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://xoopscube.jp/" target="" title="xoopscube.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_f00cfd15fe5c55083b5c3377b2ca597a1b0c2e1c_s.jpg" width="90" height="60" alt="xoopscube.jp/"></a> <a href="http://xoopscube.jp/" title="xoopscube.jp/">XOOPS Cube 日本公式サイト</a></li>
<li><a href="http://xoopscube.org/" target="" title="xoopscube.org/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_0a6d0df4a70d49e245f2b9ca74d1c6da88f17529_s.jpg" width="90" height="60" alt="xoopscube.org/"></a> <a href="http://xoopscube.org/" title="xoopscube.org/">Web Application Platform - simple : secure : scalable</a></li>
<li><a href="http://xoops.org/" target="" title="xoops.org/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_f366d208b0b8138a89bdcca8b9cc983d82716911_s.jpg" width="90" height="60" alt="xoops.org/"></a> <a href="http://xoops.org/" title="xoops.org/">Official XOOPS Website (XOOPS.org)</a></li>
<li><a href="http://impresscms.org/" target="" title="impresscms.org/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_e861cc522c563be26b062bfc5adc7b7ed8c851ad_s.jpg" width="90" height="60" alt="impresscms.org/"></a> <a href="http://impresscms.org/" title="impresscms.org/">The ImpressCMS Project   Make a Lasting Impression   Make a Lasting Impression</a></li>
<li><a href="https://sourceforge.net/apps/mediawiki/xoopscube/index.php?title=Japanese" target="" title="sourceforge.net/apps/mediawiki/xoopscube/index.php?title=Japanese"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_7a59a993528c30030e2969576895b6fa3507a2aa_s.jpg" width="90" height="60" alt="sourceforge.net/apps/mediawiki/xoopscube/index.php?title=Japanese"></a> <a href="https://sourceforge.net/apps/mediawiki/xoopscube/index.php?title=Japanese" title="sourceforge.net/apps/mediawiki/xoopscube/index.php?title=Japanese">XOOPS Cube プロジェクト Wiki の日本語情報集約ページ</a></li></ul>
<br />

<!--l85cf2a2--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>ディストリビューション  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#k02a5502" title="k02a5502"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=k02a5502" title="keyword/XOOPS#k02a5502 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#k02a5502 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://www.xoopscube.net/" target="" title="www.xoopscube.net/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_997531b734fc0239f39f9f2d0f11db7992332606_s.jpg" width="90" height="60" alt="www.xoopscube.net/"></a> <a href="http://www.xoopscube.net/" title="www.xoopscube.net/">XOOPS Cube 2.2 Distribution Pack 20xx</a></li>
<li><a href="http://tokyopen.jp/" target="" title="tokyopen.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_92c04babbc50ef1d6e1e391b3b7f543d6d5e028c_s.jpg" width="90" height="60" alt="tokyopen.jp/"></a> <a href="http://tokyopen.jp/" title="tokyopen.jp/">TOKYOPen 東京ペン　とっても使いやすいCMS - 一番いい感じのCMSぺん！</a></li></ul>
<br />

<hr />
<!--k02a5502--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>ユーザーコミュニティ  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#i59ac591" title="i59ac591"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=i59ac591" title="keyword/XOOPS#i59ac591 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#i59ac591 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://www.xugj.org/" target="" title="www.xugj.org/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_69961863646df00042e740b2142b29c963dd36c2_s.jpg" width="90" height="60" alt="www.xugj.org/"></a> <a href="http://www.xugj.org/" title="www.xugj.org/">Xoops Users Group Japan - 日本XOOPSユーザーズグループ</a> <img src="https://xoops.hypweb.net/images/emoji/s/18218.gif" alt="((s:472a))" border="0" width="15" height="15" /></li>
<li><a href="http://www.hodajuku.org/" target="" title="www.hodajuku.org/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_e98c3c457501f0e04956c455c068f55c21ff2703_s.jpg" width="90" height="60" alt="www.hodajuku.org/"></a> <a href="http://www.hodajuku.org/" title="www.hodajuku.org/">ホダ塾 - もっとXOOPS !</a></li>
<li><a href="https://www.facebook.com/groups/176626012402337/" target="" title="www.facebook.com/groups/176626012402337/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_5500f28b99e15e98b8739e6b4b76dfe67b23d911_s.jpg" width="90" height="60" alt="www.facebook.com/groups/176626012402337/"></a> <a href="https://www.facebook.com/groups/176626012402337/" title="www.facebook.com/groups/176626012402337/">XOOPS Cube | Facebook</a></li>
<li><a href="https://www.facebook.com/groups/313506525343887/" target="" title="www.facebook.com/groups/313506525343887/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_fa2c0e0f457f4fa601783597f414f47f0f8629c3_s.jpg" width="90" height="60" alt="www.facebook.com/groups/313506525343887/"></a> <a href="https://www.facebook.com/groups/313506525343887/" title="www.facebook.com/groups/313506525343887/">XOOPS Cube Pack2012</a></li></ul>
<br />

<hr />
<!--i59ac591--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>地域コミュニティ  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#j3bb8774" title="j3bb8774"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=j3bb8774" title="keyword/XOOPS#j3bb8774 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#j3bb8774 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://xoops9.com/" target="" title="xoops9.com/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_fbbde3c9ebe6c2316f7db75ffbc448d30fcc842a_s.jpg" width="90" height="60" alt="xoops9.com/"></a> <a href="http://xoops9.com/" title="xoops9.com/">XOOPS9 - XOOPS九州ユーザー会　（福岡　大分　佐賀　長崎　熊本　鹿児島　宮崎　沖縄）</a>  -- 九州で<span>XOOPS</span>に興味がある方々の情報交換の場</li></ul>
<br />

<hr />
<!--j3bb8774--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>チュートリアル  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#o0ea1a60" title="o0ea1a60"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=o0ea1a60" title="keyword/XOOPS#o0ea1a60 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#o0ea1a60 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://usadeki.jp/" target="" title="usadeki.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_cba9fde16c49d6544d1b57f74a08d02c25d5e37d_s.jpg" width="90" height="60" alt="usadeki.jp/"></a> <a href="http://usadeki.jp/" title="usadeki.jp/">うさぎにもできるXOOPS Cube入門♪ - 初心者さん、とにかくやってみよー</a></li>
<li><a href="http://www.artsoftwareworks.net/modules/picoDocuments/category0010.html" target="" title="www.artsoftwareworks.net/modules/picoDocuments/category0010.html"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_5049499582378b3d6ef9963e3dae6ab50680f12c_s.jpg" width="90" height="60" alt="www.artsoftwareworks.net/modules/picoDocuments/category0010.html"></a> <a href="http://www.artsoftwareworks.net/modules/picoDocuments/category0010.html" title="www.artsoftwareworks.net/modules/picoDocuments/category0010.html">ArtSoftwareWorks.Net - XOOPS Cubeサイト構築一代記</a></li></ul>
<br />

<hr />
<!--o0ea1a60--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>モジュール配布サイト  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#s8a8d6ff" title="s8a8d6ff"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=s8a8d6ff" title="keyword/XOOPS#s8a8d6ff の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#s8a8d6ff の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://xoops.peak.ne.jp/" target="" title="xoops.peak.ne.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_5c45807cb1e4a91e589bcdd97be4d7d1a467ca89_s.jpg" width="90" height="60" alt="xoops.peak.ne.jp/"></a> <a href="http://xoops.peak.ne.jp/" title="xoops.peak.ne.jp/">PEAK XOOPS - Support&amp;Experiment</a></li>
<li><a href="http://linux.ohwada.jp/" target="" title="linux.ohwada.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_d86a1a46febb8da68ecb05b7ec97d181523ed265_s.jpg" width="90" height="60" alt="linux.ohwada.jp/"></a> <a href="http://linux.ohwada.jp/" title="linux.ohwada.jp/">はっぴぃ・りなっくす - Happy Linux</a></li>
<li><a href="http://petitoops.com/" target="" title="petitoops.com/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_e579b0606f789fe27f2bcf614d45ec6c41864f59_s.jpg" width="90" height="60" alt="petitoops.com/"></a> <a href="http://petitoops.com/" title="petitoops.com/">PetitOOps - Take it EZ!!</a></li>
<li><a href="http://marijuana.ddo.jp/" target="" title="marijuana.ddo.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_b6028a59f555f2da0bc5f047908002f54637d515_s.jpg" width="90" height="60" alt="marijuana.ddo.jp/"></a> <a href="http://marijuana.ddo.jp/" title="marijuana.ddo.jp/">XOOPS Cube Legacyデベロッパーズ・バイブル - Take it eazy!</a></li>
<li><a href="http://www.kuri3.net/" target="" title="www.kuri3.net/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_fb7bd192536cdc727bb70aa880b2cb634a10063e_s.jpg" width="90" height="60" alt="www.kuri3.net/"></a> <a href="http://www.kuri3.net/" title="www.kuri3.net/">Hodakaの居場所&raquo;XOOPS実験室</a></li>
<li><a href="http://xoops.trpg-labo.com/" target="" title="xoops.trpg-labo.com/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_47e9d317ae1576f1f44b21a11831e1fbdc757810_s.jpg" width="90" height="60" alt="xoops.trpg-labo.com/"></a> <a href="http://xoops.trpg-labo.com/" title="xoops.trpg-labo.com/">モジュール制作、ウェブサービスなどなど - 氷川 XOOPS 研究室</a></li>
<li><a href="http://www.naaon.com/" target="" title="www.naaon.com/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_552233a289c7c0729af018b16bd8002253c79904_s.jpg" width="90" height="60" alt="www.naaon.com/"></a> <a href="http://www.naaon.com/" title="www.naaon.com/">なーおのWEBサイトへようこそ - なーおんWEB</a>  -- d3diary</li>
<li><a href="https://github.com/XoopsX" target="" title="github.com/XoopsX"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_bc5198a3efea9c87e6d7efa11272fde25eea2483_s.jpg" width="90" height="60" alt="github.com/XoopsX"></a> <a href="https://github.com/XoopsX" title="github.com/XoopsX">XoopsX (Xoops X (Ten)) &middot; GitHub</a></li></ul>
<br />

<hr />
<!--s8a8d6ff--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>デザイン系サイト  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#oc75bb10" title="oc75bb10"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=oc75bb10" title="keyword/XOOPS#oc75bb10 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#oc75bb10 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://demo.2bcool.net/" target="" title="demo.2bcool.net/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_7bc538b45da146a59c39300126ef854e0f4a45ee_s.jpg" width="90" height="60" alt="demo.2bcool.net/"></a> <a href="http://demo.2bcool.net/" title="demo.2bcool.net/">XOOPS デザインテーマ - BCOOL THEME</a></li>
<li><a href="http://hello.oceannet.jp/" target="" title="hello.oceannet.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_683d4bac1639069d8f7c4369f6ac328989e8484b_s.jpg" width="90" height="60" alt="hello.oceannet.jp/"></a> <a href="http://hello.oceannet.jp/" title="hello.oceannet.jp/">OCEAN-NET OFFICIAL SITE - 一緒に遊びましょっ!!</a></li>
<li><a href="http://www.mc8.jp/HD/" target="" title="www.mc8.jp/HD/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_85416ae54f8f1ca9ea45541231d8cb1ec0e330b1_s.jpg" width="90" height="60" alt="www.mc8.jp/HD/"></a> <a href="http://www.mc8.jp/HD/" title="www.mc8.jp/HD/">モバイル テンプハウス - モバイルテンプレート収集の仮設小屋</a> <img src="https://xoops.hypweb.net/images/emoji/s/18218.gif" alt="((s:472a))" border="0" width="15" height="15" /></li>
<li><a href="http://mbxoops.net/" target="" title="mbxoops.net/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_6adda038775485b0b6d7d359fba8ce4da1cef1d0_s.jpg" width="90" height="60" alt="mbxoops.net/"></a> <a href="http://mbxoops.net/" title="mbxoops.net/">mbxoops - Wizmobileで携帯対応に挑戦！検証サイト</a> <img src="https://xoops.hypweb.net/images/emoji/s/18218.gif" alt="((s:472a))" border="0" width="15" height="15" /></li></ul>
<br />

<hr />
<!--oc75bb10--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>開発系サイト  <a href="https://xoops.hypweb.net/modules/xpwiki/127.html#s77122bb" title="s77122bb"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FXOOPS&amp;paraid=s77122bb" title="keyword/XOOPS#s77122bb の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/XOOPS#s77122bb の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><a href="http://sourceforge.net/projects/xoopscube/" target="" title="sourceforge.net/projects/xoopscube/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_6d03ca19e0c7085ec54bb17c92be5e4dd374fdc1_s.jpg" width="90" height="60" alt="sourceforge.net/projects/xoopscube/"></a> <a href="http://sourceforge.net/projects/xoopscube/" title="sourceforge.net/projects/xoopscube/">SourceForge.net: Xoops Cube Project</a></li>
<li><a href="http://groups.google.com/group/xcube-dev-ja" target="" title="groups.google.com/group/xcube-dev-ja"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_4b8b92b6727252cd52b4c91cc9ca1f19ef552dad_s.jpg" width="90" height="60" alt="groups.google.com/group/xcube-dev-ja"></a> <a href="http://groups.google.com/group/xcube-dev-ja" title="groups.google.com/group/xcube-dev-ja">XOOPS Cube Developers Group Japan |  Google Groups</a>  -- 開発者・Webデザイナー及びドキュメント執筆者のためのディスカッショングループ</li>
<li><a href="http://sunday-lab-ja.blogspot.com/" target="" title="sunday-lab-ja.blogspot.com/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_a8b0458216dd988a1a4fb2f2e4c6638c18d8359d_s.jpg" width="90" height="60" alt="sunday-lab-ja.blogspot.com/"></a> <a href="http://sunday-lab-ja.blogspot.com/" title="sunday-lab-ja.blogspot.com/">sunday-lab 日本語版</a></li>
<li><a href="http://hodajuku.sourceforge.net/" target="" title="hodajuku.sourceforge.net/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_999f8ea2977d46db4b6232720d9c93322a6861fe_s.jpg" width="90" height="60" alt="hodajuku.sourceforge.net/"></a> <a href="http://hodajuku.sourceforge.net/" title="hodajuku.sourceforge.net/">&quot;HD&quot; Hodajuku Distribution XOOPS Cube</a></li>
<li><a href="http://discuss.sourceforge.jp/xoops/" target="" title="discuss.sourceforge.jp/xoops/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_08e1a68888df942720bf4e3e41caabca454a7450_s.jpg" width="90" height="60" alt="discuss.sourceforge.jp/xoops/"></a> <a href="http://discuss.sourceforge.jp/xoops/" title="discuss.sourceforge.jp/xoops/">ディスカス - eXtreme Online Meeting On Xoops</a></li>
<li><a href="http://hodajuku.svn.sourceforge.net/" target="" title="hodajuku.svn.sourceforge.net/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_1b7a6beabf1842cb945e1b3264faa5919a73f5bd_s.jpg" width="90" height="60" alt="hodajuku.svn.sourceforge.net/"></a> <a href="http://hodajuku.svn.sourceforge.net/" title="hodajuku.svn.sourceforge.net/">SourceForge.net Repository - (hodajuku) Index of /</a></li>
<li><a href="http://apps.sourceforge.net/phpbb/xoopscube/viewforum.php?f=15" target="" title="apps.sourceforge.net/phpbb/xoopscube/viewforum.php?f=15"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_6753e87bc4014011b52d08e7c3a838236d9c1ed8_s.jpg" width="90" height="60" alt="apps.sourceforge.net/phpbb/xoopscube/viewforum.php?f=15"></a> <a href="http://apps.sourceforge.net/phpbb/xoopscube/viewforum.php?f=15" title="apps.sourceforge.net/phpbb/xoopscube/viewforum.php?f=15">SourceForge.net  Project Hosted Application phpBB  xoopscube &bull; View forum - Developer Talk (開発者の話し合い)</a></li>
<li><a href="http://beabo.dip.jp/" target="" title="beabo.dip.jp/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_587422bada24ff7a20e0b2a6858c1280ce2f18d0_s.jpg" width="90" height="60" alt="beabo.dip.jp/"></a> <a href="http://beabo.dip.jp/" title="beabo.dip.jp/">XOOPS Cube をいじり倒す！ | XCL Hackers</a></li>
<li><a href="http://sourceforge.jp/projects/xoopscube22x/devel/" target="" title="sourceforge.jp/projects/xoopscube22x/devel/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_7260068f27c980dd52abe434f172b6186cc1c0fc_s.jpg" width="90" height="60" alt="sourceforge.jp/projects/xoopscube22x/devel/"></a> <a href="http://sourceforge.jp/projects/xoopscube22x/devel/" title="sourceforge.jp/projects/xoopscube22x/devel/">開発ダッシュボード - XOOPS Cube 2.2 Distribution Pack 2011 - SourceForge.JP</a></li>
<li><a href="http://xoopsdev.com/" target="" title="xoopsdev.com/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_da0afae64fd639fc2943499821c3bc7a62b3506f_s.jpg" width="90" height="60" alt="xoopsdev.com/"></a> <a href="http://xoopsdev.com/" title="xoopsdev.com/">XOOPS Cube Development Labs. - Develop XOOPS Cube Modules and Themes</a></li>
<li><a href="http://jp.xoopsdev.com/" target="" title="jp.xoopsdev.com/"><img src="https://xoops.hypweb.net/modules/xpwiki/private/cache/ASIN_SITEIMAGE_5e0979593e68ca608a22babe8bcb73cc5bcae17d_s.jpg" width="90" height="60" alt="jp.xoopsdev.com/"></a> <a href="http://jp.xoopsdev.com/" title="jp.xoopsdev.com/">XOOPS Cube Developer Site - メニュー</a></li></ul>
<br />


<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6247d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6247d)">XCL</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/128.html" title="keyword/XOOPS X(ten) (4899d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/128.html" title="keyword/XOOPS X(ten) (4899d)">XOOPS X(ten)</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6969d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--s77122bb--></div>
<!--wcb016be--></div>
<!--zf4358e6--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FXOOPS</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FMyTextSanitizer">
 <title>MyTextSanitizer</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/120.html</link>
 <dc:date>2012-05-28T13:16:24+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>XOOPS, XOOPS Cube Legacy において、登録されたテキストを整形し表示するクラス。このクラスに変更を加えることで、その XOOPS 全体に渡り、テキスト整形のルールを変更することができる。ここ XOOPSマニア のサイトでは、xpWiki のWikiレンダリング機能を使って、テキスト整形するように変更が加えられています。XOOPS Cube Legacy 2.2.1 beta3 以降では、HypCommonFunc に含まれている HypConf(HypCommonの設定) </description>
 <content:encoded><![CDATA[
 
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5612d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/121.html" title="keyword/OpenID モジュール (5566d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">keyword</a></li>
</ul>
<hr />
<!--/description ignore-->


<!--description ignore-->
<div>
 <div>
  ページ内コンテンツ
 </div>
 <div>
  <ul><li>  MyTextSanitizer (まい・てきすと・さにたいざぁ) 
<ul><li>  XOOPS Cube Legacy 2.1.x 〜 2.2.0 用 </li>
<li>  XOOPS 2.0.16a JP 用 </li></ul></li>
<li>  Wikiヘルパーをテキストエリアに表示する方法 
<ul><li>  まずはじめに 
<ul><li>  選択その1 (ブロックの配置)</li>
<li>  選択その2 </li></ul></li></ul></li></ul>
 </div>
</div>
<!--/description ignore-->

<div>
<h2><span>MyTextSanitizer</span> (まい・てきすと・さにたいざぁ)  <a href="https://xoops.hypweb.net/modules/xpwiki/120.html#wd32ad0f" title="wd32ad0f"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h2>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink-->, <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> Cube Legacy において、登録されたテキストを整形し表示するクラス。</p>
<p>このクラスに変更を加えることで、その <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> 全体に渡り、テキスト整形のルールを変更することができる。</p>
<p>ここ <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink-->マニア のサイトでは、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> のWikiレンダリング機能を使って、テキスト整形するように変更が加えられています。</p>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> Cube Legacy 2.1.x 〜 2.2.0 用  <a href="https://xoops.hypweb.net/modules/xpwiki/120.html#w210a13d" title="w210a13d"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h3>
<div style="margin-left:auto;margin-right:auto;width:90%;"><p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> Cube Legacy 2.2.1 beta3 以降では、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3113d)">HypCommonFunc</a><!--/autolink--> に含まれている HypConf(HypCommonの設定) モジュールの「<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink-->レンダラー設定」で 「<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> レンダラー」にて利用したい <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> を選択するだけで有効にできるようになりました。</p>
<p>あわせて HypConf モジュールでは、サイトワイド Wiki ヘルパーの設定もできるようになっています。</p>
</div>

<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> Cube Legacy 用には、本来ならプリロードだけで完結するようにすべきだとは思いますが、X2用モジュールとの互換性を保つために、module.textsanitizer.php を書き換える方法にしました。</p>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6962d)">XOOPS_ROOT_PATH</a><!--/autolink-->/class/module.textsanitizer.php を置き換え、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6962d)">XOOPS_ROOT_PATH</a><!--/autolink-->/preload/SetupHyp_TextFilter.class.php を配置してください。</p>
<p>Cube に対応させるために、<a href="http://www.xugj.org/modules/d3forum/index.php?topic_id=413" title="www.xugj.org/modules/d3forum/index.php?topic_id=413">XUGJ にて Marijuana さんにいろいろ教えていただきました。</a> :ok:</p>
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FMyTextSanitizer/module.textsanitizer_0.php/module.textsanitizer.php" title="module.textsanitizer.php, 2011/10/12 15:23:38 14.9KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />XOOPS_ROOT_PATH/class/module.textsanitizer.php</a> (2.1.x 用)</li>
<li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FMyTextSanitizer/module.textsanitizer_1.php/module.textsanitizer.php" title="module.textsanitizer.php, 2011/10/12 15:23:38 14.9KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />XOOPS_ROOT_PATH/class/module.textsanitizer.php</a> (2.2.x 用)
<ul><li>変更箇所のみ

<!--description ignore-->
<div style="height:30.3em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;"> 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
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #0000BB">    </span><span style="color: #FF8000">/**
     * 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
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">displayTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #FF8000">//$text = $this-&gt;_ToShowTarea($text, $html, $smiley, $xcode, $image, $br);
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">mTextFilter</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">ToShowTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * 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
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">previewTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">stripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        </span><span style="color: #FF8000">//$text = $this-&gt;_ToShowTarea($text, $html, $smiley, $xcode, $image, $br);
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">mTextFilter</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">ToShowTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->
</li></ul></li>
<li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FMyTextSanitizer/SetupHyp_TextFilter.class.php" title="SetupHyp_TextFilter.class.php, 2009/05/12 22:13:11 8.4KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />XOOPS_ROOT_PATH/preload/SetupHyp_TextFilter.class.php</a>
<ul><li>2008/1/26 に修正しました。(BBコードの&#91;siteurl]に対応。要 <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> 3.59 以上)</li>
<li>2008/4/30 と 5/3 に修正しました。(BBコードの&#91;img&#93;が正常に変換できないことがある問題を修正)</li>
<li>2008/5/30 に修正しました。(BBコードの siteimage, fig が正常に動作するようにした)</li>
<li>2008/5/31 に typo 修正しました。<a href="http://xoops.hypweb.net/modules/forum/index.php?topic_id=2362" title="xoops.hypweb.net/modules/forum/index.php?topic_id=2362">参考スレッド</a></li>
<li>2008/10/9 <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> のディレクトリ名指定を定数 XPWIKI_RENDERER_DIR を使う方式としました。
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> Ver 3.71.83 で搭載された画面変遷のないファイル添付とファイル名挿入に対応した。</li></ul></li>
<li>2008/10/11 10/9 の修正でCSSが効かなくなっていたのを修正しました。</li>
<li>2008/12/22 PHP 4 環境で Warning エラーが出ていたのを修正しました。 (thx <a href="https://xoops.hypweb.net/modules/UsersWiki/person/nonn50" title="nonn50 (4545d)">nonn50</a>)</li>
<li>2009/5/3 [quote]を使用した場合に、HTML構造が不正になることがある問題を修正しました。</li>
<li>2009/5/12 5/3 の修正が原因で、レンダリング内容によっては、PHPがエラーで止まってしまうことがある問題を修正しました。(thx azumi)

<!--description ignore-->
<h5><a href="https://xoops.hypweb.net/modules/xpwiki/?plugin=attach&amp;refer=keyword%2FMyTextSanitizer&amp;openfile=SetupHyp_TextFilter.class.php" title="2009/05/12 22:13:11 8.4KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />SetupHyp_TextFilter.class.php</a></h5>
<div style="height:30.3em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;">  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
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php
 
</span><span style="color: #007700">if (!</span><span style="color: #0000BB">defined</span><span style="color: #007700">(</span><span style="color: #DD0000">'<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/129.html" title="keyword/XOOPS_ROOT_PATH (6962d)">XOOPS_ROOT_PATH</a><!--/autolink-->'</span><span style="color: #007700">)) exit();
 
</span><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> wikirenderer dirctory name
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'XPWIKI_RENDERER_DIR'</span><span style="color: #007700">, </span><span style="color: #DD0000">'<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->'</span><span style="color: #007700">);
 
class </span><span style="color: #0000BB">SetupHyp_TextFilter </span><span style="color: #007700">extends </span><span style="color: #0000BB">XCube_ActionFilter
</span><span style="color: #007700">{
    function </span><span style="color: #0000BB">preFilter</span><span style="color: #007700">()
    {
        </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">mController</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">mSetupTextFilter</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #DD0000">'Hyp_TextFilter::getInstance'</span><span style="color: #007700">, </span><span style="color: #0000BB">XCUBE_DELEGATE_PRIORITY_FINAL</span><span style="color: #007700">-</span><span style="color: #0000BB">2</span><span style="color: #007700">);
    }
}
 
class </span><span style="color: #0000BB">Hyp_TextFilter </span><span style="color: #007700">extends </span><span style="color: #0000BB">Legacy_TextFilter
</span><span style="color: #007700">{
    function </span><span style="color: #0000BB">Hyp_TextFilter</span><span style="color: #007700">() {
        </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">Legacy_TextFilter</span><span style="color: #007700">();
        </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">mMakeXCodeConvertTable</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #DD0000">'Hyp_TextFilter::makeXCodeConvertTable'</span><span style="color: #007700">, </span><span style="color: #0000BB">XCUBE_DELEGATE_PRIORITY_3</span><span style="color: #007700">);
    }
 
    function </span><span style="color: #0000BB">makeXCodeConvertTable</span><span style="color: #007700">(&amp; </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">, &amp; </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">) {
        if (</span><span style="color: #0000BB">$key </span><span style="color: #007700">= </span><span style="color: #0000BB">array_search</span><span style="color: #007700">(</span><span style="color: #DD0000">'/\[quote\]/sU'</span><span style="color: #007700">, </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">)) {
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #0000BB">$key</span><span style="color: #007700">] = </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">][</span><span style="color: #0000BB">$key</span><span style="color: #007700">] = </span><span style="color: #DD0000">'&lt;div class="paragraph"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">_QUOTEC</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;div class="xoopsQuote"&gt;&lt;blockquote&gt;'</span><span style="color: #007700">;
        }
        if (</span><span style="color: #0000BB">$key </span><span style="color: #007700">= </span><span style="color: #0000BB">array_search</span><span style="color: #007700">(</span><span style="color: #DD0000">'/\[\/quote\]/sU'</span><span style="color: #007700">, </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">)) {
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #0000BB">$key</span><span style="color: #007700">] = </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">][</span><span style="color: #0000BB">$key</span><span style="color: #007700">] = </span><span style="color: #DD0000">'&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #007700">;
        }
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[quote sitecite=([^\"'&lt;&gt;]*)\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">][] = </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'&lt;div class="paragraph"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">_QUOTEC</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;div class="xoopsQuote"&gt;&lt;blockquote cite="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/\\1"&gt;'</span><span style="color: #007700">;
    }
    
    </span><span style="color: #FF8000">// Over write
    </span><span style="color: #007700">function </span><span style="color: #0000BB">getInstance</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$instance</span><span style="color: #007700">) {
        if (empty(</span><span style="color: #0000BB">$instance</span><span style="color: #007700">)) {
            </span><span style="color: #0000BB">$instance </span><span style="color: #007700">= new </span><span style="color: #0000BB">Hyp_TextFilter</span><span style="color: #007700">();
        }
    }
    
    </span><span style="color: #FF8000">// Over write
    </span><span style="color: #007700">function </span><span style="color: #0000BB">toShowTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$x2comat </span><span style="color: #007700">= </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$cache </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
        if (</span><span style="color: #0000BB">$html </span><span style="color: #007700">!= </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWikistyle</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">, </span><span style="color: #0000BB">$cache</span><span style="color: #007700">);
        } else {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">preConvertXCode</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">);
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">makeClickable</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
            if (</span><span style="color: #0000BB">$smiley </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smiley</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        if (</span><span style="color: #0000BB">$xcode </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">convertXCode</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">);
        if (!</span><span style="color: #0000BB">$html</span><span style="color: #007700">) {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWikistyleFinsher</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        if (</span><span style="color: #0000BB">$html </span><span style="color: #007700">&amp;&amp; </span><span style="color: #0000BB">$br </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">nl2Br</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        if (</span><span style="color: #0000BB">$html</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">postConvertXCode</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_getEscTags </span><span style="color: #007700">() {
        return array(</span><span style="color: #DD0000">'quote'</span><span style="color: #007700">, </span><span style="color: #DD0000">'color'</span><span style="color: #007700">, </span><span style="color: #DD0000">'font'</span><span style="color: #007700">, </span><span style="color: #DD0000">'size'</span><span style="color: #007700">, </span><span style="color: #DD0000">'b'</span><span style="color: #007700">, </span><span style="color: #DD0000">'c'</span><span style="color: #007700">, </span><span style="color: #DD0000">'d'</span><span style="color: #007700">, </span><span style="color: #DD0000">'i'</span><span style="color: #007700">, </span><span style="color: #DD0000">'u'</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_getBypassTags </span><span style="color: #007700">() {
        return array(</span><span style="color: #DD0000">'siteimg'</span><span style="color: #007700">, </span><span style="color: #DD0000">'fig'</span><span style="color: #007700">, </span><span style="color: #DD0000">'img'</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">renderWikistyle</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$use_cache </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">)
    {
        static </span><span style="color: #0000BB">$pat </span><span style="color: #007700">= array();
        static </span><span style="color: #0000BB">$rep </span><span style="color: #007700">= array();
        
        </span><span style="color: #0000BB">$className </span><span style="color: #007700">= </span><span style="color: #0000BB">get_class</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);
        
        </span><span style="color: #0000BB">$br </span><span style="color: #007700">= (</span><span style="color: #0000BB">$br</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$use_cache </span><span style="color: #007700">= (</span><span style="color: #0000BB">$use_cache</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= (</span><span style="color: #0000BB">$smiley</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$image </span><span style="color: #007700">= (</span><span style="color: #0000BB">$image</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        
        </span><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink-->
        </span><span style="color: #007700">if (! </span><span style="color: #0000BB">class_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">XpWiki</a><!--/autolink-->'</span><span style="color: #007700">)) {
            include </span><span style="color: #0000BB"><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6962d)">XOOPS_TRUST_PATH</a><!--/autolink--> </span><span style="color: #007700">. </span><span style="color: #DD0000">'/modules/<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->/include.php'</span><span style="color: #007700">;
        }
 
        </span><span style="color: #0000BB">$render </span><span style="color: #007700">= </span><span style="color: #0000BB"><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">XpWiki</a><!--/autolink--></span><span style="color: #007700">::</span><span style="color: #0000BB">getSingleton</span><span style="color: #007700">(</span><span style="color: #0000BB">XPWIKI_RENDERER_DIR</span><span style="color: #007700">);
        
        </span><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/132.html" title="keyword/pukiwiki.ini.php (6938d)">pukiwiki.ini.php</a><!--/autolink--> setting
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'line_break'</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'render_use_cache'</span><span style="color: #007700">, </span><span style="color: #0000BB">$use_cache</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'use_extra_facemark'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'usefacemark'</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'render_cache_min'</span><span style="color: #007700">, </span><span style="color: #0000BB">1440</span><span style="color: #007700">); </span><span style="color: #FF8000">// 1day
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'link_target'</span><span style="color: #007700">, </span><span style="color: #DD0000">'_blank'</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'nowikiname'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'show_passage'</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'no_slashes_commentout'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
 
        if (</span><span style="color: #0000BB">$xcode</span><span style="color: #007700">) {
            if (! isset(</span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">])) {
                </span><span style="color: #FF8000">// BB Code code
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/(?:\r\n|\r|\n)?\[code](?:\r\n|\r|\n)?(.*)(?:\r\n|\r|\n)?\[\/code\](?:\r\n|\r|\n)?/sUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">.</span><span style="color: #DD0000">'#code(){{{'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">.</span><span style="color: #DD0000">'$1'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">.</span><span style="color: #DD0000">'}}}'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;
 
                </span><span style="color: #FF8000">// BB Code email
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[email](.+?)\[\/email]/iS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'$1'</span><span style="color: #007700">;
 
                </span><span style="color: #FF8000">// BB Code url
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[url=([\'"]?)((?:ht|f)tp[s]?:\/\/[!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\\1\](.+)\[\/url\]/esUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[[\'.Hyp_TextFilter::renderWiki_ret2br(\'$3\').\':$2]]\''</span><span style="color: #007700">;
 
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[url=([\'"]?)([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\\1\](.+)\[\/url\]/esUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[[\'.Hyp_TextFilter::renderWiki_ret2br(\'$3\').\':http://$2]]\''</span><span style="color: #007700">;
 
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[siteurl=([\'"]?)([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\\1\](.+)\[\/siteurl\]/esUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[[\'.Hyp_TextFilter::renderWiki_ret2br(\'$3\').\':http:///$2]]\''</span><span style="color: #007700">;
 
                </span><span style="color: #FF8000">// BB Code quote
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/(\[quote[^\]]*])(?:\r\n|\r|\n)(?![&lt;&gt;*|,#: \t+-])/S'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">"\n\n$1"</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/(?:\r\n|\r|\n)*\[\/quote\]/S'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'[/quote]'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n\n"</span><span style="color: #007700">;
 
                if (</span><span style="color: #0000BB">$image</span><span style="color: #007700">) {
                    </span><span style="color: #FF8000">// BB Code image with align
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[img\s+align=([\'"]?)(left|center|right)\\1]([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\[\/img\]/US'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'&amp;ref($3,$2);'</span><span style="color: #007700">;
 
                    </span><span style="color: #FF8000">// BB Code image normal
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[img]([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\[\/img\]/US'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'&amp;ref($1);'</span><span style="color: #007700">;
                }
 
                </span><span style="color: #FF8000">// Some BB Code Tags, Contents allows <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> rendering.
                </span><span style="color: #007700">if (</span><span style="color: #0000BB">$_reg </span><span style="color: #007700">= </span><span style="color: #0000BB">join</span><span style="color: #007700">(</span><span style="color: #DD0000">'|'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWiki_getEscTags</span><span style="color: #007700">())) {
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[\/?(?:' </span><span style="color: #007700">. </span><span style="color: #0000BB">$_reg </span><span style="color: #007700">. </span><span style="color: #DD0000">')(?:(?: |=)[^\]]+)?\]/eS'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[ b 6 4 ]\' . base64_encode(\'$0\') . \'[ / b 6 4 ]\''</span><span style="color: #007700">;
                }
 
                </span><span style="color: #FF8000">// Other or Unknown BB Code Tags, All part escapes.
                </span><span style="color: #007700">if (</span><span style="color: #0000BB">$_reg </span><span style="color: #007700">= </span><span style="color: #0000BB">join</span><span style="color: #007700">(</span><span style="color: #DD0000">'|'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWiki_getBypassTags</span><span style="color: #007700">())) {
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[(' </span><span style="color: #007700">. </span><span style="color: #0000BB">$_reg </span><span style="color: #007700">. </span><span style="color: #DD0000">')(?:\s[^\]]+)?].+\[\/\\1\]/esUS'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[ b 6 4 ]\' . base64_encode(\'$0\') . \'[ / b 6 4 ]\''</span><span style="color: #007700">;
                }
 
            }
 
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">], </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">], </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
 
        }
        
        if (</span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">transform</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">XPWIKI_RENDERER_DIR</span><span style="color: #007700">)) {
            if (isset(</span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">])) {
                </span><span style="color: #FF8000">// BB Code decode
                </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(
                        </span><span style="color: #DD0000">'/\[ b 6 4 ](.+?)\[ \/ b 6 4 ]/eS'</span><span style="color: #007700">,
                        </span><span style="color: #DD0000">'Hyp_TextFilter::renderWiki_base64decode(\'$1\',\''</span><span style="color: #007700">.</span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">root</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">word_breaker</span><span style="color: #007700">.</span><span style="color: #DD0000">'\')'</span><span style="color: #007700">,
                        </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
            }
            
            </span><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> Quote style
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(
                array(</span><span style="color: #DD0000">'&lt;blockquote&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&lt;/blockquote&gt;'</span><span style="color: #007700">),
                array(</span><span style="color: #DD0000">'&lt;div class="paragraph"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">_QUOTEC</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;div class="xoopsQuote"&gt;&lt;blockquote&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #007700">),</span><span style="color: #0000BB">$text
            </span><span style="color: #007700">);
        }
        
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_ret2br</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'\\"'</span><span style="color: #007700">, </span><span style="color: #DD0000">'"'</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\r"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">), </span><span style="color: #DD0000">'&amp;br;'</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_base64decode</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$word_breaker</span><span style="color: #007700">) {
        return </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'&lt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'\\"'</span><span style="color: #007700">),array(</span><span style="color: #DD0000">'&amp;lt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&amp;gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'"'</span><span style="color: #007700">),</span><span style="color: #0000BB">base64_decode</span><span style="color: #007700">(</span><span style="color: #0000BB">strip_tags</span><span style="color: #007700">(</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$word_breaker</span><span style="color: #007700">, </span><span style="color: #DD0000">''</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">))));
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWikistyleFinsher</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">) {
        </span><span style="color: #FF8000">//$input = str_replace(array("\x07", "\x08"), array('&lt;div&gt;', '&lt;/div&gt;'), $this-&gt;renderWikistyleParagraphRegularize($input));
        </span><span style="color: #0000BB">$input </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWikistyleParagraphRegularize</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$input</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWikistyleParagraphRegularize</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">) {
        </span><span style="color: #FF8000">// remove &lt;p&gt; include block elements.
        </span><span style="color: #0000BB">$regex </span><span style="color: #007700">= </span><span style="color: #DD0000">'#&lt;p&gt;((?:[^&lt;]+|&lt;(?!/?p[^&gt;]*?&gt;)|(?R))+)&lt;/p&gt;#'</span><span style="color: #007700">;
        if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">)) {
            if (</span><span style="color: #0000BB">preg_match</span><span style="color: #007700">(</span><span style="color: #DD0000">'/&lt;(?:div|p|pre|code)/i'</span><span style="color: #007700">, </span><span style="color: #0000BB">$input</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">])) {
                </span><span style="color: #FF8000">//$input = '&lt;div&gt;' . $input[1] . '&lt;/div&gt;';
                //$input = "\x07" . $input[1]. "\x08";
                </span><span style="color: #0000BB">$input </span><span style="color: #007700">= </span><span style="color: #0000BB">$input</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">];
            } else {
                return </span><span style="color: #0000BB">$input</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">];
            }
        }
        return </span><span style="color: #0000BB">preg_replace_callback</span><span style="color: #007700">(</span><span style="color: #0000BB">$regex</span><span style="color: #007700">, array(&amp; </span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #DD0000">'renderWikistyleParagraphRegularize'</span><span style="color: #007700">), </span><span style="color: #0000BB">$input</span><span style="color: #007700">);
    }
}
 
</span><span style="color: #0000BB">?&gt;</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->
</li>
<li><span style="font-weight:bold;color:Red;">※</span> <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink--> という名前以外で<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4567d)">インストール</a><!--/autolink-->している場合は、6行目の '<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->' を適宜変更してください。

<!--description ignore-->
<div style="height:3.9em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;">5
6
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> wikirenderer dirctory name
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'XPWIKI_RENDERER_DIR'</span><span style="color: #007700">, </span><span style="color: #DD0000">'<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->'</span><span style="color: #007700">);</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->
</li></ul></li></ul>
<!--w210a13d--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> 2.0.16a JP 用  <a href="https://xoops.hypweb.net/modules/xpwiki/120.html#e3d11b6d" title="e3d11b6d"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h3>
<ul><li><a href="https://xoops.hypweb.net/modules/xpwiki/ref0/keyword%252FMyTextSanitizer/module.textsanitizer.php" title="module.textsanitizer.php, 2009/05/12 22:12:38 25.6KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />XOOPS_ROOT_PATH/class/module.textsanitizer.php</a>
<ul><li>2008/1/26 に修正しました。(BBコードの&#91;siteurl]に対応。要 <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> 3.59 以上)</li>
<li>2008/4/30 と 5/3 に修正しました。(BBコードの&#91;img&#93;が正常に変換できないことがある問題を修正)</li>
<li>2008/5/30 に修正しました。(BBコードの siteimage, fig が正常に動作するようにした)</li>
<li>2008/5/31 に typo 修正しました。<a href="http://xoops.hypweb.net/modules/forum/index.php?topic_id=2362" title="xoops.hypweb.net/modules/forum/index.php?topic_id=2362">参考スレッド</a></li>
<li>2008/10/9 <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> のディレクトリ名指定を定数 XPWIKI_RENDERER_DIR を使う方式としました。
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> Ver 3.71.83 で搭載された画面変遷のないファイル添付とファイル名挿入に対応した。</li></ul></li>
<li>2008/10/11 10/9 の修正でCSSが効かなくなっていたのを修正しました。</li>
<li>2008/12/22 PHP 4 環境で Warning エラーが出ていたのを修正しました。 (thx <a href="https://xoops.hypweb.net/modules/UsersWiki/person/nonn50" title="nonn50 (4545d)">nonn50</a>)</li>
<li>2009/5/3 [quote]を使用した場合に、HTML構造が不正になることがある問題を修正しました。</li>
<li>2009/5/12 5/3 の修正が原因で、レンダリング内容によっては、PHPがエラーで止まってしまうことがある問題を修正しました。(thx azumi)

<!--description ignore-->
<h5><a href="https://xoops.hypweb.net/modules/xpwiki/?plugin=attach&amp;refer=keyword%2FMyTextSanitizer&amp;openfile=module.textsanitizer.php" title="2009/05/12 22:12:38 25.6KB"><img src="https://xoops.hypweb.net/modules/xpwiki/image/file.png" width="20" height="20" alt="file" style="border-width:0px" />module.textsanitizer.php</a></h5>
<div style="height:30.3em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;">  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
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php
</span><span style="color: #FF8000">///////////////////////////////////////////////////////////////////////////////
// module.textsanitizer.php for <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> renderer mode. by <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/135.html" title="nao-pon (6682d)">nao-pon</a><!--/autolink--> (hypweb.net)
///////////////////////////////////////////////////////////////////////////////
// $Id: module.textsanitizer.php,v 1.8 2006/07/27 00:17:17 onokazu Exp $
//  ------------------------------------------------------------------------ //
//                <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> - PHP Content Management System                      //
//                    Copyright (c) 2000 <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink-->.org                           //
//                       &lt;http://www.<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">xoops</a><!--/autolink-->.org/&gt;                             //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software <a href="https://xoops.hypweb.net/modules/UsersWiki/person/foundation" title="foundation (2504d)">Foundation</a>; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  <a href="https://xoops.hypweb.net/modules/UsersWiki/person/foundation" title="foundation (2504d)">Foundation</a>, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
// Author: Kazumi Ono (http://www.myweb.ne.jp/, http://jp.<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">xoops</a><!--/autolink-->.org/)        //
//         Goghs Cheng (http://www.eqiao.com, http://www.devbeez.com/)       //
// Project: The <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> Project (http://www.<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">xoops</a><!--/autolink-->.org/)                        //
// ------------------------------------------------------------------------- //
 
// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> wikirenderer dirctory name
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'XPWIKI_RENDERER_DIR'</span><span style="color: #007700">, </span><span style="color: #DD0000">'<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->'</span><span style="color: #007700">);
 
</span><span style="color: #FF8000">/**
 * Class to "clean up" text for various uses
 *
 * &lt;b&gt;Singleton&lt;/b&gt;
 *
 * @package     kernel
 * @subpackage  core
 *
 * @author      Kazumi Ono  &lt;onokazu@<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">xoops</a><!--/autolink-->.org&gt;
 * @author      Goghs Cheng
 * @copyright   (c) 2000-2003 The <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">Xoops</a><!--/autolink--> Project - www.<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">xoops</a><!--/autolink-->.org
 */
</span><span style="color: #007700">class </span><span style="color: #0000BB"><span>MyTextSanitizer</span>
</span><span style="color: #007700">{
    </span><span style="color: #FF8000">/**
     * @var array
     */
    </span><span style="color: #007700">var </span><span style="color: #0000BB">$smileys </span><span style="color: #007700">= array();
 
    </span><span style="color: #FF8000">/**
     *
     */
    </span><span style="color: #007700">var </span><span style="color: #0000BB">$censorConf</span><span style="color: #007700">;
 
    </span><span style="color: #FF8000">/*
    * Constructor of this class
    *
    * Gets allowed html tags from admin config settings
    * &lt;br&gt; should not be allowed since nl2br will be used
    * when storing data.
    *
    * @access   private
    *
    * @todo Sofar, this does nuttin' ;-)
    */
    </span><span style="color: #007700">function </span><span style="color: #0000BB"><span>MyTextSanitizer</span></span><span style="color: #007700">()
    {
 
    }
 
    </span><span style="color: #FF8000">/**
     * Access the only instance of this class
     *
     * @return  object
     *
     * @static
     * @staticvar   object
     */
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">getInstance</span><span style="color: #007700">()
    {
        static </span><span style="color: #0000BB">$instance</span><span style="color: #007700">;
        if (!isset(</span><span style="color: #0000BB">$instance</span><span style="color: #007700">)) {
            </span><span style="color: #0000BB">$instance </span><span style="color: #007700">= new </span><span style="color: #0000BB"><span>MyTextSanitizer</span></span><span style="color: #007700">();
        }
        return </span><span style="color: #0000BB">$instance</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Get the smileys
     *
     * @return  array
     */
    </span><span style="color: #007700">function </span><span style="color: #0000BB">getSmileys</span><span style="color: #007700">()
    {
        return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smileys</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Replace emoticons in the message with smiley images
     *
     * @param   string  $message
     *
     * @return  string
     */
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">smiley</span><span style="color: #007700">(</span><span style="color: #0000BB">$message</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$db </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">Database</span><span style="color: #007700">::</span><span style="color: #0000BB">getInstance</span><span style="color: #007700">();
        if (</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smileys</span><span style="color: #007700">) == </span><span style="color: #0000BB">0</span><span style="color: #007700">) {
            if (</span><span style="color: #0000BB">$getsmiles </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">query</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT * FROM "</span><span style="color: #007700">.</span><span style="color: #0000BB">$db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">prefix</span><span style="color: #007700">(</span><span style="color: #DD0000">"smiles"</span><span style="color: #007700">))){
                while (</span><span style="color: #0000BB">$smiles </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">fetchArray</span><span style="color: #007700">(</span><span style="color: #0000BB">$getsmiles</span><span style="color: #007700">)) {
                    </span><span style="color: #0000BB">$message </span><span style="color: #007700">= </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$smiles</span><span style="color: #007700">[</span><span style="color: #DD0000">'code'</span><span style="color: #007700">], </span><span style="color: #DD0000">'&lt;img src="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_UPLOAD_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/'</span><span style="color: #007700">.</span><span style="color: #0000BB">htmlspecialchars</span><span style="color: #007700">(</span><span style="color: #0000BB">$smiles</span><span style="color: #007700">[</span><span style="color: #DD0000">'smile_url'</span><span style="color: #007700">]).</span><span style="color: #DD0000">'" alt="" /&gt;'</span><span style="color: #007700">, </span><span style="color: #0000BB">$message</span><span style="color: #007700">);
                    </span><span style="color: #0000BB">array_push</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smileys</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiles</span><span style="color: #007700">);
                }
            }
        }
        elseif (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smileys</span><span style="color: #007700">)) {
            foreach (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smileys </span><span style="color: #007700">as </span><span style="color: #0000BB">$smile</span><span style="color: #007700">) {
                </span><span style="color: #0000BB">$message </span><span style="color: #007700">= </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$smile</span><span style="color: #007700">[</span><span style="color: #DD0000">'code'</span><span style="color: #007700">], </span><span style="color: #DD0000">'&lt;img src="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_UPLOAD_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/'</span><span style="color: #007700">.</span><span style="color: #0000BB">htmlspecialchars</span><span style="color: #007700">(</span><span style="color: #0000BB">$smile</span><span style="color: #007700">[</span><span style="color: #DD0000">'smile_url'</span><span style="color: #007700">]).</span><span style="color: #DD0000">'" alt="" /&gt;'</span><span style="color: #007700">, </span><span style="color: #0000BB">$message</span><span style="color: #007700">);
            }
        }
        return </span><span style="color: #0000BB">$message</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Make links in the text clickable
     *
     * @param   string  $text
     * @return  string
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">makeClickable</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$patterns </span><span style="color: #007700">= array(</span><span style="color: #DD0000">"/(^|[^]_a-z0-9-=\"'\/])([a-z]+?):\/\/([^, \r\n\"\(\)'&lt;&gt;]+)/i"</span><span style="color: #007700">, </span><span style="color: #DD0000">"/(^|[^]_a-z0-9-=\"'\/])www\.([a-z0-9\-]+)\.([^, \r\n\"\(\)'&lt;&gt;]+)/i"</span><span style="color: #007700">, </span><span style="color: #DD0000">"/(^|[^]_a-z0-9-=\"'\/])ftp\.([a-z0-9\-]+)\.([^, \r\n\"\(\)'&lt;&gt;]+)/i"</span><span style="color: #007700">, </span><span style="color: #DD0000">"/(^|[^]_a-z0-9-=\"'\/:\.])([a-z0-9\-_\.]+?)@([^, \r\n\"\(\)'&lt;&gt;\[\]]+)/i"</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$replacements </span><span style="color: #007700">= array(</span><span style="color: #DD0000">"\\1&lt;a href=\"\\2://\\3\" target=\"_blank\"&gt;\\2://\\3&lt;/a&gt;"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\\1&lt;a href=\"http://www.\\2.\\3\" target=\"_blank\"&gt;www.\\2.\\3&lt;/a&gt;"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\\1&lt;a href=\"ftp://ftp.\\2.\\3\" target=\"_blank\"&gt;ftp.\\2.\\3&lt;/a&gt;"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\\1&lt;a href=\"mailto:\\2@\\3\"&gt;\\2@\\3&lt;/a&gt;"</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$patterns</span><span style="color: #007700">, </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Replace XoopsCodes with their equivalent HTML formatting
     *
     * @param   string  $text
     * @param   bool    $allowimage Allow images in the text?
     *                              On FALSE, uses links to images.
     * @return  string
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">xoopsCodeDecode</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$allowimage </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$imgCallbackPattern </span><span style="color: #007700">= </span><span style="color: #DD0000">"/\[img( align=\w+)]([^\"\(\)\?\&amp;'&lt;&gt;]*)\[\/img\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace_callback</span><span style="color: #007700">(</span><span style="color: #0000BB">$imgCallbackPattern</span><span style="color: #007700">, array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #DD0000">'_filterImgUrl'</span><span style="color: #007700">), </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
 
        </span><span style="color: #0000BB">$patterns </span><span style="color: #007700">= array();
        </span><span style="color: #0000BB">$replacements </span><span style="color: #007700">= array();
        </span><span style="color: #FF8000">// RMV: added new markup for intrasite url (allows easier site moves)
        // TODO: automatically convert other URLs to this format if XOOPS_URL matches??
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[siteurl=(['\"]?)([^\"'&lt;&gt;]*)\\1](.*)\[\/siteurl\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/\\2" target="_blank"&gt;\\3&lt;/a&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[url=(['\"]?)(http[s]?:\/\/[^\"'&lt;&gt;]*)\\1](.*)\[\/url\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="\\2" target="_blank"&gt;\\3&lt;/a&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[url=(['\"]?)(ftp?:\/\/[^\"'&lt;&gt;]*)\\1](.*)\[\/url\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="\\2" target="_blank"&gt;\\3&lt;/a&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[url=(['\"]?)([^\"'&lt;&gt;]*)\\1](.*)\[\/url\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="http://\\2" target="_blank"&gt;\\3&lt;/a&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[c(?:olor)?=(['\"]?)([a-zA-Z0-9]*)\\1](.*)\[\/c(?:olor)?\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;span style="color: #\\2;"&gt;\\3&lt;/span&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[size=(['\"]?)([a-z0-9-]*)\\1](.*)\[\/size\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;span style="font-size: \\2;"&gt;\\3&lt;/span&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[font=(['\"]?)([^;&lt;&gt;\*\(\)\"']*)\\1](.*)\[\/font\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;span style="font-family: \\2;"&gt;\\3&lt;/span&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[email]([^;&lt;&gt;\*\(\)\"']*)\[\/email\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="mailto:\\1"&gt;\\1&lt;/a&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[b](.*)\[\/b\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;b&gt;\\1&lt;/b&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[i](.*)\[\/i\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;i&gt;\\1&lt;/i&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[u](.*)\[\/u\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;u&gt;\\1&lt;/u&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[d](.*)\[\/d\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;del&gt;\\1&lt;/del&gt;'</span><span style="color: #007700">;
        </span><span style="color: #FF8000">//$patterns[] = "/\[li](.*)\[\/li\]/sU";
        //$replacements[] = '&lt;li&gt;\\1&lt;/li&gt;';
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[img align=(['\"]?)(left|center|right)\\1]([^\"\(\)\?\&amp;'&lt;&gt;]*)\[\/img\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[img]([^\"\(\)\?\&amp;'&lt;&gt;]*)\[\/img\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[img align=(['\"]?)(left|center|right)\\1 id=(['\"]?)([0-9]*)\\3]([^\"\(\)\?\&amp;'&lt;&gt;]*)\[\/img\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[img id=(['\"]?)([0-9]*)\\1]([^\"\(\)\?\&amp;'&lt;&gt;]*)\[\/img\]/sU"</span><span style="color: #007700">;
        if (</span><span style="color: #0000BB">$allowimage </span><span style="color: #007700">!= </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="\\3" target="_blank"&gt;\\3&lt;/a&gt;'</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="\\1" target="_blank"&gt;\\1&lt;/a&gt;'</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/image.php?id=\\4" target="_blank"&gt;\\5&lt;/a&gt;'</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;a href="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/image.php?id=\\2" target="_blank"&gt;\\3&lt;/a&gt;'</span><span style="color: #007700">;
        } else {
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;img src="\\3" align="\\2" alt="" /&gt;'</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;img src="\\1" alt="" /&gt;'</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;img src="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/image.php?id=\\4" align="\\2" alt="\\5" /&gt;'</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;img src="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/image.php?id=\\2" alt="\\3" /&gt;'</span><span style="color: #007700">;
        }
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[quote]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;div class="paragraph"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">_QUOTEC</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;div class="xoopsQuote"&gt;&lt;blockquote&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[\/quote]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #007700">;
        </span><span style="color: #FF8000">// [quote sitecite=]
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/\[quote sitecite=([^\"'&lt;&gt;]*)\]/sU"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">'&lt;div class="paragraph"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">_QUOTEC</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;div class="xoopsQuote"&gt;&lt;blockquote cite="'</span><span style="color: #007700">.</span><span style="color: #0000BB">XOOPS_URL</span><span style="color: #007700">.</span><span style="color: #DD0000">'/\\1"&gt;'</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/javascript:/si"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"java script:"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/about:/si"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"about :"</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$patterns</span><span style="color: #007700">, </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Filters out invalid strings included in URL, if any
     *
     * @param   array  $matches
     * @return  string
     */
    </span><span style="color: #007700">function </span><span style="color: #0000BB">_filterImgUrl</span><span style="color: #007700">(</span><span style="color: #0000BB">$matches</span><span style="color: #007700">)
    {
        if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">checkUrlString</span><span style="color: #007700">(</span><span style="color: #0000BB">$matches</span><span style="color: #007700">[</span><span style="color: #0000BB">2</span><span style="color: #007700">])) {
            return </span><span style="color: #0000BB">$matches</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">];
        } else {
            return </span><span style="color: #DD0000">""</span><span style="color: #007700">;
        }
    }
 
    </span><span style="color: #FF8000">/**
     * Checks if invalid strings are included in URL
     *
     * @param   string  $text
     * @return  bool
     */
    </span><span style="color: #007700">function </span><span style="color: #0000BB">checkUrlString</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #FF8000">// Check control code
        </span><span style="color: #007700">if (</span><span style="color: #0000BB">preg_match</span><span style="color: #007700">(</span><span style="color: #DD0000">"/[\\0-\\31]/"</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">)) {
            return </span><span style="color: #0000BB">false</span><span style="color: #007700">;
        }
        </span><span style="color: #FF8000">// check black pattern(deprecated)
        </span><span style="color: #007700">return !</span><span style="color: #0000BB">preg_match</span><span style="color: #007700">(</span><span style="color: #DD0000">"/^(javascript|vbscript|about):/i"</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">/**
     * Convert linebreaks to &lt;br /&gt; tags
     *
     * @param   string  $text
     *
     * @return  string
     */
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">nl2Br</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">"/(\015\012)|(\015)|(\012)/"</span><span style="color: #007700">,</span><span style="color: #DD0000">"&lt;br /&gt;"</span><span style="color: #007700">,</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Add slashes to the text if magic_quotes_gpc is turned off.
     *
     * @param   string  $text
     * @return  string
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">addSlashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        if (!</span><span style="color: #0000BB">get_magic_quotes_gpc</span><span style="color: #007700">()) {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">addslashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
    </span><span style="color: #FF8000">/*
    * if magic_quotes_gpc is on, stirip back slashes
    *
    * @param    string  $text
    *
    * @return   string
    */
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">stripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        if (</span><span style="color: #0000BB">get_magic_quotes_gpc</span><span style="color: #007700">()) {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">stripslashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/*
    *  for displaying data in html textbox forms
    *
    * @param    string  $text
    *
    * @return   string
    */
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #FF8000">//return preg_replace("/&amp;amp;/i", '&amp;', htmlspecialchars($text, ENT_QUOTES));
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">"/&amp;amp;/i"</span><span style="color: #007700">, </span><span style="color: #DD0000">"/&amp;nbsp;/i"</span><span style="color: #007700">), array(</span><span style="color: #DD0000">'&amp;'</span><span style="color: #007700">, </span><span style="color: #DD0000">'&amp;amp;nbsp;'</span><span style="color: #007700">), </span><span style="color: #0000BB">htmlspecialchars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">ENT_QUOTES</span><span style="color: #007700">));
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Reverses {@link htmlSpecialChars()}
     *
     * @param   string  $text
     * @return  string
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">undoHtmlSpecialChars</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        return </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">"/&amp;gt;/i"</span><span style="color: #007700">, </span><span style="color: #DD0000">"/&amp;lt;/i"</span><span style="color: #007700">, </span><span style="color: #DD0000">"/&amp;quot;/i"</span><span style="color: #007700">, </span><span style="color: #DD0000">"/&amp;#039;/i"</span><span style="color: #007700">), array(</span><span style="color: #DD0000">"&gt;"</span><span style="color: #007700">, </span><span style="color: #DD0000">"&lt;"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\""</span><span style="color: #007700">, </span><span style="color: #DD0000">"'"</span><span style="color: #007700">), </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_getEscTags </span><span style="color: #007700">() {
        return array(</span><span style="color: #DD0000">'quote'</span><span style="color: #007700">, </span><span style="color: #DD0000">'color'</span><span style="color: #007700">, </span><span style="color: #DD0000">'font'</span><span style="color: #007700">, </span><span style="color: #DD0000">'size'</span><span style="color: #007700">, </span><span style="color: #DD0000">'b'</span><span style="color: #007700">, </span><span style="color: #DD0000">'c'</span><span style="color: #007700">, </span><span style="color: #DD0000">'d'</span><span style="color: #007700">, </span><span style="color: #DD0000">'i'</span><span style="color: #007700">, </span><span style="color: #DD0000">'u'</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_getBypassTags </span><span style="color: #007700">() {
        return array(</span><span style="color: #DD0000">'siteimg'</span><span style="color: #007700">, </span><span style="color: #DD0000">'fig'</span><span style="color: #007700">, </span><span style="color: #DD0000">'img'</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">renderWikistyle</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$use_cache </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">)
    {
        static </span><span style="color: #0000BB">$pat </span><span style="color: #007700">= array();
        static </span><span style="color: #0000BB">$rep </span><span style="color: #007700">= array();
        
        </span><span style="color: #0000BB">$className </span><span style="color: #007700">= </span><span style="color: #0000BB">get_class</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);
        
        </span><span style="color: #0000BB">$br </span><span style="color: #007700">= (</span><span style="color: #0000BB">$br</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$use_cache </span><span style="color: #007700">= (</span><span style="color: #0000BB">$use_cache</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= (</span><span style="color: #0000BB">$smiley</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        </span><span style="color: #0000BB">$image </span><span style="color: #007700">= (</span><span style="color: #0000BB">$image</span><span style="color: #007700">)? </span><span style="color: #0000BB">1 </span><span style="color: #007700">: </span><span style="color: #0000BB">0</span><span style="color: #007700">;
        
        </span><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink-->
        </span><span style="color: #007700">if (! </span><span style="color: #0000BB">class_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">'<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">XpWiki</a><!--/autolink-->'</span><span style="color: #007700">)) {
            include </span><span style="color: #0000BB"><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/130.html" title="keyword/XOOPS_TRUST_PATH (6962d)">XOOPS_TRUST_PATH</a><!--/autolink--> </span><span style="color: #007700">. </span><span style="color: #DD0000">'/modules/<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->/include.php'</span><span style="color: #007700">;
        }
 
        </span><span style="color: #0000BB">$render </span><span style="color: #007700">= </span><span style="color: #0000BB"><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">XpWiki</a><!--/autolink--></span><span style="color: #007700">::</span><span style="color: #0000BB">getSingleton</span><span style="color: #007700">(</span><span style="color: #0000BB">XPWIKI_RENDERER_DIR</span><span style="color: #007700">);
 
        </span><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/132.html" title="keyword/pukiwiki.ini.php (6938d)">pukiwiki.ini.php</a><!--/autolink--> setting
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'line_break'</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'render_use_cache'</span><span style="color: #007700">, </span><span style="color: #0000BB">$use_cache</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'use_extra_facemark'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'usefacemark'</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'render_cache_min'</span><span style="color: #007700">, </span><span style="color: #0000BB">1440</span><span style="color: #007700">); </span><span style="color: #FF8000">// 1day
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'link_target'</span><span style="color: #007700">, </span><span style="color: #DD0000">'_blank'</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'nowikiname'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'show_passage'</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setIniRoot</span><span style="color: #007700">(</span><span style="color: #DD0000">'no_slashes_commentout'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
 
        if (</span><span style="color: #0000BB">$xcode</span><span style="color: #007700">) {
            if (! isset(</span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">])) {
                </span><span style="color: #FF8000">// BB Code code
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/(?:\r\n|\r|\n)?\[code](?:\r\n|\r|\n)?(.*)(?:\r\n|\r|\n)?\[\/code\](?:\r\n|\r|\n)?/sUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">.</span><span style="color: #DD0000">'#code(){{{'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">.</span><span style="color: #DD0000">'$1'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">.</span><span style="color: #DD0000">'}}}'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">;
 
                </span><span style="color: #FF8000">// BB Code email
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[email](.+?)\[\/email]/iS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'$1'</span><span style="color: #007700">;
 
                </span><span style="color: #FF8000">// BB Code url
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[url=([\'"]?)((?:ht|f)tp[s]?:\/\/[!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\\1\](.+)\[\/url\]/esUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[[\'.<span>MyTextSanitizer</span>::renderWiki_ret2br(\'$3\').\':$2]]\''</span><span style="color: #007700">;
 
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[url=([\'"]?)([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\\1\](.+)\[\/url\]/esUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[[\'.<span>MyTextSanitizer</span>::renderWiki_ret2br(\'$3\').\':http://$2]]\''</span><span style="color: #007700">;
 
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[siteurl=([\'"]?)([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\\1\](.+)\[\/siteurl\]/esUS'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[[\'.<span>MyTextSanitizer</span>::renderWiki_ret2br(\'$3\').\':http:///$2]]\''</span><span style="color: #007700">;
 
                </span><span style="color: #FF8000">// BB Code quote
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/(\[quote[^\]]*])(?:\r\n|\r|\n)(?![&lt;&gt;*|,#: \t+-])/S'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">"\n\n$1"</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/(?:\r\n|\r|\n)*\[\/quote\]/S'</span><span style="color: #007700">;
                </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'[/quote]'</span><span style="color: #007700">.</span><span style="color: #DD0000">"\n\n"</span><span style="color: #007700">;
 
                if (</span><span style="color: #0000BB">$image</span><span style="color: #007700">) {
                    </span><span style="color: #FF8000">// BB Code image with align
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[img\s+align=([\'"]?)(left|center|right)\\1]([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\[\/img\]/US'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'&amp;ref($3,$2);'</span><span style="color: #007700">;
 
                    </span><span style="color: #FF8000">// BB Code image normal
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[img]([!~*\'();\/?:\@&amp;=+\$,%#\w.-]+)\[\/img\]/US'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'&amp;ref($1);'</span><span style="color: #007700">;
                }
 
                </span><span style="color: #FF8000">// Some BB Code Tags, Contents allows <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> rendering.
                </span><span style="color: #007700">if (</span><span style="color: #0000BB">$_reg </span><span style="color: #007700">= </span><span style="color: #0000BB">join</span><span style="color: #007700">(</span><span style="color: #DD0000">'|'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWiki_getEscTags</span><span style="color: #007700">())) {
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[\/?(?:' </span><span style="color: #007700">. </span><span style="color: #0000BB">$_reg </span><span style="color: #007700">. </span><span style="color: #DD0000">')(?:(?: |=)[^\]]+)?\]/eS'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[ b 6 4 ]\' . base64_encode(\'$0\') . \'[ / b 6 4 ]\''</span><span style="color: #007700">;
                }
 
                </span><span style="color: #FF8000">// Other or Unknown BB Code Tags, All part escapes.
                </span><span style="color: #007700">if (</span><span style="color: #0000BB">$_reg </span><span style="color: #007700">= </span><span style="color: #0000BB">join</span><span style="color: #007700">(</span><span style="color: #DD0000">'|'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWiki_getBypassTags</span><span style="color: #007700">())) {
                    </span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'/\[(' </span><span style="color: #007700">. </span><span style="color: #0000BB">$_reg </span><span style="color: #007700">. </span><span style="color: #DD0000">')(?:\s[^\]]+)?].+\[\/\\1\]/esUS'</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">][] = </span><span style="color: #DD0000">'\'[ b 6 4 ]\' . base64_encode(\'$0\') . \'[ / b 6 4 ]\''</span><span style="color: #007700">;
                }
 
            }
 
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">], </span><span style="color: #0000BB">$rep</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">][</span><span style="color: #0000BB">$image</span><span style="color: #007700">], </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
 
        }
        
        if (</span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">transform</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">XPWIKI_RENDERER_DIR</span><span style="color: #007700">)) {
            if (isset(</span><span style="color: #0000BB">$pat</span><span style="color: #007700">[</span><span style="color: #0000BB">$className</span><span style="color: #007700">])) {
                </span><span style="color: #FF8000">// BB Code decode
                </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(
                        </span><span style="color: #DD0000">'/\[ b 6 4 ](.+?)\[ \/ b 6 4 ]/eS'</span><span style="color: #007700">,
                        </span><span style="color: #DD0000">'<span>MyTextSanitizer</span>::renderWiki_base64decode(\'$1\',\''</span><span style="color: #007700">.</span><span style="color: #0000BB">$render</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">root</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">word_breaker</span><span style="color: #007700">.</span><span style="color: #DD0000">'\')'</span><span style="color: #007700">,
                        </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
            }
            
            </span><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> Quote style
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(
                array(</span><span style="color: #DD0000">'&lt;blockquote&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&lt;/blockquote&gt;'</span><span style="color: #007700">),
                array(</span><span style="color: #DD0000">'&lt;div class="paragraph"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">_QUOTEC</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;div class="xoopsQuote"&gt;&lt;blockquote&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #007700">),</span><span style="color: #0000BB">$text
            </span><span style="color: #007700">);
        }
        
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_ret2br</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'\\"'</span><span style="color: #007700">, </span><span style="color: #DD0000">'"'</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\r"</span><span style="color: #007700">, </span><span style="color: #DD0000">"\n"</span><span style="color: #007700">), </span><span style="color: #DD0000">'&amp;br;'</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWiki_base64decode</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$word_breaker</span><span style="color: #007700">) {
        return </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'&lt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'\\"'</span><span style="color: #007700">),array(</span><span style="color: #DD0000">'&amp;lt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'&amp;gt;'</span><span style="color: #007700">,</span><span style="color: #DD0000">'"'</span><span style="color: #007700">),</span><span style="color: #0000BB">base64_decode</span><span style="color: #007700">(</span><span style="color: #0000BB">strip_tags</span><span style="color: #007700">(</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$word_breaker</span><span style="color: #007700">, </span><span style="color: #DD0000">''</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">))));
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWikistyleFinsher</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">) {
        </span><span style="color: #FF8000">//$input = str_replace(array("\x07", "\x08"), array('&lt;div&gt;', '&lt;/div&gt;'), $this-&gt;renderWikistyleParagraphRegularize($input));
        </span><span style="color: #0000BB">$input </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWikistyleParagraphRegularize</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$input</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">// Original function
    </span><span style="color: #007700">function </span><span style="color: #0000BB">renderWikistyleParagraphRegularize</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">) {
        </span><span style="color: #FF8000">// remove &lt;p&gt; include block elements.
        </span><span style="color: #0000BB">$regex </span><span style="color: #007700">= </span><span style="color: #DD0000">'#&lt;p&gt;((?:[^&lt;]+|&lt;(?!/?p[^&gt;]*?&gt;)|(?R))+)&lt;/p&gt;#'</span><span style="color: #007700">;
        if (</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$input</span><span style="color: #007700">)) {
            if (</span><span style="color: #0000BB">preg_match</span><span style="color: #007700">(</span><span style="color: #DD0000">'/&lt;(?:div|p|pre|code)/i'</span><span style="color: #007700">, </span><span style="color: #0000BB">$input</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">])) {
                </span><span style="color: #0000BB">$input </span><span style="color: #007700">= </span><span style="color: #0000BB">$input</span><span style="color: #007700">[</span><span style="color: #0000BB">1</span><span style="color: #007700">];
            } else {
                return </span><span style="color: #0000BB">$input</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">];
            }
        }
        return </span><span style="color: #0000BB">preg_replace_callback</span><span style="color: #007700">(</span><span style="color: #0000BB">$regex</span><span style="color: #007700">, array(&amp; </span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #DD0000">'renderWikistyleParagraphRegularize'</span><span style="color: #007700">), </span><span style="color: #0000BB">$input</span><span style="color: #007700">);
    }
 
    </span><span style="color: #FF8000">/**
     * Filters textarea data for display
     * (This method makes overhead but needed for compatibility)
     *
     * @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
     **/
    
    </span><span style="color: #007700">function </span><span style="color: #0000BB">_ToShowTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$use_cache </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">) {
        if (</span><span style="color: #0000BB">$html </span><span style="color: #007700">!= </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWikistyle</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">, </span><span style="color: #0000BB">$use_cache</span><span style="color: #007700">);
        } else {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">codePreConv</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">);
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">makeClickable</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
            if (</span><span style="color: #0000BB">$smiley </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">smiley</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        if (</span><span style="color: #0000BB">$xcode </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">xoopsCodeDecode</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">);
        if (!</span><span style="color: #0000BB">$html</span><span style="color: #007700">) {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">renderWikistyleFinsher</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        if (</span><span style="color: #0000BB">$html </span><span style="color: #007700">&amp;&amp; </span><span style="color: #0000BB">$br </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">nl2Br</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        if (</span><span style="color: #0000BB">$html</span><span style="color: #007700">) </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">codeConv</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * 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
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">displayTarea</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_ToShowTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * 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
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">previewTarea</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$br </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">stripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_ToShowTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">, </span><span style="color: #0000BB">$image</span><span style="color: #007700">, </span><span style="color: #0000BB">$br</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    </span><span style="color: #FF8000">/**
     * Replaces banned words in a string with their replacements
     *
     * @param   string $text
     * @return  string
     *
     * @deprecated
     **/
    </span><span style="color: #007700">function &amp;</span><span style="color: #0000BB">censorString</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        if (!isset(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">censorConf</span><span style="color: #007700">)) {
            </span><span style="color: #0000BB">$config_handler </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">xoops_gethandler</span><span style="color: #007700">(</span><span style="color: #DD0000">'config'</span><span style="color: #007700">);
            </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">censorConf </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">$config_handler</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getConfigsByCat</span><span style="color: #007700">(</span><span style="color: #0000BB">XOOPS_CONF_CENSOR</span><span style="color: #007700">);
        }
        if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">censorConf</span><span style="color: #007700">[</span><span style="color: #DD0000">'censor_enable'</span><span style="color: #007700">] == </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
            </span><span style="color: #0000BB">$replacement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">censorConf</span><span style="color: #007700">[</span><span style="color: #DD0000">'censor_replace'</span><span style="color: #007700">];
            foreach (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">censorConf</span><span style="color: #007700">[</span><span style="color: #DD0000">'censor_words'</span><span style="color: #007700">] as </span><span style="color: #0000BB">$bad</span><span style="color: #007700">) {
                if ( !empty(</span><span style="color: #0000BB">$bad</span><span style="color: #007700">) ) {
                    </span><span style="color: #0000BB">$bad </span><span style="color: #007700">= </span><span style="color: #0000BB">quotemeta</span><span style="color: #007700">(</span><span style="color: #0000BB">$bad</span><span style="color: #007700">);
                    </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/(\s)"</span><span style="color: #007700">.</span><span style="color: #0000BB">$bad</span><span style="color: #007700">.</span><span style="color: #DD0000">"/siU"</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"\\1"</span><span style="color: #007700">.</span><span style="color: #0000BB">$replacement</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/^"</span><span style="color: #007700">.</span><span style="color: #0000BB">$bad</span><span style="color: #007700">.</span><span style="color: #DD0000">"/siU"</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$replacement</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/(\n)"</span><span style="color: #007700">.</span><span style="color: #0000BB">$bad</span><span style="color: #007700">.</span><span style="color: #DD0000">"/siU"</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"\\1"</span><span style="color: #007700">.</span><span style="color: #0000BB">$replacement</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$patterns</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"/]"</span><span style="color: #007700">.</span><span style="color: #0000BB">$bad</span><span style="color: #007700">.</span><span style="color: #DD0000">"/siU"</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">[] = </span><span style="color: #DD0000">"]"</span><span style="color: #007700">.</span><span style="color: #0000BB">$replacement</span><span style="color: #007700">;
                    </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$patterns</span><span style="color: #007700">, </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
                }
            }
        }
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
 
    </span><span style="color: #FF8000">/**#@+
     * Sanitizing of [code] tag
     */
    </span><span style="color: #007700">function </span><span style="color: #0000BB">codePreConv</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">) {
        if(</span><span style="color: #0000BB">$xcode </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">){
            </span><span style="color: #0000BB">$patterns </span><span style="color: #007700">= </span><span style="color: #DD0000">"/\[code](.*)\[\/code\]/esU"</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$replacements </span><span style="color: #007700">= </span><span style="color: #DD0000">"'[code]'.base64_encode('$1').'[/code]'"</span><span style="color: #007700">;
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">=  </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$patterns</span><span style="color: #007700">, </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">codeConv</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">){
        if(</span><span style="color: #0000BB">$xcode </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">){
            </span><span style="color: #0000BB">$patterns </span><span style="color: #007700">= </span><span style="color: #DD0000">"/\[code](.*)\[\/code\]/esU"</span><span style="color: #007700">;
            if (</span><span style="color: #0000BB">$image </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">) {
                </span><span style="color: #FF8000">// image allowed
                </span><span style="color: #0000BB">$replacements </span><span style="color: #007700">= </span><span style="color: #DD0000">"'&lt;div class=\"xoopsCode\"&gt;&lt;pre&gt;&lt;code&gt;'.<span>MyTextSanitizer</span>::codeSanitizer('$1').'&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;'"</span><span style="color: #007700">;
                </span><span style="color: #FF8000">//$text =&amp; $this-&gt;xoopsCodeDecode($text);
            </span><span style="color: #007700">} else {
                </span><span style="color: #FF8000">// image not allowed
                </span><span style="color: #0000BB">$replacements </span><span style="color: #007700">= </span><span style="color: #DD0000">"'&lt;div class=\"xoopsCode\"&gt;&lt;pre&gt;&lt;code&gt;'.<span>MyTextSanitizer</span>::codeSanitizer('$1', 0).'&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;'"</span><span style="color: #007700">;
                </span><span style="color: #FF8000">//$text =&amp; $this-&gt;xoopsCodeDecode($text, 0);
            </span><span style="color: #007700">}
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">=  </span><span style="color: #0000BB">preg_replace</span><span style="color: #007700">(</span><span style="color: #0000BB">$patterns</span><span style="color: #007700">, </span><span style="color: #0000BB">$replacements</span><span style="color: #007700">, </span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">codeSanitizer</span><span style="color: #007700">(</span><span style="color: #0000BB">$str</span><span style="color: #007700">, </span><span style="color: #0000BB">$image </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">){
        if(</span><span style="color: #0000BB">$image </span><span style="color: #007700">!= </span><span style="color: #0000BB">0</span><span style="color: #007700">){
            </span><span style="color: #0000BB">$str </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">xoopsCodeDecode</span><span style="color: #007700">(
                </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'\"'</span><span style="color: #007700">, </span><span style="color: #DD0000">'"'</span><span style="color: #007700">, </span><span style="color: #0000BB">base64_decode</span><span style="color: #007700">(</span><span style="color: #0000BB">$str</span><span style="color: #007700">)))
                );
        }else{
            </span><span style="color: #0000BB">$str </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">xoopsCodeDecode</span><span style="color: #007700">(
                </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'\"'</span><span style="color: #007700">, </span><span style="color: #DD0000">'"'</span><span style="color: #007700">, </span><span style="color: #0000BB">base64_decode</span><span style="color: #007700">(</span><span style="color: #0000BB">$str</span><span style="color: #007700">))),</span><span style="color: #0000BB">0
                </span><span style="color: #007700">);
        }
        return </span><span style="color: #0000BB">$str</span><span style="color: #007700">;
    }
 
 
    </span><span style="color: #FF8000">/**#@-*/
 
 
##################### Deprecated Methods ######################
 
    /**#@+
     * @deprecated
     */
    </span><span style="color: #007700">function </span><span style="color: #0000BB">sanitizeForDisplay</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$allowhtml </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$bbcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">displayTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$allowhtml</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$bbcode</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">sanitizeForPreview</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$allowhtml </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$bbcode </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">previewTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$allowhtml</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$bbcode</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">makeTboxData4Save</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #FF8000">//$text = $this-&gt;undoHtmlSpecialChars($text);
        </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">addSlashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    function </span><span style="color: #0000BB">makeTboxData4Show</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">=</span><span style="color: #0000BB">0</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">makeTboxData4Edit</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    function </span><span style="color: #0000BB">makeTboxData4Preview</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">=</span><span style="color: #0000BB">0</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">stripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">makeTboxData4PreviewInForm</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">stripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    function </span><span style="color: #0000BB">makeTareaData4Save</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">addSlashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    function &amp;</span><span style="color: #0000BB">makeTareaData4Show</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">displayTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">makeTareaData4Edit</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    function &amp;</span><span style="color: #0000BB">makeTareaData4Preview</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">previewTarea</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">, </span><span style="color: #0000BB">$html</span><span style="color: #007700">, </span><span style="color: #0000BB">$smiley</span><span style="color: #007700">, </span><span style="color: #0000BB">$xcode</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    function </span><span style="color: #0000BB">makeTareaData4PreviewInForm</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #FF8000">//if magic_quotes_gpc is on, do stipslashes
        </span><span style="color: #0000BB">$text </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">stripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    function </span><span style="color: #0000BB">makeTareaData4InsideQuotes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
    }
 
    function &amp;</span><span style="color: #0000BB">oopsStripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">stripSlashesGPC</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    function &amp;</span><span style="color: #0000BB">oopsStripSlashesRT</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        if (</span><span style="color: #0000BB">get_magic_quotes_runtime</span><span style="color: #007700">()) {
            </span><span style="color: #0000BB">$text </span><span style="color: #007700">=&amp; </span><span style="color: #0000BB">stripslashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        }
        return </span><span style="color: #0000BB">$text</span><span style="color: #007700">;
    }
 
    function &amp;</span><span style="color: #0000BB">oopsAddSlashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">addSlashes</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    function &amp;</span><span style="color: #0000BB">oopsHtmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">htmlSpecialChars</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
 
    function &amp;</span><span style="color: #0000BB">oopsNl2Br</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">)
    {
        </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">nl2br</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
        return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;
    }
    </span><span style="color: #FF8000">/**#@-*/
</span><span style="color: #007700">}
</span><span style="color: #0000BB">?&gt;</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->
</li>
<li><span style="font-weight:bold;color:Red;">※</span> <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> を <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink--> という名前以外で<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4567d)">インストール</a><!--/autolink-->している場合は、36行目の '<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->' を適宜変更してください。

<!--description ignore-->
<div style="height:3.9em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;">35
36
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #FF8000">// <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink--> wikirenderer dirctory name
</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'XPWIKI_RENDERER_DIR'</span><span style="color: #007700">, </span><span style="color: #DD0000">'<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->'</span><span style="color: #007700">);</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->
</li></ul></li></ul>
<!--e3d11b6d--></div>
<!--wd32ad0f--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h2>Wikiヘルパーをテキストエリアに表示する方法  <a href="https://xoops.hypweb.net/modules/xpwiki/120.html#t9eb084b" title="t9eb084b"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h2>
<p>JavaScriptによる「Wikiヘルパー」(IE と FireFox に対応)をテキストエリアに適用させたい場合は、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/116.html" title="keyword/HypCommonFunc (3113d)">HypCommonFunc</a><!--/autolink--> に含まれている hypconf モジュールの設定の「サイトワイド Wiki ヘルパー」を有効にすると、サイト全体に渡り、「Wikiヘルパー」が使えるようになります。</p>
<p>また、hypconf モジュールを使用しない場合は次の方法があります。どちらの方法でも構いません。</p>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>まずはじめに  <a href="https://xoops.hypweb.net/modules/xpwiki/120.html#o58cfbb2" title="o58cfbb2"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h3>
<ol><li>html側<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink-->モジュールディレクトリ/private/ini/<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/132.html" title="keyword/pukiwiki.ini.php (6938d)">pukiwiki.ini.php</a><!--/autolink--> に以下の内容を記述する。<br />

<!--description ignore-->
<div style="height:3.9em;overflow:auto;"><div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre style="width:auto;">1
2
</pre></td><td style="line-height:1.2em;"><pre><code><span style="color: #000000"><span style="color: #FF8000">// Show the Wiki Helper on the site wide.
</span><span style="color: #0000BB">$root</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">render_UseWikihelperAtAll </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></pre></td></tr></table></div></div></div>
<!--/description ignore-->
</li></ol>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>選択その1 (ブロックの配置) <a href="https://xoops.hypweb.net/modules/xpwiki/120.html#n07203a4" title="n07203a4"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h4>
<ol><li>&quot;<strong><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink-->のページ表示ブロック</strong>&quot; 又は &quot;<strong><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink-->のカスタムブロックの自動フォーマットタイプ</strong>&quot; をすべてのページに配置する。ブロックに表示するページや内容は、どのような内容でも構いません。<br />このサイトでは、左ブロックの「サイト内 Wiki」がそれにあたります。</li></ol>
<!--n07203a4--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>選択その2  <a href="https://xoops.hypweb.net/modules/xpwiki/120.html#ea86b92d" title="ea86b92d"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->

<!--/description ignore--></h4>
<ol><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5060d)">XOOPS</a><!--/autolink--> テーマの theme.html の &lt;head&gt; 内 &lt;{$xoops_module_header}&gt; の下にJavaScriptを挿入して以下のようにする。

<!--description ignore-->
<div style="height:5.34em;overflow:auto;"><div><div><div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=code_outline_open.png" style="cursor: pointer" alt="Everything is expanded." title="Everything is expanded." /><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=code_outline_close.png" style="cursor: pointer" alt="Everything is shortened." title="Everything is shortened." /></div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre> 
 
</pre></td><td style="line-height:1.2em;"><pre><code>&lt;{$xoops_module_header}&gt;
&lt;<span>script</span> <span>type</span>=<span>&quot;text/javascript&quot;</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink-->/skin/loader.php?src=wikihelper_loader.js&quot;</span>&gt;&lt;/<span>script</span>&gt;</code></pre></td></tr></table></div></div></div>
<!--/description ignore-->

<ul><li>パス中の <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpwiki</a><!--/autolink--> は<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/133.html" title="keyword/xpWiki (5914d)">xpWiki</a><!--/autolink-->を<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4567d)">インストール</a><!--/autolink-->したディレクトリ名に合わせてください。</li></ul></li></ol>

<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5612d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/117.html" title="keyword/HypCommonPreLoad (5612d)">HypCommonPreLoad</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/121.html" title="keyword/OpenID モジュール (5566d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/121.html" title="keyword/OpenID モジュール (5566d)">OpenID モジュール</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--ea86b92d--></div>
<!--o58cfbb2--></div>
<!--t9eb084b--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FMyTextSanitizer</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FX-elFinder%2FConnect%20to%20Dropbox.com">
 <title>X-elFinder/Connect to Dropbox.com</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/124.html</link>
 <dc:date>2012-05-02T22:14:47+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>X-elFinder(Version 0.17以降) へ Dropbox.com のボリュームを「ネットワークボリュームのマウント」で追加できるようにする方法にについて簡単に説明します。 Dropbox のアカウントがない場合は Dropbox.com へサインアップする。(このリンクからサインアップしてDropboxをインストールすると、あなたと私両方に500MBディスクスペースが増量します :ok: )Dropbox.com API 利用のためのアプリ登録Dropbox.com にログインし</description>
 <content:encoded><![CDATA[
 
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4999d)">Prev</a></li>
 <li></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">keyword</a>/<a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4999d)">X-elFinder</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>
<h2>Dropbox.com への接続 (ネットワークボリュームのマウント)  <a href="https://xoops.hypweb.net/modules/xpwiki/124.html#v2adf2ce" title="v2adf2ce"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder%2FConnect%20to%20Dropbox.com&amp;paraid=v2adf2ce" title="keyword/X-elFinder/Connect to Dropbox.com#v2adf2ce の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder/Connect to Dropbox.com#v2adf2ce の編集" /> </a>
<!--/description ignore--></h2>
<p><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4999d)">X-elFinder</a>(Version 0.17以降) へ Dropbox.com のボリュームを「ネットワークボリュームのマウント」で追加できるようにする方法にについて簡単に説明します。 <img alt=":-)" src="https://xoops.hypweb.net/uploads/smil3dbd4d6422f04.gif" /></p>
<ol><li>Dropbox のアカウントがない場合は <a href="http://db.tt/w0gZJglT" title="db.tt/w0gZJglT">Dropbox.com</a> へサインアップする。<span style="font-size:80%;line-height:130%;">(このリンクからサインアップしてDropboxを<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4567d)">インストール</a><!--/autolink-->すると、あなたと私両方に500MBディスクスペースが増量します :ok: )</span></li>
<li>Dropbox.com API 利用のためのアプリ登録
<ol><li>Dropbox.com にログインした状態で <a href="https://www.dropbox.com/developers" title="www.dropbox.com/developers">Developers - Dropbox</a> へアクセス</li>
<li><a href="https://xoops.hypweb.net/modules/xelfinder/index.php/view/1327/My%2520Apps%2520%25E3%2582%2592%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%2583%25E3%2582%25AF.png" title="My%20Apps%20%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF.png" type="img"><img src="https://xoops.hypweb.net/modules/xpwiki/attach/s/_i_7cc7bd63e12c572b485c7718a4863c20_13.png" alt="My%20Apps%20%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF.png" title="My%20Apps%20%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF.png" width="113" height="160" /></a> My Apps をクリック</li>
<li><a href="https://xoops.hypweb.net/modules/xelfinder/index.php/view/1328/Create%2520an%2520App%2520%25E3%2582%2592%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%2583%25E3%2582%25AF.png" title="Create%20an%20App%20%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF.png" type="img"><img src="https://xoops.hypweb.net/modules/xpwiki/attach/s/_i_9d80c8fbea64a49825c203d7b1542bcf_13.png" alt="Create%20an%20App%20%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF.png" title="Create%20an%20App%20%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF.png" width="113" height="160" /></a> Create an App をクリック</li>
<li><a href="https://xoops.hypweb.net/modules/xelfinder/index.php/view/1329/%25E5%25BF%2585%25E8%25A6%2581%25E6%2583%2585%25E5%25A0%25B1%25E5%2585%25A5%25E5%258A%259B.png" title="%E5%BF%85%E8%A6%81%E6%83%85%E5%A0%B1%E5%85%A5%E5%8A%9B.png" type="img"><img src="https://xoops.hypweb.net/modules/xpwiki/attach/s/_i_ab1cc21ba7bff53241249a9fb9cd56f4_13.png" alt="%E5%BF%85%E8%A6%81%E6%83%85%E5%A0%B1%E5%85%A5%E5%8A%9B.png" title="%E5%BF%85%E8%A6%81%E6%83%85%E5%A0%B1%E5%85%A5%E5%8A%9B.png" width="113" height="160" /></a> 必要な情報入力し [Create] をクリック</li>
<li>次の画面で表示された「App key」と「App secret」を <span style="font-size:110%;line-height:130%;"><strong><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4999d)">X-elFinder</a> の管理画面 - 一般設定の該当項目に入力</strong></span>する</li></ol></li>
<li>ここまでで、まずは登録したアプリが「Development」ステータスとなり、自分のみアクセス可能となりネットワークボリュームとしてマウントできる状態となります。ただこのままだと、他のサイト利用者は利用できません。それを可能にするにはプロダクトとして Dropbox.com に申請し許可を受ける必要があります。
<ol><li><a href="https://xoops.hypweb.net/modules/xelfinder/index.php/view/1330/%25E3%2583%2597%25E3%2583%25AD%25E3%2583%2580%25E3%2582%25AF%25E3%2583%2588%25E7%2594%25B3%25E8%25AB%258B%25E3%2581%25AA%25E3%2581%25A9.png" title="%E3%83%97%E3%83%AD%E3%83%80%E3%82%AF%E3%83%88%E7%94%B3%E8%AB%8B%E3%81%AA%E3%81%A9.png" type="img"><img src="https://xoops.hypweb.net/modules/xpwiki/attach/s/_i_c93bad1f9af86d5ce5c85749ecca7631_13.png" alt="%E3%83%97%E3%83%AD%E3%83%80%E3%82%AF%E3%83%88%E7%94%B3%E8%AB%8B%E3%81%AA%E3%81%A9.png" title="%E3%83%97%E3%83%AD%E3%83%80%E3%82%AF%E3%83%88%E7%94%B3%E8%AB%8B%E3%81%AA%E3%81%A9.png" width="113" height="160" /></a>必要に応じてプロダクト申請などをする。</li>
<li>通常は1日ほどで審査結果がメールで届きます。多分審査は問題なく通ると思います。</li></ol></li></ol>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>Dropbox ネットワークボリュームのマウントからアンマウントまで  <a href="https://xoops.hypweb.net/modules/xpwiki/124.html#o1c0bd4e" title="o1c0bd4e"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FX-elFinder%2FConnect%20to%20Dropbox.com&amp;paraid=o1c0bd4e" title="keyword/X-elFinder/Connect to Dropbox.com#o1c0bd4e の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/X-elFinder/Connect to Dropbox.com#o1c0bd4e の編集" /> </a>
<!--/description ignore--></h3>
<dl><dt>動画にしてみました。</dt>
<dd><div style=""><div><div><iframe type="text/html" width="480" height="270" src="https://www.youtube.com/embed/S1Q_jGIwrzY?wmode=transparent&amp;autohide=1&amp;rel=0" frameborder="0"><noiframe><a href="http://youtu.be/S1Q_jGIwrzY">http://youtu.be/S1Q_jGIwrzY</a></noiframe></iframe></div></div></div>
</dd></dl>

<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4999d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6963d)">keyword</a>/<a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4999d)">X-elFinder</a></li>
 <li><br /></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/123.html" title="keyword/X-elFinder (4999d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--o1c0bd4e--></div>
<!--v2adf2ce--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FX-elFinder%2FConnect%20to%20Dropbox.com</dc:identifier>

</item>
<item rdf:about="https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB">
 <title>OpenID モジュール</title>
 <link>https://xoops.hypweb.net/modules/xpwiki/121.html</link>
 <dc:date>2011-02-06T22:35:29+09:00</dc:date>
 <dc:creator>nao-pon</dc:creator>
 
 <description>XOOPS, xpWiki &amp;lt;- 共通リンクディレクトリのテスト。 pukiwiki.ini.php 1 2 3 4 5 6 7 $root-&amp;gt;ext_autolinks[] = array( 'url' =&amp;gt; '' , // '' means own wiki 'base' =&amp;gt; 'keyword' , // base directory ('' means all pages) 'len' =&amp;gt; 3 , // minimum length of link tex&#182;XOOPS に OpenID による認証機能を追加するモジュール。Sakimura さんの OpenID認可モジュール をベースに &quot;OpenID Auth Module&quot; Development Committee により開発されている。&quot;OpenID Auth Module&quot; Development Committee は、現在 ディスカス・コミュニティ のサイト上で活動しています。質問･要望などは、ディスカス・コミュニティ - OpenIDを語ろう へどうぞ。リポジトリ最新スナップショット</description>
 <content:encoded><![CDATA[
 <dl><dt>Changes</dt><dd><p><a href="http://xoops.hypweb.net/modules/xpwiki/132.html" title="keyword/XOOPS (19h)">XOOPS</a>, <a href="http://xoops.hypweb.net/modules/xpwiki/134.html" title="keyword/xpWiki (1h)">xpWiki</a> &lt;- 共通リンクディレクトリのテスト。</p>
<p>pukiwiki.ini.php</p>
<div><div><table border="0" cellpadding="0" cellspacing="0"><tr><td><pre style="width:1.5ex;">1
2
3
4
5
6
7
</pre></td><td><pre><code><span style="color:#000000">$root</span><span style="color:#007700">-&gt;</span><span style="color:#0000BB">ext_autolinks</span><span style="color:#007700">[] = array(
    </span><span style="color:#DD0000">'url'   </span><span style="color:#007700">=&gt; </span><span style="color:#DD0000">'' </span><span style="color:#007700">,            </span><span style="color:#FF8000">// '' means own wiki
    </span><span style="color:#DD0000">'base'  </span><span style="color:#007700">=&gt; </span><span style="color:#DD0000">'keyword' </span><span style="color:#007700">,    </span><span style="color:#FF8000">// base directory ('' means all pages)
    </span><span style="color:#DD0000">'len'   </span><span style="color:#007700">=&gt; </span><span style="color:#0000BB">3 </span><span style="color:#007700">,            </span><span style="color:#FF8000">// minimum length of link text
    </span><span style="color:#DD0000">'enc'   </span><span style="color:#007700">=&gt; </span><span style="color:#DD0000">'EUC-JP' </span><span style="color:#007700">,    </span><span style="color:#FF8000">// character encoding
    </span><span style="color:#DD0000">'cache' </span><span style="color:#007700">=&gt; </span><span style="color:#0000BB">10            </span><span style="color:#FF8000">// cache minutes (minimum: 10min)
</span><span style="color:#007700">); </span><span style="color:#0000BB"></span></code></pre></td></tr></table></div></div>&#182;<!--ADD_TEXT_SEP-->
<div><table cellspacing="1" border="0"><tbody><tr><td>center:<a href="http://xoops.hypweb.net/modules/xpwiki/?plugin=ref&amp;page=%A5%C6%A5%B9%A5%C8%A5%DA%A1%BC%A5%B8%2Fupboard%2F1&amp;src=904sh_01_0.jpg" title="904sh_01_0.jpg, SIZE:800x800(35.5KB)" type="img"><img src="http://xoops.hypweb.net/modules/xpwiki/attach/s/A5C6A5B9A5C8A5DAA1BCA5B82F7570626F6172642F31_31332539303473685F30315F302E6A7067" alt="904sh_01_0.jpg, SIZE:800x800(35.5KB)" title="904sh_01_0.jpg, SIZE:800x800(35.5KB)" width="104" height="104"/></a></td><td>center:<img src="http://xoops.hypweb.net/modules/xpwiki/attach/s/A5C6A5B9A5C8A5DAA1BCA5B82F7570626F6172642F31_31332539303473685F30315F312E6A7067" alt="904sh_01_1.jpg, SIZE:800x800(39.7KB)" title="904sh_01_1.jpg, SIZE:800x800(39.7KB)" width="104" height="104"/></td><td>center:</td></tr></tbody></table></div></dd></dl><hr />
<!--description ignore-->
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/120.html" title="keyword/MyTextSanitizer (5079d)">Prev</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/131.html" title="keyword/phpMyAdmin (6782d)">Next</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6953d)">keyword</a></li>
</ul>
<hr />
<!--/description ignore-->

<div>

<!--description ignore-->
<div>
 <div>
  ページ内コンテンツ
 </div>
 <div>
  <ul><li>  OpenID 認証 モジュール (おーぷんあいでぃ にんしょう もじゅーる) 
<ul><li>  設定方法 
<ul><li><ul><li>  一般設定 </li>
<li>  フィルター 
<ul><li>  例１：全てのOpenIDを区別しないで受け入れる </li>
<li>  例２：mixiのIDだけを受け入れる </li>
<li>  例３：マイミクシィだけを受け入れる </li>
<li>  例４：全てのOpenIDを受け入れるが、特定のIDやOPだけを受け入れない </li></ul></li></ul></li></ul></li>
<li>  Tips 
<ul><li>  XOOPS Cube Legacy 2.1.4 - 2.1.5 で mixi 認証が動かない。 </li>
<li>  ログインブロックにフォームを追加したい。 </li></ul></li></ul></li></ul>
 </div>
</div>
<!--/description ignore-->

<h2>OpenID 認証 モジュール (おーぷんあいでぃ にんしょう もじゅーる)  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#m23f5bc2" title="m23f5bc2"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=m23f5bc2" title="keyword/OpenID モジュール#m23f5bc2 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#m23f5bc2 の編集" /> </a>
<!--/description ignore--></h2>
<p><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5049d)">XOOPS</a><!--/autolink--> に OpenID による認証機能を追加するモジュール。</p>
<p><a href="http://www.sakimura.org/modules/mydownloads/singlefile.php?cid=1&amp;lid=8" title="www.sakimura.org/modules/mydownloads/singlefile.php?cid=1&amp;lid=8">Sakimura さんの OpenID認可モジュール</a> をベースに <strong><em>&quot;OpenID Auth Module&quot; Development Committee</em></strong> により開発されている。</p>
<p><strong><em>&quot;OpenID Auth Module&quot; Development Committee</em></strong> は、現在 <a href="http://discuss.sourceforge.jp/xoops/" title="discuss.sourceforge.jp/xoops/">ディスカス・コミュニティ</a> のサイト上で活動しています。</p>
<p>質問･要望などは、<a href="http://discuss.sourceforge.jp/xoops/modules/discuss/#d:12" title="discuss.sourceforge.jp/xoops/modules/discuss/#d:12">ディスカス・コミュニティ - OpenIDを語ろう</a> へどうぞ。</p>
<ul><li><a href="http://ajax-discuss.svn.sourceforge.net/viewvc/ajax-discuss/openid/trunk/openid/" title="ajax-discuss.svn.sourceforge.net/viewvc/ajax-discuss/openid/trunk/openid/">リポジトリ</a></li>
<li><a href="http://ajax-discuss.svn.sourceforge.net/viewvc/ajax-discuss/openid/trunk/openid.tar.gz?view=tar" title="ajax-discuss.svn.sourceforge.net/viewvc/ajax-discuss/openid/trunk/openid.tar.gz?view=tar">最新スナップショットのダウンロード</a>
<ul><li>まだ十分にテストされていない書かれたばかりの生々しいコードです。また突然の仕様変更、スナップショットの取得タイミングにより正常に動作しないことなどがあります。</li>
<li>あくまでも、開発途上バージョンですが、開発サイトなどで3ヶ月程度の動作実績があります。</li></ul></li></ul>
<p>また、GitHub 上の <a href="https://github.com/XoopsX/openID" title="github.com/XoopsX/openID">XoopsX リポジトリ上</a>でも、開発・メンテナンスを始めました。こちらは、<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/125.html" title="keyword/X-update (4882d)">X-update</a><!--/autolink--> で<!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/487.html" title="インストール (4557d)">インストール</a><!--/autolink-->できるバージョンとなっています。</p>
<ul><li><a href="https://github.com/XoopsX/openID" title="github.com/XoopsX/openID">GitHub 版リポジトリ</a></li>
<li><a href="https://github.com/XoopsX/openID/archive/master.zip" title="github.com/XoopsX/openID/archive/master.zip">GitHub 版ダウンロード</a></li>
<li><a href="https://github.com/XoopsX/openID/issues" title="github.com/XoopsX/openID/issues">Issues &#183; XoopsX/openID</a></li></ul>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>設定方法  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#cd0ddcc6" title="cd0ddcc6"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=cd0ddcc6" title="keyword/OpenID モジュール#cd0ddcc6 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#cd0ddcc6 の編集" /> </a>
<!--/description ignore--></h3>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>一般設定  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#t02a43c6" title="t02a43c6"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=t02a43c6" title="keyword/OpenID モジュール#t02a43c6 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#t02a43c6 の編集" /> </a>
<!--/description ignore--></h5>
<ul><li>OpenIDによる新規ユーザー登録を許可する：
<ul><li>許可しない場合、既存ユーザーとの紐付けのみ行えるようになります。</li>
<li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5049d)">Xoops</a><!--/autolink-->標準ユーザー管理機能での新規登録とは独立して指定されます。通常のE-Mailとパスワードを登録する新規登録は不可とし、OpenIDでの登録のみ認める、あるいはその逆などが指定できます。</li></ul></li>
<li>OpenID公開レベル:　登録されたOpenIDを公開するかどうか指定します。デフォルトは「各ユーザー自身に選択させる」です。</li>
<li>乱数生成デバイス：　使用できない場合が多い。その場合は空欄にする。</li>
<li>フィルター：　下記参照</li>
<li>初期登録グループ：　OpenIDでログインするユーザーはユーザー登録時にこのグループに割り振られます。</li>
<li>追加のSSL証明：　特定のOPだけ認証に失敗する場合、追加のpemファイルへのパスを入力する。</li></ul>
<!--t02a43c6--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h5>フィルター  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#yfbfb8fc" title="yfbfb8fc"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=yfbfb8fc" title="keyword/OpenID モジュール#yfbfb8fc の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#yfbfb8fc の編集" /> </a>
<!--/description ignore--></h5>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>例１：全てのOpenIDを区別しないで受け入れる  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#la511424" title="la511424"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=la511424" title="keyword/OpenID モジュール#la511424 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#la511424 の編集" /> </a>
<!--/description ignore--></h6>
<div><pre>1. 一般設定で『フィルターを使用しない』を選択する。</pre></div>
<!--la511424--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>例２：mixiのIDだけを受け入れる  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#ydee74e5" title="ydee74e5"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=ydee74e5" title="keyword/OpenID モジュール#ydee74e5 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#ydee74e5 の編集" /> </a>
<!--/description ignore--></h6>
<div><pre>1. 一般設定で『どのフィルターにも一致しない場合は拒否』を選択する。
2. フィルター簡易設定で『mixi』を選択し、登録するグループを選択する。</pre></div>
<!--ydee74e5--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>例３：マイミクシィだけを受け入れる  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#rb68a8bb" title="rb68a8bb"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=rb68a8bb" title="keyword/OpenID モジュール#rb68a8bb の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#rb68a8bb の編集" /> </a>
<!--/description ignore--></h6>
<div><pre>1. 一般設定で『どのフィルターにも一致しない場合は拒否』を選択する。
2. フィルター簡易設定で『マイミクシィ認証』を選択し、『Specified ID』に自分のmixi IDを入力し、登録するグループを選択する。</pre></div>
<!--rb68a8bb--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h6>例４：全てのOpenIDを受け入れるが、特定のIDやOPだけを受け入れない  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#gc37531f" title="gc37531f"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=gc37531f" title="keyword/OpenID モジュール#gc37531f の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#gc37531f の編集" /> </a>
<!--/description ignore--></h6>
<div><pre>1. 一般設定で『どのフィルターにも一致しない場合は許可』を選択する。
2. 高度なフィルター設定の左上『New』ボタンから拒否したい『Endpoint』※1 『Claimed Identifier』※2 あるいは『User-Supplied Identifier』※3 を正規表現で登録する。</pre></div>
<div><pre>※1 認証サービスを提供するサーバーのURL
※2 ユーザーのOpenID
※3 ユーザーが最初に入力するURL</pre></div>
<!--gc37531f--></div>
<!--yfbfb8fc--></div>
<!--cd0ddcc6--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h3>Tips  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#y1521d0e" title="y1521d0e"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=y1521d0e" title="keyword/OpenID モジュール#y1521d0e の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#y1521d0e の編集" /> </a>
<!--/description ignore--></h3>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/127.html" title="keyword/XOOPS (5049d)">XOOPS</a><!--/autolink--> Cube Legacy 2.1.4 - 2.1.5 で mixi 認証が動かない。  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#ce4c8501" title="ce4c8501"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=ce4c8501" title="keyword/OpenID モジュール#ce4c8501 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#ce4c8501 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li><!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6230d)">XCL</a><!--/autolink-->の該当バージョンにバグがあり現状では動きません。いづれバグは修正されると思いますが、それまでの間に動かしたい人は、<a href="http://www.xugj.org/modules/d3forum/index.php?topic_id=754" title="www.xugj.org/modules/d3forum/index.php?topic_id=754">XUGJ-フォーラム: urlencode されていないクエリが含まれる時の問題</a> を参考に <!--autolink--><a href="https://xoops.hypweb.net/modules/xpwiki/126.html" title="keyword/XCL (6230d)">XCL</a><!--/autolink--> のコアファイルを修正してみてください。</li></ul>
<!--ce4c8501--></div>
<div>
<div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=arrow_up.png" alt="Page Top" width="16" height="16" /></div><h4>ログインブロックにフォームを追加したい。  <a href="https://xoops.hypweb.net/modules/xpwiki/121.html#u1ebafa0" title="u1ebafa0"><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=anchor.png" alt="anchor.png" height="12" width="12" /></a> 
<!--description ignore-->
<a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=edit&amp;page=keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB&amp;paraid=u1ebafa0" title="keyword/OpenID モジュール#u1ebafa0 の編集"><img src="https://xoops.hypweb.net/modules/xpwiki/image/paraedit.png" width="9" height="9" alt="Edit" title="keyword/OpenID モジュール#u1ebafa0 の編集" /> </a>
<!--/description ignore--></h4>
<ul><li>ログインブロックのテンプレートに以下(一例)を記述する

<!--description ignore-->
<div style="height:30.3em;overflow:auto;"><div><div><div><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=code_outline_open.png" style="cursor: pointer" alt="Everything is expanded." title="Everything is expanded." /><img src="https://xoops.hypweb.net/modules/xpwiki/skin/loader.php?src=code_outline_close.png" style="cursor: pointer" alt="Everything is shortened." title="Everything is shortened." /></div><table border="0" cellpadding="0" cellspacing="0"><tr><td style="line-height:1.2em;"><pre> 
-<span style="display:">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
</pre></td><td style="line-height:1.2em;"><pre><code>&lt;<span>script</span> <span>type</span>=<span>&quot;text/javascript&quot;</span>&gt;
<span>&lt;!--
function openid_b_submit(identifier, msg) {
	var f = document.getElementById(&#039;openid_b_id_form&#039;);
	if (msg) {
		document.getElementById(&#039;openid_b_id_msg&#039;).innerHTML = msg;
		document.getElementById(&#039;openid_b_identifier&#039;).value = identifier;
		identifier = &#039;&#039;;
		f.style.display = &#039;&#039;;
		document.getElementById(&#039;openid_b_id&#039;).focus();
	} else {
		if (!identifier) {
			f.style.display = &#039;none&#039;;
			var id = document.getElementById(&#039;openid_b_id&#039;).value;
			if (id) {
				identifier = document.getElementById(&#039;openid_b_identifier&#039;).value;
				identifier = identifier.replace(&#039;__ID__&#039;, id);
			} else {
				document.getElementById(&#039;openid_b_identifier&#039;).value = &#039;&#039;;
				return false;
			}
		}
	}
	if (identifier) {
		document.getElementById(&#039;openid_b_identifier&#039;).value = identifier;
		document.getElementById(&#039;openid_b_submit&#039;).submit();
	}
	return false;
}
//--&gt;</span>
&lt;/<span>script</span>&gt;
&lt;<span>style</span>&gt;
<span>input</span>.openid_login {
    <span>background</span>: url(&lt;{$xoops_url}&gt;/modules/openid/images/login-bg.gif) no-repeat;
    background-color: #fff;
    background-position: 0 50%;
    <span>color</span>: #000;
    padding-left: 18px;
    <span>width</span>: 100px;
}
<span>div</span>.openid_icons {
    margin: 2px;
}
<span>div</span>.openid_icons <span>img</span> {
    margin: 0;
    cursor: pointer;
}
&lt;/<span>style</span>&gt;
&lt;<span>form</span> <span>id</span>=<span>&quot;openid_b_submit&quot;</span> <span>method</span>=<span>&quot;POST&quot;</span> <span>action</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/try_auth.php&quot;</span>&gt;
&lt;<span>input</span> <span>type</span>=<span>&quot;hidden&quot;</span> <span>name</span>=<span>&quot;action&quot;</span> <span>value</span>=<span>&quot;verify&quot;</span> /&gt;
&lt;<span>input</span> <span>id</span>=<span>&quot;openid_b_identifier&quot;</span> class=<span>&quot;openid_login&quot;</span> <span>type</span>=<span>&quot;text&quot;</span> <span>name</span>=<span>&quot;openid_identifier&quot;</span> class=<span>&quot;openid_login&quot;</span> <span>value</span>=<span>&quot;&quot;</span> /&gt;
&lt;<span>input</span> <span>type</span>=<span>&quot;hidden&quot;</span> <span>name</span>=<span>&quot;frompage&quot;</span> <span>value</span>=<span>&quot;&lt;{$xoops_requesturi}&gt;&quot;</span> /&gt;
&lt;<span>br</span> /&gt;
&lt;<span>input</span> <span>type</span>=<span>&quot;submit&quot;</span> <span>name</span>=<span>&quot;Submit&quot;</span> <span>value</span>=<span>&quot;OpenIDログイン&quot;</span> /&gt;
&lt;/<span>form</span>&gt;
&lt;<span>div</span> class=<span>&quot;openid_icons&quot;</span>&gt;
&lt;<span>img</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/images/icons/mixi.gif&quot;</span> <span>title</span>=<span>&quot;mixiでログイン&quot;</span> <span>onclick</span>=<span>&quot;openid_b_submit(&#039;mixi.jp/&#039;);&quot;</span> /&gt;
&lt;<span>img</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/images/yahoo_icon.gif&quot;</span> <span>title</span>=<span>&quot;Yahoo!でログイン&quot;</span> <span>onclick</span>=<span>&quot;openid_b_submit(&#039;yahoo.co.jp&#039;);&quot;</span> /&gt;
&lt;<span>img</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/images/icons/hatena.gif&quot;</span> <span>title</span>=<span>&quot;はてなでログイン&quot;</span> <span>onclick</span>=<span>&quot;openid_b_submit(&#039;<a href="http://www.hatena.ne.jp/__ID__/">http://www.hatena.ne.jp/__ID__/</a>&#039;,&#039;はてなの ID を入力してください。&#039;);&quot;</span> /&gt;
&lt;<span>img</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/images/icons/docomo.gif&quot;</span> <span>title</span>=<span>&quot;docomo IDでログイン (iモードIDは取得していません)&quot;</span> <span>onclick</span>=<span>&quot;openid_b_submit(&#039;i.mydocomo.com&#039;);&quot;</span> /&gt;
&lt;<span>img</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/images/icons/google.gif&quot;</span> <span>title</span>=<span>&quot;Googleでログイン&quot;</span> <span>onclick</span>=<span>&quot;openid_b_submit(&#039;<a href="https://www.google.com/accounts/o8/id">https://www.google.com/accounts/o8/id</a>&#039;);&quot;</span> /&gt;
&lt;<span>img</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/images/icons/livedoor.gif&quot;</span> <span>title</span>=<span>&quot;Live Doorでログイン&quot;</span> <span>onclick</span>=<span>&quot;openid_b_submit(&#039;livedoor.com&#039;);&quot;</span> /&gt;
&lt;<span>img</span> <span>src</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/images/icons/biglobe.gif&quot;</span> <span>title</span>=<span>&quot;Biglobeでログイン&quot;</span> <span>onclick</span>=<span>&quot;openid_b_submit(&#039;biglobe.ne.jp&#039;);&quot;</span> /&gt;
&lt;/<span>div</span>&gt;
&lt;<span>div</span> <span>id</span>=<span>&quot;openid_b_id_form&quot;</span> <span>style</span>=<span>&quot;display:none;&quot;</span>&gt;
&lt;<span>form</span> <span>action</span>=<span>&quot;&lt;{$xoops_url}&gt;/modules/openid/&quot;</span> <span>method</span>=<span>&quot;POST&quot;</span> <span>onsubmit</span>=<span>&quot;return openid_b_submit();&quot;</span>&gt;
&lt;<span>div</span> <span>id</span>=<span>&quot;openid_b_id_msg&quot;</span>&gt;&amp;nbsp;&lt;/<span>div</span>&gt;
&lt;<span>input</span> <span>type</span>=<span>&quot;text&quot;</span> <span>size</span>=<span>&quot;10&quot;</span> <span>id</span>=<span>&quot;openid_b_id&quot;</span> <span>name</span>=<span>&quot;openid_b_id&quot;</span> <span>value</span>=<span>&quot;&quot;</span> /&gt;
&lt;<span>input</span> <span>type</span>=<span>&quot;submit&quot;</span> <span>name</span>=<span>&quot;Submit&quot;</span> <span>value</span>=<span>&quot;OK&quot;</span> /&gt;
&lt;/<span>form</span>&gt;
&lt;/<span>div</span>&gt;</code></pre></td></tr></table></div></div></div>
<!--/description ignore-->

<ul><li>表示例 (ゲストアクセスで表示されます)
<div style="margin-left:0px;margin-right:auto;width:170px;"><div style="float:left;"><h5>メインメニュー</h5>
<ul>
      <li><a href="https://xoops.hypweb.net/">ホーム</a></li>
      <li><a href="https://xoops.hypweb.net/modules/goods/">価格比較 百貨</a></li>
      <li><a href="https://xoops.hypweb.net/modules/UsersWiki/">UsersWiki</a></li>
      <li><a href="https://xoops.hypweb.net/modules/xpwiki/">xpwiki</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=newpage">新規ページ作成</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/?RecentChanges">最新ページ一覧</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=list">全ページ一覧</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/75.html">人気のページ</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=redirect&amp;to=modules/forum/index.php%3Fforum_id%3D19">全コメント一覧</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/?cmd=redirect&amp;to=modules/forum/index.php%3fforum_id%3D18">xpWikiフォーラム</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/48.html">スキン選択</a></li>
        <li><a href="https://xoops.hypweb.net/modules/xpwiki/?Help">ヘルプ</a></li>
      <li><a href="https://xoops.hypweb.net/modules/contact/">お問い合わせ</a></li>
      <li><a href="https://xoops.hypweb.net/modules/xelfinder/">ファイルマネージャー</a></li>
</ul></div><div style="clear:both;"></div>
</div>
</li></ul></li></ul>

<!--description ignore-->
<hr />
<ul>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/120.html" title="keyword/MyTextSanitizer (5079d)">Prev</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/120.html" title="keyword/MyTextSanitizer (5079d)">MyTextSanitizer</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/131.html" title="keyword/phpMyAdmin (6782d)">Next</a><br /><a href="https://xoops.hypweb.net/modules/xpwiki/131.html" title="keyword/phpMyAdmin (6782d)">phpMyAdmin</a></li>
 <li><a href="https://xoops.hypweb.net/modules/xpwiki/114.html" title="keyword (6953d)">Up</a></li>
</ul>
<div style="clear:both;height:0px;"> </div>
<!--/description ignore-->
<!--u1ebafa0--></div>
<!--y1521d0e--></div>
<!--m23f5bc2--></div>

<div style="display:none;"><img src="https://xoops.hypweb.net/modules/xpwiki/gate.php?way=jobstack" alt="" width="1" height="1" /></div>

 ]]></content:encoded>
 <dc:identifier>https://xoops.hypweb.net/modules/xpwiki/index.php?keyword%2FOpenID%20%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB</dc:identifier>

</item>

</rdf:RDF>