@@ 135-139 (lines=5) @@ | ||
132 | if ($xoopsModuleConfig['newdownloads'] > 0) { |
|
133 | $xoopsTpl->assign('nb_dowcol', $xoopsModuleConfig['nb_dowcol']); |
|
134 | //Utilisation d'une copie d'�cran avec la largeur selon les pr�f�rences |
|
135 | if ($xoopsModuleConfig['useshots'] == 1) { |
|
136 | $xoopsTpl->assign('shotwidth', $xoopsModuleConfig['shotwidth']); |
|
137 | $xoopsTpl->assign('show_screenshot', true); |
|
138 | $xoopsTpl->assign('img_float' , $xoopsModuleConfig['img_float']); |
|
139 | } |
|
140 | $criteria = new CriteriaCompo(); |
|
141 | $criteria->add(new Criteria('status', 0, '!=')); |
|
142 | $criteria->add(new Criteria('cid', '(' . implode(',', $categories) . ')','IN')); |
@@ 56-60 (lines=5) @@ | ||
53 | ||
54 | // sortie des informations |
|
55 | //Utilisation d'une copie d'�cran avec la largeur selon les pr�f�rences |
|
56 | if ($xoopsModuleConfig['useshots'] == 1) { |
|
57 | $xoopsTpl->assign('shotwidth', $xoopsModuleConfig['shotwidth']); |
|
58 | $xoopsTpl->assign('show_screenshot', true); |
|
59 | $xoopsTpl->assign('img_float' , $xoopsModuleConfig['img_float']); |
|
60 | } |
|
61 | ||
62 | if ($xoopsModuleConfig['download_float'] == 'ltr') { |
|
63 | $xoopsTpl->assign('textfloat', 'floatleft'); |
@@ 160-164 (lines=5) @@ | ||
157 | if ($xoopsModuleConfig['perpage'] > 0) { |
|
158 | $xoopsTpl->assign('nb_dowcol', $xoopsModuleConfig['nb_dowcol']); |
|
159 | //Utilisation d'une copie d'�cran avec la largeur selon les pr�f�rences |
|
160 | if ($xoopsModuleConfig['useshots'] == 1) { |
|
161 | $xoopsTpl->assign('shotwidth', $xoopsModuleConfig['shotwidth']); |
|
162 | $xoopsTpl->assign('show_screenshot', true); |
|
163 | $xoopsTpl->assign('img_float' , $xoopsModuleConfig['img_float']); |
|
164 | } |
|
165 | $criteria = new CriteriaCompo(); |
|
166 | $criteria->add(new Criteria('status', 0, '!=')); |
|
167 | $criteria->add(new Criteria('cid', '(' . implode(',', $categories) . ')','IN')); |