Even more sexy turnary statements!

This commit is contained in:
Marijn Jansen
2017-01-27 15:41:59 +01:00
parent 7e2c20e244
commit dc51ac5964

View File

@@ -56,12 +56,12 @@ $settings = getSettings();
<input type="radio" <input type="radio"
name="showBday" name="showBday"
value="1" value="1"
<?php echo ($settings["showBday"] ? "checked" : "")?> <?= ($settings["showBday"] ? "checked" : "")?>
> Ja > Ja
<input type="radio" <input type="radio"
name="showBday" name="showBday"
value="0" value="0"
<?php echo ($settings["showBday"] ? "" : "checked")?> <?= ($settings["showBday"] ? "" : "checked")?>
> Nee > Nee
</li> </li>
<li> <li>
@@ -69,12 +69,12 @@ $settings = getSettings();
<input type="radio" <input type="radio"
name="showEmail" name="showEmail"
value="1" value="1"
<?php echo ($settings["showEmail"] ? "checked" : "")?> <?= ($settings["showEmail"] ? "checked" : "")?>
> Ja > Ja
<input type="radio" <input type="radio"
name="showEmail" name="showEmail"
value="0" value="0"
<?php echo ($settings["showEmail"] ? "" : "checked")?> <?= ($settings["showEmail"] ? "" : "checked")?>
> Nee > Nee
</li> </li>
<li> <li>