File "security.php"
Full Path: /home/rubycabfbt/www/wp-content/plugins/advanced-access-manager/application/Backend/tmpl/settings/security.php
File size: 1.51 KB
MIME-type: text/x-php
Charset: utf-8
<?php /** @version 7.0.0 **/ ?>
<?php if (defined('AAM_KEY')) { ?>
<div class="aam-feature settings" id="settings-security-content">
<table class="table table-striped table-bordered">
<tbody>
<?php foreach($this->getList() as $id => $option) { ?>
<tr>
<td>
<span class='aam-setting-title'><?php echo esc_js($option['title']); ?></span>
<p class="aam-setting-description">
<?php echo $option['description']; // The values are already properly evaluated so esc_js is not needed ?>
</p>
</td>
<td class="text-center">
<input
data-toggle="toggle"
name="<?php echo esc_attr($id); ?>"
id="utility-<?php echo esc_attr($id); ?>"
<?php echo ($option['value'] ? 'checked' : ''); ?>
type="checkbox"
data-on="<?php echo __('Enabled', 'advanced-access-manager'); ?>"
data-off="<?php echo __('Disabled', 'advanced-access-manager'); ?>"
data-size="small"
/>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<?php }