Re: New params in Button method

"Reini Urban" <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
The 3rd and 4th args are optional of course.

1: name
2: label
3: classname
4: array of options


2007/7/17, Sabri LABBENE <[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/
> _______________________________________________
> Phpwiki-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>


-- 
Reini Urban
http://phpwiki.org/              http://murbreak.at/
http://spacemovie.mur.at/   http://helsinki.at/

-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.