~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/sdk/resources/scripting_security_dlg.xrc

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8" ?>
 
2
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
 
3
        <object class="wxScrollingDialog" name="ScriptingSecurityDlg">
 
4
                <title>Security Warning!</title>
 
5
                <centered>1</centered>
 
6
                <object class="wxBoxSizer">
 
7
                        <orient>wxVERTICAL</orient>
 
8
                        <object class="sizeritem">
 
9
                                <object class="wxBoxSizer">
 
10
                                        <object class="sizeritem">
 
11
                                                <object class="wxStaticBitmap" name="ID_STATICBITMAP1">
 
12
                                                        <bitmap stock_id="wxART_WARNING" />
 
13
                                                </object>
 
14
                                                <flag>wxALL|wxALIGN_TOP</flag>
 
15
                                                <border>8</border>
 
16
                                        </object>
 
17
                                        <object class="sizeritem">
 
18
                                                <object class="wxBoxSizer">
 
19
                                                        <orient>wxVERTICAL</orient>
 
20
                                                        <object class="sizeritem">
 
21
                                                                <object class="wxStaticText" name="ID_STATICTEXT1">
 
22
                                                                        <label>A script is trying to execute a privileged command:</label>
 
23
                                                                </object>
 
24
                                                                <flag>wxBOTTOM|wxALIGN_LEFT</flag>
 
25
                                                                <border>8</border>
 
26
                                                        </object>
 
27
                                                        <object class="sizeritem">
 
28
                                                                <object class="wxStaticText" name="lblOperation">
 
29
                                                                        <label>Operation:</label>
 
30
                                                                </object>
 
31
                                                                <flag>wxTOP|wxBOTTOM|wxEXPAND</flag>
 
32
                                                                <border>8</border>
 
33
                                                        </object>
 
34
                                                        <object class="sizeritem">
 
35
                                                                <object class="wxTextCtrl" name="txtCommand">
 
36
                                                                        <style>wxTE_MULTILINE|wxTE_READONLY|wxTE_WORDWRAP|wxNO_BORDER</style>
 
37
                                                                </object>
 
38
                                                                <flag>wxBOTTOM|wxEXPAND</flag>
 
39
                                                                <border>16</border>
 
40
                                                        </object>
 
41
                                                        <object class="sizeritem">
 
42
                                                                <object class="wxBoxSizer">
 
43
                                                                        <object class="sizeritem">
 
44
                                                                                <object class="wxStaticText" name="ID_STATICTEXT2">
 
45
                                                                                        <label>Choose your action:</label>
 
46
                                                                                </object>
 
47
                                                                                <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
 
48
                                                                                <border>5</border>
 
49
                                                                        </object>
 
50
                                                                        <object class="sizeritem">
 
51
                                                                                <object class="wxComboBox" name="cmbAnswer">
 
52
                                                                                        <content>
 
53
                                                                                                <item>ALLOW execution of this command</item>
 
54
                                                                                                <item>ALLOW execution of this command for all scripts from now on</item>
 
55
                                                                                                <item>DENY execution of this command</item>
 
56
                                                                                                <item>Mark this script as TRUSTED for this session</item>
 
57
                                                                                                <item>Mark this script as TRUSTED permanently</item>
 
58
                                                                                        </content>
 
59
                                                                                        <selection>2</selection>
 
60
                                                                                        <style>wxCB_READONLY</style>
 
61
                                                                                </object>
 
62
                                                                                <flag>wxALIGN_TOP</flag>
 
63
                                                                        </object>
 
64
                                                                </object>
 
65
                                                                <flag>wxBOTTOM|wxALIGN_CENTER_HORIZONTAL</flag>
 
66
                                                                <border>16</border>
 
67
                                                        </object>
 
68
                                                        <object class="sizeritem">
 
69
                                                                <object class="wxStaticText" name="ID_STATICTEXT3">
 
70
                                                                        <label>Scripts may contain malicious code so by default you are asked before a privileged&#x0D;&#x0A;command is allowed to execute. Only allow execution of this command if you trust&#x0D;&#x0A;the source of this script or you are confident enough that the above command is&#x0D;&#x0A;harmless for your system.&#x0D;&#x0A;&#x0D;&#x0A;If you mark the script as &quot;trusted&quot; you declare that you trust this script and explicitly&#x0D;&#x0A;allow it to execute privileged commands. You should only trust scripts that you wrote&#x0D;&#x0A;yourself or if they come from a trusty source.</label>
 
71
                                                                </object>
 
72
                                                                <flag>wxALIGN_LEFT</flag>
 
73
                                                        </object>
 
74
                                                </object>
 
75
                                                <flag>wxALL|wxEXPAND</flag>
 
76
                                                <border>8</border>
 
77
                                                <option>1</option>
 
78
                                        </object>
 
79
                                </object>
 
80
                                <flag>wxALL|wxEXPAND</flag>
 
81
                                <border>8</border>
 
82
                                <option>1</option>
 
83
                        </object>
 
84
                        <object class="sizeritem">
 
85
                                <object class="wxStaticLine" name="ID_STATICLINE1" />
 
86
                                <flag>wxALL|wxEXPAND</flag>
 
87
                                <border>8</border>
 
88
                        </object>
 
89
                        <object class="sizeritem">
 
90
                                <object class="wxStdDialogButtonSizer">
 
91
                                        <object class="button">
 
92
                                                <object class="wxButton" name="wxID_OK">
 
93
                                                        <label></label>
 
94
                                                </object>
 
95
                                        </object>
 
96
                                        <object class="button">
 
97
                                                <object class="wxButton" name="wxID_CANCEL">
 
98
                                                        <label></label>
 
99
                                                </object>
 
100
                                        </object>
 
101
                                </object>
 
102
                                <flag>wxALL|wxEXPAND</flag>
 
103
                                <border>8</border>
 
104
                        </object>
 
105
                </object>
 
106
        </object>
 
107
</resource>