[dev] Horde_Form buttons

Andrew Coleman mercury at appisolutions.net
Tue Jul 27 12:05:28 PDT 2004


So i have been looking at some implemented forms that i have in the horde tree
here, and i'm a bit confused...

>From what i have seen, all i have to do is:
$this->appendButtons(_("Save Item"));
if (Auth::isAdmin('paper:admin', PERMS_DELETE)) {
    $this->appendButtons(_("Delete Item"));
}

to add buttons on the bottom. so no matter what, you should always get the "Save
Item" button, yes? All i get is "Submit"... even when i am an admin

--
Andrew Coleman
mercury at appisolutions.net
/-\   The ASCII
\ /   Ribbon Campaign
 X    Against HTML
/ \   E-Mail!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1430 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/dev/attachments/20040727/c32d6fea/attachment.bin


More information about the dev mailing list