Diff Revisions 479 vs 532 for /branches/0.9/functions/themes/displaylowerpanel.php
| 479 | 532 | <- Revisions | |
|
Diff lines for: Rev 479 : Lines 35 -> 44 Rev 532 : Lines 35 -> 44 |
|||
| 35 | 35 | $body .= '</div>'; | |
| 36 | 36 | } else { | |
| 37 | 37 | $body .= '<div class="panel" id="panel_' . $panel['id'] . '"><div class="panel-header">' . theme('title', $panel['panelname']) . '</div>' . theme('start_content_panel'); | |
| 38 | - | if(empty($panel['fetch']) || $panel['fetch'] == 'html') | |
| 38 | + | if(empty($panel['type']) || $panel['type'] == 'html') | |
| 39 | 39 | $body .= html_entity_decode($panel['panelcontent']); | |
| 40 | - | elseif(!empty($panel['fetch']) && $panel['fetch'] == 'php') | |
| 41 | - | $body .= eval($panel['panelcontent']); | |
| 40 | + | elseif(!empty($panel['type']) && $panel['type'] == 'php') | |
| 41 | + | eval(html_entity_decode($panel['panelcontent'])); | |
| 42 | 42 | $body .= theme('end_content') . '</div>'; | |
| 43 | 43 | } | |
| 44 | 44 | } | |
View this file contents
View the full history
Commits for banancanard-eoCMS:/branches/0.9/functions/themes/displaylowerpanel.php