Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update contact3.php #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions contact3/layout/contact3.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@
<input type="hidden" name="tokenCSRF" value="<?php echo $security->getTokenCSRF(); ?>">

<div class="form-group">
<input id="name" type="text" name="name" value="<?php echo sanitize::html($this->senderName); ?>" placeholder="<?php echo $L->get('Your Name'); ?>" class="form-control" required>
<label for="name"><?php echo $L->get('Your Name'); ?></label>
<input id="name" type="text" name="name" value="<?php echo sanitize::html($this->senderName); ?>" class="form-control" required>
</div>

<div class="form-group">
<input id="email" type="email" name="email" value="<?php echo sanitize::email($this->senderEmail); ?>" placeholder="<?php echo $L->get('Your Email'); ?>" class="form-control" required>
<label for="email"><?php echo $L->get('Your Email'); ?></label>
<input id="email" type="email" name="email" value="<?php echo sanitize::email($this->senderEmail); ?>" class="form-control" required>
</div>

<div class="form-group">
<textarea id="message" rows="6" name="message" placeholder="<?php echo $L->get('Your Message'); ?>" class="form-control" required><?php echo sanitize::html($this->message); ?></textarea>
<label for="message"><?php echo $L->get('Your Message'); ?></label>
<textarea id="message" rows="6" name="message" class="form-control" required><?php echo sanitize::html($this->message); ?></textarea>
</div>

<?php if ($this->getValue('gdpr-checkbox')): ?>
Expand All @@ -44,4 +47,4 @@


<button id="submit" name="submit" type="submit" class="btn btn-primary"><?php echo $L->get('Send'); ?></button>
</form>
</form>