block_box

Created by: hiran, Last modification: 21 Jan 2007 (12:09 UTC)
Creates a box in the 'bitweaver' style. Default is a
element with according parameters, but this may be overridden.
Use this function to create boxes that can be easily styled later on.

Parameters

titleBox titleoptional
classBox class (for CSS)optional
iclass
ipackagesame as for function_biticonoptional, required for iname
inamesame as for function_biticonoptional, required for ipackage
iexplainsame as for function_biticonoptional, only used with iname/ipackage
idivsame as for function_biticonoptional, only used with iname/ipackage

Any other attributes are passed through directly.

Sample


<?php
{box title="my box title" ipackage="mypackage" iname="my_icon_name"}
    
This is the box' content.
{/box}
?>


See also

Related Items

Documentation » Technical Documentation » Smarty Functions

a list of custom smarty functions that are used and maintained by bitweaver

  •    •    •    •    •    •    •    •    •    •    •    •    •    •