Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typos

  • Loading branch information...
commit c309a5ed8f995c3f713c70d81ab23077f41b0549 1 parent f5aac16
@ashcs ashcs authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 profile.php
View
9 profile.php
@@ -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; ?>
Please sign in to comment.
Something went wrong with that request. Please try again.