MINOR Removed non-functional "close popup" link from profile editing in CMS (fixes #7343)

This commit is contained in:
Ingo Schommer 2012-05-20 14:03:50 +02:00
parent 607a9e2f45
commit 69fbdad722

View File

@ -1493,11 +1493,7 @@ class Member_ProfileForm extends Form {
$form->saveInto($member);
$member->write();
$closeLink = sprintf(
'<small><a href="' . $_SERVER['HTTP_REFERER'] . '" onclick="javascript:window.top.GB_hide(); return false;">(%s)</a></small>',
_t('ComplexTableField.CLOSEPOPUP', 'Close Popup')
);
$message = _t('Member.PROFILESAVESUCCESS', 'Successfully saved.') . ' ' . $closeLink;
$message = _t('Member.PROFILESAVESUCCESS', 'Successfully saved.');
$form->sessionMessage($message, 'good');
$this->controller->redirectBack();