modified: 0.3/index.php

- désactivation Twitter (en attendant une soluce)
This commit is contained in:
Mitsukarenai 2013-03-13 16:45:14 +01:00
parent a7075c82f3
commit 8a4f8a3b4a

View file

@ -460,9 +460,9 @@ if(!empty($_POST['socialaccount']) && !empty($_POST['socialinstance']) && ALLOW_
$socialinstance = strtolower(escape($_POST['socialinstance']));
if($socialinstance === 'twitter') {
$sitetype = 'microblog';
/*$sitetype = 'microblog';
$siteurl = "http://twitter.com/$socialaccount";
$rssurl = $apitwitter.$socialaccount;
$rssurl = $apitwitter.$socialaccount; */ $error[] = "Twitter veut mettre à mort son API ouverte. Du coup on peut plus faire ça comme ça.";
}
elseif($socialinstance === 'identica') {
$sitetype = 'microblog';
@ -719,7 +719,8 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY
<form method="POST">
<input placeholder="Identifiant du compte" type="text" name="socialaccount" id="socialaccount"><br>
<input type="radio" name="socialinstance" value="twitter">Twitter<br>
<?php /*<input type="radio" name="socialinstance" value="twitter">Twitter<br>*/ ?>
<s>Twitter</s><br>
<input type="radio" name="socialinstance" value="identica">Identica<br>
<input type="radio" name="socialinstance" value="statusnet">
<input placeholder="statusnet.personnel.com" type="text" name="statusneturl" id="statusneturl"><br>