Changeset b190970 in github for program/steps/mail/func.inc
- Timestamp:
- Dec 1, 2006 1:06:16 PM (6 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 53ed1e3
- Parents:
- 740e9ec
- File:
-
- 1 edited
-
program/steps/mail/func.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/steps/mail/func.inc
r31c1718 rb190970 559 559 560 560 561 // return an HTML iframe for loading mail content 562 function rcmail_messagecontent_frame($attrib) 563 { 564 global $OUTPUT, $JS_OBJECT_NAME; 565 566 if (empty($attrib['id'])) 567 $attrib['id'] = 'rcmailcontentwindow'; 568 569 // allow the following attributes to be added to the <iframe> tag 570 $attrib_str = create_attrib_string($attrib, array('id', 'class', 'style', 'src', 'width', 'height', 'frameborder')); 571 $framename = $attrib['id']; 572 573 $out = sprintf('<iframe name="%s"%s></iframe>'."\n", 574 $framename, 575 $attrib_str); 576 577 $OUTPUT->add_script("$JS_OBJECT_NAME.set_env('contentframe', '$framename');"); 578 579 return $out; 580 } 581 561 582 // return code for search function 562 583 function rcmail_search_form($attrib)
Note: See TracChangeset
for help on using the changeset viewer.
