You appear to be a bot. Output may be restricted
Description
Syntax [bw_block class="classes" title="title text" framed="y/n,t/f,1/0"] Future use parameters are prefix="art-" level="h3" – heading level for the block title
Usage
bw_block_40( $atts );
Parameters
- $atts
- ( mixed ) optional –
Returns
voidSource
File name: oik/bw_block_40.incLines:
1 to 20 of 20
function bw_block_40( $atts=null ) { //bw_trace( $atts, __FUNCTION__, __LINE__, __FILE__, "atts" ); $class = bw_array_get( $atts, "class", null ); $title = bw_array_get( $atts, "title", null ); $prefix = bw_array_get( $atts, "prefix", "art-" ); $level = bw_array_get( $atts, "level", "div" ); /* We can't pass the prefix or heading level yet */ /* the block is enclosed in a div which can be used to control the width and depth We save the div_class just in case it's needed in the bw_eblock() processing Actually, this is a bit daft. Since it is possible to nest blocks within blocks the saved value will be that of the most recently nested blocks. So if we wanted to be able to do something with it we would need to manage a stack. */ global $div_class; $div_class = $class; sdiv( $class ); sartblock_40( $title ); return( bw_ret()); }View on GitHub View on Trac