minor alterations to mibbit.php
parent
90039f5522
commit
275d79ff9a
Binary file not shown.
|
@ -31,6 +31,8 @@ function mibbit_module() {
|
||||||
|
|
||||||
function mibbit_content(&$a) {
|
function mibbit_content(&$a) {
|
||||||
|
|
||||||
|
$o = '';
|
||||||
|
|
||||||
// this stuff is supposed to go in the page header
|
// this stuff is supposed to go in the page header
|
||||||
|
|
||||||
$a->page['htmlhead'] .= 'session_start();
|
$a->page['htmlhead'] .= 'session_start();
|
||||||
|
@ -48,15 +50,15 @@ $a->page['htmlhead'] .= 'session_start();
|
||||||
|
|
||||||
// add the chatroom frame and some html
|
// add the chatroom frame and some html
|
||||||
|
|
||||||
$s .= '<h2>chat</h2>';
|
$o .= '<h2>chat</h2>';
|
||||||
$s .= '<center>';
|
$o .= '<center>';
|
||||||
$s .= '<iframe src=\"<?PHP echo $uri; ?>\" frameborder=\"0\">
|
$o .= '<iframe src=\"<?PHP echo $uri; ?>\" frameborder=\"0\">
|
||||||
[Your user agent does not support frames or is currently configured
|
[Your user agent does not support frames or is currently configured
|
||||||
not to display frames. However, you may want to open the
|
not to display frames. However, you may want to open the
|
||||||
<A href=\"<?PHP echo $uri; ?>\" target=\"_blank\"> chat in a new browser window ...</A>]';
|
<A href=\"<?PHP echo $uri; ?>\" target=\"_blank\"> chat in a new browser window ...</A>]';
|
||||||
$s .= '</iframe>';
|
$o .= '</iframe>';
|
||||||
$s .= '<br>(no spaces, interpunctuation or leading ciphers in your /nick name)';
|
$o .= '<br>(no spaces, interpunctuation or leading ciphers in your /nick name)';
|
||||||
$s .= '<h4>type /help to learn about special commands</h4>';
|
$o .= '<h4>type /help to learn about special commands</h4>';
|
||||||
$s .= '</center><hr>'
|
$o .= '</center><hr>'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue