praiadeseselle/wire/modules/AdminTheme/AdminThemeUikit/_sidenav-tree.php

40 lines
1,015 B
PHP
Raw Normal View History

2022-03-08 15:55:41 +01:00
<?php namespace ProcessWire;
/**
* _sidenav-tree.php
*
*/
/** @var Config $config */
/** @var AdminThemeUikit $adminTheme */
/** @var User $user */
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>
<?php include(__DIR__ . '/_head.php'); ?>
<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>