PDA

View Full Version : where to build phrases?


itsid
02-12-2007, 04:02 PM
Hi,just a short question:

What makes more sense,
building the phrases in the plugin with:

$wsm_p_1 = construct_phrase($vbphrase['sid_wsmhack_date_x_y'], $wsm_date, $wsm_time);
or building them in the template using

<phrase 1="$wsm_date" 2="$wsm_time">$vbphrase[sid_wsmhack_date_x_y]</phrase>

??

Is it just a matter of personal preferation or is there any significant difference
(serverload or something) ?

Thanks
'sid

Marco van Herwaarden
02-13-2007, 06:51 AM
Building it in php code is better for performence.

itsid
02-13-2007, 12:01 PM
thanks alot
that's all I need to finally make a decision ;)

cheers
'sid