mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 10:41:59 +01:00
gui fixes
This commit is contained in:
parent
ccc7ad20da
commit
f6a39fcd1d
@ -76,6 +76,8 @@ class ControllerMessageView extends Controller {
|
|||||||
$this->data['message']['tag'] = $this->model_search_message->get_message_tag($this->data['id'], $session->get("uid"));
|
$this->data['message']['tag'] = $this->model_search_message->get_message_tag($this->data['id'], $session->get("uid"));
|
||||||
$this->data['message']['note'] = $this->model_search_message->get_message_note($this->data['id'], $session->get("uid"));
|
$this->data['message']['note'] = $this->model_search_message->get_message_note($this->data['id'], $session->get("uid"));
|
||||||
|
|
||||||
|
$this->data['spam'] = $this->model_search_message->is_message_spam($this->data['id']);
|
||||||
|
|
||||||
$this->data['images'] = array();
|
$this->data['images'] = array();
|
||||||
|
|
||||||
foreach($this->data['attachments'] as $a) {
|
foreach($this->data['attachments'] as $a) {
|
||||||
|
@ -103,6 +103,9 @@ class ControllerSearchHelper extends Controller {
|
|||||||
|
|
||||||
$match = preg_replace("/OR/", "|", $match);
|
$match = preg_replace("/OR/", "|", $match);
|
||||||
$this->a['match'] = preg_split("/ /", $match);
|
$this->a['match'] = preg_split("/ /", $match);
|
||||||
|
|
||||||
|
$this->a['sort'] = "date";
|
||||||
|
$this->a['order'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user