File: settings.yml

package info (click to toggle)
libmojomojo-perl 1.01%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,272 kB
  • ctags: 879
  • sloc: perl: 14,055; sh: 145; xml: 120; ruby: 6; makefile: 2
file content (102 lines) | stat: -rw-r--r-- 2,793 bytes parent folder | download | duplicates (5)
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
---
load_config_file: __path_to(root/forms/defaults.yml)__
attrs:
  class: site-configuration

elements:
  - type: Fieldset
    attrs:
      class: secondCol
    elements:
      - type: Text
        name: name
        label_loc: Site name
        filters:
          - HTMLEscape
        constraints:
          - Required
      - type: Text
        name: admins
        label_loc: Site Admins (In addition to you)
      - type: Text
        name: anonymous_user
        label_loc: Anonymous User (blank to disable)
      - type: Select
        name: theme
        label_loc: Theme name
      - type: Select
        name: main_formatter
        label_loc: Main formatter
        options:
          - [ 'MojoMojo::Formatter::Markdown', 'Markdown' ]
          - [ 'MojoMojo::Formatter::Textile',  'Textile'  ]
      - type: Checkbox
        name: open_registration
        label_loc: New User Registration open
        value: 1
        default_empty_value: 0
      - type: Checkbox
        name: use_captcha
        label_loc: Use captcha
        value: 1
        default_empty_value: 0
      - type: Checkbox
        name: disable_search
        value: 1
        default_empty_value: 0
        label_loc: Disable internal search (use Google)
      - type: Checkbox
        name: enable_emoticons
        label_loc: Enable graphical emoticons
        value: 1
        default_empty_value: 0
  - type: Fieldset
    elements:
      - type: Checkbox
        name: restricted_user
        value: 1
        default_empty_value: 0
        label_loc: Restrict user editing to home directory
      - type: Checkbox
        name: enforce_login
        value: 1
        default_empty_value: 0
        label_loc: Enforce login
      - type: Checkbox
        name: check_permission_on_view
        value: 1
        default_empty_value: 0
        label_loc: Check permission on view
      - type: Checkbox
        name: cache_permission_data
        value: 1
        default_empty_value: 0
        label_loc: Cache permission data
      - type: Checkbox
        name: create_allowed
        value: 1
        default_empty_value: 0
        label_loc: Create allowed by default
      - type: Checkbox
        name: delete_allowed
        value: 1
        default_empty_value: 0
        label_loc: Delete allowed by default
      - type: Checkbox
        name: edit_allowed
        value: 1
        default_empty_value: 0
        label_loc: Edit allowed by default
      - type: Checkbox
        name: view_allowed
        value: 1
        default_empty_value: 0
        label_loc: View allowed by default
      - type: Checkbox
        name: attachment_allowed
        value: 1
        default_empty_value: 0
        label_loc: Attachment allowed by default
  - type: Submit
    name: submit
    value_loc: Save