Diff Revisions 799 vs 806 for /branches/0.9/functions/themes/displaypanels.php
| 799 | 806 | <- Revisions | |
|
Diff lines for: Rev 799 : Lines 37 -> 44 Rev 806 : Lines 37 -> 44 |
|||
| 37 | 37 | } | |
| 38 | 38 | if (!empty($settings['exclude_left'])) { | |
| 39 | 39 | $listofexcludesleft = explode(", ", $settings['exclude_left']); | |
| 40 | - | if(strstr($settings['exclude_left'], '?')) | |
| 41 | - | $checkleft = in_array($querystring, $listofexcludesleft); | |
| 40 | + | if(in_array($querystring, $listofexcludesleft)) | |
| 41 | + | $checkleft = true; | |
| 42 | 42 | else | |
| 43 | 43 | $checkleft = in_array($_GET['act'], $listofexcludesleft); | |
| 44 | 44 | } else { | |
|
Diff lines for: Rev 799 : Lines 74 -> 81 Rev 806 : Lines 74 -> 81 |
|||
| 74 | 74 | } | |
| 75 | 75 | if (!empty($settings['exclude_right'])) { | |
| 76 | 76 | $listofexcludesright = explode(", ", $settings['exclude_right']); | |
| 77 | - | if(strstr($settings['exclude_right'], '?') !== false) | |
| 78 | - | $checkright = in_array($querystring, $listofexcludesright); | |
| 77 | + | if(in_array($querystring, $listofexcludesright)) | |
| 78 | + | $checkright = true; | |
| 79 | 79 | else | |
| 80 | 80 | $checkright = in_array($_GET['act'], $listofexcludesright); | |
| 81 | 81 | } else { | |
|
Diff lines for: Rev 799 : Lines 128 -> 135 Rev 806 : Lines 128 -> 135 |
|||
| 128 | 128 | $body .= '<div id="'.$class.'">'; | |
| 129 | 129 | if (!empty($settings['exclude_upper'])) { | |
| 130 | 130 | $listofexcludesupper = explode(", ", $settings['exclude_upper']); | |
| 131 | - | if(strstr($settings['exclude_upper'], '?') !== false) | |
| 132 | - | $checkupper = in_array($querystring, $listofexcludesupper); | |
| 131 | + | if(in_array($querystring, $listofexcludesupper)) | |
| 132 | + | $checkupper = true; | |
| 133 | 133 | else | |
| 134 | 134 | $checkupper = in_array($_GET['act'], $listofexcludesupper); | |
| 135 | 135 | } else { | |
View this file contents
View the full history
Commits for banancanard-eoCMS:/branches/0.9/functions/themes/displaypanels.php