git.schokokeks.org
Repositories
Help
Report an Issue
fs-draft.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
dcda8f5
Branches
Tags
master
midgard
vorlage
fs-draft.git
source
structure
correlatives.html.php
advanced
bfadmin-master
commited
dcda8f5
at 2016-04-25 00:47:49
correlatives.html.php
Blame
History
Raw
<?php include_once("source/logic/server/data.php"); include_once("source/logic/server/table.php"); include_once("source/logic/server/misc.php"); ?> <section class="subsection" id="vocabulary/pronouns/correlatives"> <header>Correlatives</header> <?php /* function foobar($value) { $output = ""; $output .= implode(", ", array_map(function ($word) {return mark($word, ["word", "lang_fs"]);}, $value["original"])); $output .= " ~ "; $output .= implode(", ", array_map(function ($word) {global $configuration; return mark($word, ["word", "lang_" . $configuration["target"]]);}, $value["translated"])); return $output; } */ $table = new class_table ( [ new class_column ( "Domain", function ($row) {return $row["domain"];} ), new class_column ( "Interrogative/Relative", _foo("interrogative"), _bar("word") ), new class_column ( "Demonstrative far", _foo("demonstrative_far"), _bar("word") ), new class_column ( "Demonstrative near", _foo("demonstrative_near"), _bar("word") ), new class_column ( "Universal", _foo("universal"), _bar("word") ), new class_column ( "Undefined", _foo("undefined"), _bar("word") ), new class_column ( "Negative", _foo("negative"), _bar("word") ), ], read_json("source/data/correlatives.json") ); $table->generate(); ?> <div class="note_information">Some of these words are very unlikely to ever get used (e.g. <span class="word lang_fs">ing slag</span>). Nevertheless they exist and are listed for completeness.</div> </section>