Ignore:
Timestamp:
Sep 20, 2008 1:21:15 PM (5 years ago)
Author:
alec
Message:

#1485385: fix missing close form tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r1808 r1865  
    749749   
    750750  $out = html::div($attrib, 
    751     $OUTPUT->form_tag(array('name' => 'form', 'method' => 'post', 'enctype' => 'multipart/form-data')) . 
    752     html::div(null, rcmail_compose_attachment_field(array())) . 
    753     html::div('hint', rcube_label(array('name' => 'maxuploadsize', 'vars' => array('size' => show_bytes(parse_bytes(ini_get('upload_max_filesize'))))))) . 
    754     html::div('buttons', 
    755       $button->show(rcube_label('close'), array('onclick' => "document.getElementById('$attrib[id]').style.visibility='hidden'")) . ' ' . 
    756       $button->show(rcube_label('upload'), array('onclick' => JS_OBJECT_NAME . ".command('send-attachment', this.form)"))) 
     751    $OUTPUT->form_tag(array('name' => 'form', 'method' => 'post', 'enctype' => 'multipart/form-data'), 
     752      html::div(null, rcmail_compose_attachment_field(array())) . 
     753      html::div('hint', rcube_label(array('name' => 'maxuploadsize', 'vars' => array('size' => show_bytes(parse_bytes(ini_get('upload_max_filesize'))))))) . 
     754      html::div('buttons', 
     755        $button->show(rcube_label('close'), array('onclick' => "document.getElementById('$attrib[id]').style.visibility='hidden'")) . ' ' . 
     756        $button->show(rcube_label('upload'), array('onclick' => JS_OBJECT_NAME . ".command('send-attachment', this.form)")) 
     757      ) 
     758    ) 
    757759  ); 
    758    
    759760   
    760761  $OUTPUT->add_gui_object('uploadbox', $attrib['id']); 
Note: See TracChangeset for help on using the changeset viewer.