correct call to twitter V00.54
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Thu, 26 May 2011 07:39:40 +0200
changeset 169 9739b980e1fe
parent 168 ff9a02953c4c
child 170 a8c7a9e1d368
correct call to twitter
web/CPV/client.php
--- a/web/CPV/client.php	Thu May 26 07:32:48 2011 +0200
+++ b/web/CPV/client.php	Thu May 26 07:39:40 2011 +0200
@@ -95,7 +95,7 @@
 			// SEND TWEETS 
 			$("#sendTweet").click(function(){
 				var MyStatus = $('#status').attr("value");
-				$.post('tweet_ajax.php', {status:MyStatus}
+				$.post('../tweet_ajax.php', {status:MyStatus}
 				,function(data) {
 				
 					if(data=="true"){
@@ -283,7 +283,7 @@
 	  
 	  <div class="tweetWriter">
 		<h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?></h3>
-		<form  action="tweet.php" method="post" id="statusform" >
+		<form  action="../tweet.php" method="post" id="statusform" >
 		<?php if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
 				echo("<div class='loginbutton' ><a href='".URL_ROOT."?CONNECT=true' class='loginlink'>
 				".$translate->_("Vous n'ĂȘtes pas connectĂ©.")."</a></div>");