5 return baseclass
.extend({
6 title
: _('cUrl Plugin Configuration'),
8 addFormOptions: function(s
) {
11 o
= s
.option(form
.Flag
, 'enable', _('Enable this plugin'));
13 o
= s
.option(form
.SectionValue
, '__pages', form
.TableSection
, 'collectd_curl_page');
14 o
.title
= _('Fetch pages');
15 o
.depends('enable', '1');
21 o
= ss
.option(form
.Flag
, 'enable', _('Enable'));
25 o
= ss
.option(form
.Value
, 'name', _('Name'));
27 o
= ss
.option(form
.Value
, 'url', _('URL'));
30 configSummary: function(section
) {
31 return _('cURL plugin enabled');