modified: 0.3/index.php
- désactivation Twitter (en attendant une soluce)
This commit is contained in:
parent
a7075c82f3
commit
8a4f8a3b4a
1 changed files with 4 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue