From 28de3911825bde79ee5a92762940ef310baab737 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Tue, 6 Nov 2012 13:21:04 +0100 Subject: Recursively resolve paths of iframe contents; unify contentframe registration and reduce code-duplication --- program/steps/addressbook/func.inc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'program/steps/addressbook/func.inc') diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc index 3a0508025..cefe49e01 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -367,12 +367,7 @@ function rcmail_contact_frame($attrib) if (!$attrib['id']) $attrib['id'] = 'rcmcontactframe'; - $attrib['name'] = $attrib['id']; - - $OUTPUT->set_env('contentframe', $attrib['name']); - $OUTPUT->set_env('blankpage', $attrib['src'] ? $OUTPUT->abs_url($attrib['src']) : 'program/resources/blank.gif'); - - return html::iframe($attrib); + return $OUTPUT->frame($attrib, true); } -- cgit v1.2.3