23 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
|  | 
 | ||
|  |                 <!-- widget "config" --> | ||
|  |                 <div class="card text-center w-75 mx-lef"> | ||
|  |                     <p class="h4 card-header">Configuration of the Jitsi platform <strong><?= htmlspecialchars($platformDetails[0]['name']) ?></strong></p>
 | ||
|  |                     <div class="card-body"> | ||
|  |                         <p class="card-text"> | ||
|  |                             <span class="m-3">URL: <?= htmlspecialchars($platformDetails[0]['jitsi_url']) ?></span>
 | ||
|  |                             <span class="m-3">FILE: interface_config.js</span> | ||
|  | <?php if ($mode === 'raw') { ?>
 | ||
|  |                             <span class="m-3"><a class="btn btn-light" href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=data&item=interfaceconfigjs">view only active lines</a></span> | ||
|  | <?php } else { ?>
 | ||
|  |                             <span class="m-3"><a class="btn btn-light" href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=data&item=interfaceconfigjs&mode=raw">view raw file contents</a></span> | ||
|  | <?php } ?>
 | ||
|  |                         </p> | ||
|  | <pre class="results"> | ||
|  | <?php | ||
|  | echo htmlspecialchars($platformInterfaceConfigjs); | ||
|  | ?>
 | ||
|  | </pre> | ||
|  |                     </div> | ||
|  |                 </div> | ||
|  |                 <!-- /widget "config" --> |