diff --git a/docs/en/designers/language-builtin-functions/language-function-foreach.xml b/docs/en/designers/language-builtin-functions/language-function-foreach.xml index 4b002e23..f1064b86 100644 --- a/docs/en/designers/language-builtin-functions/language-function-foreach.xml +++ b/docs/en/designers/language-builtin-functions/language-function-foreach.xml @@ -94,35 +94,35 @@ - {foreach} loops also have their own variables that handle properties. - These are accessed with: - - {$smarty.foreach.name.property} with - name being the - name attribute. - - - Note - The name attribute is only required when - you want to access a {foreach} property, unlike - {section}. - Accessing a {foreach} property with name - undefined does not throw an error, but leads to unpredictable results instead. - - + {foreach} loops also have their own variables that handle properties. + These are accessed with: + + {$smarty.foreach.name.property} with + name being the + name attribute. + + + Note + The name attribute is only required when + you want to access a {foreach} property, unlike + {section}. + Accessing a {foreach} property with name + undefined does not throw an error, but leads to unpredictable results instead. + + - {foreach} properties are - index, - iteration, - first, - last, - show, - total. - + {foreach} properties are + index, + iteration, + first, + last, + show, + total. + - + The <parameter>item</parameter> attribute @@ -200,8 +200,8 @@ $smarty->assign('myArray', $arr); array('no' => 2456, 'label' => 'Salad'), - 96 => array('no' => 4889, 'label' => 'Cream') - ); + 96 => array('no' => 4889, 'label' => 'Cream') + ); $smarty->assign('items', $items_list); ?> ]]> diff --git a/docs/en/designers/language-builtin-functions/language-function-section.xml b/docs/en/designers/language-builtin-functions/language-function-section.xml index 18d32333..266b76e5 100644 --- a/docs/en/designers/language-builtin-functions/language-function-section.xml +++ b/docs/en/designers/language-builtin-functions/language-function-section.xml @@ -125,20 +125,19 @@ where name is the attribute name. - - {section} properties are - index, - index_prev, - index_next, - iteration, - first, - last, - rownum, - loop, - show, - total. - - + + {section} properties are + index, + index_prev, + index_next, + iteration, + first, + last, + rownum, + loop, + show, + total. +