Overview
Comment: | Corrige élément sélectionné dans les champs membres de type <select> |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
22ea4885911173a732797054450b811a |
User & Date: | bohwaz on 2018-11-28 16:36:59 |
Other Links: | manifest | tags |
Context
2018-11-28
| ||
21:02 | Correctif recherche avancée check-in: bfe170eb47 user: bohwaz tags: trunk, stable | |
16:36 | Corrige élément sélectionné dans les champs membres de type <select> check-in: 22ea488591 user: bohwaz tags: trunk, stable | |
16:26 | Ne pas vérifier l'email si vide check-in: 9031386c21 user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Template.php from [808469b185] to [86d1b59d2c].
︙ | |||
143 144 145 146 147 148 149 | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | - + | { return ''; } return '<p class="error">' . $this->escape($params['message']) . '</p>'; } |
︙ | |||
187 188 189 190 191 192 193 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | - + | { if ($value == $params['selected']) return ' selected="selected" '; return ''; } |
︙ | |||
310 311 312 313 314 315 316 | 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 | - + | } elseif ($type == 'date') { $params['pattern'] = '\d{4}-\d{2}-\d{2}'; } $field = ''; |
︙ | |||
384 385 386 387 388 389 390 | 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 | - + - + | . htmlspecialchars($params['name'], ENT_QUOTES, 'UTF-8') . '[' . (int)$k . ']" value="1" ' . (($value & $b) ? 'checked="checked"' : '') . ' ' . $attributes . '/> ' . htmlspecialchars($v, ENT_QUOTES, 'UTF-8') . '</label><br />'; } } elseif ($type == 'textarea') { |
︙ |