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:
Brion Vibber
2011-03-15 17:15:25 -07:00
parent 325cb4833d
commit ce05a78d08
5 changed files with 94 additions and 4 deletions

View File

@@ -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();
}