✨ (admin/content): add a new button
This commit is contained in:
parent
ab7e9f7e6a
commit
77469e163e
1 changed files with 11 additions and 0 deletions
|
@ -1,7 +1,18 @@
|
|||
<?php
|
||||
|
||||
echo "<div class='d-flex justify-content-between align-content-center'>";
|
||||
|
||||
echo Bootstrap::pageTitle(array('title'=>$contentType->plural(), 'icon'=>$contentType->icon()));
|
||||
|
||||
echo "<div>";
|
||||
echo Bootstrap::link(array(
|
||||
'title'=>$L->g('New'),
|
||||
'href'=>HTML_PATH_ADMIN_ROOT.'new-content/'.$contentType->type(),
|
||||
'icon'=>'plus',
|
||||
'class'=>'btn btn-outline-success'
|
||||
));
|
||||
echo "</div></div>";
|
||||
|
||||
function table($type) {
|
||||
global $url;
|
||||
global $L;
|
||||
|
|
Loading…
Add table
Reference in a new issue