XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 15, 2008, 5:47:59 PM (15 years ago)
Author:
toemon
Message:

投稿記事の履歴機能の有効・無効を設定できるようにする機能の実装 #39

File:
1 edited

Legend:

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

    r26 r28  
    77        var $is_use_xoops_upload_path; 
    88        var $is_theme_sidebar_disp; 
    9          
     9        var $is_save_post_revision; 
    1010        //constructor 
    1111        function XPressME_Class() 
     
    3232                $this->is_use_xoops_upload_path = true; 
    3333                $this->is_theme_sidebar_disp = true; 
     34                $this->is_save_post_revision = true; 
    3435        } 
    3536         
     
    6566                $this->is_use_xoops_upload_path = stripslashes(trim($_POST['ch_is_use_xoops_upload_path'])); 
    6667                $this->is_theme_sidebar_disp = stripslashes(trim($_POST['ch_is_theme_sidebar_disp'])); 
     68                $this->is_save_post_revision = stripslashes(trim($_POST['ch_is_save_post_revision'])); 
    6769        } 
    6870         
     
    116118                                                                                                __('NO','xpressme') 
    117119                                                                                                ); 
     120                echo                            $this->yes_no_radio_option('is_save_post_revision', 
     121                                                                                                __('The change tracking of the post is preserved','xpressme'), 
     122                                                                                                __('YES','xpressme'), 
     123                                                                                                __('NO','xpressme') 
     124                                                                                                ); 
    118125                         
    119126//              $this->is_use_xoops_upload_path_html(); 
     
    149156                return $uploads; 
    150157        }        
     158 
    151159} 
    152160?> 
Note: See TracChangeset for help on using the changeset viewer.