@@ 143-155 (lines=13) @@ | ||
140 | //DNPROSSI - added preferences option |
|
141 | // enable_info, enable_resolution, enable_download, enable_date |
|
142 | // enable_ecards, enable_submitter_lnk, enable_photo_hits |
|
143 | if ($xoopsModuleConfig['info_view'] === 'photo' || $xoopsModuleConfig['info_view'] === 'both') { |
|
144 | if ($xoopsModuleConfig['pubusr_info_view'] === 'public' || $xoopsModuleConfig['pubusr_info_view'] === 'both') { |
|
145 | if ($xoopsModuleConfig['enable_info'] == 0) { |
|
146 | $enable_info = $xoopsModuleConfig['enable_info']; |
|
147 | } else { |
|
148 | $enable_info = 1; |
|
149 | } |
|
150 | } else { |
|
151 | $enable_info = 1; |
|
152 | } |
|
153 | } else { |
|
154 | $enable_info = 1; |
|
155 | } |
|
156 | ||
157 | $xoopsTpl->assign('enable_info', $enable_info); |
|
158 | $xoopsTpl->assign('enable_resolution', $xoopsModuleConfig['enable_resolution']); |
@@ 132-144 (lines=13) @@ | ||
129 | //DNPROSSI - added preferences option |
|
130 | // enable_info, enable_resolution, enable_download, enable_date |
|
131 | // enable_ecards, enable_submitter_lnk, enable_photo_hits |
|
132 | if ($xoopsModuleConfig['info_view'] === 'photo' || $xoopsModuleConfig['info_view'] === 'both') { |
|
133 | if ($xoopsModuleConfig['pubusr_info_view'] === 'user' || $xoopsModuleConfig['pubusr_info_view'] === 'both') { |
|
134 | if ($xoopsModuleConfig['enable_info'] == 0) { |
|
135 | $enable_info = $xoopsModuleConfig['enable_info']; |
|
136 | } else { |
|
137 | $enable_info = 1; |
|
138 | } |
|
139 | } else { |
|
140 | $enable_info = 1; |
|
141 | } |
|
142 | } else { |
|
143 | $enable_info = 1; |
|
144 | } |
|
145 | ||
146 | $xoopsTpl->assign('enable_info', $enable_info); |
|
147 | $xoopsTpl->assign('enable_resolution', $xoopsModuleConfig['enable_resolution']); |
@@ 221-233 (lines=13) @@ | ||
218 | ||
219 | //DNPROSSI - VOLTAN - added preferences option |
|
220 | // enable_info, enable_submitter_lnk, enable_photo_hits |
|
221 | if ($xoopsModuleConfig['info_view'] === 'album' || $xoopsModuleConfig['info_view'] === 'both') { |
|
222 | if ($xoopsModuleConfig['pubusr_info_view'] === 'public' || $xoopsModuleConfig['pubusr_info_view'] === 'both') { |
|
223 | if ($xoopsModuleConfig['enable_info'] == 0) { |
|
224 | $enable_info = $xoopsModuleConfig['enable_info']; |
|
225 | } else { |
|
226 | $enable_info = 1; |
|
227 | } |
|
228 | } else { |
|
229 | $enable_info = 1; |
|
230 | } |
|
231 | } else { |
|
232 | $enable_info = 1; |
|
233 | } |
|
234 | $xoopsTpl->assign('enable_info', $enable_info); |
|
235 | $xoopsTpl->assign('enable_photo_hits', $xoopsModuleConfig['enable_photo_hits']); |
|
236 | $xoopsTpl->assign('enable_submitter_lnk', $xoopsModuleConfig['enable_submitter_lnk']); |
@@ 189-201 (lines=13) @@ | ||
186 | ||
187 | //DNPROSSI - VOLTAN - added preferences option |
|
188 | // enable_info, enable_submitter_lnk, enable_photo_hits |
|
189 | if ($xoopsModuleConfig['info_view'] === 'album' || $xoopsModuleConfig['info_view'] === 'both') { |
|
190 | if ($xoopsModuleConfig['pubusr_info_view'] === 'user' || $xoopsModuleConfig['pubusr_info_view'] === 'both') { |
|
191 | if ($xoopsModuleConfig['enable_info'] == 0) { |
|
192 | $enable_info = $xoopsModuleConfig['enable_info']; |
|
193 | } else { |
|
194 | $enable_info = 1; |
|
195 | } |
|
196 | } else { |
|
197 | $enable_info = 1; |
|
198 | } |
|
199 | } else { |
|
200 | $enable_info = 1; |
|
201 | } |
|
202 | $xoopsTpl->assign('enable_info', $enable_info); |
|
203 | $xoopsTpl->assign('enable_photo_hits', $xoopsModuleConfig['enable_photo_hits']); |
|
204 | $xoopsTpl->assign('enable_submitter_lnk', $xoopsModuleConfig['enable_submitter_lnk']); |