2022-03-08 15:55:41 +01:00
|
|
|
<?php namespace ProcessWire;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* _sidenav-tree.php
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @var Config $config */
|
|
|
|
/** @var AdminThemeUikit $adminTheme */
|
|
|
|
/** @var User $user */
|
2022-11-05 18:32:48 +01:00
|
|
|
/** @var string $layout */
|
2022-03-08 15:55:41 +01:00
|
|
|
|
|
|
|
if(!defined("PROCESSWIRE")) die();
|
|
|
|
|
|
|
|
if(!isset($content)) $content = '';
|
|
|
|
|
|
|
|
?><!DOCTYPE html>
|
|
|
|
<html class="pw pw-sidebar-frame" lang="<?php echo $adminTheme->_('en');
|
|
|
|
/* this intentionally on a separate line */ ?>">
|
|
|
|
<head>
|
2022-11-05 18:32:48 +01:00
|
|
|
<?php $adminTheme->includeFile('_head.php', array('layout' => $layout)); ?>
|
2022-03-08 15:55:41 +01:00
|
|
|
<script>
|
|
|
|
var pageListRefresh = {
|
|
|
|
refreshPage: function(id) {
|
|
|
|
$(document).trigger('pageListRefresh', id);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
$(document).on('mouseover', 'a', ProcessWireAdminTheme.linkTargetMainMouseoverEvent);
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class='<?php echo $adminTheme->getBodyClass(); ?> pw-narrow-width pw-iframe'>
|
|
|
|
<main id='main' class='pw-container uk-container uk-container-expand uk-margin-small-top uk-margin-remove-left uk-margin-large-bottom'>
|
|
|
|
<div class='pw-content' id='content'>
|
|
|
|
<div id='pw-content-body'>
|
|
|
|
<?php echo $content; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|