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']; } ?>