cvs: smarty /docs/ru/designers language-combining-modifiers.xml /docs/ru/designers/language-builtin-functions language-function-ldelim.xml /docs/ru/designers/language-custom-functions language-function-html-table.xml

"George Miroshnikov" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsfreespace1096821767@cvsserver>
freespace		Sun Oct  3 12:42:47 2004 EDT

  Modified files:              
    /smarty/docs/ru/designers/language-builtin-functions	
                                                        	language-function-ldelim.xml 
    /smarty/docs/ru/designers	language-combining-modifiers.xml 
    /smarty/docs/ru/designers/language-custom-functions	
                                                       	language-function-html-table.xml 
  Log:
  WS fix.
  Examples updated.

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
freespace-20041003124247.txt (text/plain, 9.7 KB)
http://cvs.php.net/diff.php/smarty/docs/ru/designers/language-builtin-functions/language-function-ldelim.xml?r1=1.6&r2=1.7&ty=u
Index: smarty/docs/ru/designers/language-builtin-functions/language-function-ldelim.xml
diff -u smarty/docs/ru/designers/language-builtin-functions/language-function-ldelim.xml:1.6 smarty/docs/ru/designers/language-builtin-functions/language-function-ldelim.xml:1.7
--- smarty/docs/ru/designers/language-builtin-functions/language-function-ldelim.xml:1.6	Fri Sep  3 14:34:20 2004
+++ smarty/docs/ru/designers/language-builtin-functions/language-function-ldelim.xml	Sun Oct  3 12:42:46 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- EN-Revision: 1.4 Maintainer: tony2001 Status: ready -->
 <sect1 id="language.function.ldelim">
  <title>ldelim,rdelim</title>
@@ -21,7 +21,7 @@
 ]]>
    </programlisting>
    <para>
-    Âåðõíèé ïðèìåð âûâåäåò òàêîé ðåçóëüòàò:
+    Ðåçóëüòàò âûïîëíåíèÿ äàííîãî ïðèìåðà:
    </para>
    <screen>
 <![CDATA[
http://cvs.php.net/diff.php/smarty/docs/ru/designers/language-combining-modifiers.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/ru/designers/language-combining-modifiers.xml
diff -u smarty/docs/ru/designers/language-combining-modifiers.xml:1.4 smarty/docs/ru/designers/language-combining-modifiers.xml:1.5
--- smarty/docs/ru/designers/language-combining-modifiers.xml:1.4	Mon Jul 26 09:42:34 2004
+++ smarty/docs/ru/designers/language-combining-modifiers.xml	Sun Oct  3 12:42:46 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- EN-Revision: 1.4 Maintainer: tony2001 Status: ready -->
 <chapter id="language.combining.modifiers">
  <title>Êîìáèíèðîâàíèå ìîäèôèêàòîðîâ</title>
@@ -10,13 +10,14 @@
  </para>
  <example>
   <title>Êîìáèíèðîâàíèå ìîäèôèêàòîðîâ</title>
-  <programlisting>
+  <programlisting role="php">
 <![CDATA[
 index.php:
-
+<?php
 $smarty = new Smarty;
 $smarty->assign('articleTitle', 'Smokers are Productive, but Death Cuts Efficiency.');
 $smarty->display('index.tpl');
+?>
 
 index.tpl:
 		 
@@ -25,17 +26,20 @@
 {$articleTitle|lower|spacify|truncate}
 {$articleTitle|lower|truncate:30|spacify}
 {$articleTitle|lower|spacify|truncate:30:". . ."}
-
-
-OUTPUT:
-
+]]>
+  </programlisting>
+ <para>
+  Ðåçóëüòàò âûïîëíåíèÿ äàííîãî ïðèìåðà:
+ </para>
+ <screen>
+<![CDATA[
 Smokers are Productive, but Death Cuts Efficiency.
 S M O K E R S   A R E   P R O D U C T I V E ,   B U T   D E A T H   C U T S   E F F I C I E N C Y .
 s m o k e r s   a r e   p r o d u c t i v e ,   b u t   d e a t h   c u t s...
 s m o k e r s   a r e   p r o d u c t i v e ,   b u t . . .
 s m o k e r s   a r e   p. . .
-]]> 
-  </programlisting>
+]]>
+  </screen>
  </example>
 </chapter>
 <!-- Keep this comment at the end of the file
