Added information about connection
authorRaphael Velt <raph.velt@gmail.com>
Fri, 07 Jun 2013 18:12:19 +0200
changeset 922 2ca61ac043e3
parent 921 793002698b11
child 923 fc2887823d3d
Added information about connection
web/client.php
web/polemicaltimeline.php
web/res/css/tweetcast.css
web/traduction.php
--- a/web/client.php	Fri Jun 07 17:57:10 2013 +0200
+++ b/web/client.php	Fri Jun 07 18:12:19 2013 +0200
@@ -57,7 +57,7 @@
 <html lang="<?php echo($actual); ?>">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <title>Live Video and Annotation</title>
+    <title>Polemic Tweet &mdash; <?php echo($translate->_('config__title')); ?></title>
     <meta http-equiv="X-UA-Compatible" content="IE=9" />
 
     <!-- FONT -->
@@ -479,6 +479,10 @@
                     </div>
                 </div>
                 
+            <?php } else {?>
+                
+                <p class="connect-message"><a href="<php echo URL_ROOT.$rep; ?>/client.php?CONNECT=true"><?php echo $translate->_('You must be connected with your Twitter account to read the conversation'); ?></a></p>
+                
             <?php } ?>
             
             </div>
--- a/web/polemicaltimeline.php	Fri Jun 07 17:57:10 2013 +0200
+++ b/web/polemicaltimeline.php	Fri Jun 07 18:12:19 2013 +0200
@@ -56,7 +56,7 @@
 <html lang="<?php echo($actual); ?>">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <title>Polemic tweet - <?php echo($translate->_('config__title')); ?></title>
+    <title>Polemic tweet &mdash; <?php echo($translate->_('config__title')); ?></title>
     <meta name="keywords" content="<?php echo($translate->_('config__keywords')); ?>"><!-- add timestampedmetadata -->
     <!--<meta name="description" content="PoelmicTweet.fr : debate mapping, opinion, conference, video">-->
     <meta name="description" content="<?php echo(strip_tags($translate->_('config__description'))); ?>">
--- a/web/res/css/tweetcast.css	Fri Jun 07 17:57:10 2013 +0200
+++ b/web/res/css/tweetcast.css	Fri Jun 07 18:12:19 2013 +0200
@@ -787,3 +787,15 @@
 .splash .submit {
     font-size: 20px; font-family: "PT Sans Narrow"; font-weight: bold; float: right;
 }
+
+.connect-message {
+    text-align: center; font-size: 16px; margin: 30px;
+}
+
+.connect-message a {
+    color: #333333; text-decoration: none;
+}
+
+.connect-message a:hover {
+    text-decoration: underline;
+}
--- a/web/traduction.php	Fri Jun 07 17:57:10 2013 +0200
+++ b/web/traduction.php	Fri Jun 07 18:12:19 2013 +0200
@@ -185,6 +185,8 @@
                 "Protocol_Answer_Twitter"   => "Compte Twitter&nbsp;:",
                 "Protocol_Submit_Label"     => "Continuer &raquo;",
                 
+                'You must be connected with your Twitter account to read the conversation' => 'Vous devez ĂȘtre connectĂ© avec votre compte Twitter pour pouvoir lire la conversation',
+                
 				);
                               
 $english = array(