mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-05-04 07:16:27 +02:00
show media input on discussion only if mms is enabled
This commit is contained in:
parent
7c85753bfa
commit
f992fe21bc
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@
|
|||
<?php if ($response_phone ) { ?>
|
||||
<input type="hidden" name="id_phone" value="<?php $this->s($response_phone['id']); ?>" />
|
||||
<?php } ?>
|
||||
<input name="medias[]" type="file" multiple />
|
||||
<?php if ($_SESSION['user']['settings']['mms'] ?? false) { ?>
|
||||
<input name="medias[]" type="file" multiple />
|
||||
<?php } ?>
|
||||
<button class="btn" ><span class="fa fa-fw fa-send-o"></span> Envoyer</button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue