Add documentation to action_welcome()

Signed-off-by: Norv <a.w.norv@gmail.com>
Document functions in the installer.

Signed-off-by: Norv <a.w.norv@gmail.com>
Replace 'Hacking attempt' message in usual cases, with 'No access'
(thanks MAS)

Signed-off-by: Norv <a.w.norv@gmail.com>
Slightly more consistent capitalization in the PM UI.

Signed-off-by: Norv <a.w.norv@gmail.com>
Moved loadEssentialThemeData() in Load.php. Load.php itself is always loaded (regardless whether functions from it are called or not). ScheduledTasks and loadLanguage() are called before loadTheme(). And any of them (or both) use this stripped-down theme data loading.

Signed-off-by: Norv <a.w.norv@gmail.com>
Minor doc updates.

Signed-off-by: Norv <a.w.norv@gmail.com>
Remove duplicate code related to attachments paths.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add a few utility functions for attachments:
removeOrphanAttachments() and attachment_filesize()

Signed-off-by: Norv <a.w.norv@gmail.com>
Fix patch apply issue. (extra global replaced with constant :))

Signed-off-by: Norv <a.w.norv@gmail.com>
Use the new utility function during attachment maintainance.

Signed-off-by: Norv <a.w.norv@gmail.com>
Small refactoring, use removeOrphanAttachments() in maintainance.

Signed-off-by: Norv <a.w.norv@gmail.com>
Oops. Forgot fix for parameter name.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add attachment_folder() utility function.

Signed-off-by: Norv <a.w.norv@gmail.com>
Small refactoring in attachments maintenance: with attachment_folder()

Signed-off-by: Norv <a.w.norv@gmail.com>
Another small utility function: maxThumbnails()

Signed-off-by: Norv <a.w.norv@gmail.com>
Gift for Ema.

Signed-off-by: Norv <a.w.norv@gmail.com>
Merge pull request #166 from norv/misc

Misc