|
Learning with Texts - Fork 2.4.0-fork
Learn foreign languages with texts
|
Display table for Improved Annotation (Edit Mode),. More...
Namespaces | |
| namespace | Lwt |
Functions | |
| make_trans ($i, $wid, $trans, $word, $lang) | |
| make_form ($textid, $wordlc) | |
| do_ajax_edit_impr_text ($textid, $wordlc) | |
Display table for Improved Annotation (Edit Mode),.
Ajax call in print_impr_text.php Call: inc/ajax_edit_impr_text.php?id=[textid]
| do_ajax_edit_impr_text | ( | $textid, | |
| $wordlc | |||
| ) |
Do the AJAX modification for editing a printed text.
| int | $textid | Text ID |
| string | $wordlc | Word lowercase. Can be left empty. |
| make_form | ( | $textid, | |
| $wordlc | |||
| ) |
Prepare the form for printed text.
| int | $textid | Text ID |
| string | $wordlc | Lowercase word |
@global string $tbpref Database table prefix.
| make_trans | ( | $i, | |
| $wid, | |||
| $trans, | |||
| $word, | |||
| $lang | |||
| ) |
Make the translation for a word.
| int | $i | Index |
| int | null | $wid | Word ID or null |
| string | $trans | Translation |
| string | $word | |
| int | $lang | Language ID |