[gnome-web-www] Another attempt #3
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www] Another attempt #3
- Date: Fri, 7 Jun 2019 08:41:00 +0000 (UTC)
commit f296657c8d2026ebe07fdb33be8daca165704ff9
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Jun 7 10:40:58 2019 +0200
Another attempt #3
theme/page-apply.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index fe88123..c71a26c 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -139,7 +139,7 @@ if (array_key_exists('submit', $_POST)) {
<div class="item benefits">
<input name="gnome_mail_alias" id="gnome_mail_alias" type="checkbox" onClick="toggleBenefitsFields()"
<?php echo (isset($gnome_mail_alias) ? 'checked="checked"':'') ;?> /> @gnome.org mail alias
- <input name="gnome_username" id="gnome_username" type="text" placeholder="What do you want your username
to be?" value=<?php echo "{htmlspecialchars($gnome_username)}";?> />
+ <input name="gnome_username" id="gnome_username" type="text" placeholder="What do you want your username
to be?" <?php echo (isset($gnome_mail_alias) ? "value='$gnome_username'" :'disabled') ;?> />
</div>
<div class="item benefits">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]