TinyPortal
Development => Support => Topic started by: Techdomain on June 06, 2008, 02:12:03 PM
Maybe a typo... code has "ex" at the end of line 115 in TPBlockLayout.template.php. maybe I am a nut :idiot2:
Quote
// TinyPortal integrated bars
if($context['TPortal']['leftpanel']==1)
{
echo '
<td width="' ,$context['TPortal']['leftbar_width'], '" style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px; padding-top: 4px;padding-right: 1ex;" valign="top">
<div id="tpleftbarHeader" style="padding-top: 5px; width: ' ,$context['TPortal']['leftbar_width'], 'px;', (!empty($options['tpcollapse_leftbar']) && $context['TPortal']['showcollapse']==1) ? ' display: none;' : '' , '">
' , TPortal_panel('left') , '
</div>
</td>';
}
ex is actually a measurement that can be used. I don't know if Bloc meant to have it there, or if he meant to use px, but I think ex is a measurement for characters.
Its meant to be ex. I like to use em for the same now though..but ex stands for the width of the x charachter.
ah... well I am a nut then :P
At least I didnt change that bit then...