/home/techb158/exp.abdallabala.com/vendor/smarty/smarty/libs/plugins
NameSizeModeActions
block.textformat.php36640644editdlrm
function.counter.php18230644editdlrm
function.cycle.php33080644editdlrm
function.fetch.php80680644editdlrm
function.html_checkboxes.php95920644editdlrm
function.html_image.php56680644editdlrm
function.html_options.php82460644editdlrm
function.html_radios.php84340644editdlrm
function.html_select_date.php151830644editdlrm
function.html_select_time.php143750644editdlrm
function.html_table.php53750644editdlrm
function.mailto.php53860644editdlrm
function.math.php37850644editdlrm
modifier.capitalize.php42110644editdlrm
modifier.date_format.php26910644editdlrm
modifier.debug_print_var.php39290644editdlrm
modifier.escape.php96690644editdlrm
modifier.mb_wordwrap.php23460644editdlrm
modifier.regex_replace.php16570644editdlrm
modifier.replace.php9990644editdlrm
modifier.spacify.php7560644editdlrm
modifier.truncate.php22310644editdlrm
modifiercompiler.cat.php6120644editdlrm
modifiercompiler.count_characters.php9180644editdlrm
modifiercompiler.count_paragraphs.php6590644editdlrm
modifiercompiler.count_sentences.php7450644editdlrm
modifiercompiler.count_words.php9790644editdlrm
modifiercompiler.default.php7700644editdlrm
modifiercompiler.escape.php51250644editdlrm
modifiercompiler.from_charset.php7520644editdlrm
modifiercompiler.indent.php7120644editdlrm
modifiercompiler.lower.php7240644editdlrm
modifiercompiler.noprint.php3400644editdlrm
modifiercompiler.string_format.php5740644editdlrm
modifiercompiler.strip.php7980644editdlrm
modifiercompiler.strip_tags.php7200644editdlrm
modifiercompiler.to_charset.php7460644editdlrm
modifiercompiler.unescape.php11900644editdlrm
modifiercompiler.upper.php6780644editdlrm
modifiercompiler.wordwrap.php11120644editdlrm
outputfilter.trimwhitespace.php37770644editdlrm
shared.escape_special_chars.php9770644editdlrm
shared.literal_compiler_param.php10470644editdlrm
shared.make_timestamp.php14830644editdlrm
shared.mb_str_replace.php17900644editdlrm
shared.mb_unicode.php15300644editdlrm
variablefilter.htmlspecialchars.php4510644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/smarty/smarty/libs/plugins/modifier.capitalize.php (4211B)
* @author Rodney Rehm */ function smarty_modifier_capitalize($string, $uc_digits = false, $lc_rest = false) { if (Smarty::$_MBSTRING) { if ($lc_rest) { // uppercase (including hyphenated words) $upper_string = mb_convert_case($string, MB_CASE_TITLE, Smarty::$_CHARSET); } else { // uppercase word breaks $upper_string = preg_replace_callback( "!(^|[^\p{L}'])([\p{Ll}])!S" . Smarty::$_UTF8_MODIFIER, 'smarty_mod_cap_mbconvert_cb', $string ); } // check uc_digits case if (!$uc_digits) { if (preg_match_all( "!\b([\p{L}]*[\p{N}]+[\p{L}]*)\b!" . Smarty::$_UTF8_MODIFIER, $string, $matches, PREG_OFFSET_CAPTURE ) ) { foreach ($matches[ 1 ] as $match) { $upper_string = substr_replace( $upper_string, mb_strtolower($match[ 0 ], Smarty::$_CHARSET), $match[ 1 ], strlen($match[ 0 ]) ); } } } $upper_string = preg_replace_callback( "!((^|\s)['\"])(\w)!" . Smarty::$_UTF8_MODIFIER, 'smarty_mod_cap_mbconvert2_cb', $upper_string ); return $upper_string; } // lowercase first if ($lc_rest) { $string = strtolower($string); } // uppercase (including hyphenated words) $upper_string = preg_replace_callback( "!(^|[^\p{L}'])([\p{Ll}])!S" . Smarty::$_UTF8_MODIFIER, 'smarty_mod_cap_ucfirst_cb', $string ); // check uc_digits case if (!$uc_digits) { if (preg_match_all( "!\b([\p{L}]*[\p{N}]+[\p{L}]*)\b!" . Smarty::$_UTF8_MODIFIER, $string, $matches, PREG_OFFSET_CAPTURE ) ) { foreach ($matches[ 1 ] as $match) { $upper_string = substr_replace($upper_string, strtolower($match[ 0 ]), $match[ 1 ], strlen($match[ 0 ])); } } } $upper_string = preg_replace_callback( "!((^|\s)['\"])(\w)!" . Smarty::$_UTF8_MODIFIER, 'smarty_mod_cap_ucfirst2_cb', $upper_string ); return $upper_string; } /** * * Bug: create_function() use exhausts memory when used in long loops * Fix: use declared functions for callbacks instead of using create_function() * Note: This can be fixed using anonymous functions instead, but that requires PHP >= 5.3 * * @author Kyle Renfrow */ /** * @param $matches * * @return string */ function smarty_mod_cap_mbconvert_cb($matches) { return stripslashes($matches[ 1 ]) . mb_convert_case(stripslashes($matches[ 2 ]), MB_CASE_UPPER, Smarty::$_CHARSET); } /** * @param $matches * * @return string */ function smarty_mod_cap_mbconvert2_cb($matches) { return stripslashes($matches[ 1 ]) . mb_convert_case(stripslashes($matches[ 3 ]), MB_CASE_UPPER, Smarty::$_CHARSET); } /** * @param $matches * * @return string */ function smarty_mod_cap_ucfirst_cb($matches) { return stripslashes($matches[ 1 ]) . ucfirst(stripslashes($matches[ 2 ])); } /** * @param $matches * * @return string */ function smarty_mod_cap_ucfirst2_cb($matches) { return stripslashes($matches[ 1 ]) . ucfirst(stripslashes($matches[ 3 ])); }