待辦事項 #9817

Blocks problem without edit_func
啟用日期: 2007-01-17 16:25 最後更新: 2007-01-19 17:18

回報者:
負責人:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
3
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

Reported by ryuji

If block has the following settings...

$modversion['blocks][1]['file'] = 'block.php';
$modversion['blocks][1]['name'] = _MI_TEST_BLOCK;
$modversion['blocks][1]['description'] =
_MI_TEST_BLOCK_DESC;
$modversion['blocks][1]['show_func'] = 'b_test_block_show';
$modversion['blocks][1]['template'] = 'test_block.html';
$modversion['blocks][1]['options'] = '1';

This block has options, but it doesn't have edit_func.
In this case, Legacy doesn't recognize the options
value. This case is rare. But, it's uncompatibility
with XOOPS2 JP.

[JA]
ブロックが以下のような設定だった場合...

$modversion['blocks][1]['file'] = 'block.php';
$modversion['blocks][1]['name'] = _MI_TEST_BLOCK;
$modversion['blocks][1]['description'] =
_MI_TEST_BLOCK_DESC;
$modversion['blocks][1]['show_func'] = 'b_test_block_show';
$modversion['blocks][1]['template'] = 'test_block.html';
$modversion['blocks][1]['options'] = '1';

このブロックはオプションは持っていますが、 edit_func を
持っていません。このケースでは、 Legacy はオプション値
を認識しません。このケースはレアです。しかし、 XOOPS2
JP と非互換です。

Ticket History (3/3 Histories)

2007-01-17 16:48 Updated by: minahito
  • 負責人 Update from (無) to minahito
  • 處理結果 Update from to Accepted
評語
Logged In: YES
user_id=8353

Let's check.

[JA]
とりあえず見てみます。
2007-01-17 19:15 Updated by: minahito
  • 處理結果 Update from Accepted to 修正
評語
Logged In: YES
user_id=8353

Fixed.
2007-01-19 17:18 Updated by: minahito
  • Ticket Close date is changed to 2007-01-19 17:18
  • 狀態 Update from 開啟 to 關閉

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入