|
@@ 51-62 (lines=12) @@
|
| 48 |
|
global $xoopsUser, $xoopsConfig, $xoopsModule, $pathIcon16; |
| 49 |
|
include_once XOOPS_ROOT_PATH . '/class/xoopslists.php'; |
| 50 |
|
$db =& XoopsDatabaseFactory::getDatabaseConnection(); |
| 51 |
|
if (file_exists( |
| 52 |
|
XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php" |
| 53 |
|
) |
| 54 |
|
) { |
| 55 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin.php"); |
| 56 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php"); |
| 57 |
|
//include_once(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/groups.php"); |
| 58 |
|
} else { |
| 59 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin.php"); |
| 60 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/blocksadmin.php"); |
| 61 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/groups.php"); |
| 62 |
|
} |
| 63 |
|
$module_handler =& xoops_gethandler('module'); |
| 64 |
|
$member_handler =& xoops_gethandler('member'); |
| 65 |
|
$moduleperm_handler =& xoops_gethandler('groupperm'); |
|
@@ 290-301 (lines=12) @@
|
| 287 |
|
function isBlockCloned($bid, $bside, $bweight, $bvisible, $bcachetime, $bmodule, $options) |
| 288 |
|
{ |
| 289 |
|
global $xoopsUser, $xoopsConfig; |
| 290 |
|
if (file_exists( |
| 291 |
|
XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php" |
| 292 |
|
) |
| 293 |
|
) { |
| 294 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin.php"); |
| 295 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/" . $xoopsConfig['language'] . "/admin/blocksadmin.php"); |
| 296 |
|
//include_once(XOOPS_ROOT_PATH."/modules/system/language/".$xoopsConfig['language']."/admin/groups.php"); |
| 297 |
|
} else { |
| 298 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin.php"); |
| 299 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/blocksadmin.php"); |
| 300 |
|
include_once(XOOPS_ROOT_PATH . "/modules/system/language/portuguesebr/admin/groups.php"); |
| 301 |
|
} |
| 302 |
|
$block = new XoopsBlock($bid); |
| 303 |
|
$clone =& $block->xoopsClone(); |
| 304 |
|
if (empty($bmodule)) { |