RAMPKORV
public text v1 · immutable<?php
$vars['title'] = "Om oss";
$vars['sections_arr'] = loadsections('omoss');
foreach($vars['sections_arr'] as & $section) {
switch($section['title']) {
case 'Styrelsen':
while(preg_match('/^\s*[a-z][a-z0-9]*(\.[a-z0-9][a-z0-9-]*)*(\+[a-z0-9]*)?@[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)*\.[a-z]{2,6}\s*$/im',
$section['body'], $matches)) {
$section['body'] = str_replace($matches[0], gdprint($matches[0]), $section['body']);
}
continue;
break;
}
}
?>