ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
show_metadata.tpl.php
Go to the documentation of this file.
1 <?php
2 $this->includeAtTemplateBase('includes/header.php');
3 ?>
4 <div class="metadatabox">
5  <button data-clipboard-target="#metadata" id="btncp" class="btn topright" style="margin-right: 0.5em;">
6  <img src="/<?php echo $this->data['baseurlpath'].'resources/icons/clipboard.svg'; ?>"
7  alt="Copy to clipboard" />
8  </button>
9  <pre id="metadata">
10 $metadata['<?php echo $this->data['m']['metadata-index']; unset($this->data['m']['metadata-index']) ?>'] => <?php
11  echo htmlspecialchars(var_export($this->data['m'], true));
12 ?>
13  </pre>
14 </div>
15 <script type="text/javascript">
16  var clipboard = new Clipboard('#btncp');
17 </script>
18 <br/>
19 <p><a href="<?php echo $this->data['backlink']; ?>"><span class="btn">Back</span></a></p>
20 
21 <?php
22 $this->includeAtTemplateBase('includes/footer.php');
Add some data
"color:#CC0000 style
Definition: example_001.php:92
$metadata['__DYNAMIC:1__']