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