summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/res/stopspam.rc
blob: dcfcb588f67f9ea1ba39c2e586394953a0247034 (plain)
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
// Microsoft Visual C++ generated resource script.
//
#include "..\src\resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Ðóññêèé (Ðîññèÿ) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_MESSAGES DIALOGEX 0, 0, 302, 225
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "Question (Ctrl+Enter for carriage return):",IDC_STATIC,0,5,156,8
    EDITTEXT        ID_QUESTION,0,17,300,57,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
    PUSHBUTTON      "Restore defaults",ID_RESTOREDEFAULTS,234,208,66,14,NOT WS_TABSTOP
    LTEXT           "Answer:",IDC_STATIC,0,82,270,8
    EDITTEXT        ID_ANSWER,0,94,300,14,ES_AUTOHSCROLL
    LTEXT           "Congratulation:",IDC_STATIC,0,112,270,8
    EDITTEXT        ID_CONGRATULATION,0,123,300,48,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
    LTEXT           "Auth. request reply:",IDC_STATIC,0,174,270,8
    EDITTEXT        ID_AUTHREPL,0,187,300,14,ES_AUTOHSCROLL
    CONTROL         "Vars",IDC_VARS,"MButtonClass",WS_TABSTOP,0,206,16,16
END

IDD_PROTO DIALOGEX 0, 0, 230, 173
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "Available accounts:",IDC_STATIC,6,8,84,8
    LISTBOX         ID_ALLPROTO,6,20,84,138,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      ">>>>",ID_ADDALL,96,26,36,14
    PUSHBUTTON      ">>",ID_ADD,96,44,36,14
    PUSHBUTTON      "<<",ID_REMOVE,96,62,36,14
    PUSHBUTTON      "<<<<",ID_REMOVEALL,96,80,36,14
    LTEXT           "Filtered accounts:",IDC_STATIC,138,8,85,8
    LISTBOX         ID_USEDPROTO,138,20,84,138,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
END

IDD_MAIN DIALOGEX 0, 0, 309, 219
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    EDITTEXT        ID_DESCRIPTION,12,7,290,82,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_TABSTOP
    LTEXT           "Do not send more than",IDC_STATIC,11,89,87,12,SS_CENTERIMAGE
    EDITTEXT        ID_MAXQUESTCOUNT,107,89,30,12,ES_AUTOHSCROLL | ES_NUMBER
    LTEXT           "questions to one contact (0 - for no limit)",IDC_STATIC,144,89,155,12,SS_CENTERIMAGE
    CONTROL         "Enable StopSpam-StopSpam infinite talk protection",ID_INFTALKPROT,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,106,290,10
    CONTROL         "Add contact permanently",ID_ADDPERMANENT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,118,290,8
    CONTROL         "Enable auth. requests blocking",ID_HANDLEAUTHREQ,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,130,290,8
    CONTROL         "Hide unanswered contacts and spammers from contact list",ID_HIDECONTACTS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,140,290,10
    CONTROL         "Ignore spammers (do not write messages to history)",ID_IGNORESPAMMERS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,151,290,10
    CONTROL         "Log spam to file",ID_LOGSPAMTOFILE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,162,290,10
END

IDD_ADVANCED DIALOGEX 0, 0, 309, 219
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_SYSMENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    CONTROL         "Case insensitive answer checking",IDC_CASE_INSENSITIVE,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,66,279,10
    CONTROL         "Disable question in invisible mode",IDC_INVIS_DISABLE,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,77,287,10
    CONTROL         "Enable integration with DOS plugin",ID_DOS_INTEGRATION,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,89,287,8
    CONTROL         "Exclude contacts which we sending something from spam check",ID_EXCLUDE,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,33,287,8
    CONTROL         "Remove Excluded contacts after restart",ID_REMOVE_TMP,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,44,287,8
    CONTROL         "Add contacts to specified group:",ID_SPECIALGROUP,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,16,196,10
    EDITTEXT        ID_SPECIALGROUPNAME,217,15,79,12,ES_AUTOHSCROLL
    CONTROL         "Ignore URL in messages and auth requests",ID_IGNOREURL,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,100,287,10
    CONTROL         "Add contact to server list",IDC_ADDTOSRVLST,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,146,187,10
    EDITTEXT        IDC_AUTOADDGROUP,210,144,76,14,ES_AUTOHSCROLL
    GROUPBOX        "After congratulation (ICQ only)",IDC_STATIC,15,135,278,51
    CONTROL         "Automatically grant authorization",IDC_AUTOAUTH,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,158,263,10
    CONTROL         "Request authorization from contacts which pass StopSpam test",IDC_REQAUTH,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,170,267,10
    CONTROL         "Remove all temporary contacts after restart",ID_REMOVE_TMP_ALL,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,55,287,8
    CONTROL         "Use regex for answers checking",IDC_REGEX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,111,287,10
    CONTROL         "Log Spammers to system history",IDC_HISTORY_LOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,121,218,10
    CONTROL         "Use math expression in question",IDC_MATH_QUESTION,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,188,129,10
    PUSHBUTTON      "Details...",IDC_MATH_DETAILS,152,187,50,14
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_MESSAGES, DIALOG
    BEGIN
        RIGHTMARGIN, 300
        TOPMARGIN, 7
        BOTTOMMARGIN, 222
    END

    IDD_PROTO, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 223
        TOPMARGIN, 7
        BOTTOMMARGIN, 166
    END

    IDD_MAIN, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 302
        TOPMARGIN, 7
        BOTTOMMARGIN, 212
    END

    IDD_ADVANCED, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 302
        VERTGUIDE, 15
        TOPMARGIN, 7
        BOTTOMMARGIN, 212
        HORZGUIDE, 11
    END
END
#endif    // APSTUDIO_INVOKED


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "..\\src\\resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED

#endif    // Ðóññêèé (Ðîññèÿ) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED