[FIX] tabs: If all the tabs are hidden don't try and show/hide nonexistent tab content (r48154 made side-by-side full-screen translation fail on every other page load)

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48201 b456876b-0849-0410-b77d-98878d47e9d5
[FIX] warning: Initialise $dirs always

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48204 b456876b-0849-0410-b77d-98878d47e9d5
[FIX] module admin: Alternative fix for adding module select being truncated with Chosen enabled.
Also fixes tabs not working on in-page form and applies Chosen on the popup dialog form (thanks manivannans)

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48207 b456876b-0849-0410-b77d-98878d47e9d5
[MRG] Automatic merge, branches/12.x 48197 to 48207

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@48208 b456876b-0849-0410-b77d-98878d47e9d5