Changeset 2778:fe7e025273c4 for plugins/widgets/_widgets_functions.php
- Timestamp:
- 11/13/14 15:24:23 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/_widgets_functions.php
r2668 r2778 19 19 global $core; 20 20 21 if ($w->offline) 22 return; 23 21 24 if (($w->homeonly == 1 && $core->url->type != 'default') || 22 25 ($w->homeonly == 2 && $core->url->type == 'default')) { … … 40 43 global $core; 41 44 45 if ($w->offline) 46 return; 47 42 48 if (($w->homeonly == 1 && $core->url->type != 'default') || 43 49 ($w->homeonly == 2 && $core->url->type == 'default')) { … … 69 75 global $core, $_ctx; 70 76 77 if ($w->offline) 78 return; 79 71 80 if (($w->homeonly == 1 && $core->url->type != 'default') || 72 81 ($w->homeonly == 2 && $core->url->type == 'default')) { … … 120 129 { 121 130 global $core, $_ctx; 131 132 if ($w->offline) 133 return; 122 134 123 135 if (($w->homeonly == 1 && $core->url->type != 'default') || … … 158 170 { 159 171 global $core, $_ctx; 172 173 if ($w->offline) 174 return; 160 175 161 176 if (($w->homeonly == 1 && $core->url->type != 'default' && $core->url->type != 'lang') || … … 199 214 global $core; 200 215 216 if ($w->offline) 217 return; 218 201 219 if (($w->homeonly == 1 && $core->url->type != 'default') || 202 220 ($w->homeonly == 2 && $core->url->type == 'default')) { … … 236 254 public static function feed($w) 237 255 { 256 global $core; 257 238 258 if (!$w->url) { 239 259 return; 240 260 } 241 261 242 global $core; 262 if ($w->offline) 263 return; 243 264 244 265 if (($w->homeonly == 1 && $core->url->type != 'default') || … … 292 313 global $core; 293 314 315 if ($w->offline) 316 return; 317 294 318 if (($w->homeonly == 1 && $core->url->type != 'default') || 295 319 ($w->homeonly == 2 && $core->url->type == 'default')) { … … 305 329 { 306 330 global $core, $_ctx; 331 332 if ($w->offline) 333 return; 307 334 308 335 if (($w->homeonly == 1 && $core->url->type != 'default') || … … 362 389 global $core; 363 390 391 if ($w->offline) 392 return; 393 364 394 if (($w->homeonly == 1 && $core->url->type != 'default') || 365 395 ($w->homeonly == 2 && $core->url->type == 'default')) {
Note: See TracChangeset
for help on using the changeset viewer.