[drupal-devel] New themeable function for buttons?

Adrian Rossouw adrian at bryght.com
Thu Jul 7 00:29:16 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How about a form_buttons, like we have a form_radios ?

On 07 Jul 2005, at 1:08 AM, neil at civicspacelabs.org wrote:

> The theme_confirm() function contains the following code:
>
> <?php
> $output .= '<div class="container-inline">';
> $output .= form_submit($yes ? $yes : t('Confirm'));
> $output .= l($no ? $no : t('Cancel'), $path);
> $output .= "</div>\n";
> ?>

- --
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCzHgxgegMqdGlkasRAtp3AJ0alDyg18cmXAPQ5NXq8h587lalLACgjBh/
jsmuH58QcGFHLeJRMiPDAwE=
=CPf6
-----END PGP SIGNATURE-----



More information about the drupal-devel mailing list