* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 7233 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ include_once('jirafe.php'); class AdminJirafeDashboard extends AdminTab { public function __construct() { parent::__construct(); } public function display() { $jirafe = new Jirafe(); $ps = $jirafe->getPrestashopClient(); $apiUrl = (JIRAFE_DEBUG) ? 'https://test-api.jirafe.com/v1' : 'https://api.jirafe.com/v1'; $token = $ps->get('token'); $appId = $ps->get('app_id'); $locale = $ps->getLanguage(); $title = $this->l('Dashboard'); $errMsg = $this->l("We're unable to connect with the Jirafe service for the moment. Please wait a few minutes and refresh this page later."); echo <<

{$title}



EOF; } }