Call this v1.2.2
This commit is contained in:
parent
b886295263
commit
b58c7781fe
@ -14,6 +14,13 @@ anything like that. This is in working condition!
|
||||
* Use it!
|
||||
|
||||
#### Changelog
|
||||
* v1.2.2:
|
||||
* CSS updates
|
||||
* Added IdleIRC footer
|
||||
* Navigation bar modifications
|
||||
* Added /channel & /focused
|
||||
* Other stuffs
|
||||
|
||||
* v1.2.1:
|
||||
* Added htmlentities to incoming IRC messages
|
||||
* Fixed /list, allows no argument when focused
|
||||
|
@ -18,7 +18,7 @@ $logfile = "irclog.txt"; // Log instances for each bouncer
|
||||
$ipcolor = "#00FF00";
|
||||
|
||||
///// NO TOUCHY SECTION /////
|
||||
$version = "1.2.1"; // CWChat version
|
||||
$version = "1.2.2"; // CWChat version
|
||||
|
||||
function doLog($string) {
|
||||
file_put_contents($GLOBALS['logfile'], $string . "\r\n", FILE_APPEND);
|
||||
|
@ -282,13 +282,13 @@ if (!isset($_SESSION['idleirc-user'])) {
|
||||
<?php
|
||||
if (!file_exists("." . $_SESSION['idleirc-user'] . ".pingfile"))
|
||||
{
|
||||
echo "• <a onclick='doLogin();'>Connect to server</a>";
|
||||
echo "<a onclick='doLogin();'>Connect to server</a>";
|
||||
} else {
|
||||
echo "• <a onclick='doLogout();'>Disconnect from server</a>";
|
||||
echo "<a onclick='doLogout();'>Disconnect from server</a>";
|
||||
}
|
||||
?>
|
||||
• <a onclick="doClearLog();">Clear IRC logs</a>
|
||||
• <a href="index.php?logs">IRC Logs</a>
|
||||
<a onclick="doClearLog();">Clear IRC logs</a>
|
||||
<a href="index.php?logs">IRC Logs</a>
|
||||
</div>
|
||||
<div id="msgs">
|
||||
<?php
|
||||
@ -314,6 +314,7 @@ if (!isset($_SESSION['idleirc-user'])) {
|
||||
}
|
||||
|
||||
?>
|
||||
<div id="footer">Powered by <a href='https://notabug.org/Pentium44/idleirc'><?php echo $title . " " . $version; ?></a></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
24
style.css
24
style.css
@ -24,12 +24,12 @@ body {
|
||||
}
|
||||
|
||||
.info {
|
||||
padding: 2px;
|
||||
padding: 6px 6px 10px 6px;
|
||||
font-size: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logout { padding: 5px; text-align: center; }
|
||||
.logout { padding: 5px; padding-bottom: 10px; text-align: center; }
|
||||
|
||||
a {
|
||||
color: #0080ff;
|
||||
@ -54,6 +54,20 @@ input, button, select, textarea{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logout a {
|
||||
background-color: #282828;
|
||||
color: #ffffff;
|
||||
padding: 3px 5px 3px 5px;
|
||||
border-radius: 5px;
|
||||
border: solid 1px #444444;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.logout a:hover {
|
||||
background-color: #353535;
|
||||
}
|
||||
|
||||
.text { font-size: 14px; }
|
||||
|
||||
@media only screen and (min-height: 20001px) { #msgs { height: 1700px; } }
|
||||
@ -106,3 +120,9 @@ input, button, select, textarea{
|
||||
#logmsgs tr:nth-child(even) { background-color: #262626; border: solid 1px #454545; }
|
||||
#logmsgs tr:nth-child(odd) { background-color: #141414; border: solid 1px #454545; }
|
||||
#logmsgs td { padding: 4px; }
|
||||
|
||||
#footer {
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user