[cvs] [Wiki] changed: ConfXML
Jan Schneider
jan at horde.org
Thu Jul 29 13:03:22 PDT 2004
jan Thu, 29 Jul 2004 13:03:22 -0700
Modified page: http://wiki.horde.org/display.php?page=ConfXML
New Revision: 2.1
@@ -1,16 +1,14 @@
-Conf.xml:
-
++ conf.xml
+
The XML file is layed out using several sections. These sections relate to variables that are used within horde. Here is an example XML snippet and the resulting configuration file entries:
-<php>
+<code>
<configuration>
<configsection name="wicked">
- <configheader>
- Application Settings
- </configheader>
-
- <configstring name="notify_address" desc="The email address to which changes on pages should be mailed. Leave empty if you don't want notification messages to be sent." required="false"></configstring>
+ <configheader>Application Settings</configheader>
+
+ <configstring name="notify_address" desc="The email address to which changes on pages should be mailed. Leave empty if you don't want notification messages to be sent." required="false" />
<configenum name="diff_format" desc="The diff format that should be used when
sending notifications.">unified
<values>
<value desc="Unified context">unified</value>
@@ -18,23 +16,25 @@
<value desc="Side by side">sidebyside</value>
</values>
</configenum>
</configsection>
-
-
-<configuration> is the start of the config file.
-
-<configsection name="wicked"> produces first level conf$['wicked'] variables.
+</code>
+
+{{<configuration>}} is the start of the config file.
+
+{{<configsection name="wicked">}} produces first level conf$['wicked'] variables.
Multiple configsection names produces multiple levels.
-
+
+<code>
<configsection name="level1">
<configsection name="level2">
...
</configsection>
<configsection>
-
-Produces conf$['level1']['level2'] variables.
-
+</code>
+
+produces conf$['level1']['level2'] variables.
+
<configheader> puts text to help organize the screen
<configstring ...> - For selecting an item from a list
- name - Second level conf$['configsection']['configstring'] variables
More information about the cvs
mailing list