Source for file hotspot_lang_conversion.php
Documentation is available at hotspot_lang_conversion.php
DOKEOS - elearning and course management software
For a full list of contributors, see documentation/credits.html
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See "documentation/licence.html" more details.
Rue des Palais 44 Paleizenstraat
B-1030 Brussels - Belgium
* Hotspot languae conversion
* @package dokeos.exercise
* @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $
include_once('../inc/global.inc.php');
$search = array('../','\\0');
if(file_exists($hotspot_lang_file . $lang . '/hotspot.inc.php'))
$hotspot_lang_file .= $lang . '/hotspot.inc.php';
$hotspot_lang_file .= 'english/hotspot.inc.php';
$hotspot_lang_file .= 'english/hotspot.inc.php';
$file = file($hotspot_lang_file);
$explode[0] = trim($explode[0]);
$explode[0] = '&' . substr($explode[0], 1, strlen($explode[0]));
$explode[1] = trim($explode[1]);
$explode[1] = substr($explode[1], 0, strlen($explode[1]) - 1);
$temp[] = $explode[0] . '=' . $explode[1];
|