Changeset 195 for trunk/blocks
- Timestamp:
- Apr 24, 2009, 12:33:23 AM (16 years ago)
- Location:
- trunk/blocks
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/archives_block.php
r183 r195 19 19 { 20 20 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 21 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ block_category.html' : trim( $options[1] );21 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_archives_block.html' : trim( $options[1] ); 22 22 $type = empty( $options[2] ) ? 'monthly' : $options[2] ; 23 23 $limit = !is_numeric( $options[3] ) ? 0 : $options[3] ; -
trunk/blocks/authors_block.php
r183 r195 19 19 { 20 20 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 21 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ block_authors.html' : trim( $options[1] );21 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_authors_block.html' : trim( $options[1] ); 22 22 $optioncount = empty( $options[2] ) ? false : true ; 23 23 $exclude_admin = empty( $options[3] ) ? false : true ; -
trunk/blocks/enhanced_block.php
r183 r195 12 12 ' ) ; 13 13 14 if( ! defined( 'XPRESS_ TAG_CLOUD_BLOCK_INCLUDED' ) ) {15 define( 'XPRESS_ TAG_CLOUD_BLOCK_INCLUDED' , 1 ) ;14 if( ! defined( 'XPRESS_ENHANCED_BLOCK_INCLUDED' ) ) { 15 define( 'XPRESS_ENHANCED_BLOCK_INCLUDED' , 1 ) ; 16 16 17 17 function _b_enhanced_edit($options) -
trunk/blocks/meta_block.php
r183 r195 18 18 { 19 19 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ block_meta.html' : trim( $options[1] );20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_meta_block.html' : trim( $options[1] ); 21 21 $wp_link = empty( $options[2] ) ? false : true ; 22 22 $xoops_link = empty( $options[3] ) ? false : true ; -
trunk/blocks/page_block.php
r183 r195 13 13 14 14 if( ! defined( 'XPRESS_PAGE_BLOCK_INCLUDED' ) ) { 15 define( 'XPRESS_ page_PAGE_INCLUDED' , 1 ) ;15 define( 'XPRESS_PAGE_BLOCK_INCLUDED' , 1 ) ; 16 16 17 17 function _b_page_edit($options) -
trunk/blocks/popular_posts_block.php
r183 r195 17 17 { 18 18 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 19 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ block_popular.html' : trim( $options[1] );19 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_popular_posts_block.html' : trim( $options[1] ); 20 20 $disp_count = empty( $options[2] ) ? '10' : $options[2] ; 21 21 $show_month_range = empty( $options[3] ) ? '0' : $options[3] ; -
trunk/blocks/tag_cloud_block.php
r183 r195 18 18 { 19 19 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ block_meta.html' : trim( $options[1] );20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_tag_cloud_block.html' : trim( $options[1] ); 21 21 $smallest = !is_numeric( $options[2] ) ? 8 : $options[2] ; 22 22 $largest = !is_numeric( $options[3] ) ? 22 : $options[3] ; -
trunk/blocks/widget_block.php
r194 r195 18 18 { 19 19 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_ block_widget.html' : trim( $options[1] );20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_widget_block.html' : trim( $options[1] ); 21 21 $selected = array_slice($options,2); // get allowed cats 22 22
Note: See TracChangeset
for help on using the changeset viewer.