XPressME Integration Kit

Trac

Changeset 308 for trunk


Ignore:
Timestamp:
Jun 29, 2009, 12:33:17 PM (15 years ago)
Author:
toemon
Message:

ImpressCMSの管理画面でモジュールメニューが表示されないバグ? 修正 fixes #167
と admin.index.phpのコード整理

Location:
trunk/xpressme_integration_kit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/admin/index.php

    r299 r308  
    560560$mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 
    561561$mydirpath = dirname( dirname( __FILE__ ) ) ; 
    562 require_once($mydirpath.'/wp-config.php'); 
     562//require_once($mydirpath.'/wp-config.php'); 
    563563         
    564564require_once '../../../include/cp_header.php' ; 
    565565//require_once '../include/gtickets.php' ; 
    566 //define( '_MYMENU_CONSTANT_IN_MODINFO' , '_MI_TELLAFRIEND_MODNAME' ) ; 
     566//define( '_MYMENU_CONSTANT_IN_MODINFO' , '_MI_XP2_NAME' ) ; 
    567567 
    568568// branch for altsys 
     
    583583} 
    584584 
    585 //include_once('./menu.php'); 
    586 //include_once('./../../../include/cp_header.php'); 
     585// beggining of Output 
    587586xoops_cp_header(); 
    588587include( './mymenu.php' ) ; 
     588 
    589589echo " 
    590590        <style type=\"text/css\"> 
  • trunk/xpressme_integration_kit/xoops_version.php

    r306 r308  
    105105$modversion['templates'] = array() ; 
    106106 
    107 $modversion['hasconfig'] = 1; 
     107if (defined('ICMS_ROOT_PATH')){ 
     108        $modversion['hasconfig'] = 1; 
     109        $modversion['config'][] = array( 
     110                'name'                  => 'dummy' , 
     111                'title'                 =>  'Dummy Value' , 
     112                'description'   =>  'This is Dummy Value' , 
     113                'formtype'              => 'yesno' , 
     114                'valuetype'             => 'int' , 
     115                'default'               => 0 , 
     116        ); 
     117} 
    108118 
    109119//BLOCKS 
Note: See TracChangeset for help on using the changeset viewer.