PluginProbe ʕ •ᴥ•ʔ
Matomo Analytics – Powerful, Privacy-First Insights for WordPress / 5.8.2
Matomo Analytics – Powerful, Privacy-First Insights for WordPress v5.8.2
5.11.1 5.11.0 5.10.2 5.10.1 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.3.2 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.1.0 4.1.1 4.1.2 4.1.3 4.10.0 4.11.0 4.12.0 4.13.0 4.13.2 4.13.3 4.13.4 4.13.5 4.14.0 4.14.1 4.14.2 4.15.0 4.15.1 4.15.2 4.15.3 4.2.0 4.3.0 4.3.1 4.4.1 4.4.2 4.5.0 4.6.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.10.0 5.2.0 5.2.1 5.2.2 5.3.0 5.3.1 5.3.2 5.3.3 5.6.0 5.6.1 5.7.0 5.7.1 5.8.0 5.8.1 5.8.2
matomo / app / vendor / prefixed / symfony / error-handler / Resources / views / traces.html.php
matomo / app / vendor / prefixed / symfony / error-handler / Resources / views Last commit date
error.html.php 2 years ago exception.html.php 2 years ago exception_full.html.php 2 years ago logs.html.php 2 years ago trace.html.php 2 years ago traces.html.php 2 years ago traces_text.html.php 2 years ago
traces.html.php
85 lines
1 <div class="trace trace-as-html" id="trace-box-<?php
2 echo $index;
3 ?>">
4 <div class="trace-details">
5 <div class="trace-head">
6 <div class="sf-toggle" data-toggle-selector="#trace-html-<?php
7 echo $index;
8 ?>" data-toggle-initial="<?php
9 echo $expand ? 'display' : '';
10 ?>">
11 <span class="icon icon-close"><?php
12 echo $this->include('assets/images/icon-minus-square-o.svg');
13 ?></span>
14 <span class="icon icon-open"><?php
15 echo $this->include('assets/images/icon-plus-square-o.svg');
16 ?></span>
17 <?php
18 $separator = \strrpos($exception['class'], '\\');
19 $separator = \false === $separator ? 0 : $separator + 1;
20 $namespace = \substr($exception['class'], 0, $separator);
21 $class = \substr($exception['class'], $separator);
22 ?>
23 <?php
24 if ('' === $class) {
25 ?>
26 <br>
27 <?php
28 } else {
29 ?>
30 <h3 class="trace-class">
31 <?php
32 if ('' !== $namespace) {
33 ?>
34 <span class="trace-namespace"><?php
35 echo $namespace;
36 ?></span>
37 <?php
38 }
39 ?>
40 <?php
41 echo $class;
42 ?>
43 </h3>
44 <?php
45 }
46 ?>
47 <?php
48 if ($exception['message'] && $index > 1) {
49 ?>
50 <p class="break-long-words trace-message"><?php
51 echo $this->escape($exception['message']);
52 ?></p>
53 <?php
54 }
55 ?>
56 </div>
57 </div>
58
59 <div id="trace-html-<?php
60 echo $index;
61 ?>" class="sf-toggle-content">
62 <?php
63 $isFirstUserCode = \true;
64 foreach ($exception['trace'] as $i => $trace) {
65 $isVendorTrace = $trace['file'] && (\false !== \mb_strpos($trace['file'], '/vendor/') || \false !== \mb_strpos($trace['file'], '/var/cache/'));
66 $displayCodeSnippet = $isFirstUserCode && !$isVendorTrace;
67 if ($displayCodeSnippet) {
68 $isFirstUserCode = \false;
69 }
70 ?>
71 <div class="trace-line <?php
72 echo $isVendorTrace ? 'trace-from-vendor' : '';
73 ?>">
74 <?php
75 echo $this->include('views/trace.html.php', ['prefix' => $index, 'i' => $i, 'trace' => $trace, 'style' => $isVendorTrace ? 'compact' : ($displayCodeSnippet ? 'expanded' : '')]);
76 ?>
77 </div>
78 <?php
79 }
80 ?>
81 </div>
82 </div>
83 </div>
84 <?php
85