- Timestamp:
- Mar 16, 2009, 6:17:13 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/recent_comments_block.php
r100 r109 21 21 $disp_length = empty( $options[2] ) ? '30' : $options[2] ; 22 22 $selected = array_slice($options,3); // get allowed cats 23 $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_ block_recent_comments.html' : trim( $options[4] );23 $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_recent_comments_block.html' : trim( $options[4] ); 24 24 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 25 25 -
trunk/blocks/recent_posts_content_block.php
r100 r109 23 23 $tag_select = $options[4] ; 24 24 $selected = array_slice($options,5); // get allowed cats 25 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_ block_recent_posts_content.html' : trim( $options[5] );25 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[5] ); 26 26 27 27 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; -
trunk/blocks/recent_posts_list_block.php
r100 r109 22 22 $tag_select = $options[4] ; 23 23 $selected = array_slice($options,5); // get allowed cats 24 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_ block_posts.html' : trim( $options[6] );24 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_recent_posts_list_block.html' : trim( $options[6] ); 25 25 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 26 26 -
trunk/include/xpress_render.php
r96 r109 99 99 function xpress_render($contents){ 100 100 global $xoops_config , $xoopsTpl; 101 $mydirname = basename(dirname(dirname(__FILE__))); 101 102 include $xoops_config->xoops_root_path ."/header.php"; 102 103 $page_title = $GLOBALS["xoopsModule"]->getVar("name")." ".wp_title('»', false); … … 104 105 $xoopsTpl->assign('xoops_pagetitle', $page_title); 105 106 $xoopsTpl->assign('xpress_body_contents', get_body($contents)); 106 echo get_body($contents); 107 $templates_file = 'db:'.$mydirname. '_index.html'; 108 echo $xoopsTpl->fetch( $templates_file ) ; 107 109 require_once( ABSPATH .'/include/xpress_breadcrumbs.php' ); 108 110 include $xoops_config->xoops_root_path . '/footer.php'; -
trunk/include/xpress_templates_make.php
r102 r109 76 76 'recent_posts_content_block.html', 77 77 'recent_posts_list_block.html', 78 'calender_block.html', 79 'popular_posts_block.html', 80 'index.html', 78 81 ); 79 82 foreach($temp_list as $ck_file){ -
trunk/language/ja_utf8/blocks.php
r100 r109 22 22 define("_MB_XPRESS_BLOCK_CACHE_ERR","キャッシュが存在しません。<br />最初に%sモジュールにアクセスしてください。"); 23 23 24 // calender 25 define("_MB_XPRESS_SUN_COLOR","日曜日の表示色"); 26 define("_MB_XPRESS_SAT_COLOR","土曜日の表示色"); 27 28 // popular 29 define("_MB_MONTH_RANGE","指定月数内のものを表示(0;指定なし)"); 24 30 } 25 31 ?> -
trunk/language/ja_utf8/modinfo.php
r107 r109 20 20 define("_MI_XPRESS_BLOCK_CONTENT","最近の記事内容"); 21 21 define("_MI_XPRESS_BLOCK_POSTS","最近の記事"); 22 define("_MI_XPRESS_BLOCK_CALENDER","カレンダー"); 23 define("_MI_XPRESS_BLOCK_POPULAR","人気記事リスト"); 22 24 23 25 // Notify Categories -
trunk/wp-content/themes/xpress_default/blocks/recent_comments_block_theme.php
r104 r109 8 8 $disp_length = empty( $options[2] ) ? '30' : $options[2] ; 9 9 $selected = array_slice($options,3); // get allowed cats 10 $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_ block_comments.html' : trim( $options[4] );10 $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_recent_comments_block.html' : trim( $options[4] ); 11 11 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 12 12 $mydirpath = get_xpress_dir_path(); -
trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
r95 r109 10 10 $tag_select = $options[4] ; 11 11 $selected = array_slice($options,5); // get allowed cats 12 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_ block_content.html' : trim( $options[6] );12 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_recent_posts_content_block.html' : trim( $options[6] ); 13 13 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 14 14 $mydirpath = get_xpress_dir_path(); -
trunk/wp-content/themes/xpress_default/blocks/recent_posts_list_block_theme.php
r100 r109 8 8 $tag_select = $options[4] ; 9 9 $selected = array_slice($options,5); // get allowed cats 10 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_ block_posts.html' : trim( $options[6] );10 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_recent_posts_list_block.html' : trim( $options[6] ); 11 11 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 12 12 $mydirpath = get_xpress_dir_path(); -
trunk/xoops_version.php
r108 r109 132 132 'func_num' => 3, 133 133 ); 134 $modversion['blocks'][4] = array( 135 'file' => 'calender_block.php' , 136 'name' => constant('_MI_XPRESS_BLOCK_CALENDER') , 137 'description' => '' , 138 'show_func' => "b_". $mydirname . "_calender_show" , 139 'edit_func' => "b_". $mydirname . "_calender_edit" , 140 'options' => $mydirname. '|#DB0000|#004D99' , 141 'can_clone' => false , 142 'func_num' => 4, 143 ); 144 $modversion['blocks'][5] = array( 145 'file' => 'popular_posts_block.php' , 146 'name' => constant('_MI_XPRESS_BLOCK_POPULAR') , 147 'description' => '' , 148 'show_func' => "b_". $mydirname . "_popular_show" , 149 'edit_func' => "b_". $mydirname . "_popular_edit" , 150 'options' => $mydirname. '|10|0||0' , 151 'can_clone' => true , 152 'func_num' => 5, 153 ); 134 154 135 155 // Notification
Note: See TracChangeset
for help on using the changeset viewer.