is there a way to add multi-language in _sub_header.html?

I'm trying to figure a way to add <?php echo _t('_top_buttons'); /> in _sub_header.html.  _sub_header.html is not php of course.  I see __main_logo__   __top_menu__ and __extra_top_menu__ Where they come from?  Looks like i should make a new function with  _t('_top_buttons') in a different file and add __top_buttons__ in _sub_header.html.  Not sure where.  I need help!  Thanks!

Quote · 5 Feb 2011

Those template keys are processed in inc/classes/BxDolTemplate.php

Starting at around line 666 you will see them.

You could add another case to the select function like so.

case 'top_buttons':
$sRet = _t('_top_buttons');
break;

https://www.deanbassett.com
Quote · 5 Feb 2011

 

Those template keys are processed in inc/classes/BxDolTemplate.php

Starting at around line 666 you will see them.

You could add another case to the select function like so.

case 'top_buttons':
$sRet = _t('_top_buttons');
break;

Thank you so much deano.  You're always a big help!  :)

Quote · 5 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.