jilo-web/app/templates/config-list-configjs.php

23 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2024-08-28 09:59:13 +00:00
<!-- widget "config" -->
<div class="card text-center w-75 mx-lef">
2024-10-04 11:18:28 +00:00
<p class="h4 card-header">Configuration of the Jitsi platform <strong><?= htmlspecialchars($platformDetails[0]['name']) ?></strong></p>
2024-08-28 09:59:13 +00:00
<div class="card-body">
<p class="card-text">
2024-10-04 11:18:28 +00:00
<span class="m-3">URL: <?= htmlspecialchars($platformDetails[0]['jitsi_url']) ?></span>
<span class="m-3">FILE: config.js</span>
<?php if ($mode === 'raw') { ?>
2024-10-04 11:18:28 +00:00
<span class="m-3"><a class="btn btn-light" href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=configjs">view only active lines</a></span>
<?php } else { ?>
2024-10-04 11:18:28 +00:00
<span class="m-3"><a class="btn btn-light" href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=configjs&mode=raw">view raw file contents</a></span>
<?php } ?>
</p>
2024-10-03 06:43:37 +00:00
<pre class="results">
2024-08-28 09:59:13 +00:00
<?php
2024-10-04 11:18:28 +00:00
echo htmlspecialchars($platformConfigjs);
2024-08-28 09:59:13 +00:00
?>
</pre>
</div>
</div>
<!-- /widget "config" -->