1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?php
- if (!defined('STATUSNET')) {
-
-
- exit(1);
- }
- class InitialBookmarkForm extends Form
- {
- function __construct($out=null)
- {
- parent::__construct($out);
- }
- function id()
- {
- return 'form_initial_bookmark';
- }
- function formClass()
- {
- return 'form_settings ajax';
- }
- function action()
- {
- return common_local_url('bookmarkforurl');
- }
- function formData()
- {
- $this->out->elementStart('fieldset', array('id' => 'initial_bookmark_data'));
- $this->out->elementStart('ul', 'form_data');
- $this->li();
- $this->out->input('initial-bookmark-url',
-
- _m('LABEL','URL'),
- null,
- null,
- 'url',
- true);
- $this->unli();
- $this->out->elementEnd('ul');
- $this->out->elementEnd('fieldset');
- }
- function formActions()
- {
-
- $this->out->submit('initial-bookmark-submit', _m('BUTTON', 'Add'), 'submit', 'submit');
- }
- }
|