public static function MoAuthUtilities::miniOrange_advertise_network_security in Google Authenticator / 2 Factor Authentication - 2FA 8.2
_state
Parameters
$form:
Return value
mixed Advertise network security
7 calls to MoAuthUtilities::miniOrange_advertise_network_security()
- configure_google_authenticator::buildForm in src/
Form/ configure_google_authenticator.php - Form constructor.
- configure_qrcode_authentication::buildForm in src/
Form/ configure_qrcode_authentication.php - Form constructor.
- MoAuthCustomerSetup::buildForm in src/
Form/ MoAuthCustomerSetup.php - Form constructor.
- test_email_verification::buildForm in src/
Form/ test_email_verification.php - Form constructor.
- test_google_authenticator::buildForm in src/
Form/ test_google_authenticator.php - Form constructor.
File
- src/
MoAuthUtilities.php, line 70 - This file is part of miniOrange 2FA module.
Class
Namespace
Drupal\miniorange_2faCode
public static function miniOrange_advertise_network_security(&$form, &$form_state) {
global $base_url;
$form['miniorange_network_security_advertise'] = array(
'#markup' => '<div class="mo_auth_table_layout mo_auth_container_2">',
);
$form['mo_idp_net_adv'] = array(
'#markup' => '<form name="f1">
<table id="idp_support" class="idp-table" style="border: none;">
<h3>' . t('Looking for a Drupal Web Security module?') . '</h3>
<tr class="mo_ns_row">
<th class="mo_ns_image1"><img
src="' . $base_url . '/' . drupal_get_path("module", "miniorange_2fa") . '/includes/images/security.jpg"
alt="security icon" height=150px width=44%>
<br>
<strong>' . t('Drupal Website Security') . '</strong>
</th>
</tr>
<tr class="mo_ns_row">
<td class="mo_ns_align">
' . t('Building a website is a time-consuming process that requires tremendous efforts. For smooth
functioning and protection from any sort of web attack appropriate security is essential and we
ensure to provide the best website security solutions available in the market.
We provide you enterprise-level security, protecting your Drupal site from hackers and malware.') . '
</td>
</tr>
</table>
</form>',
);
self::miniOrange_add_network_security_buttons($form, $form_state);
return $form;
}