mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-09 00:31:45 +01:00
added Japanese translation files.
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready -->
|
||||
<!-- CREDITS: mat-sh,daichi,joe -->
|
||||
<sect1 id="variable.debugging.ctrl">
|
||||
<title>$debugging_ctrl</title>
|
||||
<para>
|
||||
デバッギングコンソールを有効にするための $debugging に代わる方法です。
|
||||
<literal>NONE</literal> は、これを無効にする事を意味します。
|
||||
<literal>URL</literal> は、<literal>QUERY_STRING</literal> の中にキーワード
|
||||
<literal>SMARTY_DEBUG</literal> が含まれていた時に
|
||||
デバッギングコンソールが有効になる事を意味します。
|
||||
<link linkend="variable.debugging">
|
||||
<parameter>$debugging</parameter></link> が &true;
|
||||
の場合は、この設定は無視されます。
|
||||
</para>
|
||||
<example>
|
||||
<title>localhost での $debugging_ctrl</title>
|
||||
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// localhost 上で実行した場合にのみ、
|
||||
// http://localhost/script.php?foo=bar&SMARTY_DEBUG
|
||||
// でデバッグコンソールを表示します
|
||||
$smarty->debugging = false; // デフォルト
|
||||
$smarty->debugging_ctrl = ($_SERVER['SERVER_NAME'] == 'localhost') ? 'URL' : 'NONE';
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
||||
<para>
|
||||
<link linkend="chapter.debugging.console">デバッギングコンソール</link>
|
||||
および
|
||||
<link linkend="variable.debugging"><parameter>$debugging</parameter></link>
|
||||
も参照してください。
|
||||
</para>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
Reference in New Issue
Block a user