Changeset 95 for trunk/wp-content/themes/xpress_default
- Timestamp:
- Mar 3, 2009, 8:33:23 PM (16 years ago)
- Location:
- trunk/wp-content/themes/xpress_default/blocks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php
r49 r95 1 1 <?php 2 if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;2 //if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; 3 3 4 4 function recent_comments_block($options) … … 9 9 $selected = array_slice($options,3); // get allowed cats 10 10 $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_block_comments.html' : trim( $options[4] ); 11 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;12 11 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 12 $mydirpath = get_xpress_dir_path(); 13 13 $this_url = '/modules/'. $mydirname; 14 14 $call_url = $_SERVER['REQUEST_URI']; -
trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
r58 r95 1 1 <?php 2 if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;2 //if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; 3 3 4 4 function recent_posts_content_block($options) … … 11 11 $selected = array_slice($options,5); // get allowed cats 12 12 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_block_content.html' : trim( $options[6] ); 13 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 13 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 14 $mydirpath = get_xpress_dir_path(); 14 15 15 16 $this_url = '/modules/'. $mydirname;
Note: See TracChangeset
for help on using the changeset viewer.