XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 15, 2008, 2:09:03 PM (15 years ago)
Author:
toemon
Message:

サイドバー表示・非表示設定機能の実装 r10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/xpressme/xpressme_class.php

    r22 r26  
    66        var $pluginName = 'xpressme';    
    77        var $is_use_xoops_upload_path; 
     8        var $is_theme_sidebar_disp; 
    89         
    910        //constructor 
     
    3031        { 
    3132                $this->is_use_xoops_upload_path = true; 
     33                $this->is_theme_sidebar_disp = true; 
    3234        } 
    3335         
     
    4951        { 
    5052                $write_options = array ( 
    51                         'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path  
     53                        'is_use_xoops_upload_path' => $this->is_use_xoops_upload_path , 
     54                        'is_theme_sidebar_disp' => $this->is_theme_sidebar_disp  
    5255                ); 
    5356                if ($mode == 'add_new') { 
     
    6164        { 
    6265                $this->is_use_xoops_upload_path = stripslashes(trim($_POST['ch_is_use_xoops_upload_path'])); 
     66                $this->is_theme_sidebar_disp = stripslashes(trim($_POST['ch_is_theme_sidebar_disp'])); 
    6367        } 
    6468         
     
    107111                                                                                                __('USE WordPress BASE_PATH','xpressme') 
    108112                                                                                                ); 
     113                echo                            $this->yes_no_radio_option('is_theme_sidebar_disp', 
     114                                                                                                __('Thema Sidebar Display','xpressme'), 
     115                                                                                                __('YES','xpressme'), 
     116                                                                                                __('NO','xpressme') 
     117                                                                                                ); 
    109118                         
    110119//              $this->is_use_xoops_upload_path_html(); 
Note: See TracChangeset for help on using the changeset viewer.