Subversion Repositories oidplus

Rev

Rev 1116 | Rev 1143 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1116 Rev 1131
Line 211... Line 211...
211
                        }
211
                        }
212
 
212
 
213
                        if ($tab === 'ra') {
213
                        if ($tab === 'ra') {
214
                                $alt_logins_html = array();
214
                                $alt_logins_html = array();
215
                                foreach (OIDplus::getAllPlugins() as $plugin) {
215
                                foreach (OIDplus::getAllPlugins() as $plugin) {
216
                                        if ($plugin->implementsFeature('1.3.6.1.4.1.37476.2.5.2.3.5')) {
216
                                        if ($plugin instanceof INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_5) {
217
                                                $logins = $plugin->alternativeLoginMethods(); /* @phpstan-ignore-line */
217
                                                $logins = $plugin->alternativeLoginMethods();
218
                                                foreach ($logins as $data) {
218
                                                foreach ($logins as $data) {
219
                                                        if (isset($data[2]) && !empty($data[2])) {
219
                                                        if (isset($data[2]) && !empty($data[2])) {
220
                                                                $img = '<img src="'.$data[2].'" alt="'.htmlentities($data[1]).'"> ';
220
                                                                $img = '<img src="'.$data[2].'" alt="'.htmlentities($data[1]).'"> ';
221
                                                        } else {
221
                                                        } else {
222
                                                                $img = '';
222
                                                                $img = '';