Changeset 5513 in subversion


Ignore:
Timestamp:
Nov 30, 2011 6:05:50 AM (18 months ago)
Author:
thomasb
Message:

Enable buttons having an inner <span> for better CSS styling capabilities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_template.php

    r5486 r5513  
    971971            $btn_content = isset($attrib['content']) ? $attrib['content'] : ($attrib['label'] ? $attrib['label'] : $attrib['command']); 
    972972            $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex', 'target'); 
     973            if ($attrib['innerclass']) 
     974                $btn_content = html::span($attrib['innerclass'], $btn_content); 
    973975        } 
    974976        else if ($attrib['type']=='input') { 
Note: See TracChangeset for help on using the changeset viewer.