Ignore:
Timestamp:
2011/03/07 15:37:16 (13 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)

  • 半SP
Location:
branches/version-2_5-dev/data/smarty_extends
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/smarty_extends/function.from_to.php

    r20116 r20540  
    3434{ 
    3535    require_once $smarty->_get_plugin_filepath('shared', 'escape_special_chars'); 
    36      
     36 
    3737    $from = null; 
    3838    $to = null; 
    3939    $separator = ' ~ '; 
    4040    $escape = true; 
    41      
     41 
    4242    foreach ($params as $_key => $_val) { 
    4343        switch ($_key) { 
     
    4848            $$_key = (string) $_val; 
    4949            break; 
    50          
     50 
    5151        default: 
    5252            $smarty->trigger_error("from_to: extra attribute '$_key' is unknown.", E_USER_NOTICE); 
     
    5454        } 
    5555    } 
    56      
     56 
    5757    if ($escape) { 
    5858        $from = smarty_function_escape_special_chars($from); 
    5959        $to   = smarty_function_escape_special_chars($to); 
    6060    } 
    61      
     61 
    6262    if ($from === $to) { 
    6363        return $from; 
  • branches/version-2_5-dev/data/smarty_extends/function.html_radios_ex.php

    r18234 r20540  
    4242{ 
    4343    require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); 
    44     
     44 
    4545    $name = 'radio'; 
    4646    $values = null; 
     
    132132function smarty_function_html_radios_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) { 
    133133   $_output = ''; 
    134    
     134 
    135135   $_output .= '<input type="radio" name="' 
    136136        . smarty_function_escape_special_chars($name) . '" value="' 
     
    146146     
    147147    $_output .= $extra . ' />'; 
    148      
     148 
    149149    $_output .= $tags[0]; 
    150150         
  • branches/version-2_5-dev/data/smarty_extends/modifier.nl2br_html.php

    r20116 r20540  
    3535    } 
    3636    unset($line); 
    37      
     37 
    3838    return implode('', $lines); 
    3939} 
Note: See TracChangeset for help on using the changeset viewer.