摘要: uchome的模板处理主要调用/source目录下的function_template.php文件中的parse_template函数实现(比起smarty可真是超轻量级了). 解析过程并不复杂,主要是读取模板文件(.htm),用规则表达式替换标记为PHP标准语法,最终生成一个标准的PHP文件,保存到缓存目录 1:读入模板文件,模板文件一般在template/default下面 [代码]2:对模板... 阅读全文
posted @ 2009-08-19 15:29 ScottX 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 快捷管理菜单 cp_advance.htm相册管理 cp_album.htm当前我的头像 cp_avatar.htm编辑日志 cp_blog.htm删除指定的分类 cp_class.htm确定删除指定的回复吗 cp_comment.htm积分 cp_credit.htm删除该迷你博客 cp_doing.htm屏蔽指定动态 cp_feed.htm帮您找好友 cp_friend.htm页首 设置 cp... 阅读全文
posted @ 2009-08-19 15:26 ScottX 阅读(780) 评论(0) 推荐(0) 编辑