From 9460993552254677b64a4aeaefe057de162e3215 Mon Sep 17 00:00:00 2001 From: Kcchouette Date: Sat, 27 Aug 2016 02:04:44 +0200 Subject: [PATCH] Fix an error on the IRC link and finish to translate text --- config.php | 4 ++++ index.php | 17 ++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/config.php b/config.php index 65e55dc..0fe1c72 100644 --- a/config.php +++ b/config.php @@ -84,6 +84,8 @@ "Modify_but" => "Modify it!", "Remove_but" => "Remove it!", "Connect_but" => "Log in!", + "Bot:" => "Bot:", + "Bots" => "Bots", "Add_h2" => "Add a bot", "Modify_h2" => "Modify a bot", "Modify_Remove_h2" => "Modify/Remove a bot", @@ -116,6 +118,8 @@ "Modify_but" => "Le modifier !", "Remove_but" => "Le supprimer!", "Connect_but" => "Se connecter", + "Bot:" => "Bot :", + "Bots" => "Bots", "Add_h2" => "Ajouter un bot", "Modify_h2" => "Modifier un bot", "Modify_Remove_h2" => "Modifier/Supprimer un bot", diff --git a/index.php b/index.php index 0c0516f..d255228 100644 --- a/index.php +++ b/index.php @@ -48,7 +48,7 @@ } if (isset($_GET["bot"]) && !empty(returnBotIRC(getBotList(), $_GET["bot"]))) { - echo '
  • ' . $_GET["bot"] . ' ' . $lang[$language]["IRC"] . '
  • '; + echo '
  • ' . $_GET["bot"] . ' ' . $lang[$language]["IRC"] . '
  • '; } else if (!isset($_GET["bot"]) && !empty($irc_link)) { echo '
  • '. $irc_label . '
  • '; @@ -61,7 +61,7 @@
    -

    Bots

    +

    -

    Bot:

    +

    ' . $lang[$language]["choose_bot"] . '
    '; } - else - { - require_once 'config.php'; + else { require_once 'xdcc.php'; echo '';