>
------------------------------------------------------------------------------
------------------------------------------------------------------------------
:: HISTORY
| release | date |
| 2.1.0 | 2010/03/31 | * update class & functions names
| | |
| | |
| | |
| | |
| | |
------------------------------------------------------------------------------
class call API in HTML header, and provide a .js file manage API call
>> http://code.google.com/apis/ajaxlanguage/
- constructor
---------------------------------------------------------------------- */
class GPCTranslate
{
public function __construct()
{
add_event_handler('loc_end_page_header', array(&$this, 'loadJS'));
}
public function loadJS()
{
global $template;
$googleload='
';
$template->append('head_elements', $googleload);
}
} //class
?>