mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Allow guests to register mobile devices
This commit is contained in:
parent
818897fed4
commit
d3fab50e66
5 changed files with 64 additions and 24 deletions
|
|
@ -581,6 +581,7 @@ class adminAdminController extends admin
|
|||
|
||||
// Validate the selected Push drivers.
|
||||
$push_config = array('types' => array());
|
||||
$push_config['allow_guest_device'] = $vars->allow_guest_device === 'Y' ? true : false;
|
||||
$push_drivers = Rhymix\Framework\Push::getSupportedDrivers();
|
||||
$push_driver_list = $vars->push_driver ?: [];
|
||||
foreach ($push_driver_list as $driver_name)
|
||||
|
|
|
|||
|
|
@ -390,6 +390,22 @@
|
|||
|
||||
<!--@end-->
|
||||
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->cmd_advanced_mailer_allow_guest_device}</label>
|
||||
<div class="x_controls">
|
||||
<label for="allow_guest_device_y" class="x_inline">
|
||||
<input type="radio" name="allow_guest_device" id="allow_guest_device_y" value="Y" checked="checked"|cond="config('push.allow_guest_device')" />
|
||||
{$lang->cmd_yes}
|
||||
</label>
|
||||
<label for="allow_guest_device_n" class="x_inline">
|
||||
<input type="radio" name="allow_guest_device" id="allow_guest_device_n" value="N" checked="checked"|cond="!config('push.allow_guest_device')" />
|
||||
{$lang->cmd_no}
|
||||
</label>
|
||||
<br />
|
||||
<p class="x_help-block">{$lang->cmd_advanced_mailer_about_allow_guest_device}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<div class="x_clearfix btnArea">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue