Diff Revisions 532 vs 535 for /branches/0.9/functions/themes/displaylowerpanel.php
| 532 | 535 | <- Revisions | |
|
Diff lines for: Rev 532 : Lines 28 -> 37 Rev 535 : Lines 28 -> 40 |
|||
| 28 | 28 | if (!empty($panel['file'])) { | |
| 29 | 29 | $body .= '<br />'; | |
| 30 | 30 | $body .= '<div class="panel" id="panel_' . $panel['id'] . '">'; | |
| 31 | - | if(strpos($panel['file'], 'Plugins/') !== false) | |
| 31 | + | if(strpos($panel['file'], 'Plugins/') !== false) { | |
| 32 | + | @include($panel['file'] .'/languages/' . $lang_path . '.php'); | |
| 32 | 33 | include $panel['file'].'/index.php'; | |
| 33 | - | else | |
| 34 | + | } else { | |
| 35 | + | @include('panels/' . $panel['file'] .'/languages/' . $lang_path . '.php'); | |
| 34 | 36 | include 'panels/' . $panel['file'] . '/index.php'; | |
| 37 | + | } | |
| 35 | 38 | $body .= '</div>'; | |
| 36 | 39 | } else { | |
| 37 | 40 | $body .= '<div class="panel" id="panel_' . $panel['id'] . '"><div class="panel-header">' . theme('title', $panel['panelname']) . '</div>' . theme('start_content_panel'); | |
View this file contents
View the full history
Commits for banancanard-eoCMS:/branches/0.9/functions/themes/displaylowerpanel.php