Rev 1000 | Rev 1050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1000 | Rev 1008 | ||
---|---|---|---|
Line 1083... | Line 1083... | ||
1083 | // Interface 1.3.6.1.4.1.37476.2.5.2.3.8 |
1083 | // Interface 1.3.6.1.4.1.37476.2.5.2.3.8 |
1084 | $notifications = array(); |
1084 | $notifications = array(); |
1085 | if ((!$user || ($user == 'admin')) && OIDplus::authUtils()->isAdminLoggedIn()) { |
1085 | if ((!$user || ($user == 'admin')) && OIDplus::authUtils()->isAdminLoggedIn()) { |
1086 | if (!function_exists('curl_init')) { |
1086 | if (!function_exists('curl_init')) { |
1087 | $title = _L('OID-Info.com import/export'); |
1087 | $title = _L('OID-Info.com import/export'); |
1088 | $notifications[] = array('ERR', _L('OIDplus plugin "%1" is enabled, but required PHP extension "%2" is not installed.', $title, 'php_curl')); |
1088 | $notifications[] = array('ERR', _L('OIDplus plugin "%1" is enabled, but the required PHP extension "%2" is not installed.', '<a '.OIDplus::gui()->link('oidplus:datatransfer').'>'.htmlentities($title).'</a>', 'php_curl')); |
1089 | } |
1089 | } |
1090 | } |
1090 | } |
1091 | return $notifications; |
1091 | return $notifications; |
1092 | } |
1092 | } |
1093 | 1093 |