summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorFrançois KUBLER <francois@kubler.org>2011-03-09 20:13:52 +0100
committerFrançois KUBLER <francois@kubler.org>2011-03-09 20:13:52 +0100
commit1935d85ef1200f7a73cccbca39f0b81ce411850c (patch)
treea1165bd108360760c9202f34bc6346e9d4a986ac /admin
parent39279350eb397296a3ac5e8ba795609f7a31fddf (diff)
downloadnextcloud-server-1935d85ef1200f7a73cccbca39f0b81ce411850c.tar.gz
nextcloud-server-1935d85ef1200f7a73cccbca39f0b81ce411850c.zip
Fixed some typos in admins templates.
* We have to use full tags (<?php) and not short tags (<?) * We have to use the alternative syntax for control structures (see http://www.php.net/manual/en/control-structures.alternative-syntax.php).
Diffstat (limited to 'admin')
-rw-r--r--admin/templates/index.php6
-rw-r--r--admin/templates/plugins.php12
-rw-r--r--admin/templates/users.php14
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>