| @@ 67-71 (lines=5) @@ | ||
| 64 | $infoStyle = $this->getBlockSetting($block_id, 'infoStyle', 'table'); |
|
| 65 | $sortStyle = $this->getBlockSetting($block_id, 'sortStyle', 'alpha'); |
|
| 66 | ||
| 67 | foreach (['days', 'filter', 'onlyBDM', 'infoStyle', 'sortStyle'] as $name) { |
|
| 68 | if (array_key_exists($name, $cfg)) { |
|
| 69 | $$name = $cfg[$name]; |
|
| 70 | } |
|
| 71 | } |
|
| 72 | ||
| 73 | $startjd = WT_CLIENT_JD + 1; |
|
| 74 | $endjd = WT_CLIENT_JD + $days; |
|
| @@ 64-68 (lines=5) @@ | ||
| 61 | $sortStyle = $this->getBlockSetting($block_id, 'sortStyle', self::DEFAULT_SORT_STYLE); |
|
| 62 | $show_user = $this->getBlockSetting($block_id, 'show_user', self::DEFAULT_SHOW_USER); |
|
| 63 | ||
| 64 | foreach (['days', 'infoStyle', 'sortStyle', 'show_user'] as $name) { |
|
| 65 | if (array_key_exists($name, $cfg)) { |
|
| 66 | $$name = $cfg[$name]; |
|
| 67 | } |
|
| 68 | } |
|
| 69 | ||
| 70 | $records = $this->getRecentChanges($WT_TREE, $days); |
|
| 71 | ||