summaryrefslogtreecommitdiffstats
path: root/templates/layout.user.php
diff options
context:
space:
mode:
authorFrançois KUBLER <francois@kubler.org>2011-03-09 21:57:00 +0100
committerFrançois KUBLER <francois@kubler.org>2011-03-09 21:57:00 +0100
commitbf815b33908394fcda4fb6cb987caaca58b20fd0 (patch)
tree6238b364efdad687e6aeb69e6111cbd7af06776f /templates/layout.user.php
parent1935d85ef1200f7a73cccbca39f0b81ce411850c (diff)
downloadnextcloud-server-bf815b33908394fcda4fb6cb987caaca58b20fd0.tar.gz
nextcloud-server-bf815b33908394fcda4fb6cb987caaca58b20fd0.zip
Fixed PHP syntax in template files.
* Full PHP tags * Alternative syntax for control structures * Semi-colon at the end of instructions
Diffstat (limited to 'templates/layout.user.php')
-rw-r--r--templates/layout.user.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/templates/layout.user.php b/templates/layout.user.php
index 0643c99e933..20fb3f88cd6 100644
--- a/templates/layout.user.php
+++ b/templates/layout.user.php
@@ -9,24 +9,24 @@
<title>ownCloud</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" />
- <? foreach( $_["cssfiles"] as $cssfile ){ ?>
- <link rel="stylesheet" href="<? echo $cssfile ?>" type="text/css" media="screen" />
- <? } ?>
- <? foreach( $_["jsfiles"] as $jsfile ){ ?>
- <script type="text/javascript" src="<? echo $jsfile ?>"></script>
- <? } ?>
+ <?php foreach($_["cssfiles"] as $cssfile): ?>
+ <link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
+ <?php endforeach; ?>
+ <?php foreach($_["jsfiles"] as $jsfile): ?>
+ <script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
+ <?php endforeach; ?>
</head>
<body>
<div id="header">
- <a href="<? echo link_to( "", "index.php" )?>" title="" id="owncloud"><img src="<? echo image_path( "", "owncloud-logo-small-white.png" ) ?>" alt="ownCloud" /></a>
+ <a href="<?php echo link_to("", "index.php"); ?>" title="" id="owncloud"><img src="<?php echo image_path("", "owncloud-logo-small-white.png"); ?>" alt="ownCloud" /></a>
<div id="user">
<a id="user_menu_link" href="" title="">Username</a>
<ul id="user_menu">
- <? foreach( $_["personalmenu"] as $entry ){ ?>
- <li><a href="<? echo link_to( $entry["app"], $entry["file"] )?>" title=""><? echo $entry["name"] ?></a></li>
- <? } ?>
+ <?php foreach($_["personalmenu"] as $entry): ?>
+ <li><a href="<?php echo link_to($entry["app"], $entry["file"]); ?>" title=""><?php echo $entry["name"]; ?></a></li>
+ <?php endforeach; ?>
</ul>
</div>
</div>
@@ -34,14 +34,14 @@
<div id="main">
<div id="plugins">
<ul>
- <? foreach( $_["navigation"] as $entry ){ ?>
- <li><a href="<? echo link_to( $entry["app"], $entry["file"] )?>" title=""><? echo $entry["name"] ?></a></li>
- <? } ?>
+ <?php foreach($_["navigation"] as $entry): ?>
+ <li><a href="<?php echo link_to($entry["app"], $entry["file"]); ?>" title=""><?php echo $entry["name"]; ?></a></li>
+ <?php endforeach; ?>
</ul>
</div>
<div id="content">
- <? echo $_["content"] ?>
+ <?php echo $_["content"]; ?>
</div>
</div>
</body>