Revision: 2805
Author: [email protected]
Date: Wed Jan 20 07:45:59 2010
Log: Added instant communication plugin code
http://code.google.com/p/openmeetings/source/detail?r=2805
Added:
/trunk/plugins/instant_communication_plugin/test_functionality.php
=======================================
--- /dev/null
+++ /trunk/plugins/instant_communication_plugin/test_functionality.php Wed
Jan 20 07:45:59 2010
@@ -0,0 +1,26 @@
+<?php
+
+function displayInvitation()
+{
+ $file = file_get_contents('./invite.tmpl', true);
+ print $file;
+}
+
+function displayUserPage()
+{
+ $file = file_get_contents('./user.tmpl', true);
+
+ $file = str_replace( "%USERID%",$_REQUEST['UID'],$file);
+ $file = str_replace( "%USERNAME%",$_REQUEST['UN'],$file);
+ print $file;
+}
+
+if ($_REQUEST['UID']==NULL)
+{
+ displayInvitation();
+}
+else
+{
+ displayUserPage();
+}
+?>
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.