function hosting_ssl_status_options in Hosting 6.2
Same name and namespace in other branches
- 7.4 web_server/ssl/hosting_ssl.nodeapi.inc \hosting_ssl_status_options()
- 7.3 web_server/ssl/hosting_ssl.nodeapi.inc \hosting_ssl_status_options()
Output filter for SSL enabled field.
2 calls to hosting_ssl_status_options()
- hosting_ssl_nodeapi_site_view in web_server/
ssl/ hosting_ssl.nodeapi.inc - hosting_ssl_site_form in web_server/
ssl/ hosting_ssl.nodeapi.inc
1 string reference to 'hosting_ssl_status_options'
- hosting_ssl_site_form in web_server/
ssl/ hosting_ssl.nodeapi.inc
File
- web_server/
ssl/ hosting_ssl.nodeapi.inc, line 136
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;
}