HBcms是一个用Pear框架+Smarty模板引擎构架的cms项目,欢迎大家参与制作Smarty模板

$php_handling
php处理变量

This tells Smarty how to handle PHP code embedded in the templates. There are four possible settings, default being SMARTY_PHP_PASSTHRU. Note that this does NOT affect php code within {php}{/php} tags in the template.
该变量告诉Smarty怎样处理嵌入到模版中的php代码.有四种可能的设置,默认为SMARTY_PHP_PASSTHRU.注意:改变量的设置不会影响模板里面{php}{/php}标记中的php代码.

NOTE: Embedding PHP code into templates is highly discouraged. Use custom functions or modifiers instead.
极度不赞成将php代码嵌入到模板中.

这是一份简单的Smarty手册和Smarty教材,熟练掌握Smarty模板,让您做项目事半功倍