New params in Button method
Sabri LABBENE <[email protected]>
| Newsgroups | gmane.comp.web.wiki.phpwiki.talk |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I was performing some changes on the actionbar and after making my working copy up to date with recent versions of cvs repository, I noticed some changes in Theme Button method. In fact, new params were added. Can someone tell what these new params are for?
The previous function:
<?= Button("edit", $revision->isCurrent() ? _("Text Editor") : _("Edit Old Revision")) ?>
The new one:
<?= Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"), false, array('id'=>'btn-edit')) ?>
If I have to add a new button to the actionbar, should it be recognized using a specific id ? If yes, then where these ids are managed?
Thanks for help,
-- Sabri.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/