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

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

  • 半SP
File:
1 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; 
Note: See TracChangeset for help on using the changeset viewer.