      1 Deluge.Preferences.addPage({
      2 	border: false,
      3 	title: _('Daemon'),
      4 	xtype: 'form',
      5 	layout: 'form',
      6 	items: [{
      7 		xtype: 'fieldset',
      8 		border: false,
      9 		title: _('Port'),
     10 		autoHeight: true,
     11 		defaultType: 'uxspinner',
     12 		items: [{
     13 			fieldLabel: _('Daemon port'),
     14 			id: 'daemon_port'
     15 		}]
     16 	}, {
     17 		xtype: 'fieldset',
     18 		border: false,
     19 		title: _('Connections'),
     20 		autoHeight: true,
     21 		labelWidth: 1,
     22 		defaultType: 'checkbox',
     23 		items: [{
     24 			fieldLabel: '',
     25 			labelSeparator: '',
     26 			boxLabel: _('Allow Remote Connections'),
     27 			id: 'allow_remote'
     28 		}]
     29 	}, {
     30 		xtype: 'fieldset',
     31 		border: false,
     32 		title: _('Other'),
     33 		autoHeight: true,
     34 		labelWidth: 1,
     35 		defaultType: 'checkbox',
     36 		items: [{
     37 			fieldLabel: '',
     38 			labelSeparator: '',
     39 			height: 40,
     40 			boxLabel: _('Periodically check the website for new releases'),
     41 			id: 'new_releases'
     42 		}]
     43 	}]
     44 });