| version 1.33, 2003/12/09 11:16:14 |
version 1.34, 2003/12/11 12:29:47 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.32 2003/12/08 09:17:30 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.33 2003/12/09 11:16:14 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
| Line 242 linkend="configuration.css" endterm="con |
|
| Line 242 linkend="configuration.css" endterm="con |
|
| </para> |
</para> |
| </sect1> |
</sect1> |
| |
|
| <sect1 id="configuration.booleans"> |
<sect1 id="configuration.fields.booleans"> |
| <title id="configuration.booleans.title">Booleans</title> |
<title id="configuration.fields.booleans.title">Booleans</title> |
| <para> |
<para> |
| |
|
| All variables in following section should have only <constant>true</constant> or |
All variables in following section should have only <constant>true</constant> or |
| Line 251 All variables in following section shoul |
|
| Line 251 All variables in following section shoul |
|
| |
|
| </para> |
</para> |
| |
|
| <bridgehead id="configuration.required">Required fields</bridgehead> |
<bridgehead id="configuration.fields.required">Required fields</bridgehead> |
| <para> |
<para> |
| |
|
| By default, JavaScript will be generated to prevent null entries by the user. If |
By default, JavaScript will be generated to prevent null entries by the user. If |
| Line 267 $opts['fdd']['col_name']['required'] = f |
|
| Line 267 $opts['fdd']['col_name']['required'] = f |
|
| |
|
| </para> |
</para> |
| |
|
| <bridgehead id="configuration.fields.sorting">Sorting</bridgehead> |
<bridgehead id="configuration.fields.sort">Sorting</bridgehead> |
| <para> |
<para> |
| |
|
| Allow users to sort the display on this column. Use "true" for enable, "false" |
Allow users to sort the display on this column. Use <constant>true</constant> |
| for disable. |
for enable, <constant>false</constant> for disable. |
| |
|
| <example><title>Field sorting</title> |
<example><title>Field sorting</title> |
| <programlisting><![CDATA[ |
<programlisting><![CDATA[ |
| Line 299 $opts['fdd']['col_name']['strip_tags'] = |
|
| Line 299 $opts['fdd']['col_name']['strip_tags'] = |
|
| |
|
| </para> |
</para> |
| |
|
| |
<bridgehead id="configuration.fields.escape">HTML escaping</bridgehead> |
| |
<para> |
| |
|
| |
By default are all field values escaped using <ulink |
| |
url="http://www.php.net/manual/en/function.htmlspecialchars.php"><function>htmlspecialchars()</></> |
| |
PHP function. However, this is not always desirable. You can turn this |
| |
escaping by setting <varname>$opts['fdd']['col_name']['escape']</varname> |
| |
to <constant>false</constant>. |
| |
|
| |
<example><title>Field escaping</title> |
| |
<programlisting><![CDATA[ |
| |
$opts['fdd']['col_name']['escape'] = true; |
| |
$opts['fdd']['col_name']['escape'] = false; |
| |
]]></programlisting> |
| |
</example> |
| |
|
| |
</para> |
| </sect1> |
</sect1> |
| |
|
| <sect1 id="configuration.input-restrictions"> |
<sect1 id="configuration.input-restrictions"> |
| Line 611 function. See function's manual pages fo |
|
| Line 628 function. See function's manual pages fo |
|
| <para> |
<para> |
| |
|
| These date and time formatting functions are applied only if selected value |
These date and time formatting functions are applied only if selected value |
| from database has non-zero length. This prevents empty strings and |
from database has non-zero length and is a valid date. This prevents empty |
| <constant>NULL</constant> fields to be displayed as date of |
strings, <constant>NULL</constant> fields and invalid dates to be displayed as |
| 1st January 1970 |
date of 1st January 1970. |
| |
|
| </para> |
</para> |
| <para> |
<para> |