root/trunk/pylucid_project/PyLucid/plugins_internal/preference_editor/preference_editor_cfg.py

Revision 1660, 1.0 KB (checked in by JensDiemer, 21 months ago)

add new multiple preferences.

  • Property svn:eol-style set to LF
Line 
1# -*- coding: utf-8 -*-
2
3from django.utils.translation import gettext_lazy as _
4
5#_____________________________________________________________________________
6# meta information
7
8__author__      = "Jens Diemer"
9__url__         = "http://www.PyLucid.org"
10__description__ = "Preference editor"
11__long_description__ = """
12A editor for the preferences.
13"""
14
15#_____________________________________________________________________________
16# plugin administration data
17
18plugin_manager_data = {
19    "select" : {
20        "must_login"    : True,
21        "must_admin"    : True,
22        "admin_sub_menu": {
23            "section"       : _("setup"),
24            "title"         : _("Preferences editor"),
25            "help_text"     : _(
26                "Setup all plugin preferences."
27            ),
28            "open_in_window": False,
29            "weight" : -5,
30        },
31    },
32    "edit": {
33        "must_login"    : True,
34        "must_admin"    : True,
35    },
36    "add": {
37        "must_login"    : True,
38        "must_admin"    : True,
39    },
40
41}
Note: See TracBrowser for help on using the browser.