Ticket #6208

テンプレートマネージャーの「インポート」機能のファイルの所在パス指定がバラバラ
Open Date: 2005-06-23 17:24 Last Update: 2005-06-28 10:31

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

xoops2すべて
テンプレートマネージャーでの
「インポート」機能
って、どういう使い方するか、知らないのですが
違っているかもしれませんが

html / modules / system / admin / tplsets / main.php
での
「インポート」機能のファイルの所在パス指定が
一致してないのです
動かない方が良いのカナ

170
$physical_file =
XOOPS_THEME_PATH.'/'.$tplset.'/templates/'.$moddir.'/'.
$filename;

200
$physical_file =
XOOPS_ROOT_PATH.'/templates/'.$tplset.'/'.$moddir.'/'.$
nfile;

230 $physical_file =
XOOPS_ROOT_PATH.'/templates/'.$tplset.'/'.$moddir.'/blo
cks/'.$filename;

260
$physical_file =
XOOPS_ROOT_PATH.'/templates/'.$tplset.'/'.$moddir.'/blo
cks/'.$nfile;

1377
$filepath =
XOOPS_ROOT_PATH.'/templates/'.$tplset.'/'.$tplfile-
>getVar('tpl_module').'/'.$tplfile->getVar('tpl_file');

1380
$filepath =
XOOPS_ROOT_PATH.'/templates/'.$tplset.'/'.$tplfile-
>getVar('tpl_module').'/blocks/'.$tplfile->getVar
('tpl_file');

class/smarty/plugin/resource.db.php
では
21
$filepath =
XOOPS_THEME_PATH.'/'.$conf_theme.'/templates/'.$tplobj
[0]->getVar('tpl_module').'/'.$tpl_name;

24
$filepath =
XOOPS_THEME_PATH.'/'.$conf_theme.'/templates/'.$tplobj
[0]->getVar('tpl_module').'/blocks/'.$tpl_name;


まだあるかもしれません

Ticket History (3/4 Histories)

2005-06-25 00:18 Updated by: onokazu
Comment
Logged In: YES
user_id=754

確かにパスが異なっていました。smartyのプラグイン側にあるパス
が正しいものとなります。CVSへとコミットしましたので、RCでは
反映される予定です。
2005-06-25 00:19 Updated by: onokazu
  • Owner Update from (None) to onokazu
  • Resolution Update from None to Accepted
2005-06-28 10:31 Updated by: toshimitsu
  • Resolution Update from Accepted to Fixed
  • Status Update from Open to Closed
Comment
Logged In: YES
user_id=6033

to CVS
http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/xoops/xoops2jp/html/modules/system/admin/tplsets/main.php
2005-06-28 10:31 Updated by: toshimitsu
  • Ticket Close date is changed to 2005-06-28 10:31

Attachment File List

No attachments

Edit

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