summaryrefslogtreecommitdiff
path: root/modules_v3/GEDFact_assistant/_MEDIA
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-11-05 14:25:38 +0000
committerfisharebest <fisharebest@gmail.com>2011-11-05 14:25:38 +0000
commit9184390d6d1424fcb32e2edc70d4feced52fa3f4 (patch)
tree60ad769580e96d229ef8b024b233fcfbd186fdd0 /modules_v3/GEDFact_assistant/_MEDIA
parent9b21eb42558a27852c3f93b872a7baa62b51040a (diff)
downloadwebtrees-9184390d6d1424fcb32e2edc70d4feced52fa3f4.tar.gz
webtrees-9184390d6d1424fcb32e2edc70d4feced52fa3f4.tar.bz2
webtrees-9184390d6d1424fcb32e2edc70d4feced52fa3f4.zip
Major MVC refactoring. Every page now has a controller.
Diffstat (limited to 'modules_v3/GEDFact_assistant/_MEDIA')
-rw-r--r--modules_v3/GEDFact_assistant/_MEDIA/media_0_inverselink.php10
1 files changed, 0 insertions, 10 deletions
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 '</table>';
echo '</form>';
echo '<br/><br/><center><a href="javascript:;" onclick="if (window.opener.showchanges) window.opener.showchanges(); window.close(); winNav.close(); ">', WT_I18N::translate('Close Window'), '</a><br /></center>';
- // print_simple_footer();
} elseif ($action == "update" && $paramok) {
@@ -744,10 +737,7 @@ function shiftlinks() {
}
echo '<br/><br/><center><a href="javascript:;" onclick="if (window.opener.showchanges) window.opener.showchanges(); window.close(); winNav.close(); ">', WT_I18N::translate('Close Window'), '</a><br /></center>';
- print_simple_footer();
-
} else {
// echo '<center>You must be logged in as an Administrator<center>';
echo '<br/><br/><center><a href="javascript:;" onclick="if (window.opener.showchanges) window.opener.showchanges(); window.close(); winNav.close();">', WT_I18N::translate('Close Window'), '</a><br /></center>';
- //print_simple_footer();
}