[cvs] [Wiki] changed: ConfXML

Jan Schneider jan at horde.org
Fri Jul 30 01:53:02 PDT 2004


jan  Fri, 30 Jul 2004 01:53:02 -0700

Modified page: http://wiki.horde.org/display.php?page=ConfXML
New Revision:  2.3

@@ -6,11 +6,13 @@
 <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 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
+   sending notifications.">unified
    <values>
     <value desc="Unified context">unified</value>
     <value desc="Copied context">context</value>
     <value desc="Side by side">sidebyside</value>
@@ -20,9 +22,9 @@
 </code>
 
 {{<configuration>}} is the start of the config file.
 
-{{<configsection name="wicked">}} produces first level conf$['wicked'] variables.
+{{<configsection name="wicked">}} produces first level {{$conf['wicked']}} variables.
 Multiple configsection names produces multiple levels.
 
 <code>
 <configsection name="level1">
@@ -31,41 +33,41 @@
  </configsection>
 <configsection>
 </code>
 
-produces conf$['level1']['level2'] variables.
+produces {{$conf['level1']['level2']}} variables.
 
-{{{<configheader>}} puts text to help organize the screen
+{{<configheader>}} puts text to help organize the screen
 
-{{<configstring ...>}} - For selecting an item from a list
- - name - Second level conf$['configsection']['configstring'] variables
- - desc - This is what shows up near the box for information about the entry
- - required - will put a red star and make user enter data (true/false)
+{{<configstring ...>}} for selecting an item from a list
+* name - Second level {{$conf['configsection']['configstring']}} variables
+* desc - This is what shows up near the box for information about the entry
+* required - will put a red star and make user enter data (true/false)
 
-{{<configenum ...>default_entry}} - To provide a list of choices
- - name - Second level conf$['configsection']['configenum'] variables
- - desc - Descriptive text for list
+{{<configenum ...>default_entry}} to provide a list of choices
+* name - Second level {{$conf['configsection']['configenum']}} variables
+* desc - Descriptive text for list
 within configenum section use:
 <code>
  <values>
   <value desc="List entry1">list1</value>
   <value desc="List entry2">list2</value>
  </values>
 </code>
 
-{{<configmultienum ... >}} - For selecting multiple items from a list
- - name - Second level conf$['configsection']['configmultienum']
- - desc - Descriptive text for multienum entries
+{{<configmultienum ...>}} for selecting multiple items from a list
+* name - Second level {{$conf['configsection']['configmultienum']}}
+* desc - Descriptive text for multienum entries
 
 {{<configspecial name="list-horde-apps" />}} - "values" list of active horde apps
- - name - Refers to case entry in framework/Horde/Horde/Config.php.
+* name - Refers to case entry in framework/Horde/Horde/Config.php.
 
-{{<configswitch ... >}} - Mechanism for grouping sets of options
+{{<configswitch ...>}} - mechanism for grouping sets of options
 Use config entries from above to populate option choices.
- - name - Third level conf$['configsection']['configstring']['configswitch']
- - desc - Descriptive text for configswitch entries
+* name - Third level {{$conf['configsection']['configstring']['configswitch']}}
+* desc - Descriptive text for configswitch entries
 
-{{<case ...>}} - provides value for configswitch statement
-Must reside within <configswitch> section
- - name - conf$['configsection']['configstring']['configswitch']=name_value
- - desc - List value description
+{{<case ...>}} provides value for configswitch statement
+Must reside within {{<configswitch>}} section
+* name - {{$conf['configsection']['configstring']['configswitch'] = name_value}}
+* desc - List value description
 


More information about the cvs mailing list