Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
email: hide checkbox to add email to database
Browse files Browse the repository at this point in the history
- checkbox hidden & checked by default
- text / description was adjusted depending on config

Change-Id: I672142f2ef871f464d2e5b6d88595ae78bee4648
  • Loading branch information
andi34 committed Jul 7, 2022
1 parent 9f814ae commit 01b8da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/send-mail.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<input id="mail-form-image" type="hidden" name="image" value="">

<?php if ($config['mail']['send_all_later']): ?>
<input type="checkbox" id="mail-form-send-link" name="send-link" value="yes">
<label data-i18n="sendAllMail" for="mail-form-send-link"></label>
<input type="checkbox" id="mail-form-send-link" name="send-link" checked="checked" value="yes" style="opacity: 0">
<label data-i18n="sendAllMail" for="mail-form-send-link" style="opacity: 0"></label>
<button class="mail-form-input btn rotaryfocus" name="submit" type="submit" value="Send"><span data-i18n="add"></span></button>
<?php else: ?>
<button class="mail-form-input btn rotaryfocus" name="submit" type="submit" value="Send"><span data-i18n="send"></span></button>
Expand Down

0 comments on commit 01b8da7

Please sign in to comment.