<commit_before><!doctype html>

<!--
  Wifi Hotspot app for YunoHost 
  Copyright (C) 2015 <NAME> <<EMAIL>>
  Contribute at https://github.com/jvaubourg/hotspot_ynh
  
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.
  
  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?= $locale ?>"> <!--<![endif]-->
<head>
  <title>Wifi Hotspot <? echo (isset($title)) ? "| ".$title : "" ?></title>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/css/bootstrap-toggle.min.css" rel="stylesheet">
  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/css/style.css" rel="stylesheet">

  <script src="<?= PUBLIC_DIR ?>/jquery/jquery-2.1.1.min.js"></script>
  <script src="<?= PUBLIC_DIR ?>/bootstrap/js/bootstrap.min.js"></script>
  <script src="<?= PUBLIC_DIR ?>/js/bootstrap-toggle.min.js"></script>
  <script src="<?= PUBLIC_DIR ?>/js/custom.js"></script>
</head>

<body>
  <div class="container">
    <? if(isset($flash['error'])): ?>
      <div class="alert alert-dismissible alert-danger fade in" style="margin-top: 20px" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <strong><?= T_('Error') ?>:</strong> <?= $flash['error'] ?>
      </div>
    <? elseif(isset($flash['notice'])): ?>
      <div class="alert alert-dismissible alert-info fade in" style="margin-top: 20px" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <strong><?= T_('Notice') ?>:</strong> <?= $flash['notice'] ?>
      </div>
    <? elseif(isset($flash['success'])): ?>
      <div class="alert alert-dismissible alert-success fade in" style="margin-top: 20px" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <?= $flash['success'] ?>
      </div>
    <? endif; ?>

    <?= $content?>

    <hr />
    <div id="github"><a href="https://github.com/jvaubourg/hotspot_ynh"><?= T_('Any problem? Contribute!') ?></a> - AGPL 3.0</div>
  </div>
</body>

</html><commit_msg>change repo in layout<commit_after><!doctype html>

<!--
  Wifi Hotspot app for YunoHost 
  Copyright (C) 2015 <NAME> <<EMAIL>>
  Contribute at https://github.com/jvaubourg/hotspot_ynh
  
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.
  
  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?= $locale ?>"> <!--<![endif]-->
<head>
  <title>Wifi Hotspot <? echo (isset($title)) ? "| ".$title : "" ?></title>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/css/bootstrap-toggle.min.css" rel="stylesheet">
  <link media="all" type="text/css" href="<?= PUBLIC_DIR ?>/css/style.css" rel="stylesheet">

  <script src="<?= PUBLIC_DIR ?>/jquery/jquery-2.1.1.min.js"></script>
  <script src="<?= PUBLIC_DIR ?>/bootstrap/js/bootstrap.min.js"></script>
  <script src="<?= PUBLIC_DIR ?>/js/bootstrap-toggle.min.js"></script>
  <script src="<?= PUBLIC_DIR ?>/js/custom.js"></script>
</head>

<body>
  <div class="container">
    <? if(isset($flash['error'])): ?>
      <div class="alert alert-dismissible alert-danger fade in" style="margin-top: 20px" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <strong><?= T_('Error') ?>:</strong> <?= $flash['error'] ?>
      </div>
    <? elseif(isset($flash['notice'])): ?>
      <div class="alert alert-dismissible alert-info fade in" style="margin-top: 20px" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <strong><?= T_('Notice') ?>:</strong> <?= $flash['notice'] ?>
      </div>
    <? elseif(isset($flash['success'])): ?>
      <div class="alert alert-dismissible alert-success fade in" style="margin-top: 20px" role="alert">
        <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <?= $flash['success'] ?>
      </div>
    <? endif; ?>

    <?= $content?>

    <hr />
    <div id="github"><a href="https://github.com/labriqueinternet/hotspot_ynh"><?= T_('Any problem? Contribute!') ?></a> - AGPL 3.0</div>
  </div>
</body>

</html>
{'fraction_non_alphanumeric': 0.20991083174974418, 'fraction_numerical': 0.00818593772840228, 'mean_word_length': 4.214939024390244, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 197, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4985601', 'n_tokens_mistral': 2324, 'n_tokens_neox': 2237, 'n_words': 586}