forked from rejetto/hfs2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
optionsDlg.dfm
658 lines (658 loc) · 16.2 KB
/
optionsDlg.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
object optionsFrm: ToptionsFrm
Left = 287
Top = 162
BorderIcons = [biSystemMenu, biMinimize]
Caption = 'Options'
ClientHeight = 449
ClientWidth = 805
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poMainFormCenter
OnActivate = FormActivate
OnCreate = FormCreate
OnResize = FormResize
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 14
object pageCtrl: TPageControl
Left = 0
Top = 0
Width = 805
Height = 414
ActivePage = accountsPage
Align = alClient
Images = mainFrm.images
MultiLine = True
TabOrder = 0
object bansPage: TTabSheet
Caption = 'Bans'
ImageIndex = 25
object Panel1: TPanel
Left = 0
Top = 0
Width = 797
Height = 30
Align = alTop
BevelOuter = bvNone
TabOrder = 0
object addBtn: TButton
Left = 4
Top = 5
Width = 73
Height = 21
Caption = 'Add row'
TabOrder = 0
OnClick = addBtnClick
end
object deleteBtn: TButton
Left = 86
Top = 5
Width = 73
Height = 21
Caption = 'Delete row'
TabOrder = 1
OnClick = deleteBtnClick
end
object sortBanBtn: TButton
Left = 168
Top = 5
Width = 73
Height = 21
Caption = 'Sort'
TabOrder = 2
OnClick = sortBanBtnClick
end
end
object bansBox: TValueListEditor
Left = 0
Top = 30
Width = 797
Height = 329
Align = alClient
KeyOptions = [keyEdit, keyAdd, keyDelete]
Strings.Strings = (
'=')
TabOrder = 1
TitleCaptions.Strings = (
'IP address mask'
'Comment')
ColWidths = (
108
683)
end
object Panel3: TPanel
Left = 0
Top = 359
Width = 797
Height = 26
Align = alBottom
BevelOuter = bvNone
TabOrder = 2
object noreplybanChk: TCheckBox
Left = 5
Top = 5
Width = 145
Height = 17
Caption = 'Disconnect with no reply'
TabOrder = 0
end
object Button1: TButton
Left = 176
Top = 4
Width = 141
Height = 19
Caption = 'How to invert the logic?'
TabOrder = 1
OnClick = Button1Click
end
end
end
object accountsPage: TTabSheet
Caption = 'Accounts'
ImageIndex = 29
DesignSize = (
797
385)
object Label1: TLabel
Left = 9
Top = 16
Width = 57
Height = 14
Caption = 'Account list'
FocusControl = accountsBox
end
object Label7: TLabel
Left = 251
Top = 349
Width = 328
Height = 14
Hint = 'You also need to right click on the folder, then restrict access'
Anchors = [akLeft, akBottom]
Caption =
'WARNING: creating an account is not enough to protect your file' +
's...'
ParentShowHint = False
ShowHint = True
WordWrap = True
end
object accountpropGrp: TGroupBox
Left = 163
Top = 26
Width = 619
Height = 317
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'Account properties'
TabOrder = 7
DesignSize = (
619
317)
object Label3: TLabel
Left = 11
Top = 173
Width = 312
Height = 28
Caption = 'Here you can see protected resources this user can access...'
FocusControl = accountAccessBox
WordWrap = True
end
object Label8: TLabel
Left = 345
Top = 20
Width = 28
Height = 14
Caption = 'Notes'
FocusControl = notesBox
WordWrap = True
end
object accountenabledChk: TCheckBox
Left = 11
Top = 20
Width = 97
Height = 17
Caption = '&Enabled'
TabOrder = 0
OnClick = accountenabledChkClick
end
object accountAccessBox: TTreeView
Left = 11
Top = 192
Width = 302
Height = 116
Anchors = [akLeft, akTop, akBottom]
Images = mainFrm.images
Indent = 19
ParentShowHint = False
ReadOnly = True
ShowHint = False
ShowRoot = False
TabOrder = 7
OnContextPopup = accountAccessBoxContextPopup
OnDblClick = accountAccessBoxDblClick
end
object ignoreLimitsChk: TCheckBox
Left = 226
Top = 20
Width = 97
Height = 17
Caption = '&Ignore limits'
TabOrder = 2
end
object pwdBox: TLabeledEdit
Left = 11
Top = 63
Width = 198
Height = 22
EditLabel.Width = 50
EditLabel.Height = 14
EditLabel.Caption = '&Password'
ParentShowHint = False
PasswordChar = '*'
ShowHint = True
TabOrder = 3
OnChange = pwdBoxChange
OnMouseEnter = pwdBoxMouseEnter
end
object redirBox: TLabeledEdit
Left = 11
Top = 106
Width = 198
Height = 22
EditLabel.Width = 105
EditLabel.Height = 14
EditLabel.Caption = 'After login, redirect to'
TabOrder = 4
OnChange = redirBoxChange
end
object accountLinkBox: TLabeledEdit
Left = 11
Top = 146
Width = 198
Height = 22
EditLabel.Width = 51
EditLabel.Height = 14
EditLabel.Caption = 'Member of'
TabOrder = 5
OnExit = accountLinkBoxExit
end
object groupChk: TCheckBox
Left = 114
Top = 20
Width = 97
Height = 17
Caption = '&Group'
TabOrder = 1
OnClick = groupChkClick
end
object groupsBtn: TButton
Left = 215
Top = 146
Width = 90
Height = 21
Caption = 'Choose...'
TabOrder = 6
OnClick = groupsBtnClick
end
object notesBox: TMemo
Left = 345
Top = 39
Width = 271
Height = 269
Anchors = [akLeft, akTop, akRight, akBottom]
ParentShowHint = False
ScrollBars = ssVertical
ShowHint = False
TabOrder = 8
end
object notesWrapChk: TCheckBox
Left = 502
Top = 21
Width = 91
Height = 17
Anchors = [akTop, akRight]
Caption = 'Wrap'
Checked = True
State = cbChecked
TabOrder = 9
OnClick = notesWrapChkClick
end
end
object deleteaccountBtn: TButton
Left = 3
Top = 351
Width = 45
Height = 17
Anchors = [akLeft, akBottom]
Caption = 'de&lete'
Enabled = False
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 2
OnClick = deleteaccountBtnClick
end
object renaccountBtn: TButton
Left = 53
Top = 328
Width = 49
Height = 17
Anchors = [akLeft, akBottom]
Caption = '&rename'
Enabled = False
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
OnClick = renaccountBtnClick
end
object addaccountBtn: TButton
Left = 3
Top = 328
Width = 45
Height = 17
Anchors = [akLeft, akBottom]
Caption = 'ad&d'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
OnClick = addaccountBtnClick
end
object upBtn: TButton
Left = 107
Top = 328
Width = 45
Height = 17
Anchors = [akLeft, akBottom]
Caption = '&up'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 5
OnClick = upBtnClick
OnMouseUp = upBtnMouseUp
end
object downBtn: TButton
Left = 107
Top = 351
Width = 45
Height = 17
Anchors = [akLeft, akBottom]
Caption = 'do&wn'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 6
OnClick = upBtnClick
OnMouseUp = upBtnMouseUp
end
object sortBtn: TButton
Left = 53
Top = 351
Width = 49
Height = 17
Anchors = [akLeft, akBottom]
Caption = 'sort'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 4
OnClick = sortBtnClick
OnMouseUp = upBtnMouseUp
end
object accountsBox: TListView
Left = 3
Top = 35
Width = 149
Height = 287
Anchors = [akLeft, akTop, akBottom]
Columns = <>
DragMode = dmAutomatic
HideSelection = False
OwnerData = True
RowSelect = True
ParentShowHint = False
ShowHint = False
SmallImages = mainFrm.images
TabOrder = 0
ViewStyle = vsList
OnChange = accountsBoxChange
OnClick = accountsBoxClick
OnData = accountsBoxData
OnDblClick = accountsBoxDblClick
OnEdited = accountsBoxEdited
OnEditing = accountsBoxEditing
OnDragDrop = accountsBoxDragDrop
OnDragOver = accountsBoxDragOver
OnKeyDown = accountsBoxKeyDown
OnKeyPress = accountsBoxKeyPress
end
end
object mimePage: TTabSheet
Caption = 'MIME types'
ImageIndex = 7
object mimeBox: TValueListEditor
Left = 0
Top = 30
Width = 797
Height = 355
Align = alClient
KeyOptions = [keyEdit, keyAdd, keyDelete]
Strings.Strings = (
'=')
TabOrder = 0
TitleCaptions.Strings = (
'File Mask'
'MIME Description')
ColWidths = (
108
683)
end
object Panel5: TPanel
Left = 0
Top = 0
Width = 797
Height = 30
Align = alTop
BevelOuter = bvNone
TabOrder = 1
object addMimeBtn: TButton
Left = 4
Top = 5
Width = 73
Height = 21
Caption = 'Add row'
TabOrder = 0
OnClick = addMimeBtnClick
end
object deleteMimeBtn: TButton
Left = 86
Top = 5
Width = 73
Height = 21
Caption = 'Delete row'
TabOrder = 1
OnClick = deleteMimeBtnClick
end
object inBrowserIfMIMEchk: TCheckBox
Left = 184
Top = 7
Width = 305
Height = 17
Caption = 'Open directly in browser when MIME type is defined'
TabOrder = 2
end
end
end
object trayPage: TTabSheet
Caption = 'Tray Message'
ImageIndex = 10
object Label2: TLabel
Left = 8
Top = 16
Width = 292
Height = 168
Caption =
'You can customize the message in the tray icon tip. '#13#10'The messag' +
'e length is determined by your Windows version'#13#10'(in XP the limit' +
' is 127 characters including spaces).'#13#10'Available symbols:'#13#10#13#10' %' +
'uptime% - server uptime'#13#10' %url% - server main URL'#13#10' %ip% - IP ' +
'address set as default'#13#10' %port% - Port on which the server is l' +
'istening'#13#10' %hits% - number of requests made to the server'#13#10' %d' +
'ownloads% - number of files downloaded'#13#10' %version% - HFS versio' +
'n'
end
object Label10: TLabel
Left = 291
Top = 170
Width = 40
Height = 14
Caption = 'Preview'
end
object traymsgBox: TMemo
Left = 16
Top = 192
Width = 233
Height = 121
Lines.Strings = (
'traymsgBox')
TabOrder = 0
OnChange = traymsgBoxChange
end
object traypreviewBox: TMemo
Left = 291
Top = 192
Width = 233
Height = 121
Color = clInfoBk
ReadOnly = True
TabOrder = 1
end
end
object a2nPage: TTabSheet
Caption = 'Address2name'
ImageIndex = -1
object Panel4: TPanel
Left = 0
Top = 0
Width = 797
Height = 67
Align = alTop
Alignment = taLeftJustify
BevelOuter = bvNone
TabOrder = 0
object Label4: TLabel
Left = 8
Top = 8
Width = 243
Height = 28
Caption =
'You can associate a label to an address (or many addresses). It ' +
'will be used in the log.'
WordWrap = True
end
object deleteA2Nbtn: TButton
Left = 83
Top = 40
Width = 73
Height = 21
Caption = '&Delete row'
TabOrder = 0
OnClick = deleteA2NbtnClick
end
object addA2Nbtn: TButton
Left = 4
Top = 41
Width = 73
Height = 21
Caption = 'Add &row'
TabOrder = 1
OnClick = addA2NbtnClick
end
end
object a2nBox: TValueListEditor
Left = 0
Top = 67
Width = 797
Height = 318
Align = alClient
KeyOptions = [keyEdit, keyAdd, keyDelete]
Strings.Strings = (
'=')
TabOrder = 1
TitleCaptions.Strings = (
'Name'
'IP Mask')
ColWidths = (
108
683)
end
end
object iconsPage: TTabSheet
Caption = 'Icon masks'
ImageIndex = -1
DesignSize = (
797
385)
object Label5: TLabel
Left = 8
Top = 32
Width = 227
Height = 14
Caption = 'Each line is a file-mask associated with an icon'
WordWrap = True
end
object Label6: TLabel
Left = 272
Top = 128
Width = 76
Height = 14
Caption = 'Icon associated'
end
object iconMasksBox: TMemo
Left = 8
Top = 49
Width = 225
Height = 245
Anchors = [akLeft, akTop, akBottom]
TabOrder = 0
OnChange = iconMasksBoxChange
end
object iconsBox: TComboBox
Left = 272
Top = 144
Width = 76
Height = 22
Style = csOwnerDrawFixed
TabOrder = 1
OnChange = iconsBoxChange
OnDrawItem = iconsBoxDrawItem
OnDropDown = iconsBoxDropDown
end
end
end
object Panel2: TPanel
Left = 0
Top = 414
Width = 805
Height = 35
Align = alBottom
BevelOuter = bvNone
TabOrder = 1
DesignSize = (
805
35)
object okBtn: TButton
Left = 561
Top = 6
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = '&OK'
TabOrder = 0
OnClick = okBtnClick
end
object applyBtn: TButton
Left = 724
Top = 6
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = '&Apply'
TabOrder = 1
OnClick = applyBtnClick
end
object cancelBtn: TButton
Left = 643
Top = 6
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = '&Cancel'
TabOrder = 2
OnClick = cancelBtnClick
end
end
end