Ticket #1751 (closed バグ指摘: 修正済)
テンプレートが正常にトランスフォームされない。
Reported by: | h_yoshimoto | Owned by: | sunat134 |
---|---|---|---|
Priority: | 高 | Milestone: | EC-CUBE2.12.0 |
Component: | その他 | Version: | 2.12.0 α |
Keywords: | Cc: | ||
修正済み: | yes |
Description (last modified by h_yoshimoto) (diff)
下記のテンプレートが正常にトランスフォームされない。
data/Smarty/templates/admin/main_frame.tpl
$objTransform->select('div#logo')->replaceElement("<span/>");
<現象>
<head><body>タグが消える
Change History
comment:2 Changed 11 years ago by h_yoshimoto
- Summary changed from data\Smarty\templates\admin\main_frame.tpl to テンプレートが正常にトランスフォームされない。
comment:3 Changed 11 years ago by sunat134
- Status changed from new to assigned
- 修正済み set
はじめから<HTML>タグが含まれるテンプレートのtransformに対応しました
comment:5 in reply to: ↑ 4 Changed 11 years ago by adachi
- 修正済み unset
すみません、こちらsite_frame.tplで確認したところ、同様の現象が発生しました。
data/Smarty/templates/default/site_frame.tpl
以下のコードで発生します。
if (strpos($filename, 'site_frame.tpl') !== false) { $objTransform->select('head')->appendChild("<meta><!--{\$hoge}--></meta>"); }
Note: See
TracTickets for help on using
tickets.