Add docblock for getPnotesByUser, and document why we include sql.inc.
Minor spacing changes, and use xlt() for text inside of <span>, instead of xla().
Re-format initial comment block adding some documentation, remove empty comment lines, and use $GLOBALS instead of $srcdir.
Move license information to the top of the file, add docblock to attr function, and add name of parameter to docblock for text.
Add docblocks to all of the functions in htmlspecialchars that did not have docblocks.
Remove unnecissary include of htmlspecialchars, and reformat comment into a docblock for RemindersArray.
minor spacing change, reformat the comment into a docblock for getDueReminderCount, and drop some trailing whitespace.
Change doublequote to singlequote, and remove 'ownership' marker from section of code.
change the formatting on the initial comment, change some doublequotes to singleqoutes, and change some spacing.
Change quotes to singlequotes from doublequotes when including globals.php.
Remove $login_body_line from the codebase. This variable is no longer used.
Third merge from Julia Longtin repository
Change ID of dynamic finder menu item to not confict with new patient
Code type module improvements:

 -Added wrappers to the code set search module functions to ease use.
 -Full support for multiple code type searching.
 -Support of short descriptions.
 -Support for new functionality in Administration->Services.
 -Added test calls in the Testing scripts
 -Consolidated the internal/external code search methods in code_set_search() function
 -Added ability to search code sets by category
Security vulnerability fix
minor bug fix
require the include of the security related scripts in globals.php
Security Fix (xss)
Updated acknowledgements page
implement direct message receive and background services manager