mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
- 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:
@@ -16,7 +16,6 @@ class Phrases extends Auth_Controller
|
||||
'view' => 'system/phrase:r',
|
||||
'deltext' => 'system/phrase:rw',
|
||||
'edit' => 'system/phrase:rw',
|
||||
'write' => 'system/phrase:rw',
|
||||
'save' => 'system/phrase:rw',
|
||||
'newText' => 'system/phrase:rw',
|
||||
'editText' => 'system/phrase:rw',
|
||||
@@ -115,19 +114,6 @@ class Phrases extends Auth_Controller
|
||||
$this->load->view('system/phrases/phrasesEdit', $data);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function write()
|
||||
{
|
||||
$data = array(
|
||||
'subject' => 'TestSubject',
|
||||
'body' => 'TestDevelopmentBodyText'
|
||||
);
|
||||
|
||||
$this->load->view('system/messageWrite', $data);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user