Changeset 5587b34 in github


Ignore:
Timestamp:
Nov 30, 2011 6:05:50 AM (18 months ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
2d08ec91
Parents:
7f79e22
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_template.php

    re4a4ca19 r5587b34  
    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.