the original file doesn't handle forum_group very well in the results of the select box. $row=db_simpleSelect(0,$Tf,'forum_id, forum_name, forum_group','','','','forum_order')){ orders them by forum_order but not by forum_group, it should be a double-order-by the $i has no purpose, because the loop only runs if a result is returned. I renamed $wgr to $in_forum_group (wgr is an acronym?)
[Editor's cut - do not use this code]
to use this, I also had to change the .selectTxt font-size property to 0.75, if it's 1.05em then the words don't fit in the select box window anymore! |