plugin/apps.php: toyed a bit with function scopes
plugin/tpls/event.php: still got an E_NOTICE left
Merge branch 'master' of https://github.com/oSoc13/AppsForX