Erstes Joomla-Modul
This commit is contained in:
21
tmpl/default.php
Normal file
21
tmpl/default.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div id="pdfexplorer">
|
||||
<h2>Hello World – PDF-Explorer Dummy-Modul</h2>
|
||||
<p>Modul-Parameter:</p>
|
||||
<ul>
|
||||
<li><strong>PDF-Pfad:</strong> <?php echo htmlspecialchars($params->get('pdf_path', '')); ?></li>
|
||||
<li><strong>Erlaubte Gruppen:</strong>
|
||||
<?php
|
||||
$groups = $params->get('usergroups', []);
|
||||
if (is_array($groups) && count($groups)) {
|
||||
echo implode(', ', $groups);
|
||||
} else {
|
||||
echo 'Keine ausgewählt';
|
||||
}
|
||||
?>
|
||||
</li>
|
||||
<li><strong>Vorschau-Option:</strong> <?php echo htmlspecialchars($params->get('preview_option', '')); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user