http://cvs.php.net/diff.php/smarty/docs/ru/designers/language-custom-functions/language-function-html-table.xml?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/ru/designers/language-custom-functions/language-function-html-table.xml
diff -u smarty/docs/ru/designers/language-custom-functions/language-function-html-table.xml:1.5 smarty/docs/ru/designers/language-custom-functions/language-function-html-table.xml:1.6
--- smarty/docs/ru/designers/language-custom-functions/language-function-html-table.xml:1.5	Tue Sep 28 07:49:27 2004
+++ smarty/docs/ru/designers/language-custom-functions/language-function-html-table.xml	Sun Oct  3 12:42:46 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.4 Maintainer: freespace Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.6 Maintainer: freespace Status: ready -->
 <sect1 id="language.function.html.table">
  <title>html_table</title>
  <informaltable frame="all">
@@ -32,24 +32,37 @@
     <entry>integer</entry>
     <entry>Íåò</entry>
     <entry><emphasis>3</emphasis></entry>
-                    <entry>êîëè÷åñòâî êîëîíîê â òàáëèöå. åñëè àòòðèáóò cols íå óêàçàí, íî óêàçàí rows, òîãäà êîë-âî êîëîíîê âû÷èñëÿåòñÿ èñõîäÿ èç êîë-âà ñòðîê è êîë-âà ýëåìåíòîâ, êîòîðûå íåîáõîäèìî îòîáðàçèòü. åñëè îáà àòòðèáóòà, rows è cols, íå óêàçàíû, cols ïî óìîë÷àíèþ ðàâåí 3.</entry>
+    <entry>
+     êîëè÷åñòâî êîëîíîê â òàáëèöå. åñëè àòòðèáóò cols íå óêàçàí, íî óêàçàí
+     rows, òîãäà êîë-âî êîëîíîê âû÷èñëÿåòñÿ èñõîäÿ èç êîë-âà ñòðîê è êîë-âà
+     ýëåìåíòîâ, êîòîðûå íåîáõîäèìî îòîáðàçèòü. åñëè îáà àòòðèáóòà, rows è
+     cols, íå óêàçàíû, cols ïî óìîë÷àíèþ ðàâåí 3.
+    </entry>
    </row>
    <row>
     <entry>rows</entry>
     <entry>integer</entry>
     <entry>Íåò</entry>
     <entry><emphasis>empty</emphasis></entry>
-                    <entry>êîëè÷åñòâî ñòðîê â òàáëèöå. åñëè àòòðèáóò rows íå óêàçàí, íî óêàçàí cols, òîãäà êîë-âî ñòðîê â³÷èñëÿåòñÿ èñõîäÿ èç êîë-âà êîëîíîê è êîë-âà ýëåìåíòîâ, êîòîðûå íåîáõîäèìî îòîáðàçèòü.</entry>
+    <entry>
+     êîëè÷åñòâî ñòðîê â òàáëèöå. åñëè àòòðèáóò rows íå óêàçàí, íî óêàçàí cols,
+     òîãäà êîë-âî ñòðîê â³÷èñëÿåòñÿ èñõîäÿ èç êîë-âà êîëîíîê è êîë-âà
+     ýëåìåíòîâ, êîòîðûå íåîáõîäèìî îòîáðàçèòü.
+    </entry>
+   </row>
+   <row>
+    <entry>inner</entry>
+    <entry>string</entry>
+    <entry>No</entry>
+    <entry><emphasis>cols</emphasis></entry>
+    <entry>
+     íàïðàâëåíèå ïîñëåäîâàòåëüíîãî îòîáðàæåíèÿ ýëåìåíòîâ èç ìàññèâà loop.
+     <emphasis>cols</emphasis> îçíà÷àåò, ÷òî ýëåìåíòû îòîáðàæàþòñÿ êîëîíêà
+     çà êîëîíêîé.
+     <emphasis>rows</emphasis> îçíà÷àåò, ÷òî ýëåìåíòû îòîáðàæàþòñÿ ñòðîêà
+     çà ñòðîêîé.
+    </entry>
    </row>
