TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 239
  • Total: 239

Typo in 1.0.5 beta code?

Started by Techdomain, June 06, 2008, 02:12:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Techdomain

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>';

   }

IchBin

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.

bloc

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.

Techdomain

ah... well I am a nut then :P

At least I didnt change that bit then...

This website is proudly hosted on Crocweb Cloud Website Hosting.