3 * StatusNet, the distributed open-source microblogging tool
6 * LICENCE: This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 * @copyright 2010 StatusNet, Inc.
21 * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
22 * @link http://status.net/
25 if (!defined('STATUSNET') && !defined('LACONICA')) {
29 class AddTwitterMirrorForm extends AddMirrorForm
33 * Visible or invisible data elements
35 * Display the form fields that make up the data of the form.
36 * Sub-classes should overload this to show their data.
42 $this->out->hidden('provider', 'twitter');
43 $this->out->elementStart('fieldset');
45 $this->out->elementStart('ul');
48 $this->doInput('addmirror-feedurl',
50 _m('Twitter username:'),
51 $this->out->trimmed('screen_name'));
55 $this->out->submit('addmirror-save', _m('BUTTON','Add feed'));
57 $this->out->elementEnd('ul');
58 $this->out->elementEnd('fieldset');