Files
webgui/emhttp/plugins/dynamix/include/DefaultPageLayout/MainContentTabless.php
Zack Spear 5c13404492 refactor: update content handling for non-tabbed layout
- Introduced a new file, MainContentTabless.php, which provides a non-tabbed content template for the Unraid web interface, rendering all pages in sequence without tabs.
2025-05-07 16:11:14 -07:00

25 lines
740 B
PHP

<?php
/**
* Non-tabbed content template for the Unraid web interface.
* Renders all pages in sequence without tabs, using original per-page logic.
*/
?>
<div id="displaybox">
<div class="content">
<? foreach ($pages as $page): ?>
<? annotate($page['file']); ?>
<? includePageStylesheets($page); ?>
<? if (isset($page['Title'])): ?>
<div class="title">
<?= tab_title($page['Title'], $page['root'], _var($page, 'Tag', false)) ?>
</div>
<? endif; ?>
<?= generatePanels($page, $path, $defaultIcon, $docroot, true) ?>
<? eval('?>'.generateContent($page)); ?>
<? endforeach; ?>
</div>
</div>