* @link       http://www.contenido.org
 * @since      file available since contenido release <= 4.6
 * 
 * {@internal 
 *   created unknown
 *   modified 2008-07-02, Frederic Schneider, add security fix
 *
 *   $Id$:
 * }}
 * 
 */
if (!defined('CON_FRAMEWORK')) {
    die('Illegal call');
}
// check requests
Contenido_Security::checkRequests();
cInclude("includes", "functions.pathresolver.php");
function str_replace_recursive($array)
{
    if (!is_array($array)) {
        return false;
    }
    $result = array();
    foreach ($array as $value) {
        $result[] = str_replace("e", "", $value);
    }
    return $result;
}
// fetch idartlang for idart
$sql = "SELECT idartlang FROM " . $cfg['tab']['art_lang'] . " WHERE idart=" . Contenido_Security::toInteger($idart) . " AND idlang=" . Contenido_Security::toInteger($lang);
$db->query($sql);