Paul makes a good point, I didn't notice that that was from the coding standards. So it's not claiming that there's necessarily any problem, just that the vb coding standards say not to do it.
Quote:
Originally Posted by Pandemikk
For the reason why it shouldn't be used in templates, I, personally, believe is because you should be doing those checks in the PHP code.
|
OK, but here's a sorta related question: if someone here asks how they can do something, and they could do it by adding a few lines to a template but it involves using $_GET['do'] in a condition, should they be told to write a plugin because it's the "right" way to do it?