Skip to content
Browse files

Merge pull request #96 from Allineer/patch-2

Added pf_change_details_admin_forum_loop_end hook in profile.php
  • Loading branch information...
2 parents c4c6cb7 + 0fcf7bd commit e88d0acefb1f6a2e643bd887d265fb26082e3574 @ashcs ashcs committed Aug 23, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 profile.php
View
2 profile.php
@@ -2918,6 +2918,8 @@ function extract_elements($allowed_elements)
$moderators = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array();
echo "\t\t\t\t\t\t\t".'<div class="checklist-item"><span class="fld-input"><input type="checkbox" id="fld'.(++$forum_page['fld_count']).'" name="moderator_in['.$cur_forum['fid'].']" value="1"'.((in_array($id, $moderators)) ? ' checked="checked"' : '').' /></span> <label for="fld'.$forum_page['fld_count'].'">'.forum_htmlencode($cur_forum['forum_name']).'</label></div>'."\n";
+
+ ($hook = get_hook('pf_change_details_admin_forum_loop_end')) ? eval($hook) : null;
}
if ($cur_category)

0 comments on commit e88d0ac

Please sign in to comment.
Something went wrong with that request. Please try again.