Seems to work, but YMMV while selecting a language.
Probably header and footer should be moved to Smarty templates.
Interestingly, Smarty templates themselves have quite a lot of duplication in the inline JS department. The usage of blocks could mitigate that a little.
Seems to work, but YMMV while selecting a language.
Probably header and footer should be moved to Smarty templates.
Interestingly, Smarty templates themselves have quite a lot of duplication in the inline JS department. The usage of blocks could mitigate that a little.
I suggest the authors of this software read The Pragmatic Programmer – your journey to mastery, 20th anniversary edition, chapter 9 "The Evils of Duplication" (freely available on the Internet).