version 1.13, 2002/10/23 19:10:07 |
version 1.14, 2002/11/02 13:24:29 |
|
|
* http://www.platon.sk/projects/phpMyEdit/ |
* http://www.platon.sk/projects/phpMyEdit/ |
*/ |
*/ |
|
|
/* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.12 2002/10/21 21:30:41 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.13 2002/10/23 19:10:07 nepto Exp $ */ |
|
|
// setup.php version 3.5 27-Apr-01 |
// setup.php version 3.5 27-Apr-01 |
// Heavily updated by Ondrej Jombik in 9-Aug-2002. |
// Heavily updated by Ondrej Jombik in 9-Aug-2002. |
|
|
<body bgcolor=white> |
<body bgcolor=white> |
<?php |
<?php |
|
|
$pageTitle = $HTTP_POST_VARS['pageTitle']; |
$pageTitle = @$HTTP_POST_VARS['pageTitle']; |
$baseFilename = $HTTP_POST_VARS['baseFilename']; |
$baseFilename = @$HTTP_POST_VARS['baseFilename']; |
$submit = $HTTP_POST_VARS['submit']; |
$submit = @$HTTP_POST_VARS['submit']; |
$hn = $HTTP_POST_VARS['hn']; |
$hn = @$HTTP_POST_VARS['hn']; |
$un = $HTTP_POST_VARS['un']; |
$un = @$HTTP_POST_VARS['un']; |
$pw = $HTTP_POST_VARS['pw']; |
$pw = @$HTTP_POST_VARS['pw']; |
$db = $HTTP_POST_VARS['db']; |
$db = @$HTTP_POST_VARS['db']; |
$tb = $HTTP_POST_VARS['tb']; |
$tb = @$HTTP_POST_VARS['tb']; |
$id = $HTTP_POST_VARS['id']; |
$id = @$HTTP_POST_VARS['id']; |
|
|
$phpExtension = '.phtml'; |
$phpExtension = '.phtml'; |
$phpExtension = '.php'; |
$phpExtension = '.php'; |
|
|
['URLpostfix'] similary to ['URLprefix'] will append string after |
['URLpostfix'] similary to ['URLprefix'] will append string after |
['required'] = true will generate javascript to prevent null entries by users |
['required'] = true will generate javascript to prevent null entries by users |
['options'] is an optional parameter to control whether a field is displayed |
['options'] is an optional parameter to control whether a field is displayed |
L - list, F - filter, A - add, C - change, D - delete, V - view |
L - list, F - filter, A - add, C - change, P - copy, D - delete, V - view |
Another flags can be: |
Another flags can be: |
R - indicates that a field is read only |
R - indicates that a field is read only |
W - indicates that a field is a password field |
W - indicates that a field is a password field |
Line 521 CREATE TABLE changelog ( |
|
Line 521 CREATE TABLE changelog ( |
|
/* Get the user's default language and use it if possible or you can specify |
/* Get the user's default language and use it if possible or you can specify |
language particular one you want to use. Available languages are: |
language particular one you want to use. Available languages are: |
DE EN-US EN FR IT NL PG SK SP */ |
DE EN-US EN FR IT NL PG SK SP */ |
\$opts['language']= \$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']; |
\$opts['language'] = \$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']; |
|
|
/* Code execution. Since version 4.0 phpMyEdit will automatically starts its |
/* Code execution. Since version 4.0 phpMyEdit will automatically starts its |
execution. You can turn this feature off by setting \$opts['execute'] to 0. |
execution. You can turn this feature off by setting \$opts['execute'] to 0. |