added custer menu for notice

This commit is contained in:
asus
2024-04-05 00:07:01 +02:00
parent f987c2a316
commit 926bdc8417
5 changed files with 1500 additions and 32 deletions

View File

@@ -1 +1,66 @@
<h1>heloooo</h1>
<style>
#custer_notice_html_wrapper {
margin: 15px 15px 15px 0px;
#custer_notice_html {
margin: 0px;
<?php echo $option_notice['style']; ?>
}
}
form.form_custer {
margin: 15px 15px 15px 0px;
border: 1px solid black;
padding: 15px;
details:not([open]) {
summary {
margin: 0px;
}
}
details {
summary {
h2 {
display: inline;
}
}
summary ~ * {
margin-top: 20px;
}
label {
display: block;
margin-bottom: 10px;
}
textarea {
resize: vertical;
height: 120px;
width: 100%;
}
}
}
</style>
<div id="custer_notice_html_wrapper">
<div id="custer_notice_html">
<?php echo $option_notice['html']; ?>
</div>
</div>
<?php echo Plgntls_custer::open_form_option($option_notice['_name'], 'POST', 'form_custer'); ?>
<details class="">
<summary><h2>modifier le mode d'emplois :</h2></summary>
<div class="">
<label for="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_style_custer">style : </label>
<textarea id="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_style_custer" name="style"><?php echo esc_html(stripslashes($option_notice['style'])); ?></textarea>
</div>
<div class="">
<label for="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_html_custer">html : </label>
<textarea id="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_html_custer" name="html"><?php echo esc_html(stripslashes($option_notice['html'])); ?></textarea>
</div>
<input type="submit" value="send"/>
</details>
</form>