diff options
-rw-r--r-- | admin/templates/index.php | 6 | ||||
-rw-r--r-- | admin/templates/plugins.php | 12 | ||||
-rw-r--r-- | admin/templates/users.php | 14 |
3 files changed, 16 insertions, 16 deletions
diff --git a/admin/templates/index.php b/admin/templates/index.php index 56f85cbbbc5..ad60ad08012 100644 --- a/admin/templates/index.php +++ b/admin/templates/index.php @@ -6,7 +6,7 @@ <h1>Administration</h1> <ul> - <? foreach( $_["adminpages"] as $i ){ ?> - <li><a href="<? echo link_to( $i["app"], $i["file"] ) ?>"><? echo $i["name"] ?></a></li> - <? } ?> + <?php foreach($_["adminpages"] as $i): ?> + <li><a href="<?php echo link_to($i["app"], $i["file"]) ?>"><?php echo $i["name"] ?></a></li> + <?php endforeach; ?> </ul> diff --git a/admin/templates/plugins.php b/admin/templates/plugins.php index 11eb569e3d7..ef9ef4fa4e9 100644 --- a/admin/templates/plugins.php +++ b/admin/templates/plugins.php @@ -17,12 +17,12 @@ </tr> </thead> <tbody> - <? foreach( $_["plugins"] as $plugin ){ ?> - <td><? echo $plugin["info"]["id"] ?></td> - <td><? echo $plugin["info"]["version"] ?></td> - <td><? echo $plugin["info"]["name"] ?></td> - <td><? echo $plugin["info"]["author"] ?></td> + <?php foreach($_["plugins"] as $plugin): ?> + <td><?php echo $plugin["info"]["id"] ?></td> + <td><?php echo $plugin["info"]["version"] ?></td> + <td><?php echo $plugin["info"]["name"] ?></td> + <td><?php echo $plugin["info"]["author"] ?></td> <td>enable</td> - <? } ?> + <?php endforeach; ?> </tbody> </table> diff --git a/admin/templates/users.php b/admin/templates/users.php index a5dccbe995c..6ad10cafc46 100644 --- a/admin/templates/users.php +++ b/admin/templates/users.php @@ -15,13 +15,13 @@ </tr> <thead> <tbody> - <? foreach( $_["users"] as $user ){ ?> + <?php foreach($_["users"] as $user): ?> <tr> <td><input type="checkbox"></td> - <td><? echo $user["name"] ?></td> - <td><? echo $user["groups"] ?></td> + <td><?php echo $user["name"] ?></td> + <td><?php echo $user["groups"] ?></td> </tr> - <? } ?> + <?php endforeach; ?> </tbody> </table> @@ -34,11 +34,11 @@ </tr> <thead> <tbody> - <? foreach( $_["groups"] as $group ){ ?> + <?php foreach($_["groups"] as $group): ?> <tr> - <td><? echo $group["name"] ?></td> + <td><?php echo $group["name"] ?></td> <td>remove</td> </tr> - <? } ?> + <?php endforeach; ?> </tbody> </table> |