forked from GNUsocial/gnu-social
SubMirror wizard work in progress: Twitter option now lets you type in a username and picks the feed. Should in theory work via superfeedr or other compatible hub
This commit is contained in:
@@ -100,7 +100,20 @@ class MirrorSettingsAction extends SettingsAction
|
||||
|
||||
function showAddFeedForm()
|
||||
{
|
||||
$form = new AddMirrorForm($this);
|
||||
switch ($this->arg('provider')) {
|
||||
case 'statusnet':
|
||||
break;
|
||||
case 'twitter':
|
||||
$form = new AddTwitterMirrorForm($this);
|
||||
break;
|
||||
case 'wordpress':
|
||||
break;
|
||||
case 'linkedin':
|
||||
break;
|
||||
case 'feed':
|
||||
default:
|
||||
$form = new AddMirrorForm($this);
|
||||
}
|
||||
$form->show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user