Changeset 95fcc33 in github
- Timestamp:
- Sep 21, 2008 6:18:28 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- e93e54f
- Parents:
- e2c610e
- Location:
- program
- Files:
-
- 4 edited
-
include/html.php (modified) (1 diff)
-
steps/addressbook/func.inc (modified) (1 diff)
-
steps/mail/func.inc (modified) (2 diffs)
-
steps/settings/identities.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/html.php
rf5d3769 r95fcc33 182 182 183 183 /** 184 * Derrived method to create <iframe></iframe> 185 * 186 * @param mixed Hash array with tag attributes or string with frame source (src) 187 * @return string HTML code 188 * @see html::tag() 189 */ 190 public static function iframe($attr = null, $cont = null) 191 { 192 if (is_string($attr)) { 193 $attr = array('src' => $attr); 194 } 195 return self::tag('iframe', $attr, $cont, array_merge(self::$common_attrib, array('src','name','width','height','border','frameborder'))); 196 } 197 198 /** 184 199 * Derrived method for line breaks 185 200 * -
program/steps/addressbook/func.inc
re2c610e r95fcc33 157 157 $OUTPUT->set_env('blankpage', $attrib['src'] ? $OUTPUT->abs_url($attrib['src']) : 'program/blank.gif'); 158 158 159 return html:: tag('iframe',$attrib);159 return html::iframe($attrib); 160 160 } 161 161 -
program/steps/mail/func.inc
re2c610e r95fcc33 409 409 $OUTPUT->set_env('blankpage', $attrib['src'] ? $OUTPUT->abs_url($attrib['src']) : 'program/blank.gif'); 410 410 411 return html:: tag('iframe',$attrib);411 return html::iframe($attrib); 412 412 } 413 413 … … 1126 1126 $ctype_primary = strtolower($part->ctype_primary); 1127 1127 1128 $attrib['src'] = Q('./?'.str_replace('_frame=', ($ctype_primary=='text' ? '_show=' : '_preload='), $_SERVER['QUERY_STRING']));1129 1130 return html:: tag('iframe',$attrib);1128 $attrib['src'] = './?' . str_replace('_frame=', ($ctype_primary=='text' ? '_show=' : '_preload='), $_SERVER['QUERY_STRING']); 1129 1130 return html::iframe($attrib); 1131 1131 } 1132 1132 -
program/steps/settings/identities.inc
re2c610e r95fcc33 37 37 $OUTPUT->set_env('contentframe', $attrib['name']); 38 38 39 return html:: tag('iframe',$attrib);39 return html::iframe($attrib); 40 40 } 41 41
Note: See TracChangeset
for help on using the changeset viewer.
