Submitted by gouki on 2008, October 27, 8:49 AM
PHP的模版里,smarty一直就是让人又爱又恨的,功能太强大了,以致于美工们看到他也会感觉头疼,毕竟是又要学一门新的语言了。
这么多年,smarty都是在2.x版本里面徘徊,如今,终于要出3了。
以下是官方的change log:
10/6/2008
- completed compilation of {include} tag, variable scoping same as in smarty2
- added compilation of {capture} tag.
- added error message on none existing template files.
10/4/2008
- added comments in the parser definition y file.
- added array of $smarty_token_names to lexer for use in trigger_template_error function
- change handling of none smarty2 style tags like {if}, {for}....
- lexer/parser optimization
10/3/2008
- create different compiled template files depending if caching and/or security is enabled
- cleaned up compiler
- lexer/parser optimization
10/2/2008
- new method trigger fatal error, displays massage and terminates smarty
- compile error status flag added
The compiler will in case of error continue to parse the template(s) to display all errors. No compiled
templates will be written, Smarty terminates after the compiler exits.
- added error message to function __call in Smarty.class.php
Tags: smarty, version, php, template, smarttemplate
Smarty | 评论:0
| 阅读:418
Submitted by gouki on 2008, October 26, 8:56 PM
Submitted by gouki on 2008, October 26, 7:53 PM
纪念一下我用过的电脑。。。。
更多看详细:
» 阅读全文
Tags: 伦飞, lenovo, 兼容机, amd, inte core2
Misc | 评论:2
| 阅读:848
Submitted by gouki on 2008, October 26, 7:14 PM
封面放上一张,详细和更多请看详细。

» 阅读全文
Tags: 照片, 新衣服, 佑阳, 小家伙, 阳台
Baby | 评论:0
| 阅读:450
Submitted by gouki on 2008, October 25, 7:45 PM
alipay支持firefox是众所周知的事情了,前两天我还贴出了链接说明alipay现在也开始支持linux下的firefox了。
这是对大家都有利的事情,可惜alipay的这个插件的作者不知道是粗心还是什么,如果象绿色软件那样的安装firefox,那么该插件是不能被使用的。
即:如果你把firefox安装在d盘,然后你重装系统后,再次打开firefox(当然你原先装的插件啥的都没有了。。。fEBE可以备份,只是插件的相关配置是备份不了的),会认为你是新装firefox的。
如果这个时候,你去支付宝下载支持firefox的控件:npaliedit.exe,在安装的时候会提示你:安装程序并未检测到您的火狐浏览器安装目录,请安装火狐浏览器之后再运行安装程序!点击确定后就退出了。
这个时候怎么办?难道就不能使用了吗?想起了以前的解决方法,立马跑到:http://addons.mozilla.org/zh-CN/上面,搜索alipay,找到一个所谓在“沙盘”中的alipay控件,下载下来进行安装。终于解决了。。。。
由于mozilla需要登录才能下载,于是我把该文件放在了本地,希望可以给想使用的人带来方便。
点击进行下载:______________________alipay_security_control_-1.1.0.2-fx-win.xpi
Tags: alipay, 支付宝, firefox, 扩展, 解决
Software | 评论:0
| 阅读:480