--- advanced_forum.naked.forum-list.tpl.php 2011-03-05 07:18:24.000000000 +0300 +++ ../sander/advanced_forum.sander.forum-list.tpl.php 2011-03-07 15:40:05.000000000 +0300 @@ -42,6 +42,18 @@ spanning the entire table. Forums are pr have already been attached to their parent forums in the preprocessing code and will display under their parents. */ + if (module_exists("forum_access")) { + $forums=array(); + foreach ($tables as $table_id => $table) { + foreach ($table['items'] as $item_id => $item) { + array_push($forums,&$item); + } + } + $vars=array(); + $vars['forums']=$forums; + forum_access_preprocess_forum_list($vars); + } + ?> $table): ?> @@ -108,6 +120,21 @@ and will display under their parents. description; ?> + + forum_access_moderators; + $moderator_output=array(); + if (sizeof($moderators)>0) { + foreach ($moderators as $uid => $muser) { + $moderator_output[]=''.$muser->name.''; + }; + echo('
'. format_plural(count($moderators_links), 'Moderator:', 'Moderators:').''); + $output=implode(', ',$moderator_output); + echo(' '. $output .'
'); + } + ?> + + subcontainers)): ?>