[svn-commits] eliel: branch group/appdocsxml r149804 - in /team/group/appdocsxml: apps/ main/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Oct 15 16:07:48 CDT 2008


Author: eliel
Date: Wed Oct 15 16:07:48 2008
New Revision: 149804

URL: http://svn.digium.com/view/asterisk?view=rev&rev=149804
Log:
Missing . dot.
Colorize variable possible values.

Modified:
    team/group/appdocsxml/apps/app_dial.c
    team/group/appdocsxml/main/pbx.c

Modified: team/group/appdocsxml/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_dial.c?view=diff&rev=149804&r1=149803&r2=149804
==============================================================================
--- team/group/appdocsxml/apps/app_dial.c (original)
+++ team/group/appdocsxml/apps/app_dial.c Wed Oct 15 16:07:48 2008
@@ -351,11 +351,11 @@
 				</option>
 				<option name="x">
 					<para>Allow the called party to enable recording of the call by sending
-					the DTMF sequence defined for one-touch automixmonitor in <filename>features.conf</filename></para>
+					the DTMF sequence defined for one-touch automixmonitor in <filename>features.conf</filename>.</para>
 				</option>
 				<option name="X">
 					<para>Allow the calling party to enable recording of the call by sending
-					the DTMF sequence defined for one-touch automixmonitor in <filename>features.conf</filename></para>
+					the DTMF sequence defined for one-touch automixmonitor in <filename>features.conf</filename>.</para>
 				</option>
 				</optionlist>
 			</parameter>

Modified: team/group/appdocsxml/main/pbx.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/main/pbx.c?view=diff&rev=149804&r1=149803&r2=149804
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Wed Oct 15 16:07:48 2008
@@ -3132,6 +3132,7 @@
 	{ "\"", "\"", COLOR_YELLOW, COLOR_BLACK, "<filename>", "</filename>" },
 	{ "\"", "\"", COLOR_CYAN, COLOR_BLACK, "<directory>", "</directory>" },
 	{ "${", "}", COLOR_GREEN, COLOR_BLACK, "<variable>", "</variable>" },
+	{ "", "", COLOR_BLUE, COLOR_BLACK, "<value>", "</value>" },
 	{ "", "", COLOR_BLUE, COLOR_BLACK, "<enum>", "</enum>" },
 	{ "\'", "\'", COLOR_GRAY, COLOR_BLACK, "<astcli>", "</astcli>" },
 
@@ -4010,7 +4011,7 @@
 			valname = ast_xml_get_attribute(tmp, "name");
 			if (valname) {
 				ret = 1;
-				ast_str_append(buffer, 0, "%s%s", tabs, valname);
+				ast_str_append(buffer, 0, "%s<value>%s</value>", tabs, valname);
 				ast_xml_free_attr(valname);
 			}
 			tmptext = ast_xml_get_text(tmp);
@@ -4023,8 +4024,8 @@
 					ast_str_append(buffer, 0, ":%s", cleanstr->str);
 					ast_free(cleanstr);
 				}
-				ast_str_append(buffer, 0, "\n");
-			}
+			}
+			ast_str_append(buffer, 0, "\n");
 		}
 		tmp = tmp->AST_XML_NEXT;
 	}




More information about the svn-commits mailing list