| version 1.3, 2002/06/16 10:22:29 |
version 1.4, 2002/07/21 22:49:42 |
| Line 54 if (defined('LOADED_AS_MODULE')) { |
|
| Line 54 if (defined('LOADED_AS_MODULE')) { |
|
| * PostNuke use original variables feature for correct module calls. |
* PostNuke use original variables feature for correct module calls. |
| */ |
*/ |
| |
|
| if (strlen($phpWebFileManager_ORIGINAL_VARIABLES) > 0) |
if (strlen($fm_cfg['origvars']) > 0) |
| $phpWebFileManager_ORIGINAL_VARIABLES .= '&'; |
$fm_cfg['origvars'] .= '&'; |
| |
|
| $phpWebFileManager_ORIGINAL_VARIABLES .= "op=modload&name=$ModName&file=index"; |
$fm_cfg['origvars'] .= "op=modload&name=$ModName&file=index"; |
| |
|
| /* |
/* |
| * Assign theme settings from PostNuke theme. |
* Assign theme settings from PostNuke theme. |
| */ |
*/ |
| |
|
| $phpWebFileManager_EVEN_ROWS_BGCOLOR = $bgcolor2; |
$fm_cfg['color']['even'] = $bgcolor2; |
| $phpWebFileManager_ODD_ROWS_BGCOLOR = $bgcolor1; |
$fm_cfg['color']['odd'] = $bgcolor1; |
| |
|
| /* |
/* |
| * PostNuke language settings. |
* PostNuke language settings. |
| Line 75 if (defined('LOADED_AS_MODULE')) { |
|
| Line 75 if (defined('LOADED_AS_MODULE')) { |
|
| include 'header.php'; |
include 'header.php'; |
| } |
} |
| else { |
else { |
| if (file_exists("lang/$phpWebFileManager_LANGUAGE/global.php")) { |
if (file_exists('lang/'.$fm_cfg['lang'].'/global.php')) { |
| include "lang/$phpWebFileManager_LANGUAGE/global.php"; |
include 'lang/'.$fm_cfg['lang'].'/global.php'; |
| } |
} |
| else { |
else { |
| include 'lang/eng/global.php'; |
include 'lang/eng/global.php'; |