From bf815b33908394fcda4fb6cb987caaca58b20fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20KUBLER?= Date: Wed, 9 Mar 2011 21:57:00 +0100 Subject: [PATCH] Fixed PHP syntax in template files. * Full PHP tags * Alternative syntax for control structures * Semi-colon at the end of instructions --- admin/templates/index.php | 2 +- admin/templates/plugins.php | 8 ++++---- admin/templates/users.php | 6 +++--- files/templates/index.php | 18 +++++++++--------- log/templates/index.php | 8 ++++---- templates/layout.admin.php | 28 ++++++++++++++-------------- templates/layout.guest.php | 14 +++++++------- templates/layout.user.php | 28 ++++++++++++++-------------- templates/login.php | 6 +++--- 9 files changed, 59 insertions(+), 59 deletions(-) diff --git a/admin/templates/index.php b/admin/templates/index.php index ad60ad0801..2ca7b0b2d3 100644 --- a/admin/templates/index.php +++ b/admin/templates/index.php @@ -7,6 +7,6 @@ diff --git a/admin/templates/plugins.php b/admin/templates/plugins.php index ef9ef4fa4e..8f5e87d3e8 100644 --- a/admin/templates/plugins.php +++ b/admin/templates/plugins.php @@ -18,10 +18,10 @@ - - - - + + + + enable diff --git a/admin/templates/users.php b/admin/templates/users.php index 6ad10cafc4..7aa93baf49 100644 --- a/admin/templates/users.php +++ b/admin/templates/users.php @@ -18,8 +18,8 @@ - - + + @@ -36,7 +36,7 @@ - + remove diff --git a/files/templates/index.php b/files/templates/index.php index fe7ec903c2..695a3c45a9 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -12,10 +12,10 @@ @@ -29,15 +29,15 @@ - + - - - + + + - +
)" href="" title="">)" href="" title=""> +
diff --git a/log/templates/index.php b/log/templates/index.php index be91fa00da..02fea0f87b 100644 --- a/log/templates/index.php +++ b/log/templates/index.php @@ -36,12 +36,12 @@ - + - - + + - + diff --git a/templates/layout.admin.php b/templates/layout.admin.php index b4fcc91588..ebf0a1f048 100644 --- a/templates/layout.admin.php +++ b/templates/layout.admin.php @@ -9,24 +9,24 @@ ownCloud - - - - - - + + + + + + @@ -34,14 +34,14 @@
- +
diff --git a/templates/layout.guest.php b/templates/layout.guest.php index a5ebf7a76a..a163a97103 100644 --- a/templates/layout.guest.php +++ b/templates/layout.guest.php @@ -9,16 +9,16 @@ ownCloud - - - - - - + + + + + + - +

ownCloud is an open personal cloud which runs on your personal server.
To learn more, please visit owncloud.org. diff --git a/templates/layout.user.php b/templates/layout.user.php index 0643c99e93..20fb3f88cd 100644 --- a/templates/layout.user.php +++ b/templates/layout.user.php @@ -9,24 +9,24 @@ ownCloud - - - - - - + + + + + +

@@ -34,14 +34,14 @@
- +
diff --git a/templates/login.php b/templates/login.php index 60b8dc0253..a165fc7246 100644 --- a/templates/login.php +++ b/templates/login.php @@ -4,13 +4,13 @@ */ ?>
- " alt="ownCloud" /> + " alt="ownCloud" />
- + Login failed! - +