Merge branch 'master' of github.com:mitsukarenai/Projet-Autoblog
This commit is contained in:
commit
6afb4f34dc
2 changed files with 8 additions and 3 deletions
|
@ -28,8 +28,13 @@
|
|||
// define( 'ALLOW_NEW_AUTOBLOGS_BY_XSAF', TRUE );
|
||||
|
||||
/**
|
||||
* More about TwitterBridge : https://github.com/mitsukarenai/twitterbridge and twitter2feed: https://github.com/mitsukarenai/twitter2feed
|
||||
* replace LOCAL with the twitterbridge request URL (example: 'http://www.suumitsu.eu/twitter/?u=' ) or leave LOCAL to use the included twitter2feed.php.
|
||||
* TwitterBridge: https://github.com/mitsukarenai/twitterbridge
|
||||
* twitter2feed : https://github.com/mitsukarenai/twitter2feed
|
||||
* rss-bridge : https://github.com/sebsauvage/rss-bridge
|
||||
* replace LOCAL with:
|
||||
- the twitterbridge request URL (example: 'http://www.some.website/twitterbridge/?u=' )
|
||||
- or the rss-bridge request URL (example: 'http://www.some.website/rss-bridge/?action=display&bridge=TwitterBridge&format=AtomFormat&u=' )
|
||||
- or leave LOCAL to use the included twitter2feed.php.
|
||||
* set to FALSE if you want to fully disable Twitter support
|
||||
**/
|
||||
// define( 'API_TWITTER', 'LOCAL' );
|
||||
|
|
|
@ -830,7 +830,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY
|
|||
if( API_TWITTER === 'LOCAL' )
|
||||
echo '<input type="radio" name="socialinstance" value="twitter">Twitter (local)<br>';
|
||||
else
|
||||
echo '<input type="radio" name="socialinstance" value="twitter">Twitter (via <a href="'.substr(API_TWITTER, 0, -2).'status">twitterbridge</a>)<br>';
|
||||
echo '<input type="radio" name="socialinstance" value="twitter">Twitter (via <a href="'.strtok(API_TWITTER,'?').'">bridge</a>)<br>';
|
||||
}
|
||||
else echo '<s>Twitter</s><br>'; ?>
|
||||
<input type="radio" name="socialinstance" value="statusnet">
|
||||
|
|
Loading…
Reference in a new issue