aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@dev.(none)>2010-03-24 08:35:38 +0100
committerFrank Karlitschek <frank@dev.(none)>2010-03-24 08:35:38 +0100
commitb0d3a315aa235c4769bf452b9788e20d539654c9 (patch)
treec47724af90d7aa10aa5cdecdc931f5abc8680d0d
parentcc98dea4e4d1cda051c05a5d5838d9ca16d51822 (diff)
downloadnextcloud-server-b0d3a315aa235c4769bf452b9788e20d539654c9.tar.gz
nextcloud-server-b0d3a315aa235c4769bf452b9788e20d539654c9.zip
minor W3C aspects. Thanks to Charles
-rwxr-xr-xinc/templates/configform.php4
-rwxr-xr-xinc/templates/header.php2
-rwxr-xr-xinc/templates/loginform.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/inc/templates/configform.php b/inc/templates/configform.php
index c78006c375c..8a65474b44b 100755
--- a/inc/templates/configform.php
+++ b/inc/templates/configform.php
@@ -10,7 +10,7 @@ document.getElementById('dbAdminUser').style.display=(show)?'table-row':'none';
document.getElementById('dbAdminPwd').style.display=(show)?'table-row':'none';
}
</script>
-<form method="post" enctype="multipart/form-data">
+<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<table cellpadding="5" cellspacing="5" border="0" class="loginform">
<?php
if(!$FIRSTRUN){?>
@@ -35,4 +35,4 @@ document.getElementById('dbAdminPwd').style.display=(show)?'table-row':'none';
<tr><td>automaticly fill initial database:</td><td><input type="checkbox" name="filldb" size="30" class="formstyle" value='1' <?php if($FIRSTRUN) echo 'checked'; ?>></input></td></tr>
<tr><td></td><td><input type="submit" name="set_config" alt="save" value="save" class="formstyle" /></td></tr>
</table></form>
-<script type="text/javascript">showDBAdmin()</script> \ No newline at end of file
+<script type="text/javascript">showDBAdmin()</script>
diff --git a/inc/templates/header.php b/inc/templates/header.php
index 53bb838f61e..6412b6a098a 100755
--- a/inc/templates/header.php
+++ b/inc/templates/header.php
@@ -8,7 +8,7 @@
</head>
<body>
<?php
-echo('<h1><a id="owncloud-logo" href="/'.$WEBROOT.'/"><span>ownCloud</span></a></h1>');
+echo('<h1><a id="owncloud-logo" href="/'.$WEBROOT.'"><span>ownCloud</span></a></h1>');
// check if already configured. otherwise start configuration wizard
diff --git a/inc/templates/loginform.php b/inc/templates/loginform.php
index 9f5517431ae..41c86eef013 100755
--- a/inc/templates/loginform.php
+++ b/inc/templates/loginform.php
@@ -1,7 +1,7 @@
<?php
if(isset($loginresult) and $loginresult=='error') echo('<p class="errortext">login failed</p>');
?>
-<form method="post" enctype="multipart/form-data">
+<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
<table cellpadding="5" cellspacing="5" border="0" class="loginform">
<tr><td>login:</td><td><input type="text" name="login" size="30" class="formstyle"></input></td></tr>
<tr><td>password:</td><td><input type="password" name="password" size="30" class="formstyle"></input></td></tr>