Compare commits
3 commits
2688148d1e
...
098ef66839
Author | SHA1 | Date | |
---|---|---|---|
|
098ef66839 | ||
|
74f39b69f7 | ||
|
914ab9f0b9 |
6 changed files with 17 additions and 5 deletions
|
@ -78,6 +78,17 @@
|
||||||
<a class="dropdown-item" href="<?php echo HTML_PATH_ADMIN_ROOT.'new-content' ?>">
|
<a class="dropdown-item" href="<?php echo HTML_PATH_ADMIN_ROOT.'new-content' ?>">
|
||||||
<?php $L->p('New content') ?></a>
|
<?php $L->p('New content') ?></a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -6,7 +6,7 @@ echo Bootstrap::pageTitle(array('title'=>$L->g('Categories'), 'icon'=>'tags'));
|
||||||
|
|
||||||
echo "<div>";
|
echo "<div>";
|
||||||
echo Bootstrap::link(array(
|
echo Bootstrap::link(array(
|
||||||
'title'=>$L->g('Add a new category'),
|
'title'=>$L->g('New category'),
|
||||||
'href'=>HTML_PATH_ADMIN_ROOT.'new-category',
|
'href'=>HTML_PATH_ADMIN_ROOT.'new-category',
|
||||||
'icon'=>'plus',
|
'icon'=>'plus',
|
||||||
'class'=>'btn btn-outline-success'
|
'class'=>'btn btn-outline-success'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div id="dashboard" class="container">
|
<div id="dashboard" class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-7">
|
<div class="col-md-8">
|
||||||
|
|
||||||
<!-- Good message -->
|
<!-- Good message -->
|
||||||
<div>
|
<div>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
|
|
||||||
<?php Theme::plugins('dashboard') ?>
|
<?php Theme::plugins('dashboard') ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5">
|
<div class="col-md-4">
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h4 class="card-header"><?php $L->p('Notifications') ?></h4>
|
<h4 class="card-header"><?php $L->p('Notifications') ?></h4>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'tab-content')); ?>
|
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'tab-content')); ?>
|
||||||
|
|
||||||
<div class="d-flex justify-content-between mb-2">
|
<div class="d-flex justify-content-between mb-2">
|
||||||
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('Add a new user'), 'icon'=>'user')); ?>
|
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('New user'), 'icon'=>'user')); ?>
|
||||||
<div>
|
<div>
|
||||||
<button type="submit" class="btn btn-primary" name="save"><?php $L->p('Save') ?></button>
|
<button type="submit" class="btn btn-primary" name="save"><?php $L->p('Save') ?></button>
|
||||||
<a class="btn btn-secondary" href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" role="button"><?php $L->p('Cancel') ?></a>
|
<a class="btn btn-secondary" href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" role="button"><?php $L->p('Cancel') ?></a>
|
||||||
|
|
|
@ -8,7 +8,7 @@ echo Bootstrap::pageTitle(array('title'=>$L->g('Users'), 'icon'=>'users'));
|
||||||
|
|
||||||
echo "<div>";
|
echo "<div>";
|
||||||
echo Bootstrap::link(array(
|
echo Bootstrap::link(array(
|
||||||
'title'=>$L->g('add-a-new-user'),
|
'title'=>$L->g('New user'),
|
||||||
'href'=>HTML_PATH_ADMIN_ROOT.'new-user',
|
'href'=>HTML_PATH_ADMIN_ROOT.'new-user',
|
||||||
'icon'=>'plus',
|
'icon'=>'plus',
|
||||||
'class'=>'btn btn-outline-success'
|
'class'=>'btn btn-outline-success'
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
"new-category": "Nouvelle catégorie",
|
"new-category": "Nouvelle catégorie",
|
||||||
"you-do-not-have-sufficient-permissions": "Vous ne disposez pas des autorisations suffisantes pour accéder à cette page, veuillez contacter l’administrateur.",
|
"you-do-not-have-sufficient-permissions": "Vous ne disposez pas des autorisations suffisantes pour accéder à cette page, veuillez contacter l’administrateur.",
|
||||||
"add-a-new-user": "Ajouter un nouvel utilisateur",
|
"add-a-new-user": "Ajouter un nouvel utilisateur",
|
||||||
|
"new-user":"Nouvel utilisateur",
|
||||||
"url-associated-with-the-content": "URL associée au contenu.",
|
"url-associated-with-the-content": "URL associée au contenu.",
|
||||||
"language-and-timezone": "Langue et fuseau horaire",
|
"language-and-timezone": "Langue et fuseau horaire",
|
||||||
"change-your-language-and-region-settings": "Modifiez vos paramètres linguistiques et régionaux.",
|
"change-your-language-and-region-settings": "Modifiez vos paramètres linguistiques et régionaux.",
|
||||||
|
|
Loading…
Add table
Reference in a new issue