|
From: Sabri L. <sab...@st...> - 2007-07-17 13:07:32
|
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:
<?=3D Button("edit", $revision->isCurrent() ? _("Text Editor") : _("Edit =
Old Revision")) ?>
The new one:
<?=3D Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old =
Revision"), false, array('id'=3D>'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.
|