piler/webui/controller/message/dl.php

34 lines
687 B
PHP
Raw Permalink Normal View History

2013-09-30 16:40:01 +02:00
<?php
class ControllerMessageDl extends Controller {
public function index(){
$this->id = "content";
$this->template = "message/headers.tpl";
$this->layout = "common/layout-empty";
$request = Registry::get('request');
$db = Registry::get('db');
$this->load->model('search/search');
$this->load->model('search/message');
$this->load->model('message/restore');
$session = Registry::get('session');
$a = $session->get('last_search');
if($a) {
$a = unserialize($a);
}
$idlist = $this->model_search_search->check_your_permission_by_id_list($a);
print implode(",", $idlist);
}
}
?>