Changeset 451 for branches/XPressMU/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/widget_block_theme.php
- Timestamp:
- Nov 20, 2009, 2:52:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/XPressMU/xpressme_integration_kit/wp-content/themes/xpress_default/blocks/widget_block_theme.php
r339 r451 1 1 <?php 2 // Block Version: 1.0 2 3 function widget_block($options) 3 4 { … … 5 6 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_block_widget.html' : trim( $options[1] ); 6 7 $title_show = empty( $options[2] ) ? false : true ; 7 $selected = array_slice($options,3); // get allowed cats 8 $widget_select = empty( $options[3] ) ? '' : $options[3] ; 9 10 $selected = explode(',' , $widget_select); 8 11 9 12 $output = '';
Note: See TracChangeset
for help on using the changeset viewer.