Ignore:
Timestamp:
2012/02/06 11:05:15 (12 years ago)
Author:
Seasoft
Message:

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

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/smarty_extends/function.html_checkboxes_ex.php

    r21420 r21441  
    5454    $extra = ''; 
    5555 
    56     foreach($params as $_key => $_val) { 
    57         switch($_key) { 
     56    foreach ($params as $_key => $_val) { 
     57        switch ($_key) { 
    5858    case 'tags': 
    5959    $$_key = split("\|", $_val); 
     
    9292 
    9393            default: 
    94                 if(!is_array($_val)) { 
     94                if (!is_array($_val)) { 
    9595                    $extra .= ' '.$_key.'="'.smarty_function_escape_special_chars($_val).'"'; 
    9696                } else { 
     
    121121    } 
    122122 
    123     if(!empty($params['assign'])) { 
     123    if (!empty($params['assign'])) { 
    124124        $smarty->assign($params['assign'], $_html_result); 
    125125    } else { 
     
    148148 
    149149    if ($labels) { 
    150     if($label_ids) { 
     150    if ($label_ids) { 
    151151    $_id = smarty_function_escape_special_chars(preg_replace('![^\w\-\.]!', '_', $name . '_' . $value)); 
    152152    $_output .= '<label for="' . $_id . '">'; 
Note: See TracChangeset for help on using the changeset viewer.