Some fixes regarding multi-lang and css
This commit is contained in:
parent
297b5ee5d0
commit
91961198c4
|
@ -47,7 +47,14 @@
|
|||
<?php include "form.php" ?>
|
||||
</div>
|
||||
<div class="is-col is-30">
|
||||
<?php include "h1.php" ?>
|
||||
<?php
|
||||
$ct = @file_get_contents( "./locale/$loc1/h1.php");
|
||||
if ($ct==false)
|
||||
$ct = file_get_contents( "h1.php");
|
||||
echo $ct;
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
$ct = @file_get_contents( "./locale/$loc1/h2.php");
|
||||
if ($ct==false)
|
||||
|
|
|
@ -173,7 +173,7 @@ function getRow(rid,num) {
|
|||
+ "<td data-label=\"Betrag\">"
|
||||
+ `<input class="tab_input" name="amount[${rid}] type="text" placeholder="0.00"/>`
|
||||
+ "</td>"
|
||||
+ "<td style=\"vertical-align: middle\">"
|
||||
+ "<td data-label=\"Währung\" style=\"vertical-align: middle\">"
|
||||
+ cur
|
||||
|
||||
// +
|
||||
|
@ -241,7 +241,8 @@ $K.add('module', 'kaform', {
|
|||
});
|
||||
|
||||
$K.init({
|
||||
observer: true
|
||||
observer: true,
|
||||
lang: 'en'
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ body {
|
|||
padding: 1em;
|
||||
border: 0px solid red;
|
||||
max-width: 90em;
|
||||
min-width: 78em;
|
||||
min-width: 80em;
|
||||
}
|
||||
@media only screen and (max-width: 767px) {
|
||||
body {
|
||||
|
|
|
@ -9,7 +9,7 @@ body {
|
|||
padding:1em;
|
||||
border:0px solid red;
|
||||
max-width:90em;
|
||||
min-width:78em;
|
||||
min-width:80em;
|
||||
@include for-mobile {
|
||||
min-width: 2em;
|
||||
padding:0.5em;
|
||||
|
|
Loading…
Reference in New Issue