mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
fix ws and translate a bit..
This commit is contained in:
@@ -4,13 +4,9 @@
|
|||||||
<title>Advanced Features</title>
|
<title>Advanced Features</title>
|
||||||
&programmers.advanced-features.advanced-features-objects;
|
&programmers.advanced-features.advanced-features-objects;
|
||||||
&programmers.advanced-features.advanced-features-prefilters;
|
&programmers.advanced-features.advanced-features-prefilters;
|
||||||
|
|
||||||
&programmers.advanced-features.advanced-features-postfilters;
|
&programmers.advanced-features.advanced-features-postfilters;
|
||||||
|
|
||||||
&programmers.advanced-features.advanced-features-outputfilters;
|
&programmers.advanced-features.advanced-features-outputfilters;
|
||||||
|
|
||||||
&programmers.advanced-features.section-template-cache-handler-func;
|
&programmers.advanced-features.section-template-cache-handler-func;
|
||||||
|
|
||||||
&programmers.advanced-features.template-resources;
|
&programmers.advanced-features.template-resources;
|
||||||
</chapter>
|
</chapter>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="windows-1251"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<chapter id="api.functions">
|
<chapter id="api.functions">
|
||||||
<title>Methods</title>
|
<title>Methods</title>
|
||||||
@@ -42,3 +42,23 @@
|
|||||||
&programmers.api-functions.api-unregister-prefilter;
|
&programmers.api-functions.api-unregister-prefilter;
|
||||||
&programmers.api-functions.api-unregister-resource;
|
&programmers.api-functions.api-unregister-resource;
|
||||||
</chapter>
|
</chapter>
|
||||||
|
<!-- 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
|
||||||
|
-->
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="windows-1251"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<chapter id="api.variables">
|
<chapter id="api.variables">
|
||||||
<title>Variables</title>
|
<title><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></title>
|
||||||
|
|
||||||
&programmers.api-variables.variable-template-dir;
|
&programmers.api-variables.variable-template-dir;
|
||||||
&programmers.api-variables.variable-compile-dir;
|
&programmers.api-variables.variable-compile-dir;
|
||||||
&programmers.api-variables.variable-config-dir;
|
&programmers.api-variables.variable-config-dir;
|
||||||
|
@@ -1,12 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="windows-1251"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<chapter id="caching">
|
<chapter id="caching">
|
||||||
<title>Caching</title>
|
<title>Caching</title>
|
||||||
<para>
|
<para>
|
||||||
Caching is used to speed up a call to <link
|
Caching is used to speed up a call to
|
||||||
linkend="api.display">display()</link> or <link
|
<link linkend="api.display">display()</link> or
|
||||||
linkend="api.fetch">fetch()</link> by saving its output to a file. If a
|
<link linkend="api.fetch">fetch()</link> by saving its output to a file.
|
||||||
cached version of the call is available, that is displayed instead of
|
If a cached version of the call is available, that is displayed instead of
|
||||||
regenerating the output. Caching can speed things up tremendously,
|
regenerating the output. Caching can speed things up tremendously,
|
||||||
especially templates with longer computation times. Since the output of
|
especially templates with longer computation times. Since the output of
|
||||||
display() or fetch() is cached, one cache file could conceivably be made up
|
display() or fetch() is cached, one cache file could conceivably be made up
|
||||||
@@ -20,9 +20,11 @@
|
|||||||
displaying a page with a weather map containing new information by the
|
displaying a page with a weather map containing new information by the
|
||||||
minute, it would not make sense to cache this page.
|
minute, it would not make sense to cache this page.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
&programmers.caching.caching-setting-up;
|
&programmers.caching.caching-setting-up;
|
||||||
&programmers.caching.caching-multiple-caches;
|
&programmers.caching.caching-multiple-caches;
|
||||||
&programmers.caching.caching-groups;
|
&programmers.caching.caching-groups;
|
||||||
|
|
||||||
</chapter>
|
</chapter>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
Local variables:
|
Local variables:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="windows-1251"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<chapter id="plugins">
|
<chapter id="plugins">
|
||||||
<title>Extending Smarty With Plugins</title>
|
<title>Extending Smarty With Plugins</title>
|
||||||
@@ -47,23 +47,14 @@
|
|||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
&programmers.plugins.plugins-naming-conventions;
|
&programmers.plugins.plugins-naming-conventions;
|
||||||
|
|
||||||
&programmers.plugins.plugins-writing;
|
&programmers.plugins.plugins-writing;
|
||||||
|
|
||||||
&programmers.plugins.plugins-functions;
|
&programmers.plugins.plugins-functions;
|
||||||
|
|
||||||
&programmers.plugins.plugins-modifiers;
|
&programmers.plugins.plugins-modifiers;
|
||||||
|
|
||||||
&programmers.plugins.plugins-block-functions;
|
&programmers.plugins.plugins-block-functions;
|
||||||
|
|
||||||
&programmers.plugins.plugins-compiler-functions;
|
&programmers.plugins.plugins-compiler-functions;
|
||||||
|
|
||||||
&programmers.plugins.plugins-prefilters-postfilters;
|
&programmers.plugins.plugins-prefilters-postfilters;
|
||||||
|
|
||||||
&programmers.plugins.plugins-outputfilters;
|
&programmers.plugins.plugins-outputfilters;
|
||||||
|
|
||||||
&programmers.plugins.plugins-resources;
|
&programmers.plugins.plugins-resources;
|
||||||
|
|
||||||
&programmers.plugins.plugins-inserts;
|
&programmers.plugins.plugins-inserts;
|
||||||
</chapter>
|
</chapter>
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
|
@@ -1,24 +1,28 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="windows-1251"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<chapter id="smarty.constants">
|
<chapter id="smarty.constants">
|
||||||
<title>Constants</title>
|
<title><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></title>
|
||||||
<para></para>
|
<para></para>
|
||||||
|
|
||||||
<sect1 id="constant.smarty.dir">
|
<sect1 id="constant.smarty.dir">
|
||||||
<title>SMARTY_DIR</title>
|
<title>SMARTY_DIR</title>
|
||||||
<para>
|
<para>
|
||||||
This should be the full system path to the location of the Smarty
|
<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||||
class files. If this is not defined, then Smarty will attempt to
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||||
determine the appropriate value automatically. If defined, the path
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
must end with a slash.
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>SMARTY_DIR</title>
|
<title>SMARTY_DIR</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
<![CDATA[
|
||||||
|
|
||||||
// set path to Smarty directory
|
// set path to Smarty directory
|
||||||
define("SMARTY_DIR","/usr/local/lib/php/Smarty/");
|
define("SMARTY_DIR","/usr/local/lib/php/Smarty/");
|
||||||
|
require_once(SMARTY_DIR."Smarty.class.php");
|
||||||
|
|
||||||
require_once(SMARTY_DIR."Smarty.class.php");</programlisting>
|
]]>
|
||||||
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
Reference in New Issue
Block a user