🚸 (admin): make possible to directly create user/category everywhere
This commit is contained in:
parent
74f39b69f7
commit
098ef66839
1 changed files with 11 additions and 0 deletions
|
@ -78,6 +78,17 @@
|
|||
<a class="dropdown-item" href="<?php echo HTML_PATH_ADMIN_ROOT.'new-content' ?>">
|
||||
<?php $L->p('New content') ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="<?php echo HTML_PATH_ADMIN_ROOT.'new-category' ?>">
|
||||
<?php $L->p('New category') ?></a>
|
||||
</li>
|
||||
<?php if (checkRole(array('admin'),false)): ?>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="<?php echo HTML_PATH_ADMIN_ROOT.'new-user' ?>">
|
||||
<?php $L->p('New user') ?></a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue