BTW we need an sm_init which first of all defines fallback colors, then overrides
those with the user's/default colors. That would make sure that there are always
and everywhere fallback colors, and that incomplete themes would also have gaps
filled. Now that functionality is scattered.
(in a tabbed browser, pull up SM, then click 'Sign Out' as an "open in new tab"
then click something in the current window, you'll get an error trying to
execute unknown function do_hook on line 88 of display_messages).
So we'll just add the require, just to make sure..
Added basic @package/@subpackage tags
The decode/ files were documented slightly more thoroughly, although they're almost self-explanatory anyway.
The individual functions in the functions/ files need to be documented though, and now that this commit is in, anyone willing to write docblocks for functions should get cracking ;)
Move include of display messages in file_prefs to the top of the file,
because it wasn't included everywhere correctly ('../functions') or in
some places not at all, better move it to the top so the functions are
available at all times in a consistent manner.
Also throw an error if the tmp pref file could not be copied.
Remove initializing of colors that aren't used in logout_error.
- Operation foo_once step 2 (and final)
- Create folders bugfix
- None folder bugfix
- Fixed some tabs, structs etc.
- Added some (c) stuff
- Removed some debug stuff
This changes should result in a faster SM.
* Cleaned up some code
* Fixed some typos
* Added a few files (documentation, translations)
* EAGERLY awaiting 1.1 to come out
* Made all global stuff "global $varname" so the new define() method we use
will work properly (methinks)