Authored by tmq

bug

@@ -97,7 +97,7 @@ EOL; @@ -97,7 +97,7 @@ EOL;
97 $groupNum ++; 97 $groupNum ++;
98 if($groupNum == 2 && !empty($html)) 98 if($groupNum == 2 && !empty($html))
99 { 99 {
100 - $templates[] ='<div class="box clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>'; 100 + $templates[] ='<div class="box big-size clearfix"><h2>'.$type.'</h2><hr><ul class="clearfix">'.$html.'</ul></div>';
101 $html = ''; 101 $html = '';
102 $groupNum = 0; 102 $groupNum = 0;
103 $groupLen = 0; 103 $groupLen = 0;
@@ -106,7 +106,7 @@ EOL; @@ -106,7 +106,7 @@ EOL;
106 106
107 foreach ($templates as $temp) { 107 foreach ($templates as $temp) {
108 preg_match_all("/<li>/i", $temp, $liLen, PREG_SET_ORDER); 108 preg_match_all("/<li>/i", $temp, $liLen, PREG_SET_ORDER);
109 - if(count($liLen) > 8) 109 + if(count($liLen) > 16)
110 { 110 {
111 $temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp); 111 $temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp);
112 $template .='<div class="box big-size clearfix">'.$temp.'</div>'; 112 $template .='<div class="box big-size clearfix">'.$temp.'</div>';
@@ -114,7 +114,7 @@ EOL; @@ -114,7 +114,7 @@ EOL;
114 else 114 else
115 { 115 {
116 $temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp); 116 $temp = preg_replace('@<div class="(.*)">(.+)<\/div>@isU', "\\2", $temp);
117 - $template .='<div class="box clearfix">'.$temp.'</div>'; 117 + $template .='<div class="box big-size clearfix">'.$temp.'</div>';
118 } 118 }
119 119
120 } 120 }