More hooks for admin panel
This commit is contained in:
parent
2df30d12b0
commit
9b30b9aff6
|
@ -141,15 +141,16 @@ $(document).ready(function() {
|
|||
<li <?php echo ($layout['view']=='about')?'class="uk-active"':'' ?>>
|
||||
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a>
|
||||
</li>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<?php Theme::plugins('adminSidebar'); ?>
|
||||
</div>
|
||||
|
||||
<div id="bl-view" class="uk-width-3-4">
|
||||
<?php
|
||||
if( Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php') ) {
|
||||
if (Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php')) {
|
||||
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
|
||||
} else {
|
||||
echo '<h1 style="width:100%; text-align:center">'.$L->g('Page not found').'</h1>';
|
||||
|
|
|
@ -218,6 +218,8 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
|
|||
echo '</li>';
|
||||
echo '</ul>';
|
||||
|
||||
Theme::plugins('adminContentSidebar');
|
||||
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
|
||||
|
|
|
@ -193,6 +193,8 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
|
|||
echo '</li>';
|
||||
echo '<ul>';
|
||||
|
||||
Theme::plugins('adminContentSidebar');
|
||||
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ $plugins = array(
|
|||
'adminBodyBegin'=>array(),
|
||||
'adminBodyEnd'=>array(),
|
||||
'adminSidebar'=>array(),
|
||||
'adminContentSidebar'=>array(),
|
||||
|
||||
'beforeRulesLoad'=>array(),
|
||||
'beforeAll'=>array(),
|
||||
|
|
Loading…
Reference in New Issue