Sunil Mohan Adapa 912c5022ca Module is a directory instead of file
- Move enabled module symlinks to 'modules/enabled' directory.
- Make all modules properly importable
- Import modules instead of their symlinks
2014-06-06 12:01:08 +05:30

19 lines
577 B
Python

import cherrypy
from gettext import gettext as _
from plugin_mount import PagePlugin
import cfg
import util
class Apps(PagePlugin):
def __init__(self, *args, **kwargs):
PagePlugin.__init__(self, *args, **kwargs)
self.register_page("apps")
self.menu = cfg.main_menu.add_item("Apps", "icon-download-alt", "/apps", 80)
self.menu.add_item("Chat", "icon-comment", "/../jwchat", 30)
@cherrypy.expose
def index(self):
return util.render_template(template='apps',
title=_('User Applications'))