Opened 18 years ago
Closed 18 years ago
#9032 closed enhancement (fixed)
Two minor enhancements to checked() and selected()
| Reported by: | johnbillion | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | low | Milestone: | 2.8 |
| Component: | Template | Version: | 2.7 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
18 years ago
- Cc 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch