| verzia 1.7, 2002/12/12 14:27:54 |
verzia 1.8, 2002/12/12 21:47:25 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.6 2002/12/12 14:24:13 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.7 2002/12/12 14:27:54 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
| Riadok 216 $opts['fdd']['col_name']['sort'] = false |
|
| Riadok 216 $opts['fdd']['col_name']['sort'] = false |
|
| If you are storing HTML and/or PHP content in you database columns, you may want |
If you are storing HTML and/or PHP content in you database columns, you may want |
| to have <varname>$opts['fdd']['col_name']['strip_tags']</varname> variable |
to have <varname>$opts['fdd']['col_name']['strip_tags']</varname> variable |
| turned on for particular fields. It will strip HTML and PHP tags from field |
turned on for particular fields. It will strip HTML and PHP tags from field |
| content. |
content, when displaying column in table listing. |
| |
|
| <example><title>Striping tags</title> |
<example><title>Striping tags</title> |
| <programlisting><![CDATA[ |
<programlisting><![CDATA[ |
| Riadok 447 You may find it useful to limit the numb |
|
| Riadok 447 You may find it useful to limit the numb |
|
| more columns. This option is approximately equivalent to the following PHP |
more columns. This option is approximately equivalent to the following PHP |
| statement: |
statement: |
| |
|
| <screen>if(strlen($value) > $trimlen)) echo substr(,0,$trimlen-3).'...';</screen> |
<screen> |
| |
if (strlen($value) > $trimlen) { |
| |
echo substr($value, 0, $trimlen - 3) . '...'; |
| |
} |
| |
</screen> |
| |
|
| </para> |
</para> |
| </sect2> |
</sect2> |