1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Make PHPCS happy.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
Hugues Peccatte
2015-11-08 16:13:26 +01:00
parent bb0094d02d
commit c012b3032b

View File

@@ -27,9 +27,9 @@ textarea {
body {
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) : ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
<?php } ?>
<?php endif; ?>
padding: 0;
margin: 0;
margin-<?php echo $left; ?>: 240px;
@@ -45,15 +45,14 @@ body#loginform {
margin: 0 .5em;
}
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) : ?>
textarea,
tt,
pre,
code {
font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
}
<?php
} ?>
<?php endif; ?>
h1 {
@@ -608,13 +607,12 @@ tr:last-child td.condition {
border-width: 0 1px 1px 1px;
}
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
<?php if ($GLOBALS['text_dir'] === 'ltr') : ?>
/* for first th which must have right border set (ltr only) */
.before-condition {
border-right: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
}
<?php
} ?>
<?php endif; ?>
/**
* cells with the value NULL
@@ -638,12 +636,11 @@ table [class=value] {
}
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) : ?>
.value {
font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
}
<?php
} ?>
<?php endif; ?>
.attention {
color: red;
font-weight: bold;
@@ -717,16 +714,14 @@ div.error {
margin: .5em 0 0.5em;
border: 1px solid;
background-repeat: no-repeat;
<?php
if ($GLOBALS['text_dir'] === 'ltr') { ?>
<?php if ($GLOBALS['text_dir'] === 'ltr') : ?>
background-position: 10px 50%;
padding: 10px 10px 10px 10px;
<?php
} else { ?>
<?php else : ?>
background-position: 99% 50%;
padding: 10px 35px 10px 10px;
<?php
} ?>
endif; ?>
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
@@ -1515,16 +1510,13 @@ p.notice {
margin: 1.5em 0;
border: 1px solid #000;
background-repeat: no-repeat;
<?php
if ($GLOBALS['text_dir'] === 'ltr') { ?>
<?php if ($GLOBALS['text_dir'] === 'ltr') : ?>
background-position: 10px 50%;
padding: 10px 10px 10px 25px;
<?php
} else { ?>
<?php else : ?>
background-position: 99% 50%;
padding: 25px 10px 10px 10px
<?php
} ?>
<?php endif; ?>
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;