fix #8131 - chinese translations
[Pman.Core] / Pman.Dialog.CoreEmailPreview.bjs
1 {
2  "items" : [
3   {
4    "$ xns" : "Roo",
5    "autoScroll" : true,
6    "closable" : true,
7    "height" : 800,
8    "items" : [
9     {
10      "$ xns" : "Roo",
11      "* prop" : "center",
12      "autoScroll" : true,
13      "tabPosition" : "top",
14      "xtype" : "LayoutRegion"
15     },
16     {
17      "$ xns" : "Roo",
18      "fitContainer" : true,
19      "fitToFrame" : true,
20      "listeners" : {
21       "render" : [
22        "function (_self)",
23        "{",
24        "    _this.hpanel = _self;",
25        "}"
26       ]
27      },
28      "region" : "center",
29      "title" : "HTML",
30      "xtype" : "ContentPanel"
31     },
32     {
33      "$ xns" : "Roo",
34      "fitContainer" : true,
35      "fitToFrame" : true,
36      "listeners" : {
37       "render" : [
38        "function (_self)",
39        "{",
40        "    _this.panel = _self;",
41        "}"
42       ]
43      },
44      "region" : "center",
45      "title" : "Plain",
46      "xtype" : "ContentPanel"
47     },
48     {
49      "$ xns" : "Roo",
50      "* prop" : "buttons[]",
51      "listeners" : {
52       "click" : [
53        "function (_self, e)",
54        "{",
55        "    _this.dialog.hide();",
56        "}"
57       ]
58      },
59      "text" : "OK",
60      "xtype" : "Button"
61     }
62    ],
63    "listeners" : {
64     "show" : [
65      "function (_self)",
66      "{",
67      "    ",
68      "    _self.layout.getRegion('center').showPanel(0);",
69      "    _this.panel.load({ ",
70      "        url: baseURL + '/Core/MessagePreview', ",
71      "        params  : {",
72      "            _id : _this.data.id || '',",
73      "            template_name : _this.data.template_name || '',            ",
74      "            _table : _this.data.module,",
75      "            ontable : _this.data.ontable || '',",
76      "            onid : _this.data.onid || '',",
77      "            evtype : _this.data.evtype  || ''",
78      "        },",
79      "        method : 'GET'",
80      "    });",
81      "    _this.hpanel.load({ ",
82      "        url: baseURL + '/Core/MessagePreview', ",
83      "        params  : {",
84      "            _as_html : 1,",
85      "            _id : _this.data.id || '',",
86      "            template_name : _this.data.template_name || '',",
87      "            _table : _this.data.module,",
88      "            ontable : _this.data.ontable || '',",
89      "            onid : _this.data.onid  || '',",
90      "            evtype : _this.data.evtype || ''",
91      "        },",
92      "        method : 'GET'",
93      "    });",
94      "        ",
95      "}"
96     ]
97    },
98    "shadow" : true,
99    "title" : "Email Preview",
100    "width" : 1200,
101    "xtype" : "LayoutDialog"
102   }
103  ],
104  "modOrder" : "001",
105  "name" : "Pman.Dialog.CoreEmailPreview",
106  "parent" : "",
107  "path" : "/home/alan/gitlive/Pman.Core/Pman.Dialog.CoreEmailPreview.bjs",
108  "permname" : "",
109  "strings" : {
110   "006c82ffdd63692a84a259c4f8732842" : "Email Preview",
111   "4c4ad5fca2e7a3f74dbb1ced00381aa4" : "HTML",
112   "4cd8413207629a963225f4314b53adcd" : "Plain",
113   "e0aa021e21dddbd6d8cecec71e9cf564" : "OK"
114  },
115  "title" : ""
116 }