Fix indent and more style-issues in details.php

This commit is contained in:
Michael Große 2017-04-10 13:49:54 +02:00
commit ecb77cc51c
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79

View file

@ -9,7 +9,9 @@
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
if (!defined('DOKU_INC')) {
die();
}
header('X-UA-Compatible: IE=edge,chrome=1');
?>
@ -21,7 +23,9 @@ header('X-UA-Compatible: IE=edge,chrome=1');
<?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG)) ?>
[<?php echo strip_tags($conf['title']) ?>]
</title>
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
<script>(function (H) {
H.className = H.className.replace(/\bno-js\b/, 'js')
})(document.documentElement)</script>
<?php tpl_metaheaders() ?>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
@ -117,10 +121,12 @@ header('X-UA-Compatible: IE=edge,chrome=1');
<div class="breadcrumbs" data-do="<?php echo $ACT ?>">
<div class="togglelink page_main-content">
<a href="#"><span class="sr-out"><?php echo tpl_getLang('a11y_sidebartoggle')?></span></a>
<a href="#"><span
class="sr-out"><?php echo tpl_getLang('a11y_sidebartoggle') ?></span></a>
</div>
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6>
<h6 class="sr-only" role="heading"
aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6>
<?php
@ -158,7 +164,9 @@ header('X-UA-Compatible: IE=edge,chrome=1');
<?php if ($ERROR): print $ERROR; ?>
<?php else: ?>
<?php if($REV) echo p_locale_xhtml('showrev');?>
<?php if ($REV) {
echo p_locale_xhtml('showrev');
} ?>
<h1><?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG)) ?></h1>
@ -205,7 +213,6 @@ header('X-UA-Compatible: IE=edge,chrome=1');
</div><!-- /wrapper -->
<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer">