• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

XOOPS Cube Legacy base repository


Commit MetaInfo

Revisionc52d9866b9568fe565ef6995d571446c64e56e02 (tree)
Time2013-04-12 16:26:12
Authorkilica <kilica.hikawa@gmai...>
Commiterkilica

Log Message

Add category image function to lecat

Change Summary

Incremental Difference

--- a/extras/extra_modules/xoops_trust_path/modules/lecat/README_EN.txt
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/README_EN.txt
@@ -36,6 +36,11 @@ Then, they can use this module's delegate functions of Lecat_DelegateFunctions c
3636
3737 Update History
3838 --------------
39+ver 2.03
40+- Add category image working with legacy_image module.
41+- Add category list block.
42+- Fix Bug: module uninstaller using old method Lecat_Utils::getModuleHandler().
43+
3944 ver 2.01
4045 - Check client data existence before delete the category.
4146
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/actions/CatEditAction.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/actions/CatEditAction.class.php
@@ -155,7 +155,14 @@ class Lecat_CatEditAction extends Lecat_AbstractEditAction
155155 $render->setAttribute('object', $this->mObject);
156156 $render->setAttribute('catArr', $catArr);
157157 $render->setAttribute('dirname', $this->mAsset->mDirname);
158- }
158+
159+ //setup images
160+ $this->mObject->setupImages($isPost=false);
161+ $render->setAttribute('imageObjs', $this->mObject->mImage);
162+ $render->setAttribute('imageNameList', Xcck_Utils::getImageNameList($this->mAsset->mDirname));
163+ }
164+
165+
159166 }
160167
161168 ?>
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/actions/CatViewAction.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/actions/CatViewAction.class.php
@@ -44,6 +44,7 @@ class Lecat_CatViewAction extends Lecat_AbstractViewAction
4444 {
4545 parent::prepare();
4646 $this->mObject->loadPcat();
47+ $this->mObject->loadCatPath();
4748
4849 //for Permissions
4950 $this->mPermit->set('cat_id', $this->mObject->get('cat_id'));
@@ -71,6 +72,18 @@ class Lecat_CatViewAction extends Lecat_AbstractViewAction
7172 }
7273
7374 /**
75+ * getPageTitle
76+ *
77+ * @param void
78+ *
79+ * @return string
80+ **/
81+ public function getPagetitle()
82+ {
83+ return $this->mObject->getShow('title');
84+ }
85+
86+ /**
7487 * executeViewSuccess
7588 *
7689 * @param XCube_RenderTarget &$render
@@ -106,6 +119,9 @@ class Lecat_CatViewAction extends Lecat_AbstractViewAction
106119 $list = $this->mObject->getClientData($client, $list);
107120 }
108121 $render->setAttribute('clients', $list);
122+
123+ $breadcrumbs = $this->_getBreadcrumb($this->mObject);
124+ $render->setAttribute('xoops_breadcrumbs', $breadcrumbs);
109125 }
110126 }
111127
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/admin/class/installer/LecatInstallUtils.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/admin/class/installer/LecatInstallUtils.class.php
@@ -678,7 +678,7 @@ class Lecat_InstallUtils
678678 **/
679679 public static function updateBlockByInfo(/*** Legacy_BlockInformation ***/ &$info,/*** XoopsModule ***/ &$module,/*** Legacy_ModuleInstallLog ***/ &$log)
680680 {
681- $blockHandler =& Lecat_Utils::getModuleHandler('newblocks','legacy');
681+ $blockHandler =& Legacy_Utils::getModuleHandler('newblocks','legacy');
682682 $cri =new CriteriaCompo();
683683 $cri->add(new Criteria('dirname',$module->get('dirname')));
684684 $cri->add(new Criteria('func_num',$info->mFuncNum));
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/class/AbstractAction.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/class/AbstractAction.class.php
@@ -105,6 +105,13 @@ abstract class Lecat_AbstractAction
105105 $headerScript->addStylesheet($this->_getStylesheet());
106106 }
107107
108+ protected function _getBreadcrumb(/*** XoopsSimpleObject ***/ $object=null)
109+ {
110+ $breadcrumbs = array();
111+ XCube_DelegateUtils::call('Module.'.$this->mAsset->mDirname.'.Global.Event.GetBreadcrumbs', new XCube_Ref($breadcrumbs), $this->mAsset->mDirname, $object);
112+ return $breadcrumbs;
113+ }
114+
108115 /**
109116 * prepare
110117 *
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/class/DelegateFunctions.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/class/DelegateFunctions.class.php
@@ -7,6 +7,29 @@
77 if (!defined('XOOPS_ROOT_PATH')) exit();
88
99
10+class Lecat_Delegate
11+{
12+ public static function getBreadcrumbs(/*** Array ***/ &$breadcrumbs, /*** string ***/ $dirname, /*** Lecat_CategoryObject ***/ $category=null)
13+ {
14+ //module name set
15+ $modHandler = xoops_gethandler('module');
16+ $module = $modHandler->getByDirname($dirname);
17+ $breadcrumbs[] = array('name'=>$module->getVar('name'), 'url'=>Legacy_Utils::renderUri($dirname));
18+
19+ //catetgory name set
20+ if($category instanceof Lecat_CatObject){
21+ $category->loadCatPath();
22+ //parent page set
23+ $idArr = array_reverse($category->mCatPath['cat_id']);
24+ $titleArr = array_reverse($category->mCatPath['title']);
25+ foreach(array_keys($idArr) as $key){
26+ $breadcrumbs[] = array('name'=>$titleArr[$key], 'url'=>Legacy_Utils::renderUri($dirname, null, $idArr[$key]));
27+ }
28+ $breadcrumbs[] = array('name'=>$category->getShow('title'), 'url'=>Legacy_Utils::renderUri($dirname, null, $category->getShow('cat_id')));
29+ }
30+ }
31+}
32+
1033 class Lecat_CoolUriDelegate
1134 {
1235 /**
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/class/LecatUtils.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/class/LecatUtils.class.php
@@ -41,6 +41,30 @@ class Lecat_Utils
4141 return getenv($key);
4242 }
4343
44+ /**
45+ * getModuleConfig
46+ *
47+ * @param string $dirname
48+ * @param string $key
49+ *
50+ * @return mixed
51+ **/
52+ public static function getModuleConfig(/*** string ***/ $dirname, /*** string ***/ $key)
53+ {
54+ static $config = array();
55+ if(! isset($config[$dirname])){
56+ $chandler = xoops_gethandler('config');
57+ $config[$dirname] = $chandler->getConfigsByDirname($dirname);
58+ }
59+ return isset($config[$dirname][$key]) ? $config[$dirname][$key] : null;
60+ }
61+
62+ public static function getImageNameList(/*** string ***/ $dirname)
63+ {
64+ $list = array();
65+ return trim(self::getModuleConfig($dirname, 'images')) ? preg_split('/\x0d\x0a|\x0d|\x0a/', self::getModuleConfig($dirname, 'images'), null) : array();
66+ }
67+
4468 /**
4569 * getActorList
4670 *
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/class/handler/Cat.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/class/handler/Cat.class.php
@@ -372,12 +372,18 @@ class Lecat_CatObject extends Legacy_AbstractCategoryObject
372372
373373 return array();
374374 }
375+
376+ public function getImageNumber()
377+ {
378+ $list = Lecat_Utils::getImageNameList($this->getDirname());
379+ return count($list);
380+ }
375381 }
376382
377383 /**
378384 * Lecat_CatHandler
379385 **/
380-class Lecat_CatHandler extends XoopsObjectGenericHandler
386+class Lecat_CatHandler extends Legacy_AbstractClientObjectHandler
381387 {
382388 /**
383389 * @brief string
@@ -394,6 +400,8 @@ class Lecat_CatHandler extends XoopsObjectGenericHandler
394400 **/
395401 public $mClass = 'Lecat_CatObject';
396402
403+ protected $_mClientConfig = array('image'=>'images');
404+
397405 /**
398406 * __construct
399407 *
@@ -484,6 +492,18 @@ class Lecat_CatHandler extends XoopsObjectGenericHandler
484492 }
485493 return $tree;
486494 }
495+
496+ /**
497+ * check if use Legacy_Image
498+ *
499+ * @param mixed[] $conf
500+ *
501+ * @return bool
502+ */
503+ protected function _isImageClient(/*** mixed[] ***/ $conf)
504+ {
505+ return $conf[$this->_mClientConfig['image']] ? true : false;
506+ }
487507 }
488508
489509 ?>
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/language/english/admin.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/language/english/admin.php
@@ -5,4 +5,5 @@
55 * @version $Id$
66 **/
77
8-?>
8+define('_AD_LECAT_LANG_PARENT_ID', 'Show categories under this Id');
9+?>
\ No newline at end of file
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/language/english/modinfo.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/language/english/modinfo.php
@@ -52,15 +52,27 @@ define('_MI_LECAT_LANG_LECAT', 'Lecat');
5252 define('_MI_LECAT_DESC_LECAT', 'System Category module');
5353 define('_MI_LECAT_LANG_AUTHOR', 'HIKAWA Kilica <http://xoopsdev.com/>');
5454 define('_MI_LECAT_LANG_CREDITS', 'HIKAWA Kilica');
55+
56+/*** templates ***/
5557 define('_MI_LECAT_TPL_CAT_LIST', 'Category List');
5658 define('_MI_LECAT_TPL_CAT_EDIT', 'Category Edit');
5759 define('_MI_LECAT_TPL_CAT_DELETE', 'Category Delete');
5860 define('_MI_LECAT_TPL_CAT_VIEW', 'Category View');
5961 define('_MI_LECAT_TPL_DEFAULT_SET', 'Default Permission');
6062 define('_MI_LECAT_TPL_ACTOR_EDIT', 'Actor');
63+
64+/*** Configs ***/
6165 define('_MI_LECAT_LANG_CSS_FILE', 'CSS file url');
6266 define('_MI_LECAT_DESC_CSS_FILE', 'set CSS file url after {XOOPS_URL}');
6367 define('_MI_LECAT_LANG_MAXDEPTH', 'Max depth');
6468 define('_MI_LECAT_DESC_MAXDEPTH', 'Max depth in category tree.');
69+define('_MI_LECAT_LANG_IMAGES', 'Images for category');
70+define('_MI_LECAT_DESC_IMAGES', 'Assign Image labels for categories one by one line.<br />
71+example:<br />
72+Category Image Banner<br />
73+Category Icon<br />');
6574
75+/*** blocks ***/
76+define('_MI_LECAT_BLOCK_NAME_LIST', 'Category List');
77+define('_MI_LECAT_BLOCK_DESC_LIST', 'Show category tree');
6678 ?>
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/language/ja_utf8/admin.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/language/ja_utf8/admin.php
@@ -5,4 +5,5 @@
55 * @version $Id$
66 **/
77
8+define('_AD_LECAT_LANG_PARENT_ID', '指定したIDより下のカテゴリを表示します');
89 ?>
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/language/ja_utf8/modinfo.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/language/ja_utf8/modinfo.php
@@ -52,15 +52,27 @@ define('_MI_LECAT_LANG_LECAT', 'Lecat');
5252 define('_MI_LECAT_DESC_LECAT', 'カテゴリモジュール');
5353 define('_MI_LECAT_LANG_AUTHOR', 'HIKAWA Kilica <http://xoopsdev.com/>');
5454 define('_MI_LECAT_LANG_CREDITS', 'HIKAWA Kilica');
55+
56+/*** templates ***/
5557 define('_MI_LECAT_TPL_CAT_LIST', 'カテゴリ一覧');
5658 define('_MI_LECAT_TPL_CAT_EDIT', 'カテゴリ編集');
5759 define('_MI_LECAT_TPL_CAT_DELETE', 'カテゴリ削除');
5860 define('_MI_LECAT_TPL_CAT_VIEW', 'カテゴリ表示');
5961 define('_MI_LECAT_TPL_DEFAULT_SET', '初期アクセス権設定');
6062 define('_MI_LECAT_TPL_ACTOR_EDIT', '権限の編集');
63+
64+/*** configs ***/
6165 define('_MI_LECAT_LANG_CSS_FILE', 'CSS ファイルのURL');
6266 define('_MI_LECAT_DESC_CSS_FILE', 'カテゴリモジュール用のCSSファイルの場所を設定します('.XOOPS_URL.'以降を入力)');
6367 define('_MI_LECAT_LANG_MAXDEPTH', '階層制限');
6468 define('_MI_LECAT_DESC_MAXDEPTH', 'カテゴリ階層の制限。0にすると無制限');
69+define('_MI_LECAT_LANG_IMAGES', 'カテゴリ画像');
70+define('_MI_LECAT_DESC_IMAGES', 'カテゴリ用の画像を使う場合、改行区切りでラベルを指定します。<br />
71+例)<br />
72+カテゴリバナー画像<br />
73+カテゴリアイコン<br />');
6574
75+/*** blocks ***/
76+define('_MI_LECAT_BLOCK_NAME_LIST', 'カテゴリ一覧');
77+define('_MI_LECAT_BLOCK_DESC_LIST', 'カテゴリツリーを表示します');
6678 ?>
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/language/japanese/admin.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/language/japanese/admin.php
@@ -5,19 +5,5 @@
55 * @version $Id$
66 **/
77
8-
9-define('_AD_PROFILE_LANG_DEFINITIONS_EDIT', "プロフィール定義の編集");
10-define('_AD_PROFILE_LANG_DEFINITIONS_DELETE', "プロフィール定義の削除");
11-define('_AD_PROFILE_LANG_DEFINITIONS_VIEW', "プロフィール定義の表示");
12-define("_AD_PROFILE_TIPS_DATA_DOWNLOAD", "ユーザID順に並んだデータをCSV形式でダウンロードすることができます。");
13-define("_AD_PROFILE_DATA_NUM", "%d 人のプロフィールが登録されています。");
14-define("_AD_PROFILE_DATA_DOWNLOAD_DO", "CSVファイルをダウンロード");
15-define('_AD_PROFILE_DESC_FIELD_SELECTBOX', '選択肢を | で区切って入力してください');
16-define('_AD_PROFILE_DESC_FIELD_CHECKBOX', '「チェックありの場合の表示」「チェック無しの場合の表示」を | で区切って入力してください。空の場合は、「'._YES.'」と 「'._NO.'」が表示されます');
17-define('_AD_PROFILE_DESC_FIELD_STRING', '初期値を入れてください。');
18-define('_AD_PROFILE_DESC_FIELD_INT', '初期値を入れてください。');
19-define('_AD_PROFILE_DESC_FIELD_FLOAT', 'Set the default value.');
20-define('_AD_PROFILE_DESC_FIELD_TEXT', '"html" を選ぶと、Wysiwygエディタになります(Wysiwygエディタをインストールしてある場合).
21-"bbcode" を選ぶと、BBCode エディタになります。');
22-define('_AD_PROFILE_DESC_FIELD_CATEGORY', 'カテゴリモジュールのディレクトリ名');
8+define('_AD_LECAT_LANG_PARENT_ID', '指定したIDより下のカテゴリを表示します');
239 ?>
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/language/japanese/modinfo.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/language/japanese/modinfo.php
@@ -52,15 +52,27 @@ define('_MI_LECAT_LANG_LECAT', 'Lecat');
5252 define('_MI_LECAT_DESC_LECAT', 'カテゴリモジュール');
5353 define('_MI_LECAT_LANG_AUTHOR', 'HIKAWA Kilica <http://xoopsdev.com/>');
5454 define('_MI_LECAT_LANG_CREDITS', 'HIKAWA Kilica');
55+
56+/*** templates ***/
5557 define('_MI_LECAT_TPL_CAT_LIST', 'カテゴリ一覧');
5658 define('_MI_LECAT_TPL_CAT_EDIT', 'カテゴリ編集');
5759 define('_MI_LECAT_TPL_CAT_DELETE', 'カテゴリ削除');
5860 define('_MI_LECAT_TPL_CAT_VIEW', 'カテゴリ表示');
5961 define('_MI_LECAT_TPL_DEFAULT_SET', '初期アクセス権設定');
6062 define('_MI_LECAT_TPL_ACTOR_EDIT', '権限の編集');
63+
64+/*** Configs ***/
6165 define('_MI_LECAT_LANG_CSS_FILE', 'CSS ファイルのURL');
6266 define('_MI_LECAT_DESC_CSS_FILE', 'カテゴリモジュール用のCSSファイルの場所を設定します('.XOOPS_URL.'以降を入力)');
6367 define('_MI_LECAT_LANG_MAXDEPTH', '階層制限');
6468 define('_MI_LECAT_DESC_MAXDEPTH', 'カテゴリ階層の制限。0にすると無制限');
69+define('_MI_LECAT_LANG_IMAGES', 'カテゴリ画像');
70+define('_MI_LECAT_DESC_IMAGES', 'カテゴリ用の画像を使う場合、改行区切りでラベルを指定します。<br />
71+例)<br />
72+カテゴリバナー画像<br />
73+カテゴリアイコン<br />');
6574
75+/*** blocks ***/
76+define('_MI_LECAT_BLOCK_NAME_LIST', 'カテゴリ一覧');
77+define('_MI_LECAT_BLOCK_DESC_LIST', 'カテゴリツリーを表示します');
6678 ?>
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/preload/AssetPreload.class.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/preload/AssetPreload.class.php
@@ -56,7 +56,10 @@ class Lecat_AssetPreloadBase extends XCube_ActionFilter
5656 $this->mRoot->mDelegateManager->add('Legacy_Utils.CreateModule','Lecat_AssetPreloadBase::getModule');
5757 $this->mRoot->mDelegateManager->add('Legacy_Utils.CreateBlockProcedure','Lecat_AssetPreloadBase::getBlock');
5858 $this->mRoot->mDelegateManager->add('Module.'.$this->mDirname.'.Global.Event.GetNormalUri','Lecat_CoolUriDelegate::getNormalUri', $file);
59- $this->mRoot->mDelegateManager->add('Legacy_ImageClient.GetClientList','Lecat_ImageClientDelegate::getClientList', $file);
59+ $this->mRoot->mDelegateManager->add('Module.'.$this->mDirname.'.Global.Event.GetBreadcrumbs','Lecat_Delegate::getBreadcrumbs', $file);
60+
61+
62+ $this->mRoot->mDelegateManager->add('Legacy_ImageClient.GetClientList','Lecat_ImageClientDelegate::getClientList', $file);
6063
6164 //Legacy Category Delegate
6265 $prefix = 'Legacy_Category.' . $this->mDirname;
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/templates/lecat_cat_edit.html
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/templates/lecat_cat_edit.html
@@ -9,7 +9,7 @@
99 </ul>
1010 <{/if}>
1111 <h1><{$smarty.const._MD_LECAT_LANG_CAT_EDIT}></h1>
12-<form action="<{xoops_cooluri dirname=$dirname dataname=cat action=edit}>" method="post">
12+<form action="<{xoops_cooluri dirname=$dirname dataname=cat action=edit}>" method="post" enctype="multipart/form-data">
1313 <table class="outer" summary="">
1414 <caption>
1515 <{if $actionForm->get('cat_id')}>
@@ -53,7 +53,20 @@
5353 <{xoops_input type=text name=weight value=$actionForm->get('weight')}>
5454 </td>
5555 </tr>
56- </tbody>
56+ <{foreach item=imageKey from=$imageNameList key=n}>
57+ <tr>
58+ <th><{$imageNameList[$n]}></th>
59+ <td>
60+ <{if $imageObjs[$n] && $imageObjs[$n]->isNew()===false}>
61+ <{xoops_input type="checkbox" name="legacy_image_delete[$n]" value="1"}>
62+ <{$imageObjs[$n]->makeImageTag(0)}><br />
63+ <{/if}>
64+ <{xoops_input type="file" name="legacy_image[$n]" size="30"}>
65+ <{xoops_input type="hidden" name="legacy_image_id[$n]" value=$imageObjs[$n]->getShow('image_id')}>
66+ </td>
67+ </tr>
68+ <{/foreach}>
69+ </tbody>
5770 <tfoot>
5871 <tr>
5972 <td class="foot" colspan="2">
--- a/extras/extra_modules/xoops_trust_path/modules/lecat/xoops_version.php
+++ b/extras/extra_modules/xoops_trust_path/modules/lecat/xoops_version.php
@@ -140,17 +140,26 @@ $modversion['config'] = array(
140140 'default' => '0',
141141 'options' => array()
142142 ) ,
143-/*
144- array(
145- 'name' => 'xxxx',
146- 'title' => '_MI_LECAT_TITLE_XXXX',
147- 'description' => '_MI_LECAT_DESC_XXXX',
148- 'formtype' => 'xxxx',
149- 'valuetype' => 'xxx',
150- 'options' => array(xxx => xxx,xxx => xxx),
151- 'default' => 0
152- ),
153-*/
143+ array(
144+ 'name' => 'images',
145+ 'title' => '_MI_LECAT_LANG_IMAGES',
146+ 'description' => '_MI_LECAT_DESC_IMAGES',
147+ 'formtype' => 'textarea',
148+ 'valuetype' => 'text',
149+ 'default' => '',
150+ ),
151+
152+ /*
153+ array(
154+ 'name' => 'xxxx',
155+ 'title' => '_MI_LECAT_TITLE_XXXX',
156+ 'description' => '_MI_LECAT_DESC_XXXX',
157+ 'formtype' => 'xxxx',
158+ 'valuetype' => 'xxx',
159+ 'options' => array(xxx => xxx,xxx => xxx),
160+ 'default' => 0
161+ ),
162+ */
154163 ##[cubson:config]
155164 ##[/cubson:config]
156165 );
@@ -159,21 +168,17 @@ $modversion['config'] = array(
159168 // Block setting
160169 //
161170 $modversion['blocks'] = array(
162-/*
163- x => array(
164- 'func_num' => x,
165- 'file' => 'xxxBlock.class.php',
166- 'class' => 'xxx',
167- 'name' => _MI_LECAT_BLOCK_NAME_xxx,
168- 'description' => _MI_LECAT_BLOCK_DESC_xxx,
169- 'options' => '',
170- 'template' => '{dirname}_block_xxx.html',
171+ 1 => array(
172+ 'func_num' => 1,
173+ 'file' => 'ListBlock.class.php',
174+ 'class' => 'ListBlock',
175+ 'name' => _MI_LECAT_BLOCK_NAME_LIST,
176+ 'description' => _MI_LECAT_BLOCK_DESC_LIST,
177+ 'options' => '0',
178+ 'template' => '{dirname}_block_list.html',
171179 'show_all_module' => true,
172180 'visible_any' => true
173181 ),
174-*/
175-##[cubson:block]
176-##[/cubson:block]
177182 );
178183
179184 ?>