|
@@ -228,9 +228,9 @@ discard block |
|
|
block discarded – undo |
228
|
228
|
<label class="ptype" for="gender">gender:</label>
|
229
|
229
|
<select id="gender" name="genders_0_value">
|
230
|
230
|
<option value=""></option>
|
231
|
|
- <option value="male"<?php echo ($oContact['genders'][0]['value'] ?? '') == 'male' ? ' selected' : '';?>>male</option>
|
232
|
|
- <option value="female"<?php echo ($oContact['genders'][0]['value'] ?? '') == 'female' ? ' selected' : '';?>>female</option>
|
233
|
|
- <option value="unspecified"<?php echo ($oContact['genders'][0]['value'] ?? '') == 'unspecified' ? ' selected' : '';?>>unspecified</option>
|
|
231
|
+ <option value="male"<?php echo ($oContact['genders'][0]['value'] ?? '') == 'male' ? ' selected' : ''; ?>>male</option>
|
|
232
|
+ <option value="female"<?php echo ($oContact['genders'][0]['value'] ?? '') == 'female' ? ' selected' : ''; ?>>female</option>
|
|
233
|
+ <option value="unspecified"<?php echo ($oContact['genders'][0]['value'] ?? '') == 'unspecified' ? ' selected' : ''; ?>>unspecified</option>
|
234
|
234
|
</select>
|
235
|
235
|
<br/>
|
236
|
236
|
</fieldset>
|
|
@@ -248,7 +248,7 @@ discard block |
|
|
block discarded – undo |
248
|
248
|
echo ' <input type="tel" id="' . $strField . '" name="' . $strFieldName . '" value="' . ($aPhone['value'] ?? '') . '">' . PHP_EOL;
|
249
|
249
|
echo ' <label class="ptype" for="' . $strType . '">type:</label>' . PHP_EOL;
|
250
|
250
|
echo ' <input class="ptype" type="text" id="' . $strType . '" name="' . $strTypeName . '" value="' . ($aPhone['type'] ?? 'other') . '">' . PHP_EOL;
|
251
|
|
- echo ' <input type="radio" name="phoneNumbers" value="' . ($i-1) . '"' . $strPrimary . '> primary phone' . PHP_EOL;
|
|
251
|
+ echo ' <input type="radio" name="phoneNumbers" value="' . ($i - 1) . '"' . $strPrimary . '> primary phone' . PHP_EOL;
|
252
|
252
|
echo ' <br/>' . PHP_EOL;
|
253
|
253
|
}
|
254
|
254
|
?>
|
|
@@ -267,7 +267,7 @@ discard block |
|
|
block discarded – undo |
267
|
267
|
echo ' <input class="mail" type="text" id="' . $strField . '" name="' . $strFieldName . '" value="' . ($aMail['value'] ?? '') . '">' . PHP_EOL;
|
268
|
268
|
echo ' <label class="ptype" for="' . $strType . '">type:</label>' . PHP_EOL;
|
269
|
269
|
echo ' <input class="ptype" type="text" id="' . $strType . '" name="' . $strTypeName . '" value="' . ($aMail['type'] ?? 'other') . '">' . PHP_EOL;
|
270
|
|
- echo ' <input type="radio" name="emailAddresses" value="' . ($i-1) . '"' . $strPrimary . '> primary email' . PHP_EOL;
|
|
270
|
+ echo ' <input type="radio" name="emailAddresses" value="' . ($i - 1) . '"' . $strPrimary . '> primary email' . PHP_EOL;
|
271
|
271
|
echo ' <br/>' . PHP_EOL;
|
272
|
272
|
}
|
273
|
273
|
?>
|
|
@@ -295,23 +295,23 @@ discard block |
|
|
block discarded – undo |
295
|
295
|
}
|
296
|
296
|
$strPrimary = $oContact->isPrimaryItem($aAdr) ? ' checked' : '';
|
297
|
297
|
echo ' <label for="adrType' . $i . '">type:</label>' . PHP_EOL;
|
298
|
|
- echo ' <input class="ptype" type="text" id="adrType' . $i . '" name="addresses_' . ($i-1) . '_type" value="' . ($aAdr['type'] ?? 'home') . '">' . PHP_EOL;
|
299
|
|
- echo ' <input type="radio" name="addresses" value="' . ($i-1) . '"' . $strPrimary . '> primary address' . PHP_EOL;
|
|
298
|
+ echo ' <input class="ptype" type="text" id="adrType' . $i . '" name="addresses_' . ($i - 1) . '_type" value="' . ($aAdr['type'] ?? 'home') . '">' . PHP_EOL;
|
|
299
|
+ echo ' <input type="radio" name="addresses" value="' . ($i - 1) . '"' . $strPrimary . '> primary address' . PHP_EOL;
|
300
|
300
|
echo ' <br/>' . PHP_EOL;
|
301
|
301
|
echo ' <label for="adrStreet' . $i . '">adrStreet:</label>' . PHP_EOL;
|
302
|
|
- echo ' <input class="city" type="text" id="adrStreet' . $i . '" name="addresses_' . ($i-1) . '_streetAddress" value="' . ($aAdr['streetAddress'] ?? '') . '">' . PHP_EOL;
|
303
|
|
- echo ' <input class="ptype" type="text" id="extendedAddress' . $i . '" name="addresses_' . ($i-1) . '_extendedAddress" value="' . ($aAdr['extendedAddress'] ?? '') . '">' . PHP_EOL;
|
|
302
|
+ echo ' <input class="city" type="text" id="adrStreet' . $i . '" name="addresses_' . ($i - 1) . '_streetAddress" value="' . ($aAdr['streetAddress'] ?? '') . '">' . PHP_EOL;
|
|
303
|
+ echo ' <input class="ptype" type="text" id="extendedAddress' . $i . '" name="addresses_' . ($i - 1) . '_extendedAddress" value="' . ($aAdr['extendedAddress'] ?? '') . '">' . PHP_EOL;
|
304
|
304
|
echo ' <br/>' . PHP_EOL;
|
305
|
305
|
echo ' <label for="adrPostcode' . $i . '">adrPostcode/adrCity:</label>' . PHP_EOL;
|
306
|
|
- echo ' <input class="ptype" type="text" id="adrPostcode' . $i . '" name="addresses_' . ($i-1) . '_postalCode" value="' . ($aAdr['postalCode'] ?? '') . '">' . PHP_EOL;
|
307
|
|
- echo ' <input class="city" type="text" id="adrCity' . $i . '" name="addresses_' . ($i-1) . '_city" value="' . ($aAdr['city'] ?? '') . '">' . PHP_EOL;
|
|
306
|
+ echo ' <input class="ptype" type="text" id="adrPostcode' . $i . '" name="addresses_' . ($i - 1) . '_postalCode" value="' . ($aAdr['postalCode'] ?? '') . '">' . PHP_EOL;
|
|
307
|
+ echo ' <input class="city" type="text" id="adrCity' . $i . '" name="addresses_' . ($i - 1) . '_city" value="' . ($aAdr['city'] ?? '') . '">' . PHP_EOL;
|
308
|
308
|
echo ' <br/>' . PHP_EOL;
|
309
|
309
|
echo ' <label for="adrCountry' . $i . '">adrCountry/Code:</label>' . PHP_EOL;
|
310
|
|
- echo ' <input class="city" type="text" id="adrCountry' . $i . '" name="addresses_' . ($i-1) . '_country" value="' . ($aAdr['country'] ?? '') . '">' . PHP_EOL;
|
311
|
|
- echo ' <input class="ptype" type="text" id="adrCountryCode' . $i . '" name="addresses_' . ($i-1) . '_countryCode" value="' . ($aAdr['countryCode'] ?? '') . '">' . PHP_EOL;
|
|
310
|
+ echo ' <input class="city" type="text" id="adrCountry' . $i . '" name="addresses_' . ($i - 1) . '_country" value="' . ($aAdr['country'] ?? '') . '">' . PHP_EOL;
|
|
311
|
+ echo ' <input class="ptype" type="text" id="adrCountryCode' . $i . '" name="addresses_' . ($i - 1) . '_countryCode" value="' . ($aAdr['countryCode'] ?? '') . '">' . PHP_EOL;
|
312
|
312
|
echo ' <br/>' . PHP_EOL;
|
313
|
313
|
echo ' <label for="adrPOBox' . $i . '">adrPOBox:</label>' . PHP_EOL;
|
314
|
|
- echo ' <input type="text" id="adrPOBox' . $i . '" name="addresses_' . ($i-1) . '_poBox" value="' . ($aAdr['poBox'] ?? '') . '">' . PHP_EOL;
|
|
314
|
+ echo ' <input type="text" id="adrPOBox' . $i . '" name="addresses_' . ($i - 1) . '_poBox" value="' . ($aAdr['poBox'] ?? '') . '">' . PHP_EOL;
|
315
|
315
|
echo ' <br/>' . PHP_EOL;
|
316
|
316
|
}
|
317
|
317
|
?>
|