<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>
</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>
</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>
</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>