2012-06-08, 04:26 AM
Am I correct in thinking that on the member_profile_warninglevel and all the other member_profile_* templates it is better (query wise) to put the actual trow1/2 value rather than {$bg_color}?
After completing your theme and you want to minimise queries, surely this is better?
I may be mistaken but the less {$} stuff around, the better. Please correct me if I am wrong.
Switching;
For:
Thank you very much!
So much for "support". 40+ views and I have yet to see a comment.
After completing your theme and you want to minimise queries, surely this is better?
I may be mistaken but the less {$} stuff around, the better. Please correct me if I am wrong.
Switching;
<tr>
<td class="[b]{$bg_color}[/b]"><strong>{$lang->warning_level}</strong></td>
<td class="[b]{$bg_color}[/b]"><a href="{$warning_link}">{$warning_level}</a> {$warn_user}</td>
</tr>
For:
<tr>
<td class="[b]trow2[/b]"><strong>{$lang->warning_level}</strong></td>
<td class="[b]trow2[/b]"><a href="{$warning_link}">{$warning_level}</a> {$warn_user}</td>
</tr>
Thank you very much!
So much for "support". 40+ views and I have yet to see a comment.