From: Paul J R Date: Fri, 12 Oct 2012 08:11:15 +0000 (+1100) Subject: adding some "chat-like" functionality X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=746924e785c55b28d1d7a36d3f3dfab79559bc7e;p=gwvp-mini.git adding some "chat-like" functionality --- diff --git a/gwvpmini/gwvpmini.php b/gwvpmini/gwvpmini.php index 7b23820..e3521f3 100644 --- a/gwvpmini/gwvpmini.php +++ b/gwvpmini/gwvpmini.php @@ -11,6 +11,7 @@ require_once("gwvpmini_view.php"); require_once("gwvpmini_activity.php"); require_once("gwvpmini_register.php"); require_once("gwvpmini_user.php"); +require_once("gwvpmini_chat.php"); if($IS_WEB_REQUEST) { if(gwvpmini_isLoggedIn()) if(gwvpmini_isUserAdmin()) { require_once("gwvpmini_admin.php"); diff --git a/gwvpmini/gwvpmini_web.php b/gwvpmini/gwvpmini_web.php index 4251fb6..850ebfd 100644 --- a/gwvpmini/gwvpmini_web.php +++ b/gwvpmini/gwvpmini_web.php @@ -119,7 +119,9 @@ function gwvpmini_goMainPage($bodyFunction = null) echo ""; - echo ""; + echo ""; + + echo "
"; if($bodyFunction == null) { gwvpmini_BodyBuilder(); } else { @@ -130,6 +132,12 @@ function gwvpmini_goMainPage($bodyFunction = null) gwvpmini_BodyBuilder(); } } + + echo ""; + + gwvpmini_ChatBuilder(); + echo "
"; + echo ""; echo ""; @@ -161,6 +169,11 @@ function gwvpmini_MessageBuilder() } } +function gwvpmini_ChatBuilder() +{ + gwvpmini_DisplayChat(); +} + // builds the menu structure function gwvpmini_MenuBuilder() {