I've never done that before, but looking at the construct_phrase code, I see these comments at the beginning:
Code:
// #############################################################################
/**
* Construct Phrase
*
* this function is actually just a wrapper for sprintf but makes identification of phrase code easier
* and will not error if there are no additional arguments. The first parameter is the phrase text, and
* the (unlimited number of) following parameters are the variables to be parsed into that phrase.
*
* @param string Text of the phrase
* @param mixed First variable to be inserted
* @param mixed Nth variable to be inserted
*
* @return string The parsed phrase
*/
So this is
untested, but I would think you'd want something like:
Code:
if ($show['pmstats']) {
echo '<div style="font-size: 11px; padding-left: 5px; padding-top: 5px;>'.
construct_phrase($vbphrase['private_messages_nav'],
$vbphrase['unread_x_nav_compiled'],
$vbphrase['total_x_nav_compiled'],
$session['sessionurl_q']). '</div>';
}
but it's also possible that I just don't understand what's going on....