Changeset 16508


Ignore:
Timestamp:
07/08/12 19:16:41 (7 years ago)
Author:
flop25
Message:

merge r16507 from branch 2.4 to trunk
bug:2683
create get_size_css

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/derivative.inc.php

    r15431 r16508  
    315315  } 
    316316 
     317  function get_size_css() 
     318  { 
     319    $size = $this->get_size(); 
     320    if ($size) 
     321    { 
     322      return 'width:'.$size[0].'px; height:'.$size[1].'px'; 
     323    } 
     324  } 
     325 
    317326  function get_size_htm() 
    318327  { 
Note: See TracChangeset for help on using the changeset viewer.