";
foreach ($zones as $zone) {
$safeZone = htmlspecialchars($zone);
$html .= "
{$safeZone}
";
}
$html .= "
";
return $html;
}
/**
* Render the zone editor view.
*
* @param string $zone
* @param string $content
* @return string
*/
function render_zone_editor(string $zone, string $content): string {
$safeZone = htmlspecialchars($zone);
$safeContent = htmlspecialchars($content);
return "