aboutsummaryrefslogtreecommitdiff
path: root/src/view/templates/modify_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/templates/modify_block.php')
-rw-r--r--src/view/templates/modify_block.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/templates/modify_block.php b/src/view/templates/modify_block.php
index d855a4a..1da3176 100644
--- a/src/view/templates/modify_block.php
+++ b/src/view/templates/modify_block.php
@@ -1,7 +1,7 @@
1<?php declare(strict_types=1); ?> 1<?php declare(strict_types=1); ?>
2<div class="modify_one_block" id="bloc_edit_<?= $child_node->getId() ?>"> 2<div class="modify_one_block" id="bloc_edit_<?= $child_node->getId() ?>">
3 <div class="block_options"> 3 <div class="block_options">
4 <label for="bloc_rename_<?= $child_node->getId() ?>">Type <b><?= Blocks::$blocks[$child_node->getName()] ?? '<i>erreur base de données</i>' ?></b> 4 <label for="bloc_rename_<?= $child_node->getId() ?>">Type <b><?= App\Entity\Presentation::$blocks[$child_node->getName()] ?? '<i>erreur base de données</i>' ?></b>
5 </label> 5 </label>
6 <p> 6 <p>
7 <input type="text" id="bloc_rename_<?= $child_node->getId() ?>" name="bloc_rename_title" value="<?= $child_node->getNodeData()->getdata()['title'] ?>" required> 7 <input type="text" id="bloc_rename_<?= $child_node->getId() ?>" name="bloc_rename_title" value="<?= $child_node->getNodeData()->getdata()['title'] ?>" required>
@@ -31,7 +31,7 @@ if($child_node->getName() === 'news_block'){
31 </div> 31 </div>
32<?php 32<?php
33} 33}
34if(Blocks::hasPresentation($child_node->getName())){ 34if(App\Entity\Presentation::hasPresentation($child_node->getName())){
35?> 35?>
36 <div class="grid_options"> 36 <div class="grid_options">
37 <div> 37 <div>