'; // echo ''; echo ''; if (!empty($mediaid)) { echo ''; } if (!empty($linktoid)) { echo ''; } echo ''; echo ''; echo '
| '; echo i18n::translate('Link media'), ' ', $toitems, help_link('add_media_linkid'); echo ' | |||
| ', i18n::translate('Media ID'), ' | '; echo '';
if (!empty($mediaid)) {
//-- Get the title of this existing Media item
$title=
WT_DB::prepare("SELECT m_titl FROM `##media` where m_media=? AND m_gedfile=?")
->execute(array($mediaid, WT_GED_ID))
->fetchOne();
if ($title) {
echo '', PrintReady($title), ' ';
if ($TEXT_DIRECTION=="rtl") echo getRLM();
echo '(', $mediaid, ')';
if ($TEXT_DIRECTION=="rtl") echo getRLM();
} else {
echo '', $mediaid, '';
}
echo '
| ||
| ', i18n::translate('Links'), ' | '; echo ''; require 'modules/GEDFact_assistant/_MEDIA/media_query_1a.php'; echo ' | ||
| '; echo i18n::translate('Add links'); echo ' | ';
if ($linktoid=="") {
// ----
} else {
$record=Person::getInstance($linktoid);
echo '', PrintReady($record->getFullName()), ' ';
if ($TEXT_DIRECTION=="rtl") print getRLM();
echo '(', $linktoid, ')';
if ($TEXT_DIRECTION=="rtl") print getRLM();
}
echo '
'; echo ''; require 'modules/GEDFact_assistant/_MEDIA/media_query_2a.php'; echo ' | ||
| "; echo i18n::translate('Admin Option'), " | \n";
if ($NO_UPDATE_CHAN) {
echo "\n";
} else {
echo "\n";
}
echo i18n::translate('Do not update the CHAN (Last Change) records'), help_link('no_update_CHAN'), ' '; echo " | ||
| '; echo ' | |||
| ';
echo ' | |||