@@ -957,14 +957,14 @@ |
||
| 957 | 957 | } |
| 958 | 958 | |
| 959 | 959 | /** |
| 960 | - * Filter - Referer. |
|
| 961 | - * |
|
| 962 | - * @param array $logData IP data from Shieldon log table. |
|
| 963 | - * @param array $ipData The IP log data. |
|
| 964 | - * @param bool $isFlagged Is flagged as unusual behavior or not. |
|
| 965 | - * |
|
| 966 | - * @return array |
|
| 967 | - */ |
|
| 960 | + * Filter - Referer. |
|
| 961 | + * |
|
| 962 | + * @param array $logData IP data from Shieldon log table. |
|
| 963 | + * @param array $ipData The IP log data. |
|
| 964 | + * @param bool $isFlagged Is flagged as unusual behavior or not. |
|
| 965 | + * |
|
| 966 | + * @return array |
|
| 967 | + */ |
|
| 968 | 968 | protected function filterReferer(array $logData, array $ipDetail, bool $isFlagged): array |
| 969 | 969 | { |
| 970 | 970 | $isReject = false; |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | * |
| 341 | 341 | * @return void |
| 342 | 342 | */ |
| 343 | - public function __construct(?ServerRequestInterface $request = null, ?ResponseInterface $response = null) |
|
| 343 | + public function __construct(?ServerRequestInterface $request = null, ?ResponseInterface $response = null) |
|
| 344 | 344 | { |
| 345 | 345 | // Load helper functions. This is the must. |
| 346 | 346 | new Helpers(); |
@@ -1648,10 +1648,10 @@ discard block |
||
| 1648 | 1648 | |
| 1649 | 1649 | $ui = [ |
| 1650 | 1650 | 'background_image' => $this->dialogUI['background_image'] ?? '', |
| 1651 | - 'bg_color' => $this->dialogUI['bg_color'] ?? '#ffffff', |
|
| 1652 | - 'header_bg_color' => $this->dialogUI['header_bg_color'] ?? '#212531', |
|
| 1653 | - 'header_color' => $this->dialogUI['header_color'] ?? '#ffffff', |
|
| 1654 | - 'shadow_opacity' => $this->dialogUI['shadow_opacity'] ?? '0.2', |
|
| 1651 | + 'bg_color' => $this->dialogUI['bg_color'] ?? '#ffffff', |
|
| 1652 | + 'header_bg_color' => $this->dialogUI['header_bg_color'] ?? '#212531', |
|
| 1653 | + 'header_color' => $this->dialogUI['header_color'] ?? '#ffffff', |
|
| 1654 | + 'shadow_opacity' => $this->dialogUI['shadow_opacity'] ?? '0.2', |
|
| 1655 | 1655 | ]; |
| 1656 | 1656 | |
| 1657 | 1657 | if (!defined('SHIELDON_VIEW')) { |