| Last change
                  on this file since 857 was
                  151,
                  checked in by toemon, 17 years ago | 
        
          | 
ブロックテーブルのチェックコード追加 #21XOOPSモジュール管理メニューに「ブロック権限」と「ブロックチェック」メニューを追加
 
 | 
        | File size:
            720 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | <?php | 
|---|
| 2 |  | 
|---|
| 3 | include_once('./../../../include/cp_header.php'); | 
|---|
| 4 |  | 
|---|
| 5 | global $xoopsModule; | 
|---|
| 6 | $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; | 
|---|
| 7 | $module_dir = $mydirname; | 
|---|
| 8 | //$module_dir = $xoopsModule->getInfo('dirname'); | 
|---|
| 9 |  | 
|---|
| 10 | if (file_exists(XOOPS_ROOT_PATH . '/modules/altsys/admin/index.php')){ | 
|---|
| 11 | header("Location: ".XOOPS_URL."/modules/altsys/admin/index.php?mode=admin&lib=altsys&page=myblocksadmin&dirname=$module_dir"); | 
|---|
| 12 | } else if (file_exists(XOOPS_ROOT_PATH . '/modules/legacy/admin/index.php')){ | 
|---|
| 13 | header("Location: ".XOOPS_URL."/modules/legacy/admin/index.php?action=BlockList"); | 
|---|
| 14 | } else { | 
|---|
| 15 | header("Location: ".XOOPS_URL."/modules/system/admin.php?fct=blocksadmin&selmod=".$xoopsModule->getVar("mid")); | 
|---|
| 16 | } | 
|---|
| 17 | ?> | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.