web/client.php
changeset 456 53572585324d
parent 420 eb7c2cff1816
child 458 a12229c45a6f
--- a/web/client.php	Mon Dec 19 17:31:37 2011 +0100
+++ b/web/client.php	Tue Dec 20 01:04:43 2011 +0100
@@ -38,7 +38,9 @@
 if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) {
     $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
 }
-
-include dirname(__FILE__). ( ( isset($config['use_tweetcast']) && $config['use_tweetcast'] ) ? '/client_new.php' : '/client_old.php' )
-
+if(!isset($_REQUEST["embed"])){
+	include dirname(__FILE__). ( ( isset($config['use_tweetcast']) && $config['use_tweetcast'] ) ? '/client_new.php' : '/client_old.php' )
+}else{
+	include dirname(__FILE__). ('/client_new_embed.php')
+}
 ?>
\ No newline at end of file