Beispiel #1
0
    def __init__(self):
        PCL_Module.__init__(self)

        self.navigation_top = {
            "link1": {
                "action": "home",
                "address": "/",
                "name": "Home",
                "target": "_self",
                "position": 0
            }
        }
Beispiel #2
0
    def __init__(self):
        PCL_Module.__init__(self)
        user.User.__init__(self)

        self.navigation_top = {
            "link1": {
                "action": "users",
                "address": "/users/",
                "name": "Users",
                "target": "_self",
                "position": 70
            }
        }
Beispiel #3
0
    def __init__(self):
        PCL_Module.__init__(self)

        # Dictionary with links, that PCL will insert in top bar
        self.navigation_top = {
            "link1": {
                "action": "about",
                "address": "/about/",
                "name": "About",
                "target": "_self",
                "position": 99
            }
        }
        self.git_modified = False
Beispiel #4
0
 def __init__(self):
     PCL_Module.__init__(self)
     self.auth_required = False
Beispiel #5
0
    def __init__(self):
        PCL_Module.__init__(self)

        self.rand_items = string.digits + string.ascii_uppercase
Beispiel #6
0
 def __init__(self):
     PCL_Module.__init__(self)
     self.set_temp_setting("AUTH_REQUIRED", True)
Beispiel #7
0
 def __init__(self):
     PCL_Module.__init__(self)