Subversion Repositories SmartDukaan

Rev

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

Rev 13567 Rev 13570
Line 27... Line 27...
27
 * @return void
27
 * @return void
28
 * @throws NotFoundException When the view file could not be found
28
 * @throws NotFoundException When the view file could not be found
29
 *	or MissingViewException in debug mode.
29
 *	or MissingViewException in debug mode.
30
 */
30
 */
31
	public function display() {
31
	public function display() {
-
 
32
		$page = isset($this->request->query('page'))?$this->request->query('page'):1;
32
		if($this->request->is('ajax')){
33
		if($this->request->is('ajax')){
33
			$this->layout = 'ajax';
34
			$this->layout = 'ajax';
34
		}
35
		}
35
		$path = func_get_args();
36
		$path = func_get_args();
36
 
37