File: debughelp.tpl

package info (click to toggle)
fusiondirectory 1.2.3-4%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 33,140 kB
  • sloc: php: 45,518; pascal: 3,700; perl: 2,026; xml: 1,521; sh: 137; makefile: 22
file content (40 lines) | stat: -rw-r--r-- 1,405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div id="{$sectionId}" class="plugin-section{$sectionClasses}">
  <span class="legend">
    {$section}
  </span>
  <div>
    {if $attributes.dump}
      {function name=printNodes}
        <ul>
          {foreach from=$nodes key=key item=node}
            <li>
              <a href="#" onclick="Effect.toggle('toggle_{$key}', 'blind', {literal}{ duration: 0.3 }{/literal}); return false;">
                {$node.name}
              </a>
              <div id="toggle_{$key}" style="overflow: visible; display: none;">
                <table class="listingTable">
                  <tbody>
                    {foreach from=$node.attrs key=label item=values}
                      {foreach from=$values item=value}
                        <tr>
                          <th>{$label}</th>
                          <td>{$value}</td>
                        </tr>
                      {/foreach}
                    {/foreach}
                  </tbody>
                </table>
              </div>
              {call name=printNodes nodes=$node.subnodes}
            </li>
          {/foreach}
        </ul>
      {/function}
      {call name=printNodes nodes=$attributes.dump}
    {else}
      <img alt="{t}Insufficient rights{/t}" src="geticon.php?context=status&icon=dialog-error&size=16" class="center"/>&nbsp;
      <b>You have insufficient rights for using this tab</b>
    {/if}
  </div>
</div>