1234567891011121314151617181920212223242526 |
- <?php
- if(!$myUser->can('navigation','read')) throw new Exception("Vous n'avez pas la permission pour executer cette fonctionnalité",403);
- require_once('MenuItem.class.php');
- $menuitem = MenuItem::provide();
- ?>
- <div class="navigation">
- <div id="menuitem-form" class="row menuitem-form" data-action="navigation_menuitem_save" data-id="<?php echo $menuitem->id; ?>">
- <div class="col-md-12">
- <h3>MenuItem</h3>
- <label for="icon">icon</label>
- <input id="icon" name="icon" class="form-control" placeholder="" value="<?php echo $menuitem->icon; ?>" type="text">
- <label for="label">label</label>
- <input id="label" name="label" class="form-control" placeholder="" value="<?php echo $menuitem->label; ?>" type="text">
- <label for="url">url</label>
- <input id="url" name="url" class="form-control" placeholder="" value="<?php echo $menuitem->url; ?>" type="text">
- <label for="color">color</label>
- <input id="color" name="color" class="form-control" placeholder="" value="<?php echo $menuitem->color; ?>" type="text">
- <label for="sort">sort</label>
- <input id="sort" name="sort" class="form-control" placeholder="" value="<?php echo $menuitem->sort; ?>" type="text">
- <label for="parent">parent</label>
- <input id="parent" name="parent" class="form-control" placeholder="" value="<?php echo $menuitem->parent; ?>" type="text">
- <br/>
- <div onclick="navigation_menuitem_save();" class="btn btn-success"><i class="fas fa-check"></i> Enregistrer</div>
- </div>
- </div>
- </div>
|