Subversion Repositories oidplus

Rev

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

Rev 327 Rev 348
Line 26... Line 26...
26
                $out['title'] = '';
26
                $out['title'] = '';
27
                $out['icon'] = '';
27
                $out['icon'] = '';
28
                $out['text'] = '';
28
                $out['text'] = '';
29
 
29
 
30
                foreach (OIDplus::getPagePlugins() as $plugin) {
30
                foreach (OIDplus::getPagePlugins() as $plugin) {
-
 
31
                        try {
31
                        $plugin->gui($id, $out, $handled);
32
                                $plugin->gui($id, $out, $handled);
-
 
33
                        } catch (Exception $e) {
-
 
34
                                $out['title'] = 'Error';
-
 
35
                                $out['icon'] = 'img/error_big.png';
-
 
36
                                $out['text'] = $e->getMessage();
-
 
37
                        }
32
                        if ($handled) break;
38
                        if ($handled) break;
33
                }
39
                }
34
 
40
 
35
                if (!$handled) {
41
                if (!$handled) {
36
                        $out['title'] = 'Error';
42
                        $out['title'] = 'Error';