Tags
Recent Comments
Elsewhere
Lousy day n now I am stuck in the car where I can't reverse and the car in front is freaking near.
Original French toast? (@@ octa hotel cafe @@ parco millenia walk) http://4sq.com/aigDMr
No work! Resisting the urge to check my mails. ~~~ (@@ Aerin's @@ Raffles City) http://4sq.com/aGpTYp
Still the best ra-men IMO (@@ Marutama Ramen @@ Liang Court w/ @berilyn) http://4sq.com/58Yssg
Read: LINK: Managing Conflict http://bit.ly/aVrjIG
Bookmarked a link: Sync & Backup Files to the Cloud - Access Online with Any Device ...
RT @jerictan: 陳傑瑞 《我不相信》MV 首播網路版 - 《荒島愛》 電影主題曲 http://fb.me/z5Vo4y8L
I'm at Coffee Club (Holland Village, 48A Lorong Mambong, Singapore). http://4sq.com/8NF3Am
OK girls, it's actually a contest but first 50 entries get S$80 cash! :p I will vote for you! http://bit.ly/c3q8LQ @evonnz @Yee_Ann @Rejinaa
Anyone keen on Free hair colour, treatment and styling?
Links
CakePHP’s HtmlHelper::link() Escaping of Attribute Values Gotcha
Just updated pHing Classifieds to CakePHP 1.2.2.8120 and that breaks some JavaScript codes for deleting of messages. Turns out the escape attribute is now passed on to Helper::parseAttributes() so if you have an image link like me, you will have to remember to manually escape the attribute values.
<?= $appHtml->link( $appHtml->image('icons/bin.png'), '#', array( 'escape' => false, 'onclick' => h('if (confirm("True?")) alert ("Yes"); return false;') ) ) ?>Not a big issue and it probably seem more consistent that the escape option is applied to both the link title and the HTML attributes. See ticket #6071 for why it was changed and what was changed.