custer v 0.2.3 added menu with notice
This commit is contained in:
@@ -7,12 +7,13 @@
|
||||
}
|
||||
}
|
||||
form.form_custer {
|
||||
margin: 15px 15px 15px 0px;
|
||||
margin: 50px 15px 15px 0px;
|
||||
border: 1px solid black;
|
||||
padding: 15px;
|
||||
details:not([open]) {
|
||||
summary {
|
||||
margin: 0px;
|
||||
cursor: grab;
|
||||
}
|
||||
}
|
||||
details {
|
||||
@@ -30,8 +31,13 @@
|
||||
}
|
||||
textarea {
|
||||
resize: vertical;
|
||||
height: 120px;
|
||||
width: 100%;
|
||||
&.notice_style_custer {
|
||||
height: 120px;
|
||||
}
|
||||
&.notice_html_custer {
|
||||
height: 500px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,25 +48,27 @@
|
||||
|
||||
<div id="custer_notice_html_wrapper">
|
||||
<div id="custer_notice_html">
|
||||
<?php echo $option_notice['html']; ?>
|
||||
<?php echo wp_unslash($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>
|
||||
<?php if (current_user_can('administrator')) { ?>
|
||||
<?php echo Plgntls_custer::open_form_option($option_notice['_name'], 'POST', 'form_custer'); ?>
|
||||
<details class="">
|
||||
<summary><h2>modifier ce 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>
|
||||
<label for="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_style_custer">style : </label>
|
||||
<textarea class="notice_style_custer" 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>
|
||||
<div>
|
||||
<label for="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_html_custer">html : </label>
|
||||
<textarea class="notice_html_custer" 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>
|
||||
<input type="submit" value="send"/>
|
||||
</details>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user