XPressME Integration Kit

Trac

Changeset 335


Ignore:
Timestamp:
Jul 9, 2009, 8:57:15 PM (15 years ago)
Author:
toemon
Message:

r333 の変更でインデントを忘れていてコードが見にくいのでインデントを入れる

File:
1 edited

Legend:

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

    r333 r335  
    514514                $form .= '<br /><br />'; 
    515515                if ($this->is_use_d3forum) { 
    516                 if ($this->is_use_d3forum)  $disible = ''; else $disible = 'disabled'; 
    517                 $form .=  __('Select the Type of display of D3Forum comment.', 'xpressme') . " \n&emsp"; 
    518                 if ($this->is_d3forum_flat){ 
    519                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='1' checked='checked' />" . __('Flat','xpressme') ."</label>\n"; 
    520                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='0' />". __('Threaded','xpressme') . "</label>\n"; 
    521                 }else{ 
    522                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='1' />" . __('Flat','xpressme') . "</label>\n"; 
    523                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='0' checked='checked' />". __('Threaded','xpressme') ."</label>\n"; 
    524                 } 
    525                 $form .= '<br />'; 
    526                 $form .=  __('Select the order of display of D3Forum comment.', 'xpressme') . " \n&emsp"; 
    527                 if ($this->is_d3forum_desc){ 
    528                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='1' checked='checked' />" . __('DESC','xpressme') ."</label>\n"; 
    529                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='0' />". __('ASC','xpressme') . "</label>\n"; 
    530                 }else{ 
    531                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='1' />" . __('DESC','xpressme') . "</label>\n"; 
    532                         $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='0' checked='checked' />". __('ASC','xpressme') ."</label>\n"; 
    533                 } 
    534                 $form .= '<br />'; 
    535                 $form .=  __('Number of displays of D3Forum comments.', 'xpressme') ." \n"; 
    536                 $form .= '&emsp<label> <input name="ch_d3forum_views_num" type="text" size="3" maxlength="3" value="'  . $this->d3forum_views_num . '" /></label>'."\n"; 
    537                 $form .= '<div class="submit">'."\n";            
    538                 $form .=  __('The import and the export between Wordpress Comments and the D3Forum Posts can be done. ', 'xpressme') ."<br />\n"; 
    539                 $form .= '<input type="submit" value= "' . __('Export to D3Forum', 'xpressme') . '" name="export_d3f" ' . $disible . ' >' ."\n"; 
    540                 $form .= '<input type="submit" value= "' . __('Import from D3Forum', 'xpressme') . '" name="inport_d3f" ' . $disible . ' >' ."<br />\n"; 
    541                 $form .= '</div>'."\n"; 
    542                 if (!empty($do_message)){ 
    543                         $form .= '<div>' . $do_message . '</div>'; 
    544                 } 
     516                        if ($this->is_use_d3forum)  $disible = ''; else $disible = 'disabled'; 
     517                        $form .=  __('Select the Type of display of D3Forum comment.', 'xpressme') . " \n&emsp"; 
     518                        if ($this->is_d3forum_flat){ 
     519                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='1' checked='checked' />" . __('Flat','xpressme') ."</label>\n"; 
     520                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='0' />". __('Threaded','xpressme') . "</label>\n"; 
     521                        }else{ 
     522                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='1' />" . __('Flat','xpressme') . "</label>\n"; 
     523                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_flat' value='0' checked='checked' />". __('Threaded','xpressme') ."</label>\n"; 
     524                        } 
     525                        $form .= '<br />'; 
     526                        $form .=  __('Select the order of display of D3Forum comment.', 'xpressme') . " \n&emsp"; 
     527                        if ($this->is_d3forum_desc){ 
     528                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='1' checked='checked' />" . __('DESC','xpressme') ."</label>\n"; 
     529                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='0' />". __('ASC','xpressme') . "</label>\n"; 
     530                        }else{ 
     531                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='1' />" . __('DESC','xpressme') . "</label>\n"; 
     532                                $form .= "&ensp<label><input type='radio' name='ch_is_d3forum_desc' value='0' checked='checked' />". __('ASC','xpressme') ."</label>\n"; 
     533                        } 
     534                        $form .= '<br />'; 
     535                        $form .=  __('Number of displays of D3Forum comments.', 'xpressme') ." \n"; 
     536                        $form .= '&emsp<label> <input name="ch_d3forum_views_num" type="text" size="3" maxlength="3" value="'  . $this->d3forum_views_num . '" /></label>'."\n"; 
     537                        $form .= '<div class="submit">'."\n";            
     538                        $form .=  __('The import and the export between Wordpress Comments and the D3Forum Posts can be done. ', 'xpressme') ."<br />\n"; 
     539                        $form .= '<input type="submit" value= "' . __('Export to D3Forum', 'xpressme') . '" name="export_d3f" ' . $disible . ' >' ."\n"; 
     540                        $form .= '<input type="submit" value= "' . __('Import from D3Forum', 'xpressme') . '" name="inport_d3f" ' . $disible . ' >' ."<br />\n"; 
     541                        $form .= '</div>'."\n"; 
     542                        if (!empty($do_message)){ 
     543                                $form .= '<div>' . $do_message . '</div>'; 
     544                        } 
    545545                } 
    546546                $form .=  "</td>\n"; 
Note: See TracChangeset for help on using the changeset viewer.