CC-1695 Remove Campcaster Studio and make install easier

Moved Smarty
This commit is contained in:
paul.baranowski 2010-09-30 15:52:08 -04:00
parent 81d499060b
commit acda23db88
102 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,27 @@
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
* Smarty indent modifier plugin
*
* Type: modifier<br>
* Name: indent<br>
* Purpose: indent lines of text
* @link http://smarty.php.net/manual/en/language.modifier.indent.php
* indent (Smarty online manual)
* @param string
* @param integer
* @param string
* @return string
*/
function smarty_modifier_indent($string,$chars=4,$char=" ")
{
return preg_replace('!^!m',str_repeat($char,$chars),$string);
}
?>