- Added new directory application/views/system/messages/

- Moved application/views/system/message* to application/views/system/messages/
- Adapted code to use those views with the new path
- Fixed function getCode in public/js/AjaxLib.js
- In public/js/messaging/messageWrite.js is now used AjaxLib.js
- Changed method parseMessageText in MessageLib.php to replace the keys of the data parameter
- Removed function write from application/controllers/system/Phrases.php
- Adapted code in application/controllers/system/Messages.php to use the changed method parseMessageText in MessageLib.php and path of the moved views
This commit is contained in:
Paolo
2019-02-06 18:18:57 +01:00
parent e25034560f
commit 91fbabde6f
13 changed files with 80 additions and 76 deletions
@@ -4,7 +4,9 @@ $this->load->view(
array(
'title' => 'Write a message',
'jquery' => true,
'jqueryui' => true,
'bootstrap' => true,
'ajaxlib' => true,
'fontawesome' => true,
'tinymce' => true,
'sbadmintemplate' => true,
@@ -26,7 +26,7 @@ $href = site_url().'/ViewMessage/sendReply';
</div>
</div>
<form id="sendForm" method="post" action="<?php echo $href; ?>">
<?php $this->load->view('system/messageForm.php'); ?>
<?php $this->load->view('system/messages/messageForm.php'); ?>
<?php
for ($i = 0; $i < count($receivers); $i++)
{