🚸 (admin): make possible to directly create user/category everywhere

This commit is contained in:
Kazhnuz 2025-01-18 16:43:48 +01:00
parent 74f39b69f7
commit 098ef66839

View file

@ -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>