From 88df5fcd04e0a5d09e99afbca5be9b97e86d373a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20KUBLER?= <francois@kubler.org> Date: Wed, 9 Mar 2011 23:30:55 +0100 Subject: [PATCH] Fixed PHP syntax in skeleton template files. --- skeleton/templates/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skeleton/templates/index.php b/skeleton/templates/index.php index f8d8440817..fb0544e76e 100644 --- a/skeleton/templates/index.php +++ b/skeleton/templates/index.php @@ -5,8 +5,8 @@ ?> <h1>Skeleton</h1> -<? foreach( $_["array"] as $item ){ ?> - <p><? echo $item ?></p> -<? } ?> +<?php foreach($_["array"] as $item): ?> + <p><?php echo $item; ?></p> +<?php endforeach; ?> -<? echo $_["anothervar"] ?> +<?php echo $_["anothervar"]; ?> -- GitLab