Пример #1
0
	def __init__(self, *args, **kwargs):
		zoto_base_page.__init__(self, *args, **kwargs)
		self.album_id = -1
		self.offset = 0
		self.username = args[0]
		self.album_id = args[1]
		self.can_view = False
		self.docFactory = loaders.xmlfile(os.path.join(self.tpl_path, "album_template.xml"))
		self.template_path = "%s/album_templates" % aztk_config.setup.get("paths", "web")
Пример #2
0
	def __init__(self):
		zoto_base_page.__init__(self)
		self.bonus = ""
		self.user_token = ""
		if aztk_config.setup.get('site', 'environment') in ("development", "sandbox"):
			self.site_id = aztk_config.services.get("plugins.qoop", "site_id_dev")
			self.bonus = "rel||"
		else:
			self.site_id = aztk_config.services.get("plugins.qoop", "site_id")
			self.bonus = "live||"
Пример #3
0
 def __init__(self, *args, **kwargs):
     zoto_base_page.__init__(self, *args, **kwargs)
     self.album_id = -1
     self.offset = 0
     self.username = args[0]
     self.album_id = args[1]
     self.can_view = False
     self.docFactory = loaders.xmlfile(
         os.path.join(self.tpl_path, "album_template.xml"))
     self.template_path = "%s/album_templates" % aztk_config.setup.get(
         "paths", "web")
Пример #4
0
 def __init__(self):
     zoto_base_page.__init__(self)
     self.bonus = ""
     self.user_token = ""
     if aztk_config.setup.get('site',
                              'environment') in ("development", "sandbox"):
         self.site_id = aztk_config.services.get("plugins.qoop",
                                                 "site_id_dev")
         self.bonus = "rel||"
     else:
         self.site_id = aztk_config.services.get("plugins.qoop", "site_id")
         self.bonus = "live||"
Пример #5
0
 def __init__(self, *args, **kwargs):
     zoto_base_page.__init__(self, *args, **kwargs)
     self.username = args[0]
     #		self.docFactory = loaders.xmlfile(os.path.join(zoto_base_page.tpl_path, "other_sizes.xml"))
     self.docFactory = loaders.xmlfile(
         os.path.join(zoto_base_page.tpl_path, "main_template.xml"))
Пример #6
0
 def __init__(self, username):
     zoto_base_page.__init__(self)
     self.username = username
Пример #7
0
	def __init__(self, *args, **kwargs):
		zoto_base_page.__init__(self, *args, **kwargs)
		#self.username = args[0]
		self.docFactory = loaders.xmlfile(os.path.join(zoto_base_page.tpl_path, "developers.xml"))
	def __init__(self, username):
		zoto_base_page.__init__(self)
		self.username = username.lower()
	def __init__(self, *args, **kwargs):
		zoto_base_page.__init__(self, *args, **kwargs)
		rand_entry = random.choice(self.featured_images)
		self.rand_user = rand_entry[0]
		self.rand_image = rand_entry[1]
		self.domain = aztk_config.setup.get('site', "domain")
Пример #10
0
 def __init__(self, *args, **kwargs):
     zoto_base_page.__init__(self, *args, **kwargs)
     #self.username = args[0]
     self.docFactory = loaders.xmlfile(
         os.path.join(zoto_base_page.tpl_path, "developers.xml"))
Пример #11
0
	def __init__(self, *args, **kwargs):
		zoto_base_page.__init__(self, *args, **kwargs)
		self.username = args[0]
#		self.docFactory = loaders.xmlfile(os.path.join(zoto_base_page.tpl_path, "other_sizes.xml"))
		self.docFactory = loaders.xmlfile(os.path.join(zoto_base_page.tpl_path, "main_template.xml"))
Пример #12
0
 def __init__(self, *args, **kwargs):
     zoto_base_page.__init__(self, *args, **kwargs)
     rand_entry = random.choice(self.featured_images)
     self.rand_user = rand_entry[0]
     self.rand_image = rand_entry[1]
     self.domain = aztk_config.setup.get('site', "domain")