File: ModuleAdmin.py

package info (click to toggle)
cherokee 0.7.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,808 kB
  • ctags: 6,577
  • sloc: ansic: 45,071; python: 9,628; sh: 9,468; makefile: 1,639; xml: 61; perl: 32
file content (15 lines) | stat: -rw-r--r-- 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from Form import *
from Module import *

class ModuleAdmin (Module, FormHelper):
    PROPERTIES = []

    def __init__ (self, cfg, prefix, submit):
        Module.__init__ (self, 'admin', cfg, prefix, submit)
        FormHelper.__init__ (self, 'admin', cfg)

    def _op_render (self):
        return ''

    def _op_apply_changes (self, uri, post):
        self.ApplyChangesPrefix (self._prefix, [], post)