mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
Initial implementation of Notification Settings screen
This commit is contained in:
parent
ddc0da173a
commit
87b9f7bae6
12 changed files with 415 additions and 0 deletions
|
|
@ -445,6 +445,28 @@ class adminAdminView extends admin
|
|||
$this->setTemplateFile('config_general');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display Notification Settings page
|
||||
* @return void
|
||||
*/
|
||||
function dispAdminConfigNotification()
|
||||
{
|
||||
// Load advanced mailer module (for lang).
|
||||
$oAdvancedMailerAdminView = getAdminView('advanced_mailer');
|
||||
|
||||
// Load mail drivers.
|
||||
$mail_drivers = Rhymix\Framework\Mail::getSupportedDrivers();
|
||||
Context::set('mail_drivers', $mail_drivers);
|
||||
Context::set('mail_driver', config('mail.type') ?: 'mailfunction');
|
||||
|
||||
// Load SMS drivers.
|
||||
$sms_drivers = Rhymix\Framework\SMS::getSupportedDrivers();
|
||||
Context::set('sms_drivers', $sms_drivers);
|
||||
Context::set('sms_driver', config('sms.type') ?: 'dummy');
|
||||
|
||||
$this->setTemplateFile('config_notification');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display Security Settings page
|
||||
* @return void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue