. * */ define('APP_ROOT', '..'); require_once APP_ROOT . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'init.php'; $jsFiles = array( array("href" => "js/jquery.js", "min" => false), array("href" => "js/jquery.placeholder.js", "min" => true), array("href" => "js/jquery-ui.js", "min" => false), array("href" => "js/fancybox/jquery.fancybox.pack.js", "min" => false), array("href" => "js/jquery.powertip.min.js", "min" => false), array("href" => "js/chosen.jquery.min.js", "min" => false), array("href" => "js/alertify.js", "min" => true), array("href" => "js/jquery.fileDownload.js", "min" => true), array("href" => "js/jquery.filedrop.js", "min" => true), array("href" => "js/jquery.tagsinput.js", "min" => true), array("href" => "js/ZeroClipboard.min.js", "min" => true), array("href" => "js/functions.js", "min" => true) ); $arrJsLang = array( _('Error en la consulta'), _('Ha ocurrido un error'), _('Sesión finalizada'), _('Borrar la cuenta?'), _('Borrar el usuario?'), _('Guarde la configuración para que sea efectiva'), _('Clave Generada'), _('Nivel alto'), _('Nivel medio'), _('Nivel bajo'), _('Nivel muy alto'), _('Utilizar al menos 8 caracteres'), _('Borrar elemento?'), _('Página no encontrada'), _('Archivo no soportado para visualizar'), _('Eliminar archivo?'), _('Su navegador no soporta subir archivos con HTML5'), _('Demasiados archivos'), _('No es posible guardar el archivo.
Tamaño máximo:'), _('Extensión no permitida'), _('Vaciar el registro de eventos?') ); //$js = "// i18n language array from PHP. Detected language: " . SP_Init::$LANG . "\n"; echo "var LANG = ['" . implode("','", SP_Util::arrayJSEscape($arrJsLang)) . "'];"; echo "var APP_ROOT = '" . SP_Init::$WEBROOT . "';\n"; SP_Util::getMinified('js', $jsFiles);