Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- //<![CDATA[
- var rule_form_items = [{
- title: 'a',
- xtype: "hidden",
- anchor: "95%",
- value: 3,
- name: "contact"
- }, {
- title: 'a',
- xtype: "hidden",
- anchor: "95%",
- name: "rule[owner_id]"
- }, {
- title: 'a',
- xtype: "hidden",
- anchor: "95%",
- name: "rule[controllable_source_id]",
- value: 17
- }, {
- title: 'a',
- xtype: "hidden",
- anchor: "95%",
- name: "rule[controllable_source_type]",
- value: "Subscriber"
- }, {
- title: 'a',
- boxLabel: "Allow",
- xtype: "radio",
- checked: true,
- anchor: "95%",
- name: "rule__acl__",
- fieldLabel: "Acl",
- currentValue: 3,
- hideLabel: true,
- inputValue: 3
- }, {
- title: 'a',
- boxLabel: "Disallow",
- xtype: "radio",
- checked: false,
- anchor: "95%",
- name: "rule__acl__",
- fieldLabel: "Acl",
- currentValue: 3,
- hideLabel: true,
- inputValue: 0
- }, {
- title: 'a',
- xtype: 'panel',
- html: '"ct4_jabber4" to'
- }, {
- title: 'a',
- boxLabel: "Contact me on",
- xtype: "radio",
- checked: true,
- anchor: "95%",
- name: "rule__source_op__",
- fieldLabel: "Source Op",
- currentValue: 3,
- hideLabel: true,
- inputValue: 3
- }, {
- title: 'a',
- id: 'mode_target1',
- fieldLabel: '',
- hideLabel: true,
- xtype: 'combo',
- name: 'new_controllable_target_mode1',
- hiddenName: 'rule[new_controllable_target][mode1]',
- store: new Ext.data.SimpleStore({
- fields: ["id", "display"],
- data: [["AnonymousMode-1", "Any Mode"], ["Mode-19", "PICUPj"], ["Mode-21", "jabber1 dummy number"], ["Mode-22", "real number"], ["Mode-25", "My IM"]]
- }),
- valueField: 'id',
- displayField: 'display',
- mode: 'local',
- typeAhead: true,
- triggerAction: 'all',
- selectOnFocus: true
- }, {
- title: 'a',
- boxLabel: "Search for me using",
- xtype: "radio",
- checked: false,
- anchor: "95%",
- name: "rule__source_op__",
- fieldLabel: "Source Op",
- currentValue: 3,
- hideLabel: true,
- inputValue: 1
- }, {
- title: 'a',
- boxLabel: "Add me as a contact",
- xtype: "radio",
- checked: false,
- anchor: "95%",
- name: "rule__source_op__",
- fieldLabel: "Source Op",
- currentValue: 3,
- hideLabel: true,
- inputValue: 4
- }, {
- title: 'a',
- id: 'mode_target2',
- fieldLabel: '',
- hideLabel: true,
- xtype: 'combo',
- name: 'new_controllable_target_mode2',
- hiddenName: 'rule[new_controllable_target][mode2]',
- store: new Ext.data.SimpleStore({
- fields: ["id", "display"],
- data: [["AnonymousMode-1", "Any Mode"], ["Mode-19", "PICUPj"], ["Mode-21", "jabber1 dummy number"], ["Mode-22", "real number"], ["Mode-25", "My IM"]]
- }),
- valueField: 'id',
- displayField: 'display',
- mode: 'local',
- typeAhead: true,
- triggerAction: 'all',
- selectOnFocus: true
- }, {
- title: 'a',
- id: 'user_attribute_target',
- fieldLabel: '',
- hideLabel: true,
- xtype: 'combo',
- name: 'new_controllable_target_attribute',
- hiddenName: 'rule[new_controllable_target][attribute]',
- store: new Ext.data.SimpleStore({
- fields: ["id", "display"],
- data: [["AnonymousAttribute-1", "Any Attribute"], ["UserAttribute-10", "First Name"], ["UserAttribute-14", "Last Name"], ["UserAttribute-18", "Username"]]
- }),
- valueField: 'id',
- displayField: 'display',
- mode: 'local',
- typeAhead: true,
- triggerAction: 'all',
- selectOnFocus: true
- }];
- //]]>
- </script>
Add Comment
Please, Sign In to add comment