Quote:
Do vB default templates have <if> conditions?
|
Yes, they do - kind of.
Template memberlist_resultsbit for example:
Code:
<if condition="$show['emailcol'] AND exec_switch_bg()"><td class="$bgclass">
Without your plugin, you will get alternating column backgrounds.
With your Plugin, you won't
By using references, you could fix that; would also save some memory/processing.
For example, $vbphrase is used in almost all templates.
With the current code, this array is always being copied when a template is eval'ed.
Nevermid, I just wanted to make suggestion to improve this further. Sorry.