beautified and set default lang to EN
This commit is contained in:
parent
adee1c3274
commit
f6b3dea306
@ -34,15 +34,13 @@
|
||||
|
||||
|
||||
<?php
|
||||
$defaultlanguage = "de";
|
||||
$defaultlanguage = "en";
|
||||
|
||||
# Get language from URL
|
||||
if(isset($_GET["lang"])) {
|
||||
$language = $_GET["lang"];
|
||||
echo 'Sprache durch Parameter gesetzt!';
|
||||
} else {
|
||||
$language = $defaultlanguage;
|
||||
echo 'Sprache nicht gefunden. Standard gesetzt!';
|
||||
}
|
||||
|
||||
#Check if Language folder exists
|
||||
@ -91,7 +89,9 @@
|
||||
<div class="card-content grey lighten-4 black-text">
|
||||
<div id="'.$name.'h2p">'.$howtoplay.'</div>
|
||||
<div id="'.$name.'pbw">'.$playsbestwith.'</div>
|
||||
<div id="'.$name.'convars"><pre><code>'.$convars.'</code></pre></div>
|
||||
<div id="'.$name.'convars">
|
||||
<pre><code>'.$convars.'</code></pre>
|
||||
</div>
|
||||
<div id="'.$name.'credits">Main Creator: <a href="'.$authorurl.'">'.$author.'</a><br>'.$ctext.'</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user