cvs: smarty /docs/en/designers config-files.xml

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1119123344@cvsserver>
messju		Sat Jun 18 15:35:44 2005 EDT

  Modified files:              
    /smarty/docs/en/designers	config-files.xml 
  Log:
  indentation
  
  
http://cvs.php.net/diff.php/smarty/docs/en/designers/config-files.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/en/designers/config-files.xml
diff -u smarty/docs/en/designers/config-files.xml:1.6 smarty/docs/en/designers/config-files.xml:1.7
--- smarty/docs/en/designers/config-files.xml:1.6	Sun Jun  5 15:46:18 2005
+++ smarty/docs/en/designers/config-files.xml	Sat Jun 18 15:35:43 2005
@@ -1,19 +1,14 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <chapter id="config.files">
  <title>Config Files</title>
  <para>
-  Config files are handy for designers to manage global
-  template
-  variables from one file. One example is template colors.
-  Normally if
-  you wanted to change the color scheme of an application, you
-  would have
-  to go through each and every template file and change the
-  colors. With
-  a config file, the colors can be kept in one place, and only
-  one file
-  needs to be updated.
+  Config files are handy for designers to manage global template
+  variables from one file. One example is template colors.  Normally
+  if you wanted to change the color scheme of an application, you
+  would have to go through each and every template file and change the
+  colors. With a config file, the colors can be kept in one place, and
+  only one file needs to be updated.
  </para>
  <example>
   <title>Example of config file syntax</title>
@@ -45,78 +40,50 @@
   </programlisting>
  </example>
  <para>
-  Values of
-  <link linkend="language.config.variables">config file
-  variables</link>
-  can be in quotes, but not necessary.
-  You can use either single or double quotes. If you have a
-  value that
-  spans more than one line, enclose the entire value with
-  triple quotes
-  ("""). You can put comments into config files by any syntax
-  that is not
-  a valid config file syntax. We recommend using a <literal>
-  #</literal>
-  (hash) at the beginning of the line.
+  Values of <link linkend="language.config.variables">config file
+  variables</link> can be in quotes, but not necessary.  You can use
+  either single or double quotes. If you have a value that spans more
+  than one line, enclose the entire value with triple quotes
+  ("""). You can put comments into config files by any syntax that is
+  not a valid config file syntax. We recommend using a <literal>
+  #</literal> (hash) at the beginning of the line.
  </para>
  <para>
   This config file example has two sections. Section names are
-  enclosed in
-  brackets []. Section names can be arbitrary strings not
-  containing
-  <literal>[</literal> or <literal>]</literal> symbols. The
-  four variables
-  at the top are global variables, or variables not within a
-  section.
-  These variables are always loaded from the config file. If a
-  particular
-  section is loaded, then the global variables and the
-  variables from that
-  section are also loaded. If a variable exists both as a
-  global and in a
-  section, the section variable is used. If you name two
-  variables the
-  same within a section, the last one will be used unless
-  <link linkend="variable.config.overwrite">
-  $config_overwrite</link>
-  is disabled.
- </para>
- <para>
-  Config files are loaded into templates with the built-in
-  function
-  <link
-  linkend="language.function.config.load"><command>
-  {config_load}</command></link>
-  (see also
-  <link
+  enclosed in brackets []. Section names can be arbitrary strings not
+  containing <literal>[</literal> or <literal>]</literal> symbols. The
+  four variables at the top are global variables, or variables not
+  within a section.  These variables are always loaded from the config
+  file. If a particular section is loaded, then the global variables
+  and the variables from that section are also loaded. If a variable
+  exists both as a global and in a section, the section variable is
+  used. If you name two variables the same within a section, the last
+  one will be used unless <link linkend="variable.config.overwrite">
+  $config_overwrite</link> is disabled.
+ </para>
+ <para>
+  Config files are loaded into templates with the built-in function
+  <link linkend="language.function.config.load"><command>
+  {config_load}</command></link> (see also <link
   linkend="api.config.load"><command>config_load()</command></link> ).
  </para>
  <para>
-  You can hide variables or entire sections by prepending the
-  variable
+  You can hide variables or entire sections by prepending the variable
   name or section name with a period. This is useful if your
-  application
-  reads the config files and gets sensitive data from them
-  that the
-  template engine does not need. If you have third parties
-  doing template
-  editing, you can be certain that they cannot read sensitive
-  data from
-  the config file by loading it into the template.
+  application reads the config files and gets sensitive data from them
+  that the template engine does not need. If you have third parties
+  doing template editing, you can be certain that they cannot read
+  sensitive data from the config file by loading it into the template.
+ </para>
+ <para>
+  See also <link
+  linkend="language.function.config.load">{config_load}</link>, <link
+  linkend="variable.config.overwrite">$config_overwrite</link>, <link
+  linkend="api.get.config.vars">get_config_vars()</link>, <link
+  linkend="api.clear.config">clear_config()</link> and <link
+  linkend="api.config.load">config_load()</link>
  </para>
-
-  <para>
-  See also
-  <link linkend="language.function.config.load">{config_load}</link>,
-  <link linkend="variable.config.overwrite">$config_overwrite</link>,
-  <link linkend="api.get.config.vars">get_config_vars()</link>,
-  <link linkend="api.clear.config">clear_config()</link>
-  and
-  <link linkend="api.config.load">config_load()</link>
-  </para>
-
 </chapter>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
@@ -137,4 +104,3 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
-

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.