Diff Revisions 784 vs 806 for /branches/0.9/functions/themes/displaylowerpanel.php
| 784 | 806 | <- Revisions | |
|
Diff lines for: Rev 784 : Lines 12 -> 22 Rev 806 : Lines 12 -> 26 |
|||
| 12 | 12 | function displaylowerpanel() | |
| 13 | 13 | { | |
| 14 | 14 | global $settings, $user, $lowerpanel, $lang_path; | |
| 15 | - | $checklower = false; | |
| 16 | 15 | $body = ''; | |
| 17 | 16 | if (!empty($settings['exclude_lower'])) { | |
| 18 | 17 | $listofexcludeslower = explode(", ", $settings['exclude_lower']); | |
| 19 | - | $checklower = in_array($_GET['act'], $listofexcludeslower); | |
| 18 | + | if(in_array($querystring, $listofexcludeslower)) | |
| 19 | + | $checkupper = true; | |
| 20 | + | else | |
| 21 | + | $checklower = in_array($_GET['act'], $listofexcludeslower); | |
| 22 | + | } else { | |
| 23 | + | $checkupper = false; | |
| 20 | 24 | } | |
| 21 | 25 | if ($checklower == false) { | |
| 22 | 26 | $body .= '<div class="sidebar" id="panel_lower">'; | |
View this file contents
View the full history
Commits for banancanard-eoCMS:/branches/0.9/functions/themes/displaylowerpanel.php