[gnome-web-www] Manage disabled param in input box too
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www] Manage disabled param in input box too
- Date: Fri, 7 Jun 2019 08:32:25 +0000 (UTC)
commit 9dbfa43dbddbc1be60187bcea293587926aec759
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Jun 7 10:32:20 2019 +0200
Manage disabled param in input box too
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 ef0110a..952f939 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);?>" disabled />
+ <input name="gnome_username" id="gnome_username" type="text" placeholder="What do you want your username
to be?" value="<?php echo htmlspecialchars($gnome_username);?>" <?php echo (isset($gnome_mail_alias)?
'disabled':''; />
</div>
<div class="item benefits">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]