Rello /
analytics
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Analytics |
||
| 4 | * |
||
| 5 | * SPDX-FileCopyrightText: 2019-2022 Marcel Scherello |
||
| 6 | * SPDX-License-Identifier: AGPL-3.0-or-later |
||
| 7 | */ |
||
| 8 | |||
| 9 | use OCP\Util; |
||
|
0 ignored issues
–
show
|
|||
| 10 | |||
| 11 | Util::addStyle('analytics', 'style'); |
||
| 12 | Util::addStyle('analytics', 'advanced'); |
||
| 13 | Util::addStyle('analytics', 'wizard'); |
||
| 14 | //Util::addStyle('analytics', 'sharetabview'); |
||
| 15 | Util::addScript('analytics', 'app'); |
||
| 16 | Util::addScript('analytics', 'visualization'); |
||
| 17 | Util::addScript('analytics', 'sidebar'); |
||
| 18 | Util::addScript('analytics', 'navigation'); |
||
| 19 | Util::addScript('analytics', 'advanced'); |
||
| 20 | Util::addScript('analytics', 'userGuidance'); |
||
| 21 | Util::addScript('analytics', 'filter'); |
||
| 22 | ?> |
||
| 23 | |||
| 24 | <div id="app-navigation"> |
||
| 25 | <?php print_unescaped($this->inc('part.navigation')); ?> |
||
| 26 | <?php print_unescaped($this->inc('part.settings')); ?> |
||
| 27 | </div> |
||
| 28 | |||
| 29 | <div id="app-content"> |
||
| 30 | <div id="loading"> |
||
| 31 | <i class="ioc-spinner ioc-spin"></i> |
||
| 32 | </div> |
||
| 33 | <?php print_unescaped($this->inc('part.content_advanced')); ?> |
||
| 34 | <div id="analytics-warning" style="width:50%; padding: 50px"> |
||
| 35 | <h2><?php p($l->t('Analytics')); ?></h2> |
||
| 36 | <br> |
||
| 37 | <h3><?php p($l->t('Javascript issue')); ?></h3> |
||
| 38 | <span><?php p($l->t('If you see this message, please disable AdBlock/uBlock for this domain (only).')); ?></span> |
||
| 39 | <br> |
||
| 40 | <span><?php p($l->t('The EasyPrivacy list is blocking some scripts because of a wildcard filter for *analytics*.')); ?></span> |
||
| 41 | <br> |
||
| 42 | <br> |
||
| 43 | <a href="https://github.com/Rello/analytics/wiki/EasyPrivacy-Blocklist" |
||
| 44 | target="_blank"><?php p($l->t('More Information …')); ?></a> |
||
| 45 | </div> |
||
| 46 | </div> |
||
| 47 | <div> |
||
| 48 | <?php print_unescaped($this->inc('wizard')); ?> |
||
| 49 | <?php print_unescaped($this->inc('part.templates')); ?> |
||
| 50 | </div> |
||
| 51 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths