示例#1
0
	def GET(self, categoryid = '0'):
		if len(categoryid) == 0 : categoryid = '0'
		categorys = json.loads(appphoto.category().GET())
		return render.photoview(
				config=config,
				menuname='/photo',
				login=islogin(), 
				mgrprivilege=mgrprivilege(), 
				categoryid=categoryid,
				categorys=categorys, 
				photocount=40)
示例#2
0
	def GET(self):
		return render.photoview(login=islogin(), mgrprivilege=mgrprivilege(), 
				photocount=40)