cvs: peardoc /en/package/html html-menu.xml
| From: | Christian Weiske | Date: | Mon, 19 May 2008 13:36:35 +0000 |
| Subject: | cvs: peardoc /en/package/html html-menu.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10784@lists.php.net to get a copy of this message | ||
cweiske Mon May 19 13:36:35 2008 UTC
Modified files:
/peardoc/en/package/html html-menu.xml
Log:
add role tags to examples
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-menu.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/en/package/html/html-menu.xml
diff -u peardoc/en/package/html/html-menu.xml:1.4 peardoc/en/package/html/html-menu.xml:1.5
--- peardoc/en/package/html/html-menu.xml:1.4 Thu Feb 12 21:30:49 2004
+++ peardoc/en/package/html/html-menu.xml Mon May 19 13:36:34 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<sect1 id="package.html.html-menu">
<title>HTML_Menu</title>
<para>
@@ -166,7 +166,7 @@
<title>Description</title>
<para>
The renderer is designed to output only the menus of type
<literal>'tree'</literal> and
<literal>'sitemap'</literal>. It shows the level of the menu by tags
nesting, not by outputting some indentation and is able to output e.g. nested HTML lists:
-<programlisting>
+<programlisting role="xml">
<![CDATA[
<ul>
<li>Menu item 1
@@ -259,7 +259,7 @@
<para>
All menu types except <literal>'rows'</literal> are
"rendered" into a one-dimensional array
of entries:
-<programlisting>
+<programlisting role="php">
<![CDATA[
array(
'entry1',
@@ -269,7 +269,7 @@
]]>
</programlisting>
while <literal>'rows'</literal> produce a two-dimensional array:
-<programlisting>
+<programlisting role="php">
<![CDATA[
array(
array('entry 1 for row 1', ..., 'entry M_1 for row 1'),
@@ -281,7 +281,7 @@
</para>
<para>
Here entry is
-<programlisting>
+<programlisting role="php">
<![CDATA[
array(
'url' => url element of menu entry
@@ -380,7 +380,7 @@
<title>Template structure</title>
<para>
This minimal template will allow output of any available menu type:
-<programlisting>
+<programlisting role="xml">
<![CDATA[
<!-- BEGIN mu_menu_loop -->
<table cellpadding="2" cellspacing="0" border="1">
@@ -542,7 +542,7 @@
<title>Template structure</title>
<para>
This is the minimal template for <classname>HTML_Menu_SigmaTreeRenderer</classname>,
containing all the required blocks:
-<programlisting>
+<programlisting role="xml">
<![CDATA[
<!-- BEGIN mu_tree_loop -->
<!-- BEGIN mu_level_open -->