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