diff options
Diffstat (limited to 'src/view/templates/modify_block.php')
-rw-r--r-- | src/view/templates/modify_block.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/templates/modify_block.php b/src/view/templates/modify_block.php index 2514085..22a2932 100644 --- a/src/view/templates/modify_block.php +++ b/src/view/templates/modify_block.php | |||
@@ -1,6 +1,6 @@ | |||
1 | <div class="modify_one_block" id="bloc_edit_<?= $child_node->getId() ?>"> | 1 | <div class="modify_one_block" id="bloc_edit_<?= $child_node->getId() ?>"> |
2 | <div class="block_options"> | 2 | <div class="block_options"> |
3 | <label for="bloc_rename_<?= $child_node->getId() ?>">Type <b><?= Blocks::getNameFromType($child_node->getName()) ?></b> | 3 | <label for="bloc_rename_<?= $child_node->getId() ?>">Type <b><?= Blocks::$blocks[$child_node->getName()] ?></b> |
4 | </label> | 4 | </label> |
5 | <p> | 5 | <p> |
6 | <input type="text" id="bloc_rename_<?= $child_node->getId() ?>" name="bloc_rename_title" value="<?= $child_node->getNodeData()->getdata()['title'] ?>" required> | 6 | <input type="text" id="bloc_rename_<?= $child_node->getId() ?>" name="bloc_rename_title" value="<?= $child_node->getNodeData()->getdata()['title'] ?>" required> |
@@ -24,9 +24,9 @@ if($child_node->getNodeData()->getPresentation() !== null){ | |||
24 | <div class="grid_options"><p> | 24 | <div class="grid_options"><p> |
25 | <label for="presentation_select_<?= $child_node->getId() ?>">Présentation</label> | 25 | <label for="presentation_select_<?= $child_node->getId() ?>">Présentation</label> |
26 | <select id="presentation_select_<?= $child_node->getId() ?>" onchange="changePresentation(<?= $child_node->getId() ?>)"> | 26 | <select id="presentation_select_<?= $child_node->getId() ?>" onchange="changePresentation(<?= $child_node->getId() ?>)"> |
27 | <?= $this->makePresentationOptions($child_node->getNodeData()->getPresentation()->getName()) ?> | 27 | <?= $this->makePresentationOptions($child_node->getNodeData()->getPresentation()) ?> |
28 | </select> | 28 | </select> |
29 | <div id="cols_min_width_edit_<?= $child_node->getId() ?>" class="<?= ($child_node->getNodeData()->getPresentation()->getName() === 'grid' ? '' : 'hidden') ?>"> | 29 | <div id="cols_min_width_edit_<?= $child_node->getId() ?>" class="<?= ($child_node->getNodeData()->getPresentation() === 'grid' ? '' : 'hidden') ?>"> |
30 | <label for="cols_min_width_select_<?= $child_node->getId() ?>">Largeur minimum </label> | 30 | <label for="cols_min_width_select_<?= $child_node->getId() ?>">Largeur minimum </label> |
31 | <input type="number" id="cols_min_width_select_<?= $child_node->getId() ?>" onchange="changeColsMinWidth(<?= $child_node->getId() ?>)" min="150" max="400" value="<?= $child_node->getNodeData()->getColsMinWidth() ?>"> pixels | 31 | <input type="number" id="cols_min_width_select_<?= $child_node->getId() ?>" onchange="changeColsMinWidth(<?= $child_node->getId() ?>)" min="150" max="400" value="<?= $child_node->getNodeData()->getColsMinWidth() ?>"> pixels |
32 | </div> | 32 | </div> |