File size: 2.1Kb
<?php
/**
* SocialEngine
*
* @category Application_Core
* @package Core
* @copyright Copyright 2006-2020 Webligo Developments
* @license http://www.socialengine.com/license/
* @version $Id: verification.tpl 9747 2012-07-26 02:08:08Z john $
* @author John
*/
?>
<h2 class="page_heading"><?php echo $this->translate('Manage Verifications') ?></h2>
<?php if( count($this->navigation) ): ?>
<div class='tabs'>
<?php echo $this->navigation()->menu()->setContainer($this->navigation)->render(); ?>
</div>
<?php endif; ?>
<script type="text/javascript">
var fetchLevelSettings =function(level_id){
window.location.href= en4.core.baseUrl+'admin/core/settings/verification/id/'+level_id;
}
</script>
<div class='clear'>
<div class='settings verification_settings_form'>
<?php echo $this->form->render($this) ?>
</div>
</div>
<a class="smoothbox" id="verfication_popup" href="<?php echo $this->url(array('action' => 'autoverify-existing-members', 'controller' => 'settings', 'module' => 'core', 'level_id' => $this->level_id), 'admin_default', true); ?>"></a>
<script type="text/javascript">
scriptJquery(document).on('click','#verfication_popup', function(e){
e.preventDefault();
});
scriptJquery("ready").ready(function() {
verifiedCheck('<?php echo $this->permissionTable->getAllowed('user', $this->level_id, 'verified'); ?>');
<?php if($this->popup) { ?>
setTimeout(function() {
scriptJquery('#verfication_popup')[0].click();
}, 100);
<?php } ?>
});
function verifiedCheck(value) {
if(value == 4) {
scriptJquery('#price_verified-wrapper').show();
scriptJquery('#recurrence-wrapper').show();
scriptJquery('#gateway_error-wrapper').show();
} else {
scriptJquery('#price_verified-wrapper').hide();
scriptJquery('#recurrence-wrapper').hide();
scriptJquery('#gateway_error-wrapper').hide();
}
}
</script>
<script type="application/javascript">
scriptJquery('.core_admin_main_manage').parent().addClass('active');
scriptJquery('.core_admin_main_manage_verification').addClass('active');
</script>