phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] admin/doc/adminconfig.sgml, 1.3


From: nomail
Subject: [Phpgroupware-cvs] admin/doc/adminconfig.sgml, 1.3
Date: Thu, 30 Dec 2004 08:38:14 +0100

Update of /admin/doc
Modified Files:
        Branch: 
          adminconfig.sgml

date: 2004/12/30 07:38:14;  author: skwashd;  state: Exp;  lines: +1 -13

Log Message:
new HEAD admin - sans GIFs
=====================================================================
Index: admin/doc/adminconfig.sgml
diff -u admin/doc/adminconfig.sgml:1.2 admin/doc/adminconfig.sgml:1.3
--- admin/doc/adminconfig.sgml:1.2      Wed Mar 20 00:42:52 2002
+++ admin/doc/adminconfig.sgml  Thu Dec 30 07:38:14 2004
@@ -68,11 +68,6 @@
     {hook_XXX} - Calls a function named XXX (will be discussed 
later).
     </para>
    </listitem>
-    <listitem>
-    <para>
-    &lcub;checked_XXX+YYY&rcub; - Handles checkbox/radio values set to YYY or 
'' (will be discussed later).
-    </para>
-   </listitem>
    </orderedlist>
    <para>
     Following is an example from the addressbook application:
@@ -117,14 +112,7 @@
 ]]><![ CDATA [ </tr>
 ]]>   </programlisting>
    <para>
-    Here, we are adding a new element, &lcub;hook_country_set&rcub;. This 
brings up the next file we will need to parse this value, hook_config.inc.php. 
But first, let's look at the last template type, 'checked':
-   </para>
-   <programlisting>
-<![ CDATA [<input name="newsettings[enable_remote_addressbook]" type="radio" 
value=""{checked_enable_remote_addressbook+}>{lang_no}
-]]><![ CDATA [<input name="newsettings[enable_remote_addressbook]" 
type="radio" value="True"{checked_enable_remote_addressbook+True}>{lang_yes}
-]]>   </programlisting>
-   <para>
-    We want to check the value of the setting 'enable_remote_addressbook'. The 
value could be '' or 'True'. We use the '+' character to isolate the config 
name from the check value. If the value is empty or unset in the phpgw_config 
table, &lcub;checked_enable_remote_addressbook+&rcub; is replaced with ' 
checked'. If the value is 
'True',&lcub;checked_enable_remote_addressbook+True&rcub; is replaced with ' 
checked'. Note that the part after the '+' character matches what is in the 
value=&rdquo;XXX&rdquo; part in the html for this form element.
+    Here, we are adding a new element, &lcub;hook_country_set&rcub;. This 
brings up the next file we will need to parse this value...
    </para>
    </sect2>
    <sect2>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]