Changeset 22567 for branches/version-2_12-dev/data/smarty_extends
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- 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 8 8 * @return string 出力 9 9 */ 10 function smarty_block_marquee($params, $content, &$smarty, &$repeat) { 10 function smarty_block_marquee($params, $content, &$smarty, &$repeat) 11 { 11 12 // {/marquee}の場合のみ出力する。 12 13 if ($repeat || !isset($content)) { -
branches/version-2_12-dev/data/smarty_extends/function.from_to.php
r21526 r22567 31 31 * @uses smarty_function_escape_special_chars() 32 32 */ 33 function smarty_function_from_to($params, &$smarty) { 33 function smarty_function_from_to($params, &$smarty) 34 { 34 35 require_once $smarty->_get_plugin_filepath('shared', 'escape_special_chars'); 35 36 -
branches/version-2_12-dev/data/smarty_extends/function.html_checkboxes_ex.php
r21479 r22567 39 39 * @uses smarty_function_escape_special_chars() 40 40 */ 41 function smarty_function_html_checkboxes_ex($params, &$smarty) { 41 function smarty_function_html_checkboxes_ex($params, &$smarty) 42 { 42 43 require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); 43 44 … … 127 128 } 128 129 129 function smarty_function_html_checkboxes_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) { 130 function smarty_function_html_checkboxes_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) 131 { 130 132 $_output = ''; 131 133 -
branches/version-2_12-dev/data/smarty_extends/function.html_radios_ex.php
r21527 r22567 39 39 * @uses smarty_function_escape_special_chars() 40 40 */ 41 function smarty_function_html_radios_ex($params, &$smarty) { 41 function smarty_function_html_radios_ex($params, &$smarty) 42 { 42 43 require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); 43 44 … … 129 130 } 130 131 131 function smarty_function_html_radios_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) { 132 function smarty_function_html_radios_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) 133 { 132 134 $_output = ''; 133 135 -
branches/version-2_12-dev/data/smarty_extends/modifier.h.php
r20116 r22567 19 19 * @return string 20 20 */ 21 function smarty_modifier_h($string) { 21 function smarty_modifier_h($string) 22 { 22 23 return htmlspecialchars($string, ENT_QUOTES); 23 24 } -
branches/version-2_12-dev/data/smarty_extends/modifier.nl2br_html.php
r21420 r22567 19 19 * @return string 20 20 */ 21 function smarty_modifier_nl2br_html($string) { 21 function smarty_modifier_nl2br_html($string) 22 { 22 23 $lines = preg_split('/(\\r\\n|\\r|\\n)/', $string); 23 24 $keys = array_keys($lines); -
branches/version-2_12-dev/data/smarty_extends/modifier.numeric_emoji.php
r21420 r22567 9 9 * @return string 出力 10 10 */ 11 function smarty_modifier_numeric_emoji($value) { 11 function smarty_modifier_numeric_emoji($value) 12 { 12 13 // 数字絵文字 (0~9) の絵文字番号 13 14 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 6 6 * @return string $value マッチした場合は変換後の文字列、しない場合は入力された文字列をそのまま返す。 7 7 */ 8 function smarty_modifier_script_escape($value) { 8 function smarty_modifier_script_escape($value) 9 { 9 10 10 11 if (is_array($value)) return $value; -
branches/version-2_12-dev/data/smarty_extends/modifier.u.php
r20116 r22567 19 19 * @return string 20 20 */ 21 function smarty_modifier_u($string) { 21 function smarty_modifier_u($string) 22 { 22 23 return htmlspecialchars(rawurlencode($string), ENT_QUOTES); 23 24 }
Note: See TracChangeset
for help on using the changeset viewer.