mirror of
https://github.com/itflow-org/itflow
synced 2026-03-19 20:24:51 +00:00
Hide the 'send user email' section of the user add modal if SMTP isn't setup
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
<input type="file" class="form-control-file" accept="image/*;capture=camera" name="file">
|
<input type="file" class="form-control-file" accept="image/*;capture=camera" name="file">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group" <?php if(empty($config_smtp_host)) { echo "hidden"; } ?>>
|
||||||
<div class="custom-control custom-checkbox">
|
<div class="custom-control custom-checkbox">
|
||||||
<input class="custom-control-input" type="checkbox" id="sendEmailCheckBox" name="send_email" value="" checked>
|
<input class="custom-control-input" type="checkbox" id="sendEmailCheckBox" name="send_email" value="" checked>
|
||||||
<label for="sendEmailCheckBox" class="custom-control-label">
|
<label for="sendEmailCheckBox" class="custom-control-label">
|
||||||
|
|||||||
Reference in New Issue
Block a user