From 9184390d6d1424fcb32e2edc70d4feced52fa3f4 Mon Sep 17 00:00:00 2001 From: fisharebest Date: Sat, 5 Nov 2011 14:25:38 +0000 Subject: Major MVC refactoring. Every page now has a controller. --- modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'modules_v3/GEDFact_assistant/_MEDIA') diff --git a/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php b/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php index 80587a04eb..54957d3f51 100644 --- a/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php +++ b/modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php @@ -50,12 +50,6 @@ if (empty($linktoid) || empty($linkto)) { break; } } -if (WT_USER_IS_ADMIN) { - print_simple_header(WT_I18N::translate('Link media')." ".$toitems); -} else { - print_simple_header(WT_I18N::translate('Administration')); - echo WT_I18N::translate('Unable to authenticate user.'); -} if ($ENABLE_AUTOCOMPLETE) require WT_ROOT.'js/autocomplete.js.htm'; @@ -699,7 +693,6 @@ function shiftlinks() { echo ''; echo ''; echo '

', WT_I18N::translate('Close Window'), '
'; - // print_simple_footer(); } elseif ($action == "update" && $paramok) { @@ -744,10 +737,7 @@ function shiftlinks() { } echo '

', WT_I18N::translate('Close Window'), '
'; - print_simple_footer(); - } else { // echo '
You must be logged in as an Administrator
'; echo '

', WT_I18N::translate('Close Window'), '
'; - //print_simple_footer(); } -- cgit v1.3