mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-04 15:12:27 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			659 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			659 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
class ControllerCommonLayoutSearch extends Controller {
 | 
						|
 | 
						|
      protected function index() {
 | 
						|
 | 
						|
         $this->data['title'] = $this->document->title;
 | 
						|
 | 
						|
         if(ENABLE_MOBILE_PREVIEW && MOBILE_DEVICE) {
 | 
						|
            $this->template = "common/layout-search-mobile.tpl";
 | 
						|
         } else {
 | 
						|
            $this->template = "common/layout-search.tpl";
 | 
						|
         }
 | 
						|
 | 
						|
         $this->data['search_args'] = '';
 | 
						|
 | 
						|
         $this->data['open_saved_search_box'] = 0;
 | 
						|
 | 
						|
         $this->children = array(
 | 
						|
                      "common/menu",
 | 
						|
                      "search/folder",
 | 
						|
                      "common/footer"
 | 
						|
         );
 | 
						|
 | 
						|
         $this->render();
 | 
						|
 | 
						|
      }
 | 
						|
 | 
						|
 | 
						|
}
 |