CC-1695 Remove Campcaster Studio and make install easier
Moved Smarty
This commit is contained in:
parent
81d499060b
commit
acda23db88
102 changed files with 22 additions and 0 deletions
29
3rd_party/php/Smarty/libs/plugins/modifier.regex_replace.php
vendored
Normal file
29
3rd_party/php/Smarty/libs/plugins/modifier.regex_replace.php
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
/**
|
||||
* Smarty plugin
|
||||
* @package Smarty
|
||||
* @subpackage plugins
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Smarty regex_replace modifier plugin
|
||||
*
|
||||
* Type: modifier<br>
|
||||
* Name: regex_replace<br>
|
||||
* Purpose: regular epxression search/replace
|
||||
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
|
||||
* regex_replace (Smarty online manual)
|
||||
* @param string
|
||||
* @param string|array
|
||||
* @param string|array
|
||||
* @return string
|
||||
*/
|
||||
function smarty_modifier_regex_replace($string, $search, $replace)
|
||||
{
|
||||
return preg_replace($search, $replace, $string);
|
||||
}
|
||||
|
||||
/* vim: set expandtab: */
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue