Changeset 14eafe4 in github


Ignore:
Timestamp:
Oct 13, 2005 6:21:10 PM (8 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
61bda79
Parents:
455c2bd
Message:

Fixed bug #1325050; added alt-texts for IE

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • program/include/main.inc

    r520c36a r14eafe4  
    672672function rcube_button($attrib) 
    673673  { 
    674   global $CONFIG, $OUTPUT, $JS_OBJECT_NAME; 
     674  global $CONFIG, $OUTPUT, $JS_OBJECT_NAME, $BROWSER; 
    675675  static $sa_buttons = array(); 
    676676  static $s_button_count = 100; 
     
    729729  if ($attrib['alt']) 
    730730    $attrib['alt'] = rep_specialchars_output(rcube_label($attrib['alt'])); 
    731      
     731 
     732  // set title to alt attribute for IE browsers 
     733  if ($BROWSER['ie'] && $attrib['title'] && !$attrib['alt']) 
     734    { 
     735    $attrib['alt'] = $attrib['title']; 
     736    unset($attrib['title']); 
     737    } 
     738 
    732739  // add empty alt attribute for XHTML compatibility 
    733740  if (!isset($attrib['alt'])) 
  • program/js/app.js

    r09941ea r14eafe4  
    18031803     if (row.cells[2].firstChild.tagName=='A') 
    18041804       row.cells[2].firstChild.onclick = new Function(this.ref+".command('delete-folder','"+name+"')"); 
     1805 
     1806    var form; 
     1807    if ((form = this.gui_objects.editform) && form.elements['_folder_name']) 
     1808      form.elements['_folder_name'].value = ''; 
    18051809     }; 
    18061810 
  • skins/default/templates/managefolders.html

    r4e17e6c r14eafe4  
    1111<roundcube:include file="/includes/settingstabs.html" /> 
    1212 
    13 <form name="subscriptionform" action="./"> 
     13<form name="subscriptionform" action="./" onsubmit="rcmail.command('create-folder');return false;"> 
    1414 
    1515<div id="folder-manager"> 
Note: See TracChangeset for help on using the changeset viewer.