| verzia 1.40, 2004/04/14 20:38:51 |
verzia 1.41, 2004/04/21 14:36:40 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.39 2004/01/26 17:16:11 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.40 2004/04/14 20:38:51 nepto Exp $ --> |
| |
|
| <sect1 id="configuration.mysql-options"> |
<sect1 id="configuration.mysql-options"> |
| <title id="configuration.mysql-options.title">Database connection</title> |
<title id="configuration.mysql-options.title">Database connection</title> |
| Riadok 843 places, for example <ulink url="http://w |
|
| Riadok 843 places, for example <ulink url="http://w |
|
| |
|
| <sect1 id="configuration.cgi-variables"> |
<sect1 id="configuration.cgi-variables"> |
| <title id="configuration.cgi-variables.title">CGI variables</title> |
<title id="configuration.cgi-variables.title">CGI variables</title> |
| |
<bridgehead id="configuration.cgi-variables-using">Using CGI variables</bridgehead> |
| <para> |
<para> |
| |
|
| You can optionally append or overwrite individual variables returned from the |
You can optionally append or overwrite individual variables returned from the |
| Riadok 894 $opts['cgi']['persist'] = array( |
|
| Riadok 895 $opts['cgi']['persist'] = array( |
|
| ]]></programlisting></example> |
]]></programlisting></example> |
| |
|
| </para> |
</para> |
| |
<bridgehead id="configuration.cgi-variables-prefixing">Prefixing CGI variables</bridgehead> |
| |
<para> |
| |
|
| |
The type of performed operation such as Add, Change, Delete and so on, is |
| |
passed using a CGI variable named <varname>operation</>. When passed through a |
| |
link, for example when <varname>$opts['navigation']</varname> is set |
| |
to <constant>'G'</constant> or <constant>'T'</constant>, the |
| |
value is an untranslated label prefixed with <constant>PME::op::</constant>. |
| |
This prefix can be changed by setting the |
| |
<varname>$opts['cgi']['prefix']['operation']</varname> variable in the calling |
| |
script. |
| |
|
| |
<example><title>Custom prefix for operation links</title> |
| |
<programlisting><![CDATA[ |
| |
$opts['cgi']['prefix']['operation'] = 'op-prefix-'; |
| |
]]></programlisting></example> |
| |
|
| |
</para> |
| |
<para> |
| |
|
| |
In the future, more and more CGI prefixes like form field names, button names |
| |
and others will be configurable. |
| |
|
| |
</para> |
| </sect1> |
</sect1> |
| |
|
| <sect1 id="configuration.css"> |
<sect1 id="configuration.css"> |