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")
	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||"
 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")
 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||"
 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"))
Exemple #6
0
 def __init__(self, username):
     zoto_base_page.__init__(self)
     self.username = username
	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")
Exemple #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"))
	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"))
Exemple #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")