refactoring part 0x0A, Mantis#0000923, [ ] Substitution extensions

git-svn-id: http://farmanager.googlecode.com/svn/trunk@12103 ea59307d-ff68-5b67-5a21-acd59c66a581