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