12345678910 |
- def showUpload(self, ftype, id=0, linkonly=0):
- file = model.Files.getFileById(id)
- ns = {'site': self,
- 'BASE_URL': getConfig().BASE_URL,
- 'file': file,
- 'page_id': amiweb.session()['current_page_id'],
- 'ftype': ftype,
- 'linkonly': linkonly}
- return render("skeletonz/plugins/upload/view/upload.tmpl", ns)
|