? styles/naked/images/minus.png ? styles/naked/images/plus.png Index: includes/advanced_forum_preprocess_forum_list.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/advanced_forum/includes/Attic/advanced_forum_preprocess_forum_list.inc,v retrieving revision 1.1.2.16 diff -u -p -r1.1.2.16 advanced_forum_preprocess_forum_list.inc --- includes/advanced_forum_preprocess_forum_list.inc 9 Jul 2010 03:04:48 -0000 1.1.2.16 +++ includes/advanced_forum_preprocess_forum_list.inc 30 Jul 2010 13:32:24 -0000 @@ -140,7 +140,7 @@ function _advanced_forum_preprocess_foru $variables['forums'][$id]->forum_image = taxonomy_image_display($forum->tid); } - if ($variables['forums'][$id]->depth > 1) { + if (isset($variables['forums'][$id]->depth) > 1) { // This is a subforum. Add it to the list for the compact listing. $parent_id = $id; for ($count = $variables['forums'][$id]->depth; $count > 1; $count--) { Index: includes/style.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/advanced_forum/includes/Attic/style.inc,v retrieving revision 1.1.2.15 diff -u -p -r1.1.2.15 style.inc --- includes/style.inc 12 Jul 2010 03:47:46 -0000 1.1.2.15 +++ includes/style.inc 30 Jul 2010 13:32:24 -0000 @@ -195,7 +195,7 @@ function advanced_forum_node_is_styled($ // Get the list of types that should have the style applied $styled_node_types = variable_get('advanced_forum_styled_node_types', array('forum')); // If this type is in the list of types that should be styled... - if (in_array($node->type, $styled_node_types)) { + if (in_array(isset($node->type), $styled_node_types)) { // ...and if we are styling teasers or this isn't a teaser... if (variable_get('advanced_forum_style_teasers', FALSE) || empty($node->teaser)) { // ...and if this is not a new node being previewed... Index: styles/naked/advanced_forum.naked.forum-list.tpl.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/advanced_forum/styles/naked/Attic/advanced_forum.naked.forum-list.tpl.php,v retrieving revision 1.1.2.6 diff -u -p -r1.1.2.6 advanced_forum.naked.forum-list.tpl.php --- styles/naked/advanced_forum.naked.forum-list.tpl.php 11 May 2010 18:24:46 -0000 1.1.2.6 +++ styles/naked/advanced_forum.naked.forum-list.tpl.php 30 Jul 2010 13:32:24 -0000 @@ -41,10 +41,10 @@ -
| + | @@ -57,7 +57,7 @@ | |||
|---|---|---|---|---|
| Index: styles/naked/advanced_forum.naked.structure.css =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/advanced_forum/styles/naked/Attic/advanced_forum.naked.structure.css,v retrieving revision 1.1.2.24 diff -u -p -r1.1.2.24 advanced_forum.naked.structure.css --- styles/naked/advanced_forum.naked.structure.css 27 Aug 2009 19:10:42 -0000 1.1.2.24 +++ styles/naked/advanced_forum.naked.structure.css 30 Jul 2010 13:32:24 -0000 @@ -378,4 +378,32 @@ td.forum-last-reply { margin-bottom: 10px; } +th.forum-name { + width: 50%; +} +th.forum-last-post { + width: 20%; +} +th.forum-icon, +th.forum-number-topics, +th.forum-posts { + width: 10%; +} +table.ctools-collapsible-container thead { + cursor: pointer; +} + +.ctools-toggle + table.ctools-collapsible-container th.forum-name { + background-image: url('images/minus.png'); + background-repeat: no-repeat; + background-position: 3px center; + padding-left: 15px; +} + +.ctools-toggle-collapsed + table.ctools-collapsible-container th.forum-name { + background-image: url('images/plus.png'); + background-repeat: no-repeat; + background-position: 3px center; + padding-left: 15px; +} | ||||