_e('Allow users to change the night mode settings.', 'luna'); ?> </label> </div> </div> </div> <hr /> <div class="form-group"> <label class="col-sm-3 control-label"><?php _e('Color', 'luna'); ?> </label> <div class="col-sm-9"> <div class="btn-group accent-group" data-toggle="buttons"> <?php $accents = forum_list_accents('main'); foreach ($accents as $temp) { if ($luna_config['o_default_accent'] == $temp) { echo '<label class="btn btn-primary color-accent accent-' . $temp . ' active"><input type="radio" name="form[default_accent]" id="' . $temp . '" value="' . $temp . '" checked></label>'; } else { echo '<label class="btn btn-primary color-accent accent-' . $temp . '"> <input type="radio" name="form[default_accent]" id="' . $temp . '" value="' . $temp . '"></label>'; } } ?> </div> </div> </div> <hr /> <div class="form-group"> <label class="col-sm-3 control-label"><?php _e('User profile', 'luna');
</div> </div> <hr /> <?php } if ($luna_user['is_admmod']) { ?> <div class="form-group"> <label class="col-sm-3 control-label"><?php _e('Backstage accent', 'luna'); ?> </label> <div class="col-sm-9"> <div class="btn-group accent-group" data-toggle="buttons"> <?php $accents = forum_list_accents('back'); foreach ($accents as $temp) { if ($luna_user['accent'] == $temp) { echo '<label class="btn btn-primary color-accent accent-' . $temp . ' active"><input type="radio" name="form[accent]" id="' . $temp . '" value="' . $temp . '" checked></label>'; } else { echo '<label class="btn btn-primary color-accent accent-' . $temp . '"> <input type="radio" name="form[accent]" id="' . $temp . '" value="' . $temp . '"></label>'; } } ?> </div> </div> </div> <?php } $languages = forum_list_langs(); // Only display the language selection box if there's more than one language available