Rozdiely pre phpMyEdit/doc/sgml/configuration.fields.sgml medzi verziami 1.18 a 1.19
| verzia 1.18, 2003/03/30 01:14:14 |
verzia 1.19, 2003/03/30 21:44:42 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.17 2003/03/29 15:38:03 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.18 2003/03/30 01:14:14 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
| Riadok 638 will prepend string before if it is not |
|
| Riadok 638 will prepend string before if it is not |
|
| <varname>['URLpostfix']</varname> similary to <varname>['URLprefix']</varname> |
<varname>['URLpostfix']</varname> similary to <varname>['URLprefix']</varname> |
| will append string after if it is not already present there. |
will append string after if it is not already present there. |
| |
|
| <example><title>Old 3.5 URL behaviour</title> |
<example><title>URL prefix and postfix</title> |
| <programlisting><![CDATA[ |
<programlisting><![CDATA[ |
| $opts['fdd']['col_name']['URLprefix'] = 'http://'; |
|
| $opts['fdd']['col_name']['URLprefix'] = 'mailto:'; |
$opts['fdd']['col_name']['URLprefix'] = 'mailto:'; |
| |
$opts['fdd']['col_name']['URLprefix'] = 'http://'; |
| |
$opts['fdd']['col_name']['URLprefix'] = array('http://', 'ftp://'); |
| ]]></programlisting> |
]]></programlisting> |
| </example> |
</example> |
| |
|
| </para> |
</para> |
| |
<para> |
| |
|
| |
In the third example you can see that array of prefixes or postfixes are |
| |
supported. First memeber of array is added to URL value only if no element was |
| |
matched. This is especially useful in having intelligent URL links with added |
| |
ability to enter URLs like "www.platon.sk" without preceding "http://". |
| |
|
| |
</para> |
| </sect1> |
</sect1> |
| |
|
| <!-- ----- --> |
<!-- ----- --> |
Platon Group <platon@platon.sk> http://platon.sk/
|
|