on off switch disabled

To make it look disabled, add the class "disabled" to the <div class="onoffswitch">.
To let it disabled, without the possibility to change from on to off, add the attribute disabled="disabled" in the <input type="checkbox">.

The code should look like:

<div class="onoffswitch disabled">
                                        <input type="checkbox" checked="" disabled="disabled" class="onoffswitch-checkbox" name="onoffswitch" id="user-registration">
                                        <label for="user-registration" class="onoffswitch-label">
                                            <span class="onoffswitch-inner">
                                                <span class="onoffswitch-active">ON</span>
                                                <span class="onoffswitch-inactive">OFF</span>
                                            </span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>