Rev 780 | Rev 801 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 780 | Rev 800 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | foreach (OIDplus::getPagePlugins() as $plugin) { |
32 | foreach (OIDplus::getPagePlugins() as $plugin) { |
33 | try { |
33 | try { |
34 | $plugin->gui($id, $out, $handled); |
34 | $plugin->gui($id, $out, $handled); |
35 | } catch (Exception $e) { |
35 | } catch (Exception $e) { |
36 | $out['title'] = _L('Error'); |
36 | $out['title'] = _L('Error'); |
37 | $out['icon'] = 'img/error_big.png'; |
37 | $out['icon'] = 'img/error.png'; |
38 | $out['text'] = $e->getMessage(); |
38 | $out['text'] = $e->getMessage(); |
39 | } |
39 | } |
40 | if ($handled) break; |
40 | if ($handled) break; |
41 | } |
41 | } |
42 | 42 | ||
43 | if (!$handled) { |
43 | if (!$handled) { |
44 | $out['title'] = _L('Error'); |
44 | $out['title'] = _L('Error'); |
45 | $out['icon'] = 'img/error_big.png'; |
45 | $out['icon'] = 'img/error.png'; |
46 | $out['text'] = _L('The resource cannot be found.'); |
46 | $out['text'] = _L('The resource cannot be found.'); |
47 | } |
47 | } |
48 | 48 | ||
49 | return $out; |
49 | return $out; |
50 | } |
50 | } |