equal
deleted
inserted
replaced
93 }); |
93 }); |
94 |
94 |
95 // SEND TWEETS |
95 // SEND TWEETS |
96 $("#sendTweet").click(function(){ |
96 $("#sendTweet").click(function(){ |
97 var MyStatus = $('#status').attr("value"); |
97 var MyStatus = $('#status').attr("value"); |
98 $.post('tweet_ajax.php', {status:MyStatus} |
98 $.post('../tweet_ajax.php', {status:MyStatus} |
99 ,function(data) { |
99 ,function(data) { |
100 |
100 |
101 if(data=="true"){ |
101 if(data=="true"){ |
102 $("#messageSuccess").show('fast'); |
102 $("#messageSuccess").show('fast'); |
103 $("#messageSuccess").delay(800).hide('slow'); |
103 $("#messageSuccess").delay(800).hide('slow'); |
281 |
281 |
282 </div> |
282 </div> |
283 |
283 |
284 <div class="tweetWriter"> |
284 <div class="tweetWriter"> |
285 <h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3> |
285 <h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3> |
286 <form action="tweet.php" method="post" id="statusform" > |
286 <form action="../tweet.php" method="post" id="statusform" > |
287 <?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){ |
287 <?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){ |
288 echo("<div class='loginbutton' ><a href='".URL_ROOT."?CONNECT=true' class='loginlink'> |
288 echo("<div class='loginbutton' ><a href='".URL_ROOT."?CONNECT=true' class='loginlink'> |
289 ".$translate->_("Vous n'êtes pas connecté.")."</a></div>"); |
289 ".$translate->_("Vous n'êtes pas connecté.")."</a></div>"); |
290 }else{ |
290 }else{ |
291 echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='return imposemax(this);'>".$C_hashtag."</textarea>"); |
291 echo("<textarea name='status' id='status' rows='3' cols='50' onkeypress='return imposemax(this);'>".$C_hashtag."</textarea>"); |