Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

83 lines (74 sloc) 2.978 kB
require_once __DIR__ . '/lib/ChooseLocale.class.php';
require_once __DIR__ . '/lib/PropertiesParser.class.php';
$locale = new tinyL10n\ChooseLocale(array('ar', 'es', 'en', 'el', 'ff', 'fr', 'ga', 'id', 'sq', 'pt', 'lij', 'zh-TW', 'ms', 'bn-IN', 'nl', 'bn-BD'));
$locale->mapLonglocales = true;
// Bypass locale detection with a lang parameter in the URL?
$lang = (isset($_GET['lang'])) ? $_GET['lang'] : false;
$lang = $locale->getDetectedLocale();
$lang_file = tinyL10n\PropertiesParser::propertiesToArray(__DIR__ . '/lang/' . $lang . '.properties');
<!DOCTYPE html>
<html lang="<?=$lang?>" dir="<?=$locale->getDirection();?>">
<title>Mozilla Hispano APP</title>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/reveal.css">
<link rel="stylesheet" type="text/css" href="css/app.css">
<body style="overflow: hidden" >
<div id="wrapper">
<div id="tit">
<div id="tit1">
<img src="img/identity-logo-firefox.png" alt="firefox" />
<div id="tit2">
<div id="form">
<form id="buscar" action="javascript:;" method="post" >
<input type="text" id="txtbuscar"/>
<a href="#" id="btnbuscar" class="button"><?=$lang_file['btnSearch']?></a>
<div class="mensaje"></div>
<div class="mensaje_error"></div>
<div id="info">
<div id="articulos">
<ul class="resjson2" id="list"></ul>
<ul class="resjson" id="list"></ul>
<div id="myModal" class="reveal-modal">
<div id="res">
<div id="main">
<ul id="holder" class="pagination">
<a class="close-reveal-modal">&#215;</a>
<!-- js -->
<script data-main="js/app" src="js/require-jquery.js"></script>
<script src=""></script>
<script src="js/faceconfig.js"></script>
<script type="text/javascript">
var url_popular_articles = "<?=$lang_file['url_popular_articles']?>";
var error_msg1 = "<?=$lang_file['error_msg1']?>";
var error_msg2 = "<?=$lang_file['error_msg2']?>";
var lang_search = "<?=$lang_file['lang']?>";
Jump to Line
Something went wrong with that request. Please try again.