-
-                    <row>
-                        <entry>inner</entry>
-                        <entry>string</entry>
-                        <entry>No</entry>
-                        <entry><emphasis>cols</emphasis></entry>
-                        <entry>direction of consecutive elements in the loop-array to be rendered. <emphasis>cols</emphasis> means elements are displayed col-by-col. <emphasis>rows</emphasis> means elements are displayed row-by-row.</entry>
-                    </row>
-
    <row>
     <entry>table_attr</entry>
     <entry>string</entry>
@@ -78,23 +91,29 @@
     <entry>string</entry>
     <entry>Íåò</entry>
     <entry><emphasis>&amp;nbsp;</emphasis></entry>
-       <entry>çíà÷åíèå îñòàòî÷íûõ ÿ÷ååê íà ïîñëåäíåé 
-       ñòðîêå òàáèëöû</entry>
+    <entry>çíà÷åíèå îñòàòî÷íûõ ÿ÷ååê íà ïîñëåäíåé ñòðîêå òàáèëöû</entry>
    </row>
-   
    <row>
     <entry>hdir</entry>
     <entry>string</entry>
     <entry>Íåò</entry>
     <entry><emphasis>right</emphasis></entry>
-    <entry>íàïðàâëåíèå îòîáðàæåíèÿ êàæäîãî ðÿäà. äîïóñòèìûå çíà÷åíèÿ: <emphasis>left</emphasis> (ñëåâà íàïðàâî), <emphasis>right</emphasis> (ñïðàâà íàëåâî)</entry>
+    <entry>
+     íàïðàâëåíèå îòîáðàæåíèÿ êàæäîãî ðÿäà. äîïóñòèìûå çíà÷åíèÿ:
+     <emphasis>left</emphasis> (ñëåâà íàïðàâî),
+     <emphasis>right</emphasis> (ñïðàâà íàëåâî)
+    </entry>
    </row>
    <row>
     <entry>vdir</entry>
     <entry>string</entry>
     <entry>Íåò</entry>
     <entry><emphasis>down</emphasis></entry>
-    <entry>íàïðàâëåíèå îòîáðàæåíèå êàæäîé êîëîíêè. äîïóñòèìûå çíà÷åíèÿ: <emphasis>down</emphasis> (ñâåðõó âíèç), <emphasis>up</emphasis> (ñíèçó ââåðõ)</entry>
+    <entry>
+     íàïðàâëåíèå îòîáðàæåíèå êàæäîé êîëîíêè. äîïóñòèìûå çíà÷åíèÿ:
+     <emphasis>down</emphasis> (ñâåðõó âíèç),
+     <emphasis>up</emphasis> (ñíèçó ââåðõ)
+    </entry>
    </row>
   </tbody>
   </tgroup>
@@ -112,24 +131,29 @@
  </para>
  <example>
   <title>html_table</title>
-  <programlisting>
+  <programlisting role="php">
 <![CDATA[
-index.php:
-
-require('Smarty.php.class');
+<?php
+require('Smarty.class.php');
 $smarty = new Smarty;
 $smarty->assign('data',array(1,2,3,4,5,6,7,8,9));
 $smarty->assign('tr',array('bgcolor="#eeeeee"','bgcolor="#dddddd"'));
 $smarty->display('index.tpl');
-
-index.tpl:
-
+?>
+]]>
+  </programlisting>
+  <programlisting>
+<![CDATA[
 {html_table loop=$data}
 {html_table loop=$data cols=4 table_attr='border="0"'}
 {html_table loop=$data cols=4 tr_attr=$tr}
-
-OUTPUT:
-
+]]>
+  </programlisting>
+  <para>
+   Ðåçóëüòàò âûïîëíåíèÿ äàííîãî ïðèìåðà:
+  </para>
+  <screen>
+<![CDATA[
 <table border="1">
 <tr><td>1</td><td>2</td><td>3</td></tr>
 <tr><td>4</td><td>5</td><td>6</td></tr>
@@ -146,7 +170,7 @@
 <tr bgcolor="#eeeeee"><td>9</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
 </table>
 ]]>
-  </programlisting>
+  </screen>
  </example>
 </sect1>
 <!-- Keep this comment at the end of the file
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.