Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

Location:
branches/version-2_12-dev/data/smarty_extends
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/smarty_extends/block.marquee.php

    r21420 r22567  
    88 * @return string 出力 
    99 */ 
    10 function smarty_block_marquee($params, $content, &$smarty, &$repeat) { 
     10function smarty_block_marquee($params, $content, &$smarty, &$repeat) 
     11{ 
    1112    // {/marquee}の場合のみ出力する。 
    1213    if ($repeat || !isset($content)) { 
  • branches/version-2_12-dev/data/smarty_extends/function.from_to.php

    r21526 r22567  
    3131 * @uses smarty_function_escape_special_chars() 
    3232 */ 
    33 function smarty_function_from_to($params, &$smarty) { 
     33function smarty_function_from_to($params, &$smarty) 
     34{ 
    3435    require_once $smarty->_get_plugin_filepath('shared', 'escape_special_chars'); 
    3536 
  • branches/version-2_12-dev/data/smarty_extends/function.html_checkboxes_ex.php

    r21479 r22567  
    3939 * @uses smarty_function_escape_special_chars() 
    4040 */ 
    41 function smarty_function_html_checkboxes_ex($params, &$smarty) { 
     41function smarty_function_html_checkboxes_ex($params, &$smarty) 
     42{ 
    4243    require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); 
    4344 
     
    127128} 
    128129 
    129 function smarty_function_html_checkboxes_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) { 
     130function smarty_function_html_checkboxes_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) 
     131{ 
    130132    $_output = ''; 
    131133 
  • branches/version-2_12-dev/data/smarty_extends/function.html_radios_ex.php

    r21527 r22567  
    3939 * @uses smarty_function_escape_special_chars() 
    4040 */ 
    41 function smarty_function_html_radios_ex($params, &$smarty) { 
     41function smarty_function_html_radios_ex($params, &$smarty) 
     42{ 
    4243    require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); 
    4344 
     
    129130} 
    130131 
    131 function smarty_function_html_radios_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) { 
     132function smarty_function_html_radios_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) 
     133{ 
    132134    $_output = ''; 
    133135 
  • branches/version-2_12-dev/data/smarty_extends/modifier.h.php

    r20116 r22567  
    1919 * @return string 
    2020 */ 
    21 function smarty_modifier_h($string) { 
     21function smarty_modifier_h($string) 
     22{ 
    2223    return htmlspecialchars($string, ENT_QUOTES); 
    2324} 
  • branches/version-2_12-dev/data/smarty_extends/modifier.nl2br_html.php

    r21420 r22567  
    1919 * @return string 
    2020 */ 
    21 function smarty_modifier_nl2br_html($string) { 
     21function smarty_modifier_nl2br_html($string) 
     22{ 
    2223    $lines = preg_split('/(\\r\\n|\\r|\\n)/', $string); 
    2324    $keys = array_keys($lines); 
  • branches/version-2_12-dev/data/smarty_extends/modifier.numeric_emoji.php

    r21420 r22567  
    99 * @return string 出力 
    1010 */ 
    11 function smarty_modifier_numeric_emoji($value) { 
     11function smarty_modifier_numeric_emoji($value) 
     12{ 
    1213    // 数字絵文字 (0~9) の絵文字番号 
    1314    static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 
  • branches/version-2_12-dev/data/smarty_extends/modifier.script_escape.php

    r21514 r22567  
    66 * @return string $value マッチした場合は変換後の文字列、しない場合は入力された文字列をそのまま返す。 
    77 */ 
    8 function smarty_modifier_script_escape($value) { 
     8function smarty_modifier_script_escape($value) 
     9{ 
    910 
    1011    if (is_array($value)) return $value; 
  • branches/version-2_12-dev/data/smarty_extends/modifier.u.php

    r20116 r22567  
    1919 * @return string 
    2020 */ 
    21 function smarty_modifier_u($string) { 
     21function smarty_modifier_u($string) 
     22{ 
    2223    return htmlspecialchars(rawurlencode($string), ENT_QUOTES); 
    2324} 
Note: See TracChangeset for help on using the changeset viewer.