Source for file block.box.php
Documentation is available at block.box.php
* Smarty {box} block plugin
* - title (optional) box title
* - class (optional) overrides the default class 'box'
* - biticon values (optional) see function.biticon.php for details
* - idiv (optional) name of class of div that surrounds icon (if not set, no div is created)
* @uses smarty_function_escape_special_chars()
* @todo somehow make the variable that is contained within $iselect global --> this will allow importing of outside variables not set in $_REQUEST
if( empty( $pContent )) {
foreach( $params as $key => $val ) {
$gBitSmarty->assign( $key, tra( $val ) );
$gBitSmarty->assign( $key,$val );
$atts .= $key. '="'. $val. '" ';
$gBitSmarty->assign( 'content',$pContent );
$gBitSmarty->assign( 'atts',$atts );
return $gBitSmarty->fetch( 'bitpackage:kernel/box.tpl' );
|