chore(default.php): cleanup indents and braces
This commit is contained in:
parent
fd17056c12
commit
f642e66252
1 changed files with 6 additions and 9 deletions
|
@ -7,17 +7,14 @@
|
|||
if (!empty($matches[1])) {
|
||||
foreach (explode("\n", $matches[1]) as $line) {
|
||||
$line = trim($line);
|
||||
if ($line === '') {
|
||||
continue;
|
||||
}
|
||||
if ($line === '') continue;
|
||||
$kv = explode(' ', $line, 2);
|
||||
if (empty($kv[1])) {
|
||||
if (empty($kv[1]))
|
||||
$page[$kv[0]] = true;
|
||||
} else {
|
||||
else
|
||||
$page[$kv[0]] = $kv[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<html lang="<?php if (empty($page["lang"])) echo "zh-TW"; else echo $page["lang"]; ?>">
|
||||
<head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue