From 2f7ddd989d2e0db4e33c2fc9e55408ebefddba2d Mon Sep 17 00:00:00 2001 From: Pentium44 Date: Sun, 13 Dec 2020 18:41:34 -0800 Subject: [PATCH] Call this v1.3.3 --- README.md | 5 +++++ config.php | 5 +++-- index.php | 43 +++++++++++++++++++++++++++++++++---------- style.css | 3 ++- version.php | 10 ++++++++++ 5 files changed, 53 insertions(+), 13 deletions(-) create mode 100644 version.php diff --git a/README.md b/README.md index f65871c..c5ba079 100755 --- a/README.md +++ b/README.md @@ -60,6 +60,11 @@ Read-Write access for working directory #### Changelog +* v1.3.3: + * Tweaked main page from "Connected to:" to "Using:" + * Keep JS from processing if irc.php is not active. + * CSS tweaks + * v1.3.2: * Fix irc.php private message bug with array. * Fix irc.php saving logs in incorrect locations. diff --git a/config.php b/config.php index 45c3e97..c758194 100755 --- a/config.php +++ b/config.php @@ -17,8 +17,9 @@ $allowMultiServer = "true"; // [true/false] Allow users to set other IRC servers ///// WEBCLIENT LAYOUT ///// $ipcolor = "#00FF00"; -///// NO TOUCHY SECTION ///// -$version = "1.3.2"; // IdleIRC version +///// NO TOUCH ///// +// Include software version in another php file for the sake of git pull +include_once("version.php"); function doLog($string) { file_put_contents($GLOBALS['logfile'], $string . "\r\n", FILE_APPEND); diff --git a/index.php b/index.php index aa443f4..b144077 100755 --- a/index.php +++ b/index.php @@ -173,6 +173,12 @@ if (isset($_GET['do']) && $_GET['do']=="login" && isset($_POST['submitBtn']) && -> +>
+ if(isset($_SESSION['idleirc-user'])) { echo " ~ Using: " . $_SESSION['idleirc-servaddr'] . ":" . $_SESSION['idleirc-servport'] . " on " . $_SESSION['idleirc-channel']; } ?>