[PC-BSD Commits] r5673 - in websites/pbidir.com/bibivu: bin tpl/pbidir

svn at pcbsd.org svn at pcbsd.org
Sun Dec 20 11:53:47 PST 2009


Author: fabry
Date: 2009-12-20 11:53:47 -0800 (Sun, 20 Dec 2009)
New Revision: 5673

Added:
   websites/pbidir.com/bibivu/tpl/pbidir/is_client.php
Modified:
   websites/pbidir.com/bibivu/bin/start.php
Log:
Added ability to see if a user is online with the client version

Modified: websites/pbidir.com/bibivu/bin/start.php
===================================================================
--- websites/pbidir.com/bibivu/bin/start.php	2009-12-20 19:37:49 UTC (rev 5672)
+++ websites/pbidir.com/bibivu/bin/start.php	2009-12-20 19:53:47 UTC (rev 5673)
@@ -207,6 +207,13 @@
 		}
 		$this->web_home();
 	}
+	
+	public function web_is_client(){
+		$this->load_library('session');
+		$this->sessions->set('is_client',(bool)$this->uri->get('is_client',false));
+//		$this->display('is_client', false);
+		$this->display->show('pbidir/is_client');
+	}
 
 	public function web_pages(){
 		$page = $this->uri->get_num(3);



More information about the Commits mailing list