From e8d16afeface794da67131d9a37cbfe15b2142aa Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 4 Aug 2010 22:38:11 +0200 Subject: webif fix --- module/FileDatabase.py | 2 +- module/config/plugin_default.config | 14 -------------- module/web/templates/default/home.html | 1 - 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 module/config/plugin_default.config (limited to 'module') diff --git a/module/FileDatabase.py b/module/FileDatabase.py index 80cbe85ac..18c371ae8 100644 --- a/module/FileDatabase.py +++ b/module/FileDatabase.py @@ -239,7 +239,7 @@ class FileHandler: #---------------------------------------------------------------------- def getFileData(self, id): - """returns dict with package information""" + """returns dict with file information""" pyfile = self.getFile(id) return pyfile.toDbDict() diff --git a/module/config/plugin_default.config b/module/config/plugin_default.config deleted file mode 100644 index a10b03587..000000000 --- a/module/config/plugin_default.config +++ /dev/null @@ -1,14 +0,0 @@ -remote - "Remote": - int port : "Port" = 7227 - ip listenaddr : "Adress" = 0.0.0.0 - str username : "Username" = admin - str password : "Password" = pwhere -SSL - "SSL": - bool activated : "Activated" = False - file key : "SSL - Cert" = /home/martin/pyload/ssl.crt1 - file cert : "SSL - Key" = /home/martin/pyload/ssl.key - int list : "A List" = [ 1 , 2 , 3 , - 4, - 5, - 6, - ] \ No newline at end of file diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html index b4602f021..0d987bd6a 100644 --- a/module/web/templates/default/home.html +++ b/module/web/templates/default/home.html @@ -127,7 +127,6 @@ var LinkEntry = new Class({ 'html': item.percent+ '% / '+ HumanFileSize(item.size-item.kbleft) }), remove: new Element('img',{ - 'html': '', 'src': 'media/default/img/control_cancel.png', 'styles':{ 'vertical-align': 'middle', -- cgit v1.2.3