fix file paths for LOs when previewing - missing absolute path etc, so fail to open/load (modules/xerte/preview.php)
remove legacy mysql_ dependence, remove mysql_close() on non-existant $database_id
reindent; switch <?PHP to <?php
remove unused database query (modules/xerte/duplicate_template.php)
remove unused database connecting; exit early rather than nest code more; cast to int not mysql_escape_string
this seems better - refactoring of  website_code/php/properties/properties_template.php
replace PHP with php (/properties.php)
refactor SQL; remove some more mysql_ stuff (/play.php)
refactor SQL; remove mysql_ stuff; ensure we display some sort of error message if e.g. permission is denied
refactor SQL; remove mysql_ stuff; ensure we display some sort of error message if e.g. permission is denied
remove unused mysql connect; unpack loops; ensure we display something (no blank response)
reduce nesting; reindent; ensure something is always returned (not empty response)
refactor engine flags update code
fix rendering issue on html5 template - jquery exploding
Merge pull request #51 from palepurple/develop

v2.1 - Fixes for modules/xerte/preview.php & /website_code/php/properties/properties_default_engine.php