![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Variables | |
$text_translation_id = checkNumeric($_GET["text_translation_id"]) | |
$text_id = checkNumeric($_GET["text_id"]) | |
$menu_item = "Text Lookup" | |
$translation = new TextTranslation() | |
if($text_translation_id) | else |
$text = new TextLookup($text_id) | |
$title = "Text Translation form for " . $text->code | |
$form = new AutoForm($translation) | |
$redirect = "/admin/text_translations?text_id={$text_id}" | |
$languageSelect = new SelectFieldRenderer($form, "language", "Language", $text->getTranslationOptions()) | |
$textSelect = new RelatedItemSelectFieldRenderer($form, "text_id", "Text", TextLookup, "WHERE text_id={$text_id}", "text", "text_id") | |
$tabs = TextLookupManager::getTabs($text_id) | |
$tabs | page = "/admin/text_translations" |
if($method=="POST") | $script = $form->writeScript() |
$form = new AutoForm($translation) |
Definition at line 72 of file text_translation_form.inc.
$languageSelect = new SelectFieldRenderer($form, "language", "Language", $text->getTranslationOptions()) |
Definition at line 77 of file text_translation_form.inc.
$menu_item = "Text Lookup" |
Definition at line 54 of file text_translation_form.inc.
$redirect = "/admin/text_translations?text_id={$text_id}" |
Definition at line 74 of file text_translation_form.inc.
if ( $method=="POST") $script = $form->writeScript() |
Definition at line 93 of file text_translation_form.inc.
$tabs = TextLookupManager::getTabs($text_id) |
Definition at line 82 of file text_translation_form.inc.
$text = new TextLookup($text_id) |
Definition at line 67 of file text_translation_form.inc.
$text_id = checkNumeric($_GET["text_id"]) |
Definition at line 49 of file text_translation_form.inc.
$text_translation_id = checkNumeric($_GET["text_translation_id"]) |
Definition at line 48 of file text_translation_form.inc.
$textSelect = new RelatedItemSelectFieldRenderer($form, "text_id", "Text", TextLookup, "WHERE text_id={$text_id}", "text", "text_id") |
Definition at line 78 of file text_translation_form.inc.
$title = "Text Translation form for " . $text->code |
Definition at line 70 of file text_translation_form.inc.
$translation = new TextTranslation() |
Definition at line 56 of file text_translation_form.inc.
if ( $text_translation_id) else |
Definition at line 64 of file text_translation_form.inc.
$tabs page = "/admin/text_translations" |
Definition at line 83 of file text_translation_form.inc.