mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-07 15:51:37 +01:00
24 lines
371 B
PHP
24 lines
371 B
PHP
<?php
|
|
/**
|
|
* Smarty block plugin dummy for testing plugin functionallity
|
|
*
|
|
|
|
|
|
*/
|
|
/**
|
|
* Smarty {dummyblock} {/dummyblock}
|
|
*
|
|
* @param $params
|
|
* @param $content
|
|
* @param $template
|
|
* @param $repeat
|
|
*/
|
|
function smarty_block_dummyblock($params, $content, $template, &$repeat)
|
|
{
|
|
if (is_null($content)) {
|
|
return;
|
|
} else {
|
|
return $content;
|
|
}
|
|
}
|