- Added new controller system/messages/MessageClient used to read and write messages using a new GUI based on ajax and tabulator

- system/messages/MessageClient currently has only two methods: read and listMessages
- Added new view system/messages/ajaxRead.php used for the GUI to read messages
- Added new parameters to templates/FHC-Header: tabulator and momentjs
- Added new packages to composer: tabulator and momentjs
This commit is contained in:
Paolo
2019-06-19 17:53:51 +02:00
parent b364cfae06
commit 1cb9c28f7d
9 changed files with 114 additions and 24 deletions
@@ -0,0 +1,20 @@
<?php
$this->load->view(
'templates/FHC-Header',
array(
'title' => 'Read personal messages',
'jquery' => true,
'bootstrap' => true,
'momentjs' => true,
'tabulator' => true,
'ajaxlib' => true,
'customJSs' => array('public/js/messaging/messageClient.js')
)
);
?>
<body>
<div id="lstMessagesPanel"></div>
<div id="readMessagePanel"></div>
</body>
<?php $this->load->view("templates/FHC-Footer"); ?>
@@ -2,7 +2,7 @@
$this->load->view(
'templates/FHC-Header',
array(
'title' => 'MessageSent',
'title' => 'Read a message',
'jquery' => true,
'bootstrap' => true,
'fontawesome' => true,
@@ -2,7 +2,7 @@
$this->load->view(
'templates/FHC-Header',
array(
'title' => 'MessageReply',
'title' => 'Reply to a message',
'jquery' => true,
'bootstrap' => true,
'fontawesome' => true,
@@ -2,7 +2,7 @@
$this->load->view(
'templates/FHC-Header',
array(
'title' => 'Write a message',
'title' => 'Write a new message or reply using templates',
'jquery' => true,
'jqueryui' => true,
'bootstrap' => true,