Changeset 12618 for extensions/Comments_on_Albums/include/coa_albums.php
- Timestamp:
- Nov 13, 2011, 1:18:26 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/include/coa_albums.php
r12601 r12618 350 350 ); 351 351 352 $template->set_filename('comments_on_albums', dirname(__FILE__) .'/../template/albums.tpl'); 352 global $user; 353 if ( $is_simple = strstr($user['theme'], 'simple') !== false or strstr($user['theme'], 'stripped') !== false ) 354 { 355 $template->assign('IS_SIMPLE', $is_simple); 356 $template->set_filename('comments_on_albums', dirname(__FILE__) .'/../template/albums_simple.tpl'); 357 } 358 else 359 { 360 $template->set_filename('comments_on_albums', dirname(__FILE__) .'/../template/albums.tpl'); 361 } 353 362 $template->concat('PLUGIN_INDEX_CONTENT_END', $template->parse('comments_on_albums', true)); 354 363
Note: See TracChangeset
for help on using the changeset viewer.