function hosting_ssl_status_options in Hostmaster (Aegir) 6
Output filter for SSL enabled field.
2 calls to hosting_ssl_status_options()
- hosting_ssl_nodeapi_site_view in modules/
hosting/ web_server/ ssl/ hosting_ssl.nodeapi.inc - hosting_ssl_site_form in modules/
hosting/ web_server/ ssl/ hosting_ssl.nodeapi.inc
1 string reference to 'hosting_ssl_status_options'
- hosting_ssl_site_form in modules/
hosting/ web_server/ ssl/ hosting_ssl.nodeapi.inc
File
- modules/
hosting/ web_server/ ssl/ hosting_ssl.nodeapi.inc, line 128
Code
function hosting_ssl_status_options($status = null) {
$options = array(
HOSTING_SSL_DISABLED => t('Disabled'),
HOSTING_SSL_ENABLED => t('Enabled'),
HOSTING_SSL_REQUIRED => t('Required'),
);
if (!is_null($status)) {
return $options[$status];
}
return $options;
}