From: Reini U. <ru...@x-...> - 2007-07-17 19:28:49
|
The 3rd and 4th args are optional of course. 1: name 2: label 3: classname 4: array of options 2007/7/17, Sabri LABBENE <sab...@st...>: > 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/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ |