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"':'' ?>>
|
<li <?php echo ($layout['view']=='about')?'class="uk-active"':'' ?>>
|
||||||
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a>
|
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<?php Theme::plugins('adminSidebar'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="bl-view" class="uk-width-3-4">
|
<div id="bl-view" class="uk-width-3-4">
|
||||||
<?php
|
<?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');
|
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
|
||||||
} else {
|
} else {
|
||||||
echo '<h1 style="width:100%; text-align:center">'.$L->g('Page not found').'</h1>';
|
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 '</li>';
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
|
|
||||||
|
Theme::plugins('adminContentSidebar');
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
|
|
@ -193,6 +193,8 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
echo '<ul>';
|
echo '<ul>';
|
||||||
|
|
||||||
|
Theme::plugins('adminContentSidebar');
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@ $plugins = array(
|
||||||
'adminBodyBegin'=>array(),
|
'adminBodyBegin'=>array(),
|
||||||
'adminBodyEnd'=>array(),
|
'adminBodyEnd'=>array(),
|
||||||
'adminSidebar'=>array(),
|
'adminSidebar'=>array(),
|
||||||
|
'adminContentSidebar'=>array(),
|
||||||
|
|
||||||
'beforeRulesLoad'=>array(),
|
'beforeRulesLoad'=>array(),
|
||||||
'beforeAll'=>array(),
|
'beforeAll'=>array(),
|
||||||
|
|
Loading…
Reference in New Issue