想要修改ECSHOP的浏览历史样式,发现 history.lbi 中不能修改。

需要修改的文件:includes\lib_insert.php,找到函数:function insert_history(),下面的代码:

$str.=’<ul><li><a href=”‘.$goods['url'].’” target=”_blank”><img src=”‘.$goods['goods_thumb'].’” alt=”‘.$goods['goods_name'].’” /></a></li><li><a href=”‘.$goods['url'].’” target=”_blank” title=”‘.$goods['goods_name'].’”>’.$goods['short_name'].’</a><br />’.$GLOBALS['_LANG']['shop_price'].’<font>’.$goods['shop_price'].’</font><br /></li></ul>’;

上面的代码就是所对应的样式代码,修改即可。

另外,调用的模板文件:history.lbi,中的:

<div id=’history_list’>
  {insert name=’history’}
</div>

其中,id=”history_list”是“清空”操作的ID。

from: Internet

最新文章

  1. 进击的docker 一 : Docker 简介
  2. SqlServer字段说明查询
  3. 洛谷P3373 【模板】线段树 2
  4. Linq专题之对象初始化器
  5. [端API] 控件在一个页面里open了,但其他页面打开这个控件怎么关闭
  6. override和new的区别【摘】
  7. (转)Libevent(2)— event、event_base
  8. [置顶] 最优间隔分类器、原始/对偶问题、SVM的对偶问题——斯坦福ML公开课笔记7
  9. string数组转化成int数组
  10. mySQL的安装和基础使用及语法教程
  11. LNMP环境并发优化
  12. [android] 手机卫士自定义组合控件
  13. Docker学习笔记之运行和管理容器
  14. Storm Trident API
  15. SPP-Net
  16. 深度解析CNN
  17. 解决xampp启动mysql失败
  18. 新开篇关于vue
  19. 【bzoj】3477: [Usaco2014 Mar]Sabotage 01分数规划
  20. 在线安装eclipse中html/jsp/xml editor插件 eclipseeditor

热门文章

  1. C语言——杂实例
  2. interrupt和interrupted和isInterrupted的区别
  3. 【leetcode】519. Random Flip Matrix
  4. Java实现按汉语拼音的排序
  5. BZOJ 2839: 集合计数(二项式反演)
  6. 3D打印切片软件Cura及CuraEngine原理分析
  7. ceph-pg
  8. (转)spring ioc原理(看完后大家可以自己写一个spring)
  9. 业务基类对象BaseBLL
  10. 点读系列《jmeter官方用户手册》