small code cleanup

This commit is contained in:
2023-10-22 05:28:11 +02:00
parent 0441d71f41
commit 5ab1feac4f
3 changed files with 28 additions and 37 deletions

View File

@@ -19,21 +19,10 @@
</div>
</div>
<!-- Dialog to ask user for ICS URL if not specified through GET -->
<div class="dialog-parent <?php hideMissingIcsDialog(); ?>">
<div class="dialog">
<div class="dialog-content">
Es wurde keine ICS URL als GET Parameter &uuml;bergeben.<br>
<br>
<label>Anzuzeigende ICS URL:</label>
<input type="text" form="dialog-form" name="icsUrl" />
</div>
<div class="dialog-buttons">
<form id="dialog-form" method="get"></form>
<input type="submit" form="dialog-form" value="OK" />
</div>
</div>
</div>
<?php echoIcsUrlDialog(); ?>
<!-- Renders PHP errors nicely as HTML dialog -->
<?php echoErrorsHtml(); ?>
</body>
<script src="script/dialog.js"></script>