So, I baked some views and looking at the code you get:

<?php echo $html->link(__('Edit', true), array('action'=>'edit',
$bookmark['Bookmark']['id'])); ?>

Which prints out an "Edit" link. How do I add a CSS class to this so I
can have a little icon next to the text?

note: I have the css code.

Also, can anyone explain "__('Edit', true)"? I know it prints out
Edit, and true is to make it a link.
But __() part I don't get.

I did Google it, but there isn't any good explanation :(

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to