cvs: smarty /docs/ru/programmers/api-variables variable-autoload-filters.xml variable-cache-dir.xml variable-cache-handler-func.xml variable-cache-lifetime.xml variable-cache-modified-check.xml variable-caching.xml variable-compile-check.xml variable-compile-dir.xml variable-compile-id.xml variable-compiler-class.xml variable-config-booleanize.xml variable-config-dir.xml variable-config-fix-newlines.xml variable-config-overwrite.xml variable-config-read-hidden.xml variable-debug-tpl.xml variable-debugging-ctrl.xml variable-debugging.xml variable-default-modifiers.xml variable-default-template-handler-func.xml variable-force-compile.xml variable-global-assign.xml variable-left-delimiter.xml
"Antony Dovgal" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvstony20011087459189@cvsserver> |
tony2001 Thu Jun 17 03:59:49 2004 EDT
Modified files:
/smarty/docs/ru/programmers/api-variables
variable-autoload-filters.xml
variable-cache-dir.xml
variable-cache-handler-func.xml
variable-cache-lifetime.xml
variable-cache-modified-check.xml
variable-caching.xml
variable-compile-check.xml
variable-compile-dir.xml
variable-compile-id.xml
variable-compiler-class.xml
variable-config-booleanize.xml
variable-config-dir.xml
variable-config-fix-newlines.xml
variable-config-overwrite.xml
variable-config-read-hidden.xml
variable-debug-tpl.xml
variable-debugging-ctrl.xml
variable-debugging.xml
variable-default-modifiers.xml
variable-default-template-handler-func.xml
variable-force-compile.xml
variable-global-assign.xml
variable-left-delimiter.xml
Log:
add texts, translated by silex [at] bk [dot] ru
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tony2001-20040617035949.txt
(text/plain, 52.9 KB)
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-autoload-filters.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-autoload-filters.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-autoload-filters.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-autoload-filters.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-autoload-filters.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-autoload-filters.xml Thu Jun 17 03:59:48 2004
@@ -1,20 +1,23 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.autoload.filters">
- <title>$autoload_filters</title>
- <para>
- If there are some filters that you wish to load on every template
- invocation, you can specify them using this variable and Smarty will
- automatically load them for you. The variable is an associative array
- where keys are filter types and values are arrays of the filter
- names. For example:
- <informalexample>
- <programlisting>
-$smarty->autoload_filters = array('pre' => array('trim', 'stamp'),
- 'output' => array('convert'));
- </programlisting>
- </informalexample>
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.autoload.filters">
+ <title>$autoload_filters</title>
+ <para>
+ Ïðè íåîáõîäèìîñòè çàãðóçêè ïðè êàæäîì âûçîâå øàáëîíîâ íåêîòîðîãî
+ êîëè÷åñòâà ôèëüòðîâ, âû ìîæåòå îïðåäåëèòü èõ, èñïîëüçóÿ ýòó ïåðåìåííóþ,
+ è Smarty àâòîìàòè÷åñêè èõ çàãðóçèò. Ïåðåìåííàÿ ïðåäñòàâëÿåò èç ñåáÿ
+ àññîöèàòèâíûé ìàññèâ, êëþ÷è â êîòîðîì ÿâëÿþòñÿ òèïàìè ôèëüòðîâ, à çíà÷åíèÿ
+ - ìàññèâàìè èìåí ôèëüòðîâ. Íàïðèìåð:
+ <informalexample>
+ <programlisting role="php">
+<![CDATA[
+ $smarty->autoload_filters = array('pre' => array('trim', 'stamp'),
+ 'output' => array('convert'));
+]]>
+ </programlisting>
+ </informalexample>
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -35,4 +38,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-cache-dir.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-cache-dir.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-cache-dir.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-cache-dir.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-cache-dir.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-cache-dir.xml Thu Jun 17 03:59:48 2004
@@ -1,29 +1,29 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.cache.dir">
- <title>$cache_dir</title>
- <para>
- This is the name of the directory where template caches are
- stored. By default this is "./cache", meaning that it will look
- for the cache directory in the same directory as the executing
- php script. You can also use your own custom cache handler
- function to control cache files, which will ignore this
- setting.
- </para>
- <note>
- <title>Technical Note</title>
- <para>
- This setting must be either a relative or
- absolute path. include_path is not used for writing files.
- </para>
- </note>
- <note>
- <title>Technical Note</title>
- <para>
- It is not recommended to put this directory under
- the web server document root.
- </para>
- </note>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.cache.dir">
+ <title>$cache_dir</title>
+ <para>
+ Èìÿ êàòàëîãà, â êîòîðîì õðàíèòñÿ êýø øàáëîíîâ. Ïî óìîë÷àíèþ
+ óñòàíîâëåíî â "./cache". Ýòî îçíà÷àåò, ÷òî ïîèñê êàòàëîãà ñ êýøåì
+ áóäåò ïðîèçâîäèòüñÿ â òîì æå êàòàëîãå, â êîòîðîì âûïîëíÿåòñÿ
+ ñêðèïò. Âû òàêæå ìîæåòå èñïîëüçîâàòü ñîáñòâåííóþ ôóíêöèþ-îáðàáîò÷èê
+ äëÿ óïðàâëåíèÿ ôàéëàìè êýøà, êîòîðàÿ áóäåò èãíîðèðîâàòü ýòîò ïàðàìåòð.
+ </para>
+ <note>
+ <title>Òåõíè÷åñêîå çàìå÷àíèå</title>
+ <para>
+ Ïðè óñòàíîâêå ýòîãî ïàðàìåòðà ìîæíî èñïîëüçîâàòü êàê îòíîñèòåëüíûå,
+ òàê è àáñîëþòíûå ïóòè. Äëÿ ñîçäàâàåìûõ ôàéëîâ include_path íå èñïîëüçóåòñÿ.
+ </para>
+ </note>
+ <note>
+ <title>Òåõíè÷åñêîå çàìå÷àíèå</title>
+ <para>
+ Íå ðåêîìåíäóåòñÿ ïîìåùàòü ýòîò êàòàëîã âíóòðè êîðíåâîãî êàòàëîãà äîêóìåíòîâ
+ âåá-ñåðâåðà.
+ </para>
+ </note>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -44,4 +44,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-cache-handler-func.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-cache-handler-func.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-cache-handler-func.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-cache-handler-func.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-cache-handler-func.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-cache-handler-func.xml Thu Jun 17 03:59:48 2004
@@ -1,12 +1,14 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.cache.handler.func">
- <title>$cache_handler_func</title>
- <para>
- You can supply a custom function to handle cache files instead
- of using the built-in method using the $cache_dir. See the
- custom cache handler function section for details.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.cache.handler.func">
+ <title>$cache_handler_func</title>
+ <para>
+ Âû ìîæåòå äîáàâèòü ñîáñòâåííóþ ôóíêöèþ äëÿ óïðàâëåíèÿ ôàéëàìè êýøà
+ âìåñòî âûçîâîâ âñòðîåííîãî ìåòîäà, èñïîëüçóÿ $cache_dir.
+ Ïîäðîáíåå ñì. â ðàçäåëå, îïèñûâàþùåì ôóíêöèè äëÿ ðàáîòû
+ ñ êýøåì.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -27,4 +29,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-cache-lifetime.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-cache-lifetime.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-cache-lifetime.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-cache-lifetime.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-cache-lifetime.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-cache-lifetime.xml Thu Jun 17 03:59:48 2004
@@ -1,33 +1,35 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.cache.lifetime">
- <title>$cache_lifetime</title>
- <para>
- This is the length of time in seconds that a template cache is valid.
- Once this time has expired, the cache will be regenerated. $caching must
- be set to "true" for $cache_lifetime to have any purpose. A value of -1
- will force the cache to never expire. A value of 0 will cause the cache
- to always regenerate (good for testing only, to disable caching a more
- efficient method is to set <link
- linkend="variable.caching">$caching</link> = false.)
- </para>
- <para>
- If <link linkend="variable.force.compile">$force_compile</link> is
- enabled, the cache files will be regenerated every time, effectively
- disabling caching. You can clear all the cache files with the <link
- linkend="api.clear.all.cache">clear_all_cache()</link> function, or
- individual cache files (or groups) with the <link
- linkend="api.clear.cache">clear_cache()</link> function.
- </para>
- <note>
- <title>Technical Note</title>
- <para>
- If you want to give certain templates their own cache lifetime, you could
- do this by setting <link linkend="variable.caching">$caching</link> = 2,
- then set $cache_lifetime to a unique value just before calling display()
- or fetch().
- </para>
- </note>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.cache.lifetime">
+ <title>$cache_lifetime</title>
+ <para>
+ Çàäàåò äëèòåëüíîñòü âðåìåíè â ñåêóíäàõ, â òå÷åíèå êîòîðîãî êýø øàáëîíà
+ áóäåò àêòóàëüíûì. Ïî èñòå÷åíèè ýòîãî âðåìåíè êýø áóäåò ðåãåíåðèðîâàí.
+ Ïåðåìåííàÿ $caching äîëæíà áûòü óñòàíîâëåíà â "true" ïðè èñïîëüçîâàíèè
+ $cache_lifetime. Çíà÷åíèå ïåðåìåííîé -1 çàäàåò íåîãðàíè÷åííîå âðåìÿ
+ æèçíè êýøà. Çíà÷åíèå ïåðåìåííîé 0 âûçîâåò ïîñòîÿííóþ åãî ðåãåíåðàöèþ
+ (ïîäõîäèò òîëüêî äëÿ òåñòèðîâàíèÿ, äëÿ îòêëþ÷åíèÿ êýøèðîâàíèÿ áîëåå
+ öåëåñîîáðàçíî óñòàíàâëèâàòü
+ <link linkend="variable.caching">$caching</link> = false.)
+ </para>
+ <para>
+ Åñëè <link linkend="variable.force.compile">$force_compile</link>
+ àêòèâèðîâàíî, ôàéëû êýøà áóäóò êàæäûé ðàç áóäóò ðåãåíåðèðîâàòüñÿ,
+ îòêëþ÷àÿ òàêèì îáðàçîì êýøèðîâàíèå. Âû ìîæåòå î÷èñòèòü ñðàçó âñå ôàéëû êýøà,
+ èñïîëüçóÿ ôóíêöèþ <link linkend="api.clear.all.cache">clear_all_cache()</link>,
+ èëè â ñëó÷àå ñ êîíêðåòíûìè ôàéëàìè (ãðóïïàìè) êýøà - ïðè ïîìîùè ôóíêöèè
+ <link linkend="api.clear.cache">clear_cache()</link>.
+ </para>
+ <note>
+ <title>Òåõíè÷åñêîå çàìå÷àíèå</title>
+ <para>
+ Åñëè âû õîòèòå íàçíà÷èòü êîíêðåòíûì øàáëîíàì ñîáñòâåííîå âðåìÿ æèçíè èõ êýøà,
+ âû ìîæåòå ñäåëàòü ýòî ïóòåì óñòàíîâêè <link linkend="variable.caching">$caching
+ </link> = 2, çàòåì óñòàíîâêîé $cache_lifetime â íóæíîå çíà÷åíèå ïåðåä âûçîâîì
+ display() èëè fetch().
+ </para>
+ </note>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -48,4 +50,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-cache-modified-check.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-cache-modified-check.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-cache-modified-check.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-cache-modified-check.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-cache-modified-check.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-cache-modified-check.xml Thu Jun 17 03:59:48 2004
@@ -1,14 +1,16 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.cache.modified.check">
- <title>$cache_modified_check</title>
- <para>
- If set to true, Smarty will respect the If-Modified-Since
- header sent from the client. If the cached file timestamp has
- not changed since the last visit, then a "304 Not Modified"
- header will be sent instead of the content. This works only on
- cached content without <command>insert</command> tags.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.cache.modified.check">
+ <title>$cache_modified_check</title>
+ <para>
+ Åñëè óñòàíîâëåíî â true, Smarty áóäåò ó÷èòûâàòü If-Modified-Since
+ çàãîëîâîê, ïîñëàííûé êëèåíòîì. Åñëè âðåìÿ ñîçäàíèÿ êýøèðîâàííîãî
+ ôàéëà íå èçìåíèëîñü ñ ìîìåíòà ïîñëåäíåãî ïîñåùåíèÿ, òî âçàìåí åãî
+ ñîäåðæèìîãî áóäåò ïîñëàí çàãîëîâîê "304 Not Modified". Ýòî ðàáîòàåò
+ òîëüêî â ñëó÷àå, åñëè êýøèðîâàííîå ñîäåðæèìîå íå ñîäåðæèò òýãîâ
+ <command>insert</command>.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -29,4 +31,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-caching.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-caching.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-caching.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-caching.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-caching.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-caching.xml Thu Jun 17 03:59:48 2004
@@ -1,26 +1,28 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.caching">
- <title>$caching</title>
- <para>
- This tells Smarty whether or not to cache the output of the templates.
- By default this is set to 0, or disabled. If your templates generate
- redundant redundant content, it is advisable to turn on caching. This
- will result in significant performance gains. You can also have multiple
- caches for the same template. A value of 1 or 2 enables caching. 1 tells
- Smarty to use the current $cache_lifetime variable to determine if the
- cache has expired. A value of 2 tells Smarty to use the cache_lifetime
- value at the time the cache was generated. This way you can set the
- cache_lifetime just before fetching the template to have granular
- control over when that particular cache expires. See also <link
- linkend="api.is.cached">is_cached</link>.
- </para>
- <para>
- If $compile_check is enabled, the cached content will be regenerated if
- any of the templates or config files that are part of this cache are
- changed. If $force_compile is enabled, the cached content will always be
- regenerated.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.caching">
+ <title>$caching</title>
+ <para>
+ Ñîîáùàåò Smarty, áóäåò èëè íåò êýøèðîâàòüñÿ âûâîä øàáëîíîâ. Ïî óìîë÷àíèþ
+ ýòîò ïàðàìåòð óñòàíîâëåí â 0, ò.å. íå àêòèâèðîâàí. Åñëè âàøè øàáëîíû
+ ãåíåðèðóþò áîëüøèå îáúåìû êîäà, ðåêîìåíäóåòñÿ àêòèâèðîâàòü êýøèðîâàíèå - ýòî
+ äàñò îùóòèìûé ïðèðîñò â ïðîèçâîäèòåëüíîñòè. Âû òàêæå ìîæåòå èñïîëüçîâàòü
+ ìíîæåñòâåííûé êýø øàáëîíîâ. Çíà÷åíèå 1 èëè 2 àêòèâèðóåò êýøèðîâàíèå.
+ Ïðè çàäàíèè çíà÷åíèÿ 1, äëÿ îïðåäåëåíèÿ âðåìåíè æèçíè êýøà èñïîëüçóåòñÿ
+ òåêóùåå çíà÷åíèå ïåðåìåííîé $cache_lifetime. Çíà÷åíèå 2 çàäàåò Smarty
+ èñïîëüçîâàòü çíà÷åíèå cache_lifetime âî âðåìÿ îêîí÷àíèÿ ãåíåðàöèè êýøà. Â
+ ýòîì ñëó÷àå âû ìîæåòå óñòàíàâëèâàòü cache_lifetime íåïîñðåäñòâåííî ïåðåä
+ îáðàáîòêîé øàáëîíà äëÿ îñóùåñòâëåíèÿ ãèáêîãî êîíòðîëÿ çà èñòå÷åíèåì âðåìåíè
+ æèçíè êîíêðåòíîãî ýêçåìïëÿðà êýøà. Ñì. òàêæå <link linkend="api.is.cached">
+ is_cached</link>.
+ </para>
+ <para>
+ Åñëè ïàðàìåòð $compile_check àêòèâèðîâàí, êýø áóäåò îáíîâëÿòüñÿ â ñëó÷àå,
+ êîãäà ëþáîé èç øàáëîíîâ èëè êîíôèãóðàöèîííûõ ôàéëîâ, ÿâëÿþùèõñÿ ÷àñòüþ
+ ýòîãî êýøà, áûë èçìåíåí. Åñëè àêòèâèðîâàí $force_compile, êýø áóäåò
+ îáíîâëÿòüñÿ âî âñåõ ñëó÷àÿõ.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -41,4 +43,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-compile-check.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-compile-check.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-compile-check.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-compile-check.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-compile-check.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-compile-check.xml Thu Jun 17 03:59:48 2004
@@ -1,23 +1,25 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.compile.check">
- <title>$compile_check</title>
- <para>
- Upon each invocation of the PHP application, Smarty tests to see if the
- current template has changed (different time stamp) since the last time
- it was compiled. If it has changed, it recompiles that template. If the
- template has not been compiled, it will compile regardless of this
- setting. By default this variable is set to true. Once an application is
- put into production (templates won't be changing), the compile_check
- step is no longer needed. Be sure to set $compile_check to "false" for
- maximal performance. Note that if you change this to "false" and a
- template file is changed, you will *not* see the change since the
- template will not get recompiled. If caching is enabled and
- compile_check is enabled, then the cache files will get regenerated if
- an involved template file or config file was updated. See <link
- linkend="variable.force.compile">$force_compile</link> or <link
- linkend="api.clear.compiled.tpl">clear_compiled_tpl</link>.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.compile.check">
+ <title>$compile_check</title>
+ <para>
+ Ïðè êàæäîì âûçîâå ÐÍÐ-ïðèëîæåíèÿ Smarty ïðîâåðÿåò, èçìåíèëñÿ èëè íåò
+ òåêóùèé øàáëîí ñ ìîìåíòà ïîñëåäíåé êîìïèëÿöèè. Åñëè øàáëîí èçìåíèëñÿ,
+ îí ïåðåêîìïèëèðóåòñÿ.  ñëó÷àå, åñëè øàáëîí åùå íå áûë ñêîìïèëèðîâàí,
+ åãî êîìïèëÿöèÿ ïðîèçâîäèòñÿ ñ èãíîðèðîâàíèåì çíà÷åíèÿ ýòîãî ïàðàìåòðà.
+ Ïî óìîë÷àíèþ ýòà ïåðåìåííàÿ óñòàíîâëåíà â true.  ìîìåíò, êîãäà ïðèëîæåíèå
+ íà÷íåò ðàáîòàòü â ðåàëüíûõ óñëîâèÿõ (øàáëîíû áîëüøå íå áóäóò èçìåíÿòüñÿ),
+ ýòàï ïðîâåðêè êîìïèëÿöèè ñòàíîâèòñÿ íåíóæíûì.  ýòîì ñëó÷àå ïðîâåðüòå, ÷òîáû
+ ïåðåìåííàÿ $compile_check áûëà óñòàíîâëåíà â "false" äëÿ äîñòèæåíèÿ
+ ìàêñèìàëüíîé ïðîèçâîäèòåëüíîñòè. Ó÷òèòå, ÷òî åñëè âû ïðèñâîèòå ýòîé ïåðåìåííîé
+ çíà÷åíèå "false", è ôàéë øàáëîíà áóäåò èçìåíåí, âû *ÍÅ* óâèäèòå èçìåíåíèé
+ â âûâîäå øàáëîíà äî òåõ ïîð, ïîêà øàáëîí íå áóäåò ïåðåêîìïèëèðîâàí. Åñëè
+ caching è compile_check àêòèâèðîâàíû, ôàéëû êýøà áóäóò ðåãåíåðèðîâàíû ïðè
+ îáíîâëåíèè ñâÿçàííûõ ñ íèì øàáëîíîâ èëè êîíôèãóðàöèîííûõ ôàéëîâ. Ñì.
+ <link linkend="variable.force.compile">$force_compile</link> èëè
+ <link linkend="api.clear.compiled.tpl">clear_compiled_tpl</link>.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -38,4 +40,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-compile-dir.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-compile-dir.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-compile-dir.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-compile-dir.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-compile-dir.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-compile-dir.xml Thu Jun 17 03:59:48 2004
@@ -1,26 +1,27 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.compile.dir">
- <title>$compile_dir</title>
- <para>
- This is the name of the directory where compiled templates are
- located. By default this is "./templates_c", meaning that it
- will look for the compile directory in the same directory as
- the executing php script.
- </para>
- <note>
- <title>Technical Note</title>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.compile.dir">
+ <title>$compile_dir</title>
+ <para>
+ Èìÿ êàòàëîãà, â êîòîðîì õðàíÿòñÿ êîìïèëèðîâàííûå øàáëîíû. Ïî
+ óìîë÷àíèþ óñòàíîâëåíî â "./templates_c", ò.å. ïîèñê êàòàëîãà ñ
+ êîìïèëèðîâàííûìè øàáëîíàìè áóäåò ïðîèçâîäèòüñÿ â òîì æå êàòàëîãå,
+ â êîòîðîì âûïîëíÿåòñÿ ñêðèïò.
+ </para>
+ <note>
+ <title>Òåõíè÷åñêîå çàìå÷àíèå</title>
<para>
- This setting must be either a relative or
- absolute path. include_path is not used for writing files.
- </para>
- </note>
- <note>
- <title>Technical Note</title>
+ Ïðè óñòàíîâêå ýòîãî ïàðàìåòðà ìîæíî èñïîëüçîâàòü êàê îòíîñèòåëüíûå,
+ òàê è àáñîëþòíûå ïóòè. Äëÿ ñîçäàâàåìûõ ôàéëîâ include_path íå èñïîëüçóåòñÿ.
+ </para>
+ </note>
+ <note>
+ <title>Òåõíè÷åñêîå çàìå÷àíèå</title>
<para>
- It is not recommended to put this directory under
- the web server document root.
- </para>
+ Íå ðåêîìåíäóåòñÿ ïîìåùàòü ýòîò êàòàëîã âíóòðè êîðíåâîãî êàòàëîãà äîêóìåíòîâ
+ âåá-ñåðâåðà.
+ </para>
</note>
</sect1>
<!-- Keep this comment at the end of the file
@@ -42,4 +43,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-compile-id.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-compile-id.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-compile-id.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-compile-id.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-compile-id.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-compile-id.xml Thu Jun 17 03:59:48 2004
@@ -1,12 +1,14 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.compile.id">
- <title>$compile_id</title>
- <para>
- Persistant compile identifier. As an alternative to passing the same
- compile_id to each and every function call, you can set this compile_id
- and it will be used implicitly thereafter.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.compile.id">
+ <title>$compile_id</title>
+ <para>
+ Ïîñòîÿííûé èäåíòèôèêàòîð êîìïèëÿöèè. Êàê àëüòåðíàòèâó èñïîëüçîâàíèþ îäíîãî
+ è òîãî æå compile_id ïðè êàæäîì âûçîâå ôóíêöèè, âû ìîæåòå ñàìîñòîÿòåëüíî
+ çàäàâàòü ýòîò èäåíòèôèêàòîð, è â ýòîì ñëó÷àå áóäåò èñïîëüçîâàòüñÿ èìåííî
+ ýòî çíà÷åíèå.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -27,4 +29,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-compiler-class.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-compiler-class.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-compiler-class.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-compiler-class.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-compiler-class.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-compiler-class.xml Thu Jun 17 03:59:48 2004
@@ -1,12 +1,13 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.compiler.class">
- <title>$compiler_class</title>
- <para>
- Specifies the name of the compiler class that Smarty will use
- to compile the templates. The default is 'Smarty_Compiler'. For
- advanced users only.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.compiler.class">
+ <title>$compiler_class</title>
+ <para>
+ Çàäàåò èìÿ êëàññà-êîìïèëÿòîðà, êîòîðûé Smarty áóäåò èñïîëüçîâàòü
+ äëÿ êîìïèëÿöèè øàáëîíîâ. Ïî óìîë÷àíèþ ýòî 'Smarty_Compiler'. Òîëüêî
+ äëÿ ïðîäâèíóòûõ ïîëüçîâàòåëåé.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -27,4 +28,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-config-booleanize.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-config-booleanize.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-config-booleanize.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-config-booleanize.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-config-booleanize.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-config-booleanize.xml Thu Jun 17 03:59:48 2004
@@ -1,13 +1,15 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.config.booleanize">
- <title>$config_booleanize</title>
- <para>
- If set to true, config file values of on/true/yes and off/false/no get
- converted to boolean values automatically. This way you can use the
- values in the template like so: {if #foobar#} ... {/if}. If foobar was
- on, true or yes, the {if} statement will execute. true by default.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.config.booleanize">
+ <title>$config_booleanize</title>
+ <para>
+ Åñëè óñòàíîâëåíî â true, çíà÷åíèÿ ïàðàìåòðîâ êîíôèãóðàöèîííûõ ôàéëîâ
+ on/true/yes è off/false/no áóäóò êîíâåðòèðîâàíû â áóëåâû çíà÷åíèÿ àâòîìàòè÷åñêè.
+  ýòîì ñëó÷àå âû ìîæåòå èñïîëüçîâàòü â øàáëîíå êîíñòðóêöèè, ïîäîáíûå ýòîé:
+ {if #foobar#} ... {/if}. Åñëè foobar ðàâíî on, true èëè yes, áóäåò îñóùåñòâëåí
+ ïåðåõîä ïî óñëîâèþ {if}. Ïî óìîë÷àíèþ ðàâíî true.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -28,4 +30,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-config-dir.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-config-dir.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-config-dir.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-config-dir.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-config-dir.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-config-dir.xml Thu Jun 17 03:59:48 2004
@@ -1,19 +1,20 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.config.dir">
- <title>$config_dir</title>
- <para>
- This is the directory used to store config files used in the
- templates. Default is "./configs", meaning that it will look
- for the configs directory in the same directory as the
- executing php script.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.config.dir">
+ <title>$config_dir</title>
+ <para>
+ Êàòàëîã äëÿ õðàíåíèÿ êîíôèãóðàöèîííûõ ôàéëîâ, èñïîëüçóåìûõ
+ â øàáëîíàõ. Ïî óìîë÷àíèþ óñòàíîâëåíî â "./configs", ò.å. ïîèñê
+ êàòàëîãà ñ êîíôèãóðàöèîííûìè ôàéëàìè áóäåò ïðîèçâîäèòüñÿ â òîì
+ æå êàòàëîãå, â êîòîðîì âûïîëíÿåòñÿ ñêðèïò.
+ </para>
<note>
- <title>Technical Note</title>
+ <title>Òåõíè÷åñêîå çàìå÷àíèå</title>
<para>
- It is not recommended to put this directory under
- the web server document root.
- </para>
+ Íå ðåêîìåíäóåòñÿ ïîìåùàòü ýòîò êàòàëîã âíóòðè êîðíåâîãî êàòàëîãà äîêóìåíòîâ
+ âåá-ñåðâåðà.
+ </para>
</note>
</sect1>
<!-- Keep this comment at the end of the file
@@ -35,4 +36,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-config-fix-newlines.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-config-fix-newlines.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-config-fix-newlines.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-config-fix-newlines.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-config-fix-newlines.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-config-fix-newlines.xml Thu Jun 17 03:59:48 2004
@@ -1,11 +1,13 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.config.fix.newlines">
- <title>$config_fix_newlines</title>
- <para>
- If set to true, mac and dos newlines (\r and \r\n) in config files are
- converted to \n when they are parsed. true by default.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.config.fix.newlines">
+ <title>$config_fix_newlines</title>
+ <para>
+ Åñëè óñòàíîâëåíî â true, ïåðåâîäû ñòðîê â ñòèëå mac è dos (\r è \r\n)
+ â êîíôèãóðàöèîííûõ ôàéëàõ áóäóò êîíâåðòèðîâàíû â \n ïðè ñèíòàêñè÷åñêîì
+ ðàçáîðå. Ïî óìîë÷àíèþ ðàâíî true.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -26,4 +28,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-config-overwrite.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-config-overwrite.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-config-overwrite.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-config-overwrite.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-config-overwrite.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-config-overwrite.xml Thu Jun 17 03:59:48 2004
@@ -1,13 +1,14 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.config.overwrite">
- <title>$config_overwrite</title>
- <para>
- If set to true, variables read in from config files will overwrite each
- other. Otherwise, the variables will be pushed onto an array. This is
- helpful if you want to store arrays of data in config files, just list
- each element multiple times. true by default.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.config.overwrite">
+ <title>$config_overwrite</title>
+ <para>
+ Åñëè óñòàíîâëåíî â true, ïåðåìåííûå, ïîëó÷åííûå èç êîíôèãóðàöèîííûõ ôàéëîâ,
+ áóäóò ïåðåêðûâàòü âñå îñòàëüíûå.  ëáîì ñëó÷àå, ïåðåìííûå áóäóò ïîìåùåíû â
+ ìàññèâ. Ýòî óäîáíî, êîãäà âû õîòèòå õðàíèòü ìàññèâ äàííûõ â êîíôèãóðàöèîííîì
+ ôàéëå - ïðîñòî çàäàâàéòå êàæäûé ýëåìåíò ìíîãî ðàç. Ïî óìîë÷àíèþ true.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -28,4 +29,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-config-read-hidden.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-config-read-hidden.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-config-read-hidden.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-config-read-hidden.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-config-read-hidden.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-config-read-hidden.xml Thu Jun 17 03:59:48 2004
@@ -1,14 +1,16 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.config.read.hidden">
- <title>$config_read_hidden</title>
- <para>
- If set to true, hidden sections (section names beginning with a period)
- in config files can be read from templates. Typically you would leave
- this false, that way you can store sensitive data in the config files
- such as database parameters and not worry about the template loading
- them. false by default.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.config.read.hidden">
+ <title>$config_read_hidden</title>
+ <para>
+ Åñëè óñòàíîâëåíî â true, ñêðûòûå ðàçäåëû (èìåþùèå èìÿ, íà÷èíàþùèåñÿ ñ òî÷êè)
+ â êîíôèãóðàöèîííûõ ôàéëàõ ìîãóò áûòü äîñòóïíûìè èç øàáëîíîâ. Êàê ïðàâèëî,
+ ñëåäóåò óñòàíàâëèâàòü çíà÷åíèå ýòîãî ïàðàìåòðà â false: â ýòîì ñëó÷àå âû
+ ìîæåòå õðàíèòü âàæíûå äàííûå (íàïðèìåð, ïàðàìåòðû ïîäêëþ÷åíèÿ ê áàçå äàííûõ)
+ â êîíôèãóðàöèîííûõ ôàéëàõ, íå áåñïîêîÿñü, ÷òî îíè áóäóò çàãðóæåíû â øàáëîí.
+ Ïî óìîë÷àíèþ false.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -29,4 +31,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-debug-tpl.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-debug-tpl.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-debug-tpl.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-debug-tpl.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-debug-tpl.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-debug-tpl.xml Thu Jun 17 03:59:48 2004
@@ -1,12 +1,13 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.debug.tpl">
- <title>$debug_tpl</title>
- <para>
- This is the name of the template file used for the debugging console. By
- default, it is named debug.tpl and is located in the <link
- linkend="constant.smarty.dir">SMARTY_DIR</link>.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.debug.tpl">
+ <title>$debug_tpl</title>
+ <para>
+ Èìÿ ôàéëà øàáëîíà, èñïîëüçóåìîãî äëÿ ïàíåëè îòëàäêè (debugging console).
+ Ïî óìîë÷àíèþ ýòî ôàéë debug.tpl, ðàñïîëîæåííûé â <link
+ linkend="constant.smarty.dir">SMARTY_DIR</link>.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -27,4 +28,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-debugging-ctrl.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-debugging-ctrl.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-debugging-ctrl.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-debugging-ctrl.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-debugging-ctrl.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-debugging-ctrl.xml Thu Jun 17 03:59:48 2004
@@ -1,14 +1,16 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.debugging.ctrl">
- <title>$debugging_ctrl</title>
- <para>
- This allows alternate ways to enable debugging. NONE means no
- alternate methods are allowed. URL means when the keyword
- SMARTY_DEBUG is found in the QUERY_STRING, debugging is enabled
- for that invocation of the script. If $debugging is true, this
- value is ignored.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.debugging.ctrl">
+ <title>$debugging_ctrl</title>
+ <para>
+ Ïîçâîëÿåò àêòèâèðîâàòü ðåæèì îòëàäêè àëüòåðíàòèâíûìè ïóòÿìè.
+ Çíà÷åíèå NONE çàïðåùàåò èñïîëüçîâàòü àëüòåðíàòèâíûå ìåòîäû. Ïðè
+ çíà÷åíèè ïåðåìåííîé URL, ðåæèì îòëàäêè áóäåò àêòèâèðîâàí äëÿ äàííîãî
+ âûçîâà ñêðèïòà â ñëó÷àå, åñëè â QUERY_STRING áóäåò îáíàðóæåíî
+ êëþ÷åâîå ñëîâî SMARTY_DEBUG. Ýòîò ïàðàìåòð èãíîðèðóåòñÿ, åñëè
+ $debugging óñòàíîâëåíî â true.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -29,4 +31,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-debugging.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-debugging.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-debugging.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-debugging.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-debugging.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-debugging.xml Thu Jun 17 03:59:48 2004
@@ -1,14 +1,14 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.debugging">
- <title>$debugging</title>
- <para>
- This enables the <link
- linkend="chapter.debugging.console">debugging console</link>.
- The console is a javascript window that informs you of the
- included templates and assigned variables for the current
- template page.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.debugging">
+ <title>$debugging</title>
+ <para>
+ Àêòèâèðóåò <link linkend="chapter.debugging.console">debugging
+ console</link> - ïîðîæäåííîå ïðè ïîìîùè javascript îêíî áðàóçåðà,
+ ñîäåðæàùåå èíôîðìàöèþ î ïîäêëþ÷åííûõ øàáëîíàõ è çàãðóæåííûõ
+ ïåðåìåííûõ äëÿ òåêóùåé ñòðàíèöû.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -29,4 +29,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-default-modifiers.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-default-modifiers.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-default-modifiers.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-default-modifiers.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-default-modifiers.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-default-modifiers.xml Thu Jun 17 03:59:48 2004
@@ -1,15 +1,15 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.default.modifiers">
- <title>$default_modifiers</title>
- <para>
- This is an array of modifiers to implicitly apply to every variable in a
- template. For example, to HTML-escape every variable by default, use
- array('escape:"htmlall"'); To make a variable exempt from default
- modifiers, pass the special "smarty" modifier with a parameter value of
- "nodefaults" modifier to it, such as
- {$var|smarty:nodefaults}.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.default.modifiers">
+ <title>$default_modifiers</title>
+ <para>
+ Ìàññèâ ìîäèôèêàòîðîâ, íåÿâíî ïðèìåíÿåìûõ êî âñåì ïåðåìåííûì øàáëîíà.
+ Íàïðèìåð, äëÿ HTML-ýêðàíèðîâàíèÿ êàæäîé ïåðåìåííîé ïî óìîë÷àíèþ, èñïîëüçóåòñÿ
+ êîíñòðóêöèÿ array('escape:"htmlall"'); Äëÿ èñêëþ÷åíèÿ äåéñòâèÿ òàêèõ
+ ìîäèôèêàòîðîâ íà êàêóþ-ëèáî ïåðåìåííóþ, ïðèìåíÿéòå ñïåöèàëüíûé "smarty"
+ ìîäèôèêàòîð ñ ïàðàìåòðîì "nodefaults", íàïðèìåð {$var|smarty:nodefaults}.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -30,4 +30,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-default-template-handler-func.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-default-template-handler-func.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-default-template-handler-func.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-default-template-handler-func.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-default-template-handler-func.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-default-template-handler-func.xml Thu Jun 17 03:59:48 2004
@@ -1,11 +1,12 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.default.template.handler.func">
- <title>$default_template_handler_func</title>
- <para>
- This function is called when a template cannot be obtained from
- its resource.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.default.template.handler.func">
+ <title>$default_template_handler_func</title>
+ <para>
+ Ôóíêöèÿ, âûçûâàåìàÿ â ñëó÷àå, åñëè øàáëîí íå áûë ïîëó÷åí èç
+ ñâîåãî èñòî÷íèêà.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -26,4 +27,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-force-compile.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-force-compile.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-force-compile.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-force-compile.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-force-compile.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-force-compile.xml Thu Jun 17 03:59:48 2004
@@ -1,14 +1,16 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.force.compile">
- <title>$force_compile</title>
- <para>
- This forces Smarty to (re)compile templates on every
- invocation. This setting overrides $compile_check. By default
- this is disabled. This is handy for development and debugging.
- It should never be used in a production environment. If caching
- is enabled, the cache file(s) will be regenerated every time.
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.force.compile">
+ <title>$force_compile</title>
+ <para>
+ Óêàçûâàåò Smarty (ïåðå)êîìïèëèðîâàòü øàáëîíû ïðè êàæäîì âûçîâå.
+ Ýòîò ïàðàìåòð ïåðåêðûâàåò äåéñòâèå $compile_check è ïî óìîë÷àíèþ
+ íå àêòèâèðîâàí. Äåéñòâèå ïàðàìåòðà óäîáíî èñïîëüçîâàòü â ïðîöåññå
+ ðàçðàáîòêè è îòëàäêè, îäíàêî íèêîãäà íå èñïîëüçóéòå åãî â óñëîâèÿõ
+ ðåàëüíîé ýêñïëóàòàöèè: åñëè êýøèðîâàíèå àêòèâèðîâàíî, ôàéë(û) êýøà
+ áóäóò êàæäûé ðàç ïåðåçàïèñûâàòüñÿ.
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -29,4 +31,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-global-assign.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-global-assign.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-global-assign.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-global-assign.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-global-assign.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-global-assign.xml Thu Jun 17 03:59:48 2004
@@ -1,27 +1,26 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.global.assign">
- <title>$global_assign</title>
- <para>
- This is a list of variables that are always implicitly assigned
- to the template engine. This is handy for making global
- variables or server variables available to all templates
- without having to manually assign them. Each element in the
- $global_assign should be either a name of the global variable,
- or a key/value pair, where the key is the name of the global
- array and the value is the array of variables to be assigned
- from that global array. $SCRIPT_NAME is globally assigned by
- default from $HTTP_SERVER_VARS.
- </para>
- <note>
- <title>Technical Note</title>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.global.assign">
+ <title>$global_assign</title>
+ <para>
+ Ñïèñîê ïåðåìåííûõ, êîòîðûå âñåãäà íåÿâíî çàãðóæåíû.
+ Ýòî óäîáíî äëÿ òîãî, ÷òîáû ãëîáàëüíûå èëè ñåðâåðíûå
+ ïåðåìåííûå áûëè äîñòóïíû âî âñåõ øàáëîíàõ áåç èõ íåïîñðåäñòâåííîé
+ ðó÷íîé çàãðóçêè. Êàæäûé ýëåìåíò $global_assign ìîæåò áûòü èìåíåì
+ ãëîáàëüíîé ïåðåìåííîé èëè ïàðîé êëþ÷/çíà÷åíèå, â êîòîðîé êëþ÷ ÿâëÿåòñÿ
+ èìåíåì ãëîáàëüíîãî ìàññèâà, à çíà÷åíèå - ìàññèâîì ïåðåìåíûõ,
+ çàãðóæåííûõ èç ýòîãî ãëîáàëüíîãî ìàññèâà. Ïî óìîë÷àíèþ ïåðåìåííàÿ
+ $SCRIPT_NAME èìååò çíà÷åíèå, çàãðóæåííîå èç $HTTP_SERVER_VARS
+ </para>
+ <note>
+ <title>Òåõíè÷åñêîå çàìå÷àíèå</title>
<para>
- Server variables can be accessed through the
- $smarty variable, such as {$smarty.server.SCRIPT_NAME}. See the
- section on the
- <link linkend="language.variables.smarty">$smarty</link> variable.
- </para>
- </note>
+ Äîñòóï ê ñåðâåðíûì ïåðåìåííûì ìîæåò áûòü îñóùåñòâëåí ÷åðåç ïåðåìåííóþ
+ $smarty, íàïðèìåð, {$smarty.server.SCRIPT_NAME}. Ñì. ðàçäåë î ïåðåìåííîé
+ <link linkend="language.variables.smarty">$smarty</link>.
+ </para>
+ </note>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -42,4 +41,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/diff.php/smarty/docs/ru/programmers/api-variables/variable-left-delimiter.xml?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/ru/programmers/api-variables/variable-left-delimiter.xml
diff -u smarty/docs/ru/programmers/api-variables/variable-left-delimiter.xml:1.1 smarty/docs/ru/programmers/api-variables/variable-left-delimiter.xml:1.2
--- smarty/docs/ru/programmers/api-variables/variable-left-delimiter.xml:1.1 Tue Apr 13 07:46:22 2004
+++ smarty/docs/ru/programmers/api-variables/variable-left-delimiter.xml Thu Jun 17 03:59:48 2004
@@ -1,11 +1,12 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="variable.left.delimiter">
- <title>$left_delimiter</title>
- <para>
- This is the left delimiter used by the template language.
- Default is "{".
- </para>
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
+<sect1 id="variable.left.delimiter">
+ <title>$left_delimiter</title>
+ <para>
+ Ëåâûé îãðàíè÷èòåëü, èñïîëüçóåìûé â ÿçûêå øàáëîíîâ.
+ Ïî óìîë÷àíèþ ðàâíî "{".
+ </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
@@ -26,4 +27,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->