From 8f0fb1ef7ef22b9c6fe3572de31f8b7c7b1ce5b9 Mon Sep 17 00:00:00 2001 From: "info@mschuette.name" Date: Mon, 26 May 2014 13:41:11 +0000 Subject: [PATCH] prepare method for ff_list --- freifunkmeta.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/freifunkmeta.php b/freifunkmeta.php index 76a8bc2..ea4e073 100644 --- a/freifunkmeta.php +++ b/freifunkmeta.php @@ -266,6 +266,10 @@ EOT; return $outstr; } + function output_ff_list() { + return 'here be some ff_list'; + } + function shortcode_handler($atts, $content, $shortcode) { // $atts[0] holds the city name, if given if (empty($atts[0])) { @@ -296,6 +300,9 @@ EOT; case 'ff_contact': $outstr .= $this->output_ff_contact($metadata); break; + case 'ff_list': + $outstr .= $this->output_ff_list(); + break; default: $outstr .= ""; break;