Example #1
0
/*
* @copyright Copyright (C) 2005-2010 Keyboard Monkeys Ltd. http://www.kb-m.com
* @license http://creativecommons.org/licenses/BSD/ BSD License
* @author Keyboard Monkey Ltd
* @since  CommunityID 0.9
* @package CommunityID
* @packager Keyboard Monkeys
*/
define('APP_DIR', realpath(dirname(__FILE__) . '/..'));
require APP_DIR . '/Application.php';
Application::setIncludePath();
Application::setAutoLoader();
Application::setConfig();
Application::setErrorReporting();
Application::setLogger();
$translate = Application::setI18N();
?>

YAHOO.namespace("commid");
COMMID = YAHOO.commid;

// WARNING: DO NOT PUT A COMMA AFTER THE LAST ELEMENT (breaks IE)

COMMID.lang = {
    "Name": "<?php 
echo $translate->translate('Name');
?>
",
    "Registration": "<?php 
echo $translate->translate('Registration');