def ck_browse():
 table = s3db.doc_ckeditor
 set = db((table.id > 0))
 rows = set.select(orderby=table.title)
 return dict(rows=rows, cknum=request.vars.CKEditorFuncNum)

def ck_browse ( ) : table = s3db . doc_ckeditor set = db ( ( table . id > 0 ) ) rows = set . select ( orderby = table . title ) return dict ( rows = rows , cknum = request . vars . CKEditorFuncNum )
controller to handle uploads to ckeditor .