svnno****@sourc*****
svnno****@sourc*****
2009年 1月 31日 (土) 19:17:47 JST
Revision: 165 http://svn.sourceforge.jp/view?root=cinemaru&view=rev&rev=165 Author: asben Date: 2009-01-31 19:17:47 +0900 (Sat, 31 Jan 2009) Log Message: ----------- Removed Paths: ------------- trunk/cinemaru/blocks/cinemaru_block_test.php Deleted: trunk/cinemaru/blocks/cinemaru_block_test.php =================================================================== --- trunk/cinemaru/blocks/cinemaru_block_test.php 2009-01-31 10:13:32 UTC (rev 164) +++ trunk/cinemaru/blocks/cinemaru_block_test.php 2009-01-31 10:17:47 UTC (rev 165) @@ -1,34 +0,0 @@ -<?php -//-------------------------------------------------------------------------------- -// descript : Block of Hot TAG functions -// function : b_cinemaru_block_hottag, b_cinemaru_block_hottag_edit -// args : $options: block option -// author : asben @ bookmark -// date : 2009/1/31 -// Reference keyword: block_of_hottag -//-------------------------------------------------------------------------------- -if (defined('__CINEMARU_BLOCK_TEST_PHP__')) { - return; -} -define('__CINEMARU_BLOCK_TEST_PHP__', 1); - -function b_cinemaru_block_test( $options ) -{ - global $xoopsTpl; - global $xoopsConfig; - - if (empty($options[0])) { - $mydirname_cinemaru = 'cinemaru'; - } else { - $mydirname_cinemaru = $options[0]; - } - - $GLOBALS['mydirname'] = $mydirname_cinemaru; - require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/pagenavi.class.php'); - require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/db.php'); - require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/include/misc.php'); - require_once(XOOPS_ROOT_PATH . '/modules/' . $mydirname_cinemaru . '/constants.php'); - - $xoopsTpl->assign('cinemaru_block_test', "This is TEST"); - return array(1); -}