Overview
SHA1:1694c75ab24db95f101203bf0dcdbbf02d9ad43d
Date: 2019-05-24 09:32:12
User: bohwaz
Comment:Correction : affichage du champ membre de type date au format français
Timelines: family | ancestors | descendants | both | trunk | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2019-05-26
13:40
[9f18af1dbe] Import / export de plan comptable au format JSON, à partir du patch envoyé par @adresse (user: bohwaz, tags: trunk, stable)
2019-05-24
09:32
[1694c75ab2] Correction : affichage du champ membre de type date au format français (user: bohwaz, tags: trunk, stable)
2019-05-10
10:44
[1e77de7740] Correction : ne pas autoriser les comptes vides ou NULL, merci à @zou via le ticket [9c3ea0c6aa8c18405e90b72b8eaf16b253a44612] (user: bohwaz, tags: trunk, stable)
Changes

Modified src/include/lib/Garradin/Template.php from [12d899a4cb] to [3def9bc1cf].

266
267
268
269
270
271
272


273
274
275
276
277
278
279
				return '<a href="mailto:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
			case 'tel':
				return '<a href="tel:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
			case 'url':
				return '<a href="' . htmlspecialchars($v) . '">' . htmlspecialchars($v) . '</a>';
			case 'country':
				return Utils::getCountryName($v);


			case 'multiple':
				$out = [];

				foreach ($config->options as $b => $name)
				{
					if ($v & (0x01 << $b))
						$out[] = $name;







>
>







266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
				return '<a href="mailto:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
			case 'tel':
				return '<a href="tel:' . rawurlencode($v) . '">' . htmlspecialchars($v) . '</a>';
			case 'url':
				return '<a href="' . htmlspecialchars($v) . '">' . htmlspecialchars($v) . '</a>';
			case 'country':
				return Utils::getCountryName($v);
			case 'date':
				return Utils::sqliteDateToFrench($v);
			case 'multiple':
				$out = [];

				foreach ($config->options as $b => $name)
				{
					if ($v & (0x01 << $b))
						$out[] = $name;