// TRANS: Field label on form for adding a new bookmark.
_m('LABEL','URL'),
$this->_url,
+ null,
'url');
$this->unli();
// TRANS: Field label on form for adding a new bookmark.
_m('LABEL','Title'),
$this->_title,
+ null,
'title');
$this->unli();
// TRANS: Field label on form for adding a new bookmark.
_m('LABEL','Notes'),
$this->_description,
+ null,
'description');
$this->unli();
}
$this->checkSessionToken();
-
- $this->url = $this->trimmed('initial-bookmark-url');
+ $this->url = $this->trimmed('url');
if (empty($this->url)) {
throw new ClientException(_('URL is required.'), 400);
$this->li();
$this->out->input('initial-bookmark-url',
// TRANS: Field label on form for adding a new bookmark.
- _m('LABEL','URL'));
+ _m('LABEL','URL'),
+ null,
+ null,
+ 'url');
$this->unli();
$this->out->elementEnd('ul');
$this->checkSessionToken();
}
- $this->title = $this->trimmed('bookmark-title');
- $this->url = $this->trimmed('bookmark-url');
- $this->tags = $this->trimmed('bookmark-tags');
- $this->description = $this->trimmed('bookmark-description');
+ $this->title = $this->trimmed('title');
+ $this->url = $this->trimmed('url');
+ $this->tags = $this->trimmed('tags');
+ $this->description = $this->trimmed('description');
return true;
}