checkbox in theme options page
<p>This is the code I have to display the checkbox in the theme options page:</p>

<pre><code>$options[] = array( "name" =&gt; "Enable/Disable Slider",
                "desc" =&gt; "If you don´t want to see the slider on your homepage you can disable it here.",
                "id" =&gt; $shortname."_onoffslider",
                "std" =&gt; "",
                "type" =&gt; "checkbox",
                "class" =&gt; "");
</code></pre>

<p>The checkbox now is there. And also I have this bit of code to echo the value true or false in my template. like this:</p>

<pre><code>            &lt;p&gt;
            &lt;?php if( get_option('_onoffslider') != '') { ?&gt;
            &lt;?php echo get_option('_onoffslider'); ?&gt;

            &lt;?php } else { ?&gt;

            It is ON!

            &lt;?php } ?&gt;
        &lt;/p&gt;    
</code></pre>

<p>In the template page the text "It is ON!" always shows, no matter the checkbox is on or off. I know the code is wrong but i can´t fix it. </p>

<p>Any help?
thanks =)</p>
