Erstes Joomla-Modul

This commit is contained in:
Thomas Spohr
2025-07-16 10:03:59 +02:00
parent 519f9e16b3
commit af2ebf4ab6
12 changed files with 76612 additions and 6 deletions

21
tmpl/default.php Normal file
View 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>