From b1342025240501e6db4dac6b00002ee50221b124 Mon Sep 17 00:00:00 2001 From: 4ndr3 <4ndr3@users.noreply.github.com> Date: Sat, 10 Oct 2015 15:28:47 +0200 Subject: [PATCH] Ausgabe der Dienste tabellarisiert --- freifunkmeta.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/freifunkmeta.php b/freifunkmeta.php index 7faa142..72ea73f 100644 --- a/freifunkmeta.php +++ b/freifunkmeta.php @@ -294,15 +294,16 @@ EOT; return ''; } $services = $citydata['services']; - $outstr = ''; + $outstr = ''; + foreach ( $services as $service ) { + $outstr .= sprintf( + '', + $service['serviceName'], $service['serviceDescription'], + $service['internalUri'], $service['internalUri'], + $service['externalUri'], $service['externalUri'] + ); + } + $outstr .= '
DienstBeschreibungFreifunk URIInternet URI
%s%s%s%s
'; return $outstr; }