Opened 16 years ago
Closed 16 years ago
#9032 closed enhancement (fixed)
Two minor enhancements to checked() and selected()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | low |
Severity: | trivial | Version: | 2.7 |
Component: | Template | Keywords: | has-patch |
Focuses: | Cc: |
Description
The helper functions checked()
and selected()
compare two passed parameters and echo out their respective markup based on the result of the comparison.
Two improvements would be to give the second parameter a default value of true and to add an echo
parameter, also with default value of true.
Attachments (2)
Change History (7)
#3
follow-up:
↓ 4
@
16 years ago
- Cc westi added
Now we need a mega patch to rid ourselves of calling with true as the second argument ;-)
Note: See
TracTickets for help on using
tickets.
Patch