Subversion Repositories SmartDukaan

Rev

Rev 13532 | Rev 13736 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13532 Rev 13714
Line 20... Line 20...
20
	$this->Cookie->key = 'qSI232qs*&sXOw!adre@34SAv!@*(XSL#$%)asGb$@11~_+!@#H23s~#^';
20
	$this->Cookie->key = 'qSI232qs*&sXOw!adre@34SAv!@*(XSL#$%)asGb$@11~_+!@#H23s~#^';
21
	$this->Cookie->httpOnly = true;
21
	$this->Cookie->httpOnly = true;
22
    }
22
    }
23
    
23
    
24
	public function bookmarklet() {
24
	public function bookmarklet() {
25
		$this->set('title_for_layout','LetUsHaggle Bookmarklet');
25
		$this->set('title_for_layout','Profittill Bookmarklet');
26
	}
26
	}
27
 
27
 
28
	function registertwitteruser(){
28
	function registertwitteruser(){
29
		$this->twitterObj->setToken($_GET['oauth_token']);
29
		$this->twitterObj->setToken($_GET['oauth_token']);
30
		$token = $this->twitterObj->getAccessToken();
30
		$token = $this->twitterObj->getAccessToken();
Line 425... Line 425...
425
		$this->set('title_for_layout','Register your free letushaggle.com account');
425
		$this->set('title_for_layout','Register your free letushaggle.com account');
426
		$this->SignMeUp->register();
426
		$this->SignMeUp->register();
427
	}
427
	}
428
 
428
 
429
	public function activate() {
429
	public function activate() {
430
		//$this->layout = 'homepage';
430
		$this->layout = 'auth';
431
		$this->set('title_for_layout','Activate your copublish.in account');
431
		$this->set('title_for_layout','Activate your copublish.in account');
432
	    $this->SignMeUp->activate();
432
		$this->SignMeUp->activate();
433
	}
433
	}
434
 
434
 
435
	public function forgotten_password() {
435
	public function forgotten_password() {
436
		//$this->layout = 'homepage';
436
		$this->layout = 'auth';
437
		$this->set('title_for_layout','Reset your copublish.in password');
437
		$this->set('title_for_layout','Reset your copublish.in password');
438
	    $this->SignMeUp->forgottenPassword();
438
		$this->SignMeUp->forgottenPassword();
439
	}	
439
	}	
440
 
440
 
441
	public function login() {
441
	public function login() {
442
		$this->layout = 'auth';
442
		$this->layout = 'auth';
443
		if (!empty($this->data['User']['next'])) {
443
		if (!empty($this->data['User']['next'])) {