Code: [ Select all ]
/* Start Toggle Checkboxs */:root { --track: #777; --track_color_active_1: #0F0; --track_color_active_2: #F00; --switch: #FFF; --switch_border: #CCC; } .switchcheck { position: relative; display: inline-block; width: 26px; height: 14px; } .switchcheck input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--track); border-radius: 20px; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; content: ""; height: 10px; width: 10px; left: 0; bottom: 0; background-color: var(--switch); border-radius: 50%; border: 2px solid var(--switch_border); -webkit-transition: .4s; transition: .4s; } input:checked + .slider1 { background-color: var(--track_color_active_1); } input:focus + .slider1 { box-shadow: 0 0 1px var(--track_color_active_1); } input:checked + .slider2 { background-color: var(--track_color_active_2) !important; } input:focus + .slider2 { box-shadow: 0 0 1px var(--track_color_active_2) !important; } input:checked + .slider:before { -webkit-transform: translateX(12px); -ms-transform: translateX(12px); transform: translateX(12px); }/* End Toggle Checkboxes */
<label class="switchcheck">
<span class="slider slider2"></span></label>
PHP: [ Select all ]
<!-- BEGIN switch_signature_checkbox --> <br /><input type="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} value="ON" /> {L_ATTACH_SIGNATURE} <span class="gensmall">{L_ATTACH_SIGNATURE_HELP}</span> <!-- END switch_signature_checkbox -->
<!-- BEGIN switch_signature_checkbox --> <br /><label class="switchcheck"><input type="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} value="ON" /><span class="slider slider2"></span></label> {L_ATTACH_SIGNATURE} <span class="gensmall">{L_ATTACH_SIGNATURE_HELP}</span> <!-- END switch_signature_checkbox -->
<!-- BEGIN switch_html_checkbox --> <input type="checkbox" name="disable_html" {S_HTML_CHECKED} value="ON" /> {L_DISABLE_HTML} <!-- END switch_html_checkbox --> <!-- BEGIN switch_bbcode_checkbox --> | <input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} value="ON" /> {L_DISABLE_BBCODE} <!-- END switch_bbcode_checkbox --> <!-- BEGIN switch_smilies_checkbox --> | <input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} value="ON" /> {L_DISABLE_SMILIES} <!-- END switch_smilies_checkbox -->
{L_DISABLE} <!-- BEGIN switch_html_checkbox --> <input type="checkbox" name="disable_html" {S_HTML_CHECKED} value="ON" /> {L_D_HTML} <!-- END switch_html_checkbox --> <!-- BEGIN switch_bbcode_checkbox --> / <input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} value="ON" /> {L_D_BBCODE} <!-- END switch_bbcode_checkbox --> <!-- BEGIN switch_smilies_checkbox --> / <input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} value="ON" /> {L_D_SMILIES} {L_D_IN_POST} <!-- END switch_smilies_checkbox -->
$lang['Disable_Smilies_post'] = 'Disable Smilies in this post';
$lang['Disable_HTML'] = 'HTML';$lang['Disable_BBCode'] = 'BBCode';$lang['Disable_Smilies'] = 'Smilies';$lang['Disable_In_Post'] = 'in this post';$lang['Disable'] = 'Disable';
'L_DISABLE_SMILIES' => $lang['Disable_Smilies_post'],
//Shortened Options 'L_D_HTML' => $lang['Disable_HTML'], 'L_D_BBCODE' => $lang['Disable_BBCode'], 'L_D_SMILIES' => $lang['Disable_Smilies'], 'L_D_IN_POST' => $lang['Disable_In_Post'], 'L_DISABLE' => $lang['Disable'], //Shortened Options End
output generated using printer-friendly topic mod. All times are GMT - 7 Hours