| Line 102... |
Line 102... |
| 102 |
|
102 |
|
| 103 |
<div class="register-section row" id="profile-details-description-section">
|
103 |
<div class="register-section row" id="profile-details-description-section">
|
| 104 |
<h2>Description</h2>
|
104 |
<h2>Description</h2>
|
| 105 |
<div class="col-sm-12 mb-3">
|
105 |
<div class="col-sm-12 mb-3">
|
| 106 |
<label for="titre">Titre</label>
|
106 |
<label for="titre">Titre</label>
|
| 107 |
<input type="text" name="titre" id="titre" class="form-control" value="<?php echo isset( $widget['titre'] ) ? $widget['titre'] : ''; ?>">
|
107 |
<input type="text" name="titre" id="titre" class="form-control" value="<?php echo isset( $widget['titre'] ) ? htmlspecialchars( $widget['titre']) : ''; ?>">
|
| Line 108... |
Line 108... |
| 108 |
</div>
|
108 |
</div>
|
| 109 |
|
109 |
|
| Line 123... |
Line 123... |
| 123 |
$info_img = '';
|
123 |
$info_img = '';
|
| 124 |
$info_hidden = ' hidden';
|
124 |
$info_hidden = ' hidden';
|
| 125 |
endif;
|
125 |
endif;
|
| 126 |
?>
|
126 |
?>
|
| Line 127... |
Line 127... |
| 127 |
|
127 |
|
| 128 |
<input type="file" class="input-file" name="info" id="info" value="<?= $widget['titre']; ?>" accept="image/*">
|
128 |
<input type="file" class="input-file" name="info" id="info" accept="image/*">
|
| 129 |
<label for="info" class="label-file "><i class="fas fa-download"></i> Aide dans le titre</label>
|
129 |
<label for="info" class="label-file "><i class="fas fa-download"></i> Aide dans le titre</label>
|
| 130 |
</div>
|
130 |
</div>
|
| 131 |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div>
|
131 |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div>
|
| 132 |
<div class="file-return info <?php echo $info_hidden; ?>">
|
132 |
<div class="file-return info <?php echo $info_hidden; ?>">
|
| Line 135... |
Line 135... |
| 135 |
</div>
|
135 |
</div>
|
| 136 |
</div>
|
136 |
</div>
|
| Line 137... |
Line 137... |
| 137 |
|
137 |
|
| 138 |
<div class="col-sm-12 mb-3">
|
138 |
<div class="col-sm-12 mb-3">
|
| 139 |
<label for="description">Description</label>
|
139 |
<label for="description">Description</label>
|
| 140 |
<textarea name="description" id="description" class="form-control"><?php echo isset( $widget['description'] ) ? $widget['description'] : ''; ?></textarea>
|
140 |
<textarea name="description" id="description" class="form-control"><?php echo isset( $widget['description'] ) ? htmlspecialchars( $widget['description'] ) : ''; ?></textarea>
|
| Line 141... |
Line 141... |
| 141 |
</div>
|
141 |
</div>
|
| 142 |
|
142 |
|
| Line 186... |
Line 186... |
| 186 |
$image_fond_img = '';
|
186 |
$image_fond_img = '';
|
| 187 |
$image_fond_hidden = ' hidden';
|
187 |
$image_fond_hidden = ' hidden';
|
| 188 |
endif;
|
188 |
endif;
|
| 189 |
?>
|
189 |
?>
|
| Line 190... |
Line 190... |
| 190 |
|
190 |
|
| 191 |
<input type="file" class="input-file" name="image_fond" id="image_fond" value="<?= $widget['titre']; ?>" accept="image/*">
|
191 |
<input type="file" class="input-file" name="image_fond" id="image_fond" accept="image/*">
|
| 192 |
<label for="image_fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label>
|
192 |
<label for="image_fond" class="label-file"><i class="fas fa-download"></i> Image de fond</label>
|
| 193 |
</div>
|
193 |
</div>
|
| 194 |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div>
|
194 |
<div class="btn btn-danger btn-sm remove-file" name="remove-file" title="Supprimer le fichier"><i class="fas fa-times" aria-hidden="true"></i></div>
|
| 195 |
<div class="file-return image_fond <?php echo $image_fond_hidden; ?>">
|
195 |
<div class="file-return image_fond <?php echo $image_fond_hidden; ?>">
|
| Line 211... |
Line 211... |
| 211 |
</select>
|
211 |
</select>
|
| 212 |
</div>
|
212 |
</div>
|
| Line 213... |
Line 213... |
| 213 |
|
213 |
|
| 214 |
<div class="col-sm-12 mb-3">
|
214 |
<div class="col-sm-12 mb-3">
|
| 215 |
<label for="localisation">Zoom</label>
|
215 |
<label for="localisation">Zoom</label>
|
| 216 |
<input type="text" name="localisation" id="localisation" class="form-control" value="<?php echo isset( $widget['localisation'] ) ? $widget['localisation'] : ''; ?>" />
|
216 |
<input type="text" name="localisation" id="localisation" class="form-control" value="<?php echo isset( $widget['localisation'] ) ? htmlspecialchars($widget['localisation'] ) : ''; ?>" />
|
| Line 217... |
Line 217... |
| 217 |
</div>
|
217 |
</div>
|
| 218 |
|
218 |
|
| 219 |
<div class="col-sm-12 mb-3">
|
219 |
<div class="col-sm-12 mb-3">
|