Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcs committed Aug 20, 2013
1 parent f5aac16 commit c309a5e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions profile.php
Expand Up @@ -2909,19 +2909,20 @@ function extract_elements($allowed_elements)
if ($cur_forum['cid'] != $cur_category) // A new category since last iteration?
{
if ($cur_category)
echo "\n\t\t\t\t\t".'</fieldset>'."\n";
echo "\n\t\t\t\t\t\t".'</fieldset>'."\n";

echo "\t\t\t\t\t".'<fieldset>'."\n\t\t\t\t\t\t".'<legend><span>'.$cur_forum['cat_name'].':</span></legend>'."\n";
echo "\t\t\t\t\t\t".'<fieldset>'."\n\t\t\t\t\t\t\t".'<legend><span>'.$cur_forum['cat_name'].':</span></legend>'."\n";
$cur_category = $cur_forum['cid'];
}

$moderators = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array();

echo "\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";
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";
}

if ($cur_category)
echo "\t\t\t\t\t\t".'</fieldset>'."\n";
?>
</fieldset>
</div>
</div>
<?php ($hook = get_hook('pf_change_details_admin_pre_mod_assignment_fieldset_end')) ? eval($hook) : null; ?>
Expand Down

0 comments on commit c309a5e

Please sign in to comment.