XPressME Integration Kit

Trac


Ignore:
Timestamp:
Apr 4, 2009, 6:47:22 PM (15 years ago)
Author:
toemon
Message:

#14 マルチユーザーモードの実装

File:
1 edited

Legend:

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

    r152 r155  
    2828        var $more_link_text; 
    2929        var $viewer_type; 
     30        var $is_multi_user; 
    3031        //constructor 
    3132        function XPressME_Class() 
     
    7778                $this->more_link_text = __('more', 'xpressme'); 
    7879                $this->viewer_type = 'xoops'; 
     80                $this->is_multi_user = false; 
    7981 
    8082        } 
     
    124126                        'excerpt_length_character' => $this->excerpt_length_character, 
    125127                        'more_link_text' => $this->more_link_text, 
    126                         'viewer_type' => $this->viewer_type 
     128                        'viewer_type' => $this->viewer_type, 
     129                        'is_multi_user' => $this->is_multi_user 
    127130                ); 
    128131                if ($mode == 'add_new') { 
     
    235238                $this->more_link_text = stripslashes(trim($_POST['ch_more_link_text'])); 
    236239                $this->viewer_type = stripslashes(trim($_POST['ch_viewer_type'])); 
    237                  
     240                $this->is_multi_user = stripslashes(trim($_POST['ch_is_multi_user'])); 
    238241                global $xoops_db; 
    239242                $table = get_wp_prefix() . 'group_role';         
     
    652655                                                                                                ); 
    653656                 
     657                echo                            $this->yes_no_radio_option('is_multi_user', 
     658                                                                                                __('Select Multi user mode','xpressme'), 
     659                                                                                                __('YES','xpressme'), 
     660                                                                                                __('NO','xpressme') 
     661                                                                                                ); 
     662                 
     663                 
    654664                echo                            $this->single_post_navi_option(); 
    655665                echo                            $this->posts_page_navi_option(); 
Note: See TracChangeset for help on using the changeset viewer.