|
|
|
@ -1094,7 +1094,6 @@ class Information extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$site_money = $this->currency->GetSiteMoney($price_number, 'USD');
|
|
|
|
|
$site_money = $this->currency->calc_show_price($site_money);
|
|
|
|
|
//把金额格式化为带有逗号(,)方便阅读,如 12,345
|
|
|
|
|
$price_number = is_numeric($price_number) ? number_format($site_money) : $price_number;
|
|
|
|
@ -1546,7 +1545,7 @@ class Information extends CI_Controller
|
|
|
|
|
$information->ic_content = str_replace('<!--@LANTERN-GP-FORM@-->', $gp_form_content, $information->ic_content);
|
|
|
|
|
|
|
|
|
|
$price_tag_list = $this->parse_price_tag($information->ic_content);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($price_tag_list as $price_tag) {
|
|
|
|
|
$information->ic_content = str_replace(
|
|
|
|
|
$price_tag['placeholder'],
|
|
|
|
|