summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorVolker E <volker.e@temporaer.net>2015-03-17 23:57:23 +0100
committerVolker E <volker.e@temporaer.net>2015-03-17 23:57:23 +0100
commit6ad76b5cc2a31545c7466ec1d6c18ac2bbf0dd09 (patch)
tree7996d4451c01f8656baa12658ab6a72d167be377 /core/templates
parent25b77159c453f72efd1e2c622fc4c4046816ca84 (diff)
downloadnextcloud-server-6ad76b5cc2a31545c7466ec1d6c18ac2bbf0dd09.tar.gz
nextcloud-server-6ad76b5cc2a31545c7466ec1d6c18ac2bbf0dd09.zip
addressing #14982 self-closing tags ending slash doesn't have a purpose & should be removed
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/403.php2
-rw-r--r--core/templates/404.php2
-rw-r--r--core/templates/error.php2
-rw-r--r--core/templates/installation.php28
-rw-r--r--core/templates/layout.base.php8
-rw-r--r--core/templates/layout.guest.php8
-rw-r--r--core/templates/layout.user.php10
-rw-r--r--core/templates/login.php12
-rw-r--r--core/templates/singleuser.user.php8
-rw-r--r--core/templates/tags.html4
-rw-r--r--core/templates/untrustedDomain.php6
-rw-r--r--core/templates/update.user.php8
12 files changed, 49 insertions, 49 deletions
diff --git a/core/templates/403.php b/core/templates/403.php
index 6e910fd2e82..a19009c3546 100644
--- a/core/templates/403.php
+++ b/core/templates/403.php
@@ -9,7 +9,7 @@ if(!isset($_)) {//also provide standalone error page
?>
<ul>
<li class='error'>
- <?php p($l->t( 'Access forbidden' )); ?><br/>
+ <?php p($l->t( 'Access forbidden' )); ?><br>
<p class='hint'><?php if(isset($_['file'])) p($_['file'])?></p>
</li>
</ul>
diff --git a/core/templates/404.php b/core/templates/404.php
index 90912844ef9..c8d16e3e8f7 100644
--- a/core/templates/404.php
+++ b/core/templates/404.php
@@ -14,7 +14,7 @@ if(!isset($_)) {//also provide standalone error page
<?php else: ?>
<ul>
<li class="error">
- <?php p($l->t('File not found')); ?><br/>
+ <?php p($l->t('File not found')); ?><br>
<p class="hint"><?php p($l->t('The specified document has not been found on the server.')); ?></p>
<p class="hint"><a href="<?php p(OC_Helper::linkTo('', 'index.php')) ?>"><?php p($l->t('You can click here to return to %s.', array($theme->getName()))); ?></a></p>
</li>
diff --git a/core/templates/error.php b/core/templates/error.php
index 030fbf07fcb..6e044b72414 100644
--- a/core/templates/error.php
+++ b/core/templates/error.php
@@ -1,7 +1,7 @@
<ul class="error-wide">
<?php foreach($_["errors"] as $error):?>
<li class='error'>
- <?php p($error['error']) ?><br/>
+ <?php p($error['error']) ?><br>
<?php if(isset($error['hint']) && $error['hint']): ?>
<p class='hint'><?php print_unescaped($error['hint']) ?></p>
<?php endif;?>
diff --git a/core/templates/installation.php b/core/templates/installation.php
index f8311fed009..54c490c544e 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -42,18 +42,18 @@ script('core', [
<input type="text" name="adminlogin" id="adminlogin"
placeholder="<?php p($l->t( 'Username' )); ?>"
value="<?php p($_['adminlogin']); ?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required />
+ autocomplete="off" autocapitalize="off" autocorrect="off" autofocus required>
<label for="adminlogin" class="infield"><?php p($l->t( 'Username' )); ?></label>
- <img class="svg" src="<?php p(image_path('', 'actions/user.svg')); ?>" alt="" />
+ <img class="svg" src="<?php p(image_path('', 'actions/user.svg')); ?>" alt="">
</p>
<p class="groupbottom">
<input type="password" name="adminpass" data-typetoggle="#show" id="adminpass"
placeholder="<?php p($l->t( 'Password' )); ?>"
value="<?php p($_['adminpass']); ?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" required />
+ autocomplete="off" autocapitalize="off" autocorrect="off" required>
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
- <img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="" />
- <input type="checkbox" id="show" name="show" />
+ <img class="svg" id="adminpass-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt="">
+ <input type="checkbox" id="show" name="show">
<label for="show"></label>
<div class="strengthify-wrapper"></div>
</p>
@@ -72,7 +72,7 @@ script('core', [
<input type="text" name="directory" id="directory"
placeholder="<?php p(OC::$SERVERROOT.'/data'); ?>"
value="<?php p($_['directory']); ?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="off" autocorrect="off">
</div>
</fieldset>
<?php endif; ?>
@@ -86,7 +86,7 @@ script('core', [
<?php foreach($_['databases'] as $type => $label): ?>
<?php if(count($_['databases']) === 1): ?>
<p class="info"><?php p($l->t( 'Only %s is available.', array($label) )); ?>.</p>
- <input type="hidden" id="dbtype" name="dbtype" value="<?php p($type) ?>" />
+ <input type="hidden" id="dbtype" name="dbtype" value="<?php p($type) ?>">
<?php else: ?>
<input type="radio" name="dbtype" value="<?php p($type) ?>" id="<?php p($type) ?>"
<?php print_unescaped($_['dbtype'] === $type ? 'checked="checked" ' : '') ?>/>
@@ -104,15 +104,15 @@ script('core', [
<input type="text" name="dbuser" id="dbuser"
placeholder="<?php p($l->t( 'Database user' )); ?>"
value="<?php p($_['dbuser']); ?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="off" autocorrect="off">
</p>
<p class="groupmiddle">
<input type="password" name="dbpass" id="dbpass" data-typetoggle="#dbpassword"
placeholder="<?php p($l->t( 'Database password' )); ?>"
value="<?php p($_['dbpass']); ?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="off" autocorrect="off">
<label for="dbpass" class="infield"><?php p($l->t( 'Database password' )); ?></label>
- <input type="checkbox" id="dbpassword" name="dbpassword" />
+ <input type="checkbox" id="dbpassword" name="dbpassword">
<label for="dbpassword"></label>
</p>
<p class="groupmiddle">
@@ -121,7 +121,7 @@ script('core', [
placeholder="<?php p($l->t( 'Database name' )); ?>"
value="<?php p($_['dbname']); ?>"
autocomplete="off" autocapitalize="off" autocorrect="off"
- pattern="[0-9a-zA-Z$_-]+" />
+ pattern="[0-9a-zA-Z$_-]+">
</p>
<?php if($_['hasOracle']): ?>
<div id="use_oracle_db">
@@ -130,7 +130,7 @@ script('core', [
<input type="text" name="dbtablespace" id="dbtablespace"
placeholder="<?php p($l->t( 'Database tablespace' )); ?>"
value="<?php p($_['dbtablespace']); ?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="off" autocorrect="off">
</p>
</div>
<?php endif; ?>
@@ -139,7 +139,7 @@ script('core', [
<input type="text" name="dbhost" id="dbhost"
placeholder="<?php p($l->t( 'Database host' )); ?>"
value="<?php p($_['dbhost']); ?>"
- autocomplete="off" autocapitalize="off" autocorrect="off" />
+ autocomplete="off" autocapitalize="off" autocorrect="off">
</p>
</div>
</fieldset>
@@ -157,5 +157,5 @@ script('core', [
</fieldset>
<?php endif ?>
- <div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>" /></div>
+ <div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>"></div>
</form>
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 743d4dd3d34..af8db009394 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -7,12 +7,12 @@
<title>
<?php p($theme->getTitle()); ?>
</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
- <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
- <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
+ <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>">
+ <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<?php foreach ($_['cssfiles'] as $cssfile): ?>
- <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen">
<?php endforeach; ?>
<?php foreach ($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 2113f88594e..d7eb391efbd 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -7,13 +7,13 @@
<title>
<?php p($theme->getTitle()); ?>
</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
- <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
- <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
+ <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>">
+ <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<?php foreach($_['cssfiles'] as $cssfile): ?>
- <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen">
<?php endforeach; ?>
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 9f8daa5cad3..4737c5cabd4 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -10,17 +10,17 @@
p($theme->getTitle());
?>
</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:'ownCloud'); ?>">
<meta name="mobile-web-app-capable" content="yes">
- <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path($_['appid'], 'favicon.png')); ?>" />
- <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>" />
+ <link rel="shortcut icon" type="image/png" href="<?php print_unescaped(image_path($_['appid'], 'favicon.png')); ?>">
+ <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>">
<?php foreach($_['cssfiles'] as $cssfile): ?>
- <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen" />
+ <link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" type="text/css" media="screen">
<?php endforeach; ?>
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php print_unescaped($jsfile); ?>"></script>
@@ -85,7 +85,7 @@
<?php endforeach; ?>
<li>
<a id="logout" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>>
- <img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>" />
+ <img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>">
<?php p($l->t('Log out'));?>
</a>
</li>
diff --git a/core/templates/login.php b/core/templates/login.php
index f10a8102180..0ef7882d4b0 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -11,7 +11,7 @@ script('core', [
<form method="post" name="login">
<fieldset>
<?php if (!empty($_['redirect_url'])) {
- print_unescaped('<input type="hidden" name="redirect_url" value="' . OC_Util::sanitizeHTML($_['redirect_url']) . '" />');
+ print_unescaped('<input type="hidden" name="redirect_url" value="' . OC_Util::sanitizeHTML($_['redirect_url']) . '">');
} ?>
<?php if (isset($_['apacheauthfailed']) && ($_['apacheauthfailed'])): ?>
<div class="warning">
@@ -26,7 +26,7 @@ script('core', [
<?php endforeach; ?>
<p id="message" class="hidden">
<img class="float-spinner" alt=""
- src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>" />
+ src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>">
<span id="messageText"></span>
<!-- the following div ensures that the spinner is always inside the #message div -->
<div style="clear: both;"></div>
@@ -36,7 +36,7 @@ script('core', [
placeholder="<?php p($l->t('Username')); ?>"
value="<?php p($_['username']); ?>"
<?php p($_['user_autofocus'] ? 'autofocus' : ''); ?>
- autocomplete="on" autocapitalize="off" autocorrect="off" required />
+ autocomplete="on" autocapitalize="off" autocorrect="off" required>
<label for="user" class="infield"><?php p($l->t('Username')); ?></label>
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/>
</p>
@@ -45,7 +45,7 @@ script('core', [
<input type="password" name="password" id="password" value=""
placeholder="<?php p($l->t('Password')); ?>"
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
- autocomplete="on" autocapitalize="off" autocorrect="off" required />
+ autocomplete="on" autocapitalize="off" autocorrect="off" required>
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
</p>
@@ -56,12 +56,12 @@ script('core', [
</a>
<?php endif; ?>
<?php if ($_['rememberLoginAllowed'] === true) : ?>
- <input type="checkbox" name="remember_login" value="1" id="remember_login" />
+ <input type="checkbox" name="remember_login" value="1" id="remember_login">
<label for="remember_login"><?php p($l->t('remember')); ?></label>
<?php endif; ?>
<input type="hidden" name="timezone-offset" id="timezone-offset"/>
<input type="hidden" name="timezone" id="timezone"/>
- <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
+ <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>">
<input type="submit" id="submit" class="login primary" value="<?php p($l->t('Log in')); ?>" disabled="disabled"/>
</fieldset>
</form>
diff --git a/core/templates/singleuser.user.php b/core/templates/singleuser.user.php
index a5f56f6e2c4..bf076eb8d61 100644
--- a/core/templates/singleuser.user.php
+++ b/core/templates/singleuser.user.php
@@ -1,10 +1,10 @@
<ul>
<li class='update'>
- <?php p($l->t('This ownCloud instance is currently in single user mode.')) ?><br /><br />
- <?php p($l->t('This means only administrators can use the instance.')) ?><br /><br />
+ <?php p($l->t('This ownCloud instance is currently in single user mode.')) ?><br><br>
+ <?php p($l->t('This means only administrators can use the instance.')) ?><br><br>
<?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?>
- <br /><br />
- <?php p($l->t('Thank you for your patience.')); ?><br /><br />
+ <br><br>
+ <?php p($l->t('Thank you for your patience.')); ?><br><br>
<a class="button" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>><?php p($l->t('Log out')); ?></a>
</li>
</ul>
diff --git a/core/templates/tags.html b/core/templates/tags.html
index ae3d072b381..a7125027a26 100644
--- a/core/templates/tags.html
+++ b/core/templates/tags.html
@@ -2,13 +2,13 @@
<div class="content">
<div class="scrollarea">
<ul class="taglist">
- <li><input type="checkbox" name="ids[]" id="tag_{id}" value="{name}" />
+ <li><input type="checkbox" name="ids[]" id="tag_{id}" value="{name}">
<label for="tag_{id}">{name}</label>
</li>
</ul>
</div>
<div class="bottombuttons">
- <input type="text" class="addinput" name="tag" placeholder="{addText}" />
+ <input type="text" class="addinput" name="tag" placeholder="{addText}">
</div>
</div>
</div>
diff --git a/core/templates/untrustedDomain.php b/core/templates/untrustedDomain.php
index b661834318d..3197916cebb 100644
--- a/core/templates/untrustedDomain.php
+++ b/core/templates/untrustedDomain.php
@@ -2,13 +2,13 @@
<ul class="error-wide">
<li class='error'>
- <?php p($l->t('You are accessing the server from an untrusted domain.')); ?><br/>
+ <?php p($l->t('You are accessing the server from an untrusted domain.')); ?><br>
<p class='hint'>
<?php p($l->t('Please contact your administrator. If you are an administrator of this instance, configure the "trusted_domain" setting in config/config.php. An example configuration is provided in config/config.sample.php.')); ?>
- <br/>
+ <br>
<?php p($l->t('Depending on your configuration, as an administrator you might also be able to use the button below to trust this domain.')); ?>
- <br/><br/>
+ <br><br>
<p style="text-align:center;">
<a href="<?php print_unescaped(OC_Helper::makeURLAbsolute(\OCP\Util::linkToRoute('settings_admin'))); ?>?trustDomain=<?php p($_['domain']); ?>" class="button">
<?php p($l->t('Add "%s" as trusted domain', array($_['domain']))); ?>
diff --git a/core/templates/update.user.php b/core/templates/update.user.php
index be332f24f35..bc6936188ea 100644
--- a/core/templates/update.user.php
+++ b/core/templates/update.user.php
@@ -1,8 +1,8 @@
<ul>
<li class='update'>
- <?php p($l->t('This %s instance is currently in maintenance mode, which may take a while.', array($theme->getName()))) ?><br/><br/>
- <?php p($l->t('This page will refresh itself when the %s instance is available again.', array($theme->getName()))) ?><br/><br/>
- <?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?><br/><br/>
- <?php p($l->t('Thank you for your patience.')); ?><br/><br/>
+ <?php p($l->t('This %s instance is currently in maintenance mode, which may take a while.', array($theme->getName()))) ?><br><br>
+ <?php p($l->t('This page will refresh itself when the %s instance is available again.', array($theme->getName()))) ?><br><br>
+ <?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?><br><br>
+ <?php p($l->t('Thank you for your patience.')); ?><br><br>
</li>
</ul>