Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Oct 2006 at 01:45 UTC
Updated:
12 Jan 2007 at 08:30 UTC
Jump to comment: Most recent file
Previous code for theme_links() gave only 'first' OR 'last' to each list element. But if there is only one item in the list, then it is both the first AND the last item and should have *both* classes. This patch fixes this problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | li-first-and-last_0.patch | 900 bytes | ChrisKennedy |
| li-first-and-last.patch | 745 bytes | jjeff |
Comments
Comment #1
jjeff commentedFor reference:
http://drupal.org/node/89818
Comment #2
edmund.kwok commentedComment #3
coreb commentedMoving out of the "x.y.z" queue to a real queue.
Comment #4
ChrisKennedy commentedWorks fine.
Minor tweaks in the updated patch: synced with HEAD, re-rolled from root, added period to the comment, and fixed potential E_ALL warning.
Comment #5
drummCommitted to HEAD.
Comment #6
(not verified) commented