Changeset 17208


Ignore:
Timestamp:
07/30/12 11:22:42 (7 years ago)
Author:
patdenice
Message:

Bug corrected with "Hide main block" option.
Bug corrected with LastComs and 2 or 3 blocks per line.

Location:
extensions/PWG_Stuffs/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/trunk/functions.inc.php

    r10076 r17208  
    9898  global $page, $template; 
    9999 
    100   $param = $page['PWG_Stuffs_section']; 
     100  $param = $page['stuffs_section']; 
    101101 
    102102  $urls = array( 
     
    148148function hide_main_block_prefilter($content, $smarty) 
    149149{ 
    150   return preg_replace('#(?:<div id="content" class="content">|<div id="subcontent">).*</div>[ \{\*]*<!-- (?:sub|)content -->[ \*\}]*#si', '', $content); 
     150  return preg_replace('#(?:<div id="content"|<div id="subcontent").*</div>[ \{\*]*<!-- (?:sub|)content -->[ \*\}]*#si', '', $content); 
    151151} 
    152152 
  • extensions/PWG_Stuffs/trunk/modules/LastComs/main.inc.php

    r16691 r17208  
    151151      break; 
    152152    case 2 : 
    153       $block['NB_COMMENTS_LINE'] = '49.5%'; 
     153      $block['NB_COMMENTS_LINE'] = '49%'; 
    154154      break; 
    155155    case 3 : 
    156       $block['NB_COMMENTS_LINE'] = '33%'; 
     156      $block['NB_COMMENTS_LINE'] = '32.4%'; 
    157157      break; 
    158158  } 
  • extensions/PWG_Stuffs/trunk/theme/stuffs_index.css

    r9741 r17208  
    4545 
    4646.two_comment { 
    47   width: 49.5% !important; 
     47  width: 49% !important; 
    4848} 
    4949 
    5050.three_comment { 
    51   width: 33% !important; 
     51  width: 32.4% !important; 
    5252} 
    5353 
     
    6161} 
    6262 
     63.stuffs .commentElement { 
     64  margin: 0.3%; 
     65} 
     66 
    6367/* Hack IE6 */ 
    6468* html  .stuffs, * html .middle_block { overflow-y: visible; } 
Note: See TracChangeset for help on using the changeset viewer.