add texts, translated by silex [at] bk [dot] ru

This commit is contained in:
tony2001
2004-06-17 07:59:48 +00:00
parent ee62c3b546
commit 59889b5af0
23 changed files with 352 additions and 321 deletions
@@ -1,20 +1,23 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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-&gt;autoload_filters = array('pre' =&gt; array('trim', 'stamp'),
'output' => array('convert'));
</programlisting>
</informalexample>
</para>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,29 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,33 +1,35 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,26 +1,28 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,23 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,26 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,19 +1,20 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,27 +1,26 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<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>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml version="1.0" encoding="windows-1251"?>
<!-- $Revision$ -->
<sect1 id="variable.left.delimiter">
<title>$left_delimiter</title>
<para>
This is the left delimiter used by the template language.
Default is "{".
</para>
<!-- 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 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->