*
* @return void
*/
-
function formLegend()
{
}
*
* @return void
*/
-
function formData()
{
$this->out->elementStart('fieldset');
$this->out->elementEnd('div');
$this->out->elementStart('div');
if ($feed) {
+ // XXX: Why the hard coded space?
$this->out->text(_m('LABEL', 'Remote feed:') . ' ');
//$this->out->element('a', array('href' => $feed), $feed);
$this->out->element('input', array('value' => $feed, 'readonly' => 'readonly', 'style' => 'width: 100%'));
}
$this->out->elementEnd('fieldset');
-
+
$this->out->elementStart('div');
$this->out->submit($this->id() . '-save', _m('Save'));
$this->out->element('input', array('type' => 'submit',
*
* @return string ID of the form
*/
-
function id()
{
return 'edit-mirror-form-' . $this->profile->id;
*
* @return string URL to post to
*/
-
function action()
{
return common_local_url('editmirror');
*
* @return string the form's class
*/
-
function formClass()
{
return 'form_settings';
}
-
}