cvs: peardoc /ja/package encryption.xml /ja/package/authentication/auth/storage ldap.xml /ja/package/html/html-template-sigma intro-syntax.xml

From: Date: Mon, 11 Aug 2008 03:41:26 +0000
Subject: cvs: peardoc /ja/package encryption.xml /ja/package/authentication/auth/storage ldap.xml /ja/package/html/html-template-sigma intro-syntax.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11042@lists.php.net to get a copy of this message
takagi Mon Aug 11 03:41:26 2008 UTC Modified files: /peardoc/ja/package/html/html-template-sigma intro-syntax.xml /peardoc/ja/package/authentication/auth/storage ldap.xml /peardoc/ja/package encryption.xml Log: sync with en. http://cvs.php.net/viewvc.cgi/peardoc/ja/package/html/html-template-sigma/intro-syntax.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-template-sigma/intro-syntax.xml diff -u peardoc/ja/package/html/html-template-sigma/intro-syntax.xml:1.2 peardoc/ja/package/html/html-template-sigma/intro-syntax.xml:1.3 --- peardoc/ja/package/html/html-template-sigma/intro-syntax.xml:1.2 Mon Jul 2 15:07:40 2007 +++ peardoc/ja/package/html/html-template-sigma/intro-syntax.xml Mon Aug 11 03:41:25 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry id="package.html.html-template-sigma.intro-syntax"> <refnamediv> <refname>導入 - テンプレートの構文</refname> @@ -74,6 +74,18 @@ <itemizedlist> <listitem> <para> + <literal>&lt;!-- INCLUDE --&gt;</literal> 文が処理されるのは、 + テンプレートファイルをディスクから読み込んだ場合のみです。 + <link linkend="package.html.html-template-sigma.html-template-sigma.settemplate"><function>setTemplate</function></link> + メソッドでテンプレートを設定したり + <link linkend="package.html.html-template-sigma.html-template-sigma.addblock"><function>addBlock</function></link> と + <link linkend="package.html.html-template-sigma.html-template-sigma.replaceblock"><function>replaceBlock</function></link> + でブロックとして動作させたりする場合は、テンプレート内にある + <literal>&lt;!-- INCLUDE --&gt;</literal> 文の置換は行われません! + </para> + </listitem> + <listitem> + <para> この機能は <link linkend="package.html.html-template-sigma.html-template-sigma.addblockfile"><function>addBlockfile</function></link> を用いて実装されていますが、<function>addBlockfile</function> @@ -83,7 +95,7 @@ <listitem> <para> <literal>&lt;!-- INCLUDE --&gt;</literal> - コールは、変数の置換が行われる前に処理されます。つまり、 + 文は、変数の置換が行われる前に処理されます。つまり、 <literal>&lt;!-- INCLUDE {placeholder} --&gt;</literal> は期待通りに動作しません。もちろん、実際に <filename>{placeholder}</filename> という名前のファイルがあって、 @@ -202,7 +214,7 @@ </example> </refsect2> </refsect1> - + <refsect1 id="package.html.html-template-sigma.intro-syntax.callback-shorthand"> <title>テンプレート関数の省略形</title> <para> @@ -217,7 +229,15 @@ とすることができます。自動的に登録されるテンプレート関数には次の三種類があります。 <itemizedlist> <listitem><simpara>'h' は <ulink url="&url.php.lookup;htmlspecialchars"><function>htmlspecialchars</function></ulink> と同じです。</simpara></listitem> + <listitem><simpara> + 'e' は <ulink url="&url.php.lookup;htmlentities"><function>htmlentities</function></ulink> + と同じです (リリース 1.2.0 以降で使用可能)。 + </simpara></listitem> <listitem><simpara>'u' は <ulink url="&url.php.lookup;urlencode"><function>urlencode</function></ulink> と同じです。</simpara></listitem> + <listitem><simpara> + 'r' は <ulink url="&url.php.lookup;rawurlencode"><function>rawurlencode</function></ulink> + と同じです (リリース 1.2.0 以降で使用可能)。 + </simpara></listitem> <listitem><simpara>'j' は <classname>Sigma</classname> のメソッドで、文字列をエスケープして Javascript の文字列定数として使用できるようにします。</simpara></listitem> </itemizedlist> </para> @@ -226,6 +246,27 @@ をテンプレートに追加すると、var の中の安全でない文字が HTML エンティティに置き換えられます。 </para> + <para> + リリース 1.2.0 以降、'h' コールバックおよび 'e' + コールバック用のパラメータ charset を + <link linkend="package.html.html-template-sigma.html-template-sigma.setoption"><function>setOption</function></link> + で指定できるようになりました。 + </para> + </refsect1> + + <refsect1 id="package.html.html-template-sigma.intro-syntax.comment"> + <title>テンプレートのコメント</title> + <para> + リリース 1.2.0 以降、コメントをテンプレートファイルに追加できるようになりました。 + <programlisting> + <![CDATA[ +<!-- COMMENT --> +Some text here +<!-- /COMMENT --> + ]]> + </programlisting> + このコメントは出力からは削除されます。この点が通常の HTML のコメントとは異なります。 + </para> </refsect1> <refsect1 id="package.html.html-template-sigma.intro-syntax.example"> @@ -262,6 +303,9 @@ <title>テンプレートファイル <filename>table_header.html</filename></title> <programlisting> <![CDATA[ +<!-- COMMENT --> +This text will not appear in output. +<!-- /COMMENT --> <tr> <th>First name</th> <th>Last name</th> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/authentication/auth/storage/ldap.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/ja/package/authentication/auth/storage/ldap.xml diff -u peardoc/ja/package/authentication/auth/storage/ldap.xml:1.4 peardoc/ja/package/authentication/auth/storage/ldap.xml:1.5 --- peardoc/ja/package/authentication/auth/storage/ldap.xml:1.4 Fri Jan 11 13:12:26 2008 +++ peardoc/ja/package/authentication/auth/storage/ldap.xml Mon Aug 11 03:41:26 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry id="package.authentication.auth.storage.ldap"> <refnamediv> <refname>Auth_Container_LDAP</refname> @@ -415,7 +415,7 @@ 'port' => '389', 'version' => 3, 'basedn' => 'o=netsols,c=de', - 'userattr' => 'uid' + 'userattr' => 'uid', 'binddn' => 'cn=admin,o=netsols,c=de', 'bindpw' => 'password' )); http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/ja/package/encryption.xml diff -u peardoc/ja/package/encryption.xml:1.4 peardoc/ja/package/encryption.xml:1.5 --- peardoc/ja/package/encryption.xml:1.4 Wed Mar 1 18:59:49 2006 +++ peardoc/ja/package/encryption.xml Mon Aug 11 03:41:26 2008 @@ -1,17 +1,19 @@ <?xml version="1.0" encoding="utf-8" ?> -<!-- EN-Revision: 1.6 Maintainer: Status: ready --> -<!-- $Id: encryption.xml,v 1.4 2006/03/01 18:59:49 elf Exp $ --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.7 Maintainer: takagi Status: ready --> +<!-- CREDITS: elf --> <chapter id="package.encryption"> <title>暗号化 (Encryption)</title> <para> - 暗号化および復号に関するパッケージ群です。 + 暗号化や復号、署名、検証、鍵の管理に関するパッケージ群です。 </para> &blankpagehack; - &package.encryption.crypt-chap; + &package.encryption.crypt-chap; + &package.encryption.crypt-gpg; </chapter> <!-- Keep this comment at the end of the file

« previous php.pear.doc (#11042) next »