Changeset 1767 in subversion for trunk/roundcubemail/program/include/rcube_template.php
- Timestamp:
- Sep 12, 2008 8:27:46 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_template.php
r1766 r1767 753 753 // make valid href to specific buttons 754 754 if (in_array($attrib['command'], rcmail::$main_tasks)) { 755 $attrib['href'] = Q(rcmail_url(null, null, $attrib['command']));755 $attrib['href'] = rcmail_url(null, null, $attrib['command']); 756 756 } 757 757 else if (in_array($attrib['command'], $a_static_commands)) { 758 $attrib['href'] = Q(rcmail_url($attrib['command'])); 758 $attrib['href'] = rcmail_url($attrib['command']); 759 } 760 else if ($attrib['command'] == 'permaurl' && !empty($this->env['permaurl'])) { 761 $attrib['href'] = $this->env['permaurl']; 759 762 } 760 763 } … … 818 821 $btn_content .= ' '.$attrib['label']; 819 822 } 820 $link_attrib = array('href', 'onclick', 'onmouseover', 'onmouseout', 'onmousedown', 'onmouseup', 'title' );823 $link_attrib = array('href', 'onclick', 'onmouseover', 'onmouseout', 'onmousedown', 'onmouseup', 'title', 'target'); 821 824 } 822 825 else if ($attrib['type']=='link') { 823 826 $btn_content = $attrib['label'] ? $attrib['label'] : $attrib['command']; 824 $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex' );827 $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex', 'target'); 825 828 } 826 829 else if ($attrib['type']=='input') {
Note: See TracChangeset
for help on using the changeset viewer.
