[gnome-web-www] Another attempt



commit 472dadc2f63247564d062a1e069bff6c61808ca4
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Fri Jun 7 11:01:47 2019 +0200

    Another attempt

 theme/page-apply.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index d218110..90f953b 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -143,7 +143,10 @@ if (array_key_exists('submit', $_POST)) {
 </div>
 
 <div class="item benefits">
-    <input name="gnome_jabber" id="gnome_jabber" type="checkbox" <?php echo ( isset($gnome_mail_alias)? 
(isset($gnome_jabber)? 'checked' : '') : 'disabled' ) ;?> />
+    <input name="gnome_jabber" id="gnome_jabber" type="checkbox"
+        <?php echo ( isset($gnome_mail_alias)? '' : 'disabled' ) ?>
+        <?php echo ( isset($gnome_jabber)? 'checked' : '' ) ?> />
+
     <span name="jabber_label" id="jabber_label" class="disabled-checkbox">Jabber account <em>(only if you 
adopt a @gnome.org mail alias)</em></span>
 </div>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]