Changeset 20540 for branches/version-2_5-dev/data/smarty_extends
- Timestamp:
- 2011/03/07 15:37:16 (13 years ago)
- Location:
- branches/version-2_5-dev/data/smarty_extends
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/smarty_extends/function.from_to.php
r20116 r20540 34 34 { 35 35 require_once $smarty->_get_plugin_filepath('shared', 'escape_special_chars'); 36 36 37 37 $from = null; 38 38 $to = null; 39 39 $separator = ' ~ '; 40 40 $escape = true; 41 41 42 42 foreach ($params as $_key => $_val) { 43 43 switch ($_key) { … … 48 48 $$_key = (string) $_val; 49 49 break; 50 50 51 51 default: 52 52 $smarty->trigger_error("from_to: extra attribute '$_key' is unknown.", E_USER_NOTICE); … … 54 54 } 55 55 } 56 56 57 57 if ($escape) { 58 58 $from = smarty_function_escape_special_chars($from); 59 59 $to = smarty_function_escape_special_chars($to); 60 60 } 61 61 62 62 if ($from === $to) { 63 63 return $from; -
branches/version-2_5-dev/data/smarty_extends/function.html_radios_ex.php
r18234 r20540 42 42 { 43 43 require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); 44 44 45 45 $name = 'radio'; 46 46 $values = null; … … 132 132 function smarty_function_html_radios_output_ex($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $tags) { 133 133 $_output = ''; 134 134 135 135 $_output .= '<input type="radio" name="' 136 136 . smarty_function_escape_special_chars($name) . '" value="' … … 146 146 147 147 $_output .= $extra . ' />'; 148 148 149 149 $_output .= $tags[0]; 150 150 -
branches/version-2_5-dev/data/smarty_extends/modifier.nl2br_html.php
r20116 r20540 35 35 } 36 36 unset($line); 37 37 38 38 return implode('', $lines); 39 39 }
Note: See TracChangeset
for help on using the changeset viewer.