and other fixes.
Fixed incorrect declaration of $data_dir variable
Removed getPref calls for page selector, because they are already loaded
in load_prefs
Added paginator support for asearch
Added next/prev links in read_body to walk through search results
Added individual sort settings / mailbox
Added what I forgot to mention
to follow user's hour_format preference. Time zone can be displayed as numbers.
O key instead of T.
mm/dd/yy and dd/mm/yy names replaced with human readable description.
Autodetection is fixed, load of JS dependent items (like address book and
search) will be set to false if javascript_on session var is false/0.
javascript_on will ONLY be true if:
javascript_setting = 1 (ALWAYS)
javascript_setting = 2 (Autodetect, and test works)
If you change your javascript settings, javascript_on will change
immediately.
We might actually want to DISABLE Always, and have it be either Never, or autodetect.
Since Always might not always work.. :-P
Correct some mistakes (compose_in_new, resume draft, edit as new)
Centralize javascript detection in prefs.php - checkForJavascript
Move javascript_on from prefs to session - have just javascript_setting in prefs.
I cheated here - I took away all the top bottom crap and just said
yes or no do you want Delete & Prev and Delete & Next links.
To the translation team - spank me with a paddle, I changed a string.
I tried to avoid it, but the option string just wasn't right for core..
(With many thanks to Jason Wickers (jwickers at scs.wsu.edu))
----
There are still a few minor things to iron out, but overall
it works fairly well at this point. Any plugin that calls
DisplayPageHeader() will now have to replace their </body></html>
with a simple call to noframes_bottom() to be compatible...
(Possibly rename that function to DisplayPageFooter in the future)
is a conditional session_start which will only start a session if none
has been before. This will make us compatible with the upcoming PHP 4.3.3
release. Thanks Phil Driscoll for the tip.
This is mainly an E_ALL fix. The themes should be complete, IMO, but that's a job for another day.
** This may affect how things look depending on which theme you use. If you notice a difference, it's because you were using an incomplete theme. **
of default to make functions that depend on $chosen_theme work
correctly (most notably the select list under display preferences which
would have Alien Glow selected when user has no theme set). Thanks Tim Craig
for the bugreport.