Authored by tmq

bug

... ... @@ -108,7 +108,7 @@ EOL;
foreach ($templates as $temp) {
preg_match_all("/<li>/i", $temp, $liLen, PREG_SET_ORDER);
if(count($liLen) > 8)
if(count($liLen) >= 8)
{
$temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp);
$template .='<div class="box big-size clearfix">'.$temp.'</div>';
... ... @@ -116,7 +116,7 @@ EOL;
else
{
$temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp);
$template .='<div class="box clearfix">'.$temp.'</div>';
$template .='<div class="box big-size clearfix">'.$temp.'</div>';
}
}
... ...