示例#1
0
    function admin_meta_options()
    {
        global $post, $wp_version;
        $struct_uploader = '<div class="dzs-wordpress-uploader">
<a href="#" class="button-secondary">' . __('Upload', 'dzsp') . '</a>
</div>';
        //$wp_version = '3.4.1';
        if ($wp_version < 3.5) {
            $struct_uploader = '<div class="dzs-single-upload">
<input id="files-upload" class="" name="file_field" type="file">
</div>';
        }
        ?>
        <div class="dzsp-meta-bigcon">
            <input type="hidden" name="dzs_nonce" value="<?php 
        echo wp_create_nonce('dzs_nonce');
        ?>
" />


            <?php 
        echo '<div class="dzs-setting">
            <h4 class="setting-label">' . __('Select Featured Media Type', 'dzsp') . '</h4>
                <div class="main-feed-chooser select-hidden-metastyle">';
        echo $this->misc_generate_select('dzsp_item_type', get_post_meta($post->ID, 'dzsp_item_type', true), array(array('value' => 'thumb', 'label' => __('image', 'dzsp')), array('value' => 'gallery', 'label' => __('gallery', 'dzsp')), array('value' => 'audio', 'label' => __('image', 'dzsp')), array('value' => 'video', 'label' => __('gallery', 'dzsp')), array('value' => 'youtube', 'label' => __('youtube', 'dzsp')), array('value' => 'vimeo', 'label' => __('vimeo', 'dzsp')), array('value' => 'link', 'label' => __('image', 'dzsp')), array('value' => 'testimonial', 'label' => __('testimonial', 'dzsp')), array('value' => 'twitter', 'label' => __('twitter', 'dzsp'))), array('class' => 'textinput mainsetting', 'def_value' => ''));
        echo '<div class="option-con clearfix">
                    <div class="an-option" title="' . __('thumb', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-image.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('gallery', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-gallery.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('audio', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-audio.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('video', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-video.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('youtube', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-video-youtube.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('vimeo', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-video-vimeo.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('link', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-link.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('testimonial', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-testimonial.png' . ');"></div>
                    </div>
                    
                    <div class="an-option" title="' . __('twitter', 'dzsp') . '">
                    <div class="fullbg" style="background-image:url(' . $this->thepath . 'dzsportfolio/img/hero-type-twitter.png' . ');"></div>
                    </div>
                </div>
            </div>
        </div>';
        ?>
            <div class="dzs-setting">
                <h4><?php 
        echo __('Featured Media', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_featured_media', array('class' => 'input-big-image', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_featured_media', true)));
        ?>
                <?php 
        echo $struct_uploader;
        ?>
                <div class="dzs-img-preview-con"><div class="dzs-img-preview"></div></div>
                <div class='sidenote mode_thumb'><?php 
        echo __('the path to the location of the image / if you have a featured image set, there is no need to input anything here', 'dzsp');
        ?>
</div>
                <div class='sidenote mode_gallery'><?php 
        echo __('use the Item Gallery form in the right to upload the gallery ( this field is not needed ) --->', 'dzsp');
        ?>
</div>
                <div class='sidenote mode_audio'><?php 
        echo __('the path to the location of the mp3 / if you have a ogg for firefox too you can place it in the backup field below', 'dzsp');
        ?>
</div>
                <div class='sidenote mode_video'><?php 
        echo __('the path to the location of the mp4 / if you have a ogg for firefox too you can place it in the backup field below', 'dzsp');
        ?>
</div>
                <div class='sidenote mode_youtube mode_vimeo'><?php 
        echo __('input here the id of the video', 'dzsp');
        ?>
</div>
                <div class='sidenote mode_link'><?php 
        echo __('the link on which the click directs too', 'dzsp');
        ?>
</div>
                <div class='sidenote mode_testimonial'><?php 
        echo __('some testimonial text', 'dzsp');
        ?>
</div>
                <div class='sidenote mode_twitter'><?php 
        echo __('the twitter id to get the last tweet from', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting mode_video mode_audio"> 
                <h4><?php 
        echo __('Featured Media OGG backup', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_sourceogg', array('class' => 'input-big-image', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_sourceogg', true)));
        ?>
                <?php 
        echo $struct_uploader;
        ?>
                <div class='sidenote mode_thumb'><?php 
        echo __('a backup ogg file for html5 streaming', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Big Image', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_big_image', array('class' => 'input-big-image', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_big_image', true)));
        ?>
                <?php 
        echo $struct_uploader;
        ?>
                <div class="dzs-img-preview-con"><div class="dzs-img-preview"></div></div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Big Gallery', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_biggallery', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_biggallery', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('make the big image part of a gallery. the different items on the same page with the same gallery name will have appear in the same gallery.', 'dzsp');
        ?>
</div>
            </div>



            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Disable Title and Subtitle', 'dzsp');
        ?>
</h4>
                <?php 
        $lab = 'dzsp_disable_title_subtitle';
        echo DZSHelpers::generate_select($lab, array('seekval' => get_post_meta($post->ID, $lab, true), 'options' => array(array('val' => 'off', 'lab' => __('off', 'dzsp')), array('val' => 'on', 'lab' => __('on', 'dzsp'))), 'class' => 'styleme', 'def_value' => ''));
        ?>
                <div class="clear"></div>
                <div class='sidenote'><?php 
        echo __('disable the title and subtitle', 'dzsp');
        ?>
</div>
                <div class="clear"></div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Disable Content', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_generate_select('dzsp_disable_content', get_post_meta($post->ID, 'dzsp_disable_content', true), array(array('value' => 'off', 'label' => __('off', 'dzsp')), array('value' => 'on', 'label' => __('on', 'dzsp'))), array('class' => 'styleme', 'def_value' => ''));
        ?>
                <div class="clear"></div>
                <div class='sidenote'><?php 
        echo __('disable the content in skin-clean and skin-accordion', 'dzsp');
        ?>
</div>
                <div class="clear"></div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Force Item Width', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_force_width', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_force_width', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('force a specific width for this item', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Force Item Height', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_force_height', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_force_height', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('force a specific height for this item', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Force Thumb Width', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_force_thumb_width', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_force_thumb_width', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('force a specific width for the thumb of this item', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Force Thumb Height', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_force_thumb_height', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_force_thumb_height', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('force a specific height for the thumb of this item', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Highlight Color', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_highlight_color', array('class' => '', 'def_value' => '', 'type' => 'colorpicker', 'seekval' => get_post_meta($post->ID, 'dzsp_highlight_color', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('represents the overlay color of the item ( if for example the selected skin is skin-blog ) / leave blank for default ', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Skin Blog / Position Top Overlay', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_infometa_top', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_infometa_top', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('set the overlay initial top position ( only for skin-blog )', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Subtitle', 'dzsp');
        ?>
</h4>
                <?php 
        $lab = 'dzsp_subtitle';
        echo $this->misc_input_text($lab, array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, $lab, true)));
        ?>
                <div class='sidenote'><?php 
        echo __('set a subtitle for aplicable skins ( like skin-default or skin-corporate )', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Meta Order', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_meta_order', array('class' => '', 'def_value' => '500', 'seekval' => get_post_meta($post->ID, 'dzsp_meta_order', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('used only if orderby is set to <strong>meta order</strong> in the shortcode parameters. it will display the portfolio items based on the 
        values of each portfolio item defined here', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Excerpt Length', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_excerpt_len', array('class' => '', 'def_value' => '500', 'seekval' => get_post_meta($post->ID, 'dzsp_excerpt_len', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('Only if you are using a skin that shows the content of the portfolio item / like skin-corporate - limit number of characters to show. If you have anything entered in the Excerpt field it will pull content from there.', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Gallery Slideshow Time', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_slideshowtime', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_slideshowtime', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('only for the gallery type / the time between image changes', 'dzsp');
        ?>
</div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Extra Classes', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_input_text('dzsp_extra_classes', array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, 'dzsp_extra_classes', true)));
        ?>
                <div class='sidenote'><?php 
        echo __('[advanced] some extra classes that you want added to the portfolio item', 'dzsp');
        ?>
</div>
            </div>
            <h4 class="bigger-heading"><?php 
        echo __('Linking Settings', 'dzsp');
        ?>
</h4>
            <p><img class="border-image" src="https://lh6.googleusercontent.com/-LWAgfGsX1IM/Ub5OHWlAx-I/AAAAAAAADpE/1mj0Eb6JrJc/w537-h268-no/help_structure.jpg"/></p>

            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Featured Area Links To....', 'dzsp');
        ?>
</h4>
                <?php 
        $lab = 'dzsp_link_featurearea';
        echo $this->misc_generate_select($lab, get_post_meta($post->ID, $lab, true), array(array('value' => 'bigimage', 'label' => __('Big Image', 'dzsp')), array('value' => 'item', 'label' => __('Item URL', 'dzsp')), array('value' => 'customlink', 'label' => __('Custom Link', 'dzsp')), array('value' => 'content_opener', 'label' => __('Excerpt Open', 'dzsp')), array('value' => 'none', 'label' => __('Nowhere', 'dzsp'))), array('class' => 'styleme', 'def_value' => ''));
        ?>
                <div class="clear"></div>
                <div class='sidenote'><?php 
        echo __('Choose where clicking the featured area should go.', 'dzsp');
        ?>
</div>
                <div class="clear"></div>
            </div>
            <div class="dzs-setting">
                <h4><?php 
        echo __('Open Big Image In Lightbox', 'dzsp');
        ?>
</h4>
                <?php 
        echo $this->misc_generate_select('dzsp_open_big_image_in_lightbox', get_post_meta($post->ID, 'dzsp_open_big_image_in_lightbox', true), array(array('value' => 'on', 'label' => __('on', 'dzsp')), array('value' => 'off', 'label' => __('off', 'dzsp'))), array('class' => 'styleme', 'def_value' => ''));
        ?>
                <div class="clear"></div>
            </div>




            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Meta Area Links To....', 'dzsp');
        ?>
</h4>
                <?php 
        $lab = 'dzsp_link_metaarea';
        echo $this->misc_generate_select($lab, get_post_meta($post->ID, $lab, true), array(array('value' => 'item', 'label' => __('Item URL', 'dzsp')), array('value' => 'bigimage', 'label' => __('Big Image', 'dzsp')), array('value' => 'content_opener', 'label' => __('Excerpt Open', 'dzsp')), array('value' => 'customlink', 'label' => __('Custom Link', 'dzsp')), array('value' => 'none', 'label' => __('Nowhere', 'dzsp'))), array('class' => 'styleme', 'def_value' => ''));
        ?>
                <div class="clear"></div>
                <div class='sidenote'><?php 
        echo __('Choose where clicking the featured area should go. You can input the custom link below.', 'dzsp');
        ?>
</div>
                <div class="clear"></div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Title Links To....', 'dzsp');
        ?>
</h4>
                <?php 
        $lab = 'dzsp_link_title';
        echo $this->misc_generate_select($lab, get_post_meta($post->ID, $lab, true), array(array('value' => 'none', 'label' => __('Nowhere', 'dzsp')), array('value' => 'item', 'label' => __('Item URL', 'dzsp')), array('value' => 'content_opener', 'label' => __('Excerpt Open', 'dzsp')), array('value' => 'customlink', 'label' => __('Custom Link', 'dzsp'))), array('class' => 'styleme', 'def_value' => ''));
        ?>
                <div class="clear"></div>
                <div class='sidenote'><?php 
        echo __('Choose where clicking the item area should go. Default - no link on title. You can input the custom link below.', 'dzsp');
        ?>
</div>
                <div class="clear"></div>
            </div>
            <div class="dzs-setting"> 
                <h4><?php 
        echo __('Custom Link', 'dzsp');
        ?>
</h4>
                <?php 
        $lab = 'dzsp_customlink';
        echo $this->misc_input_text($lab, array('class' => '', 'def_value' => '', 'seekval' => get_post_meta($post->ID, $lab, true)));
        ?>
            </div>

        </div>

        <?php 
    }
示例#2
0
    function admin_page_mainoptions()
    {
        //print_r($this->mainoptions);
        //echo $this->mainoptions['twitter_token'];
        ?>

        <div class="wrap">
            <h2><?php 
        echo __('Page Builder Main Settings', 'dzspb');
        ?>
</h2>
            <br/>
            <form class="mainsettings">
                <h3><?php 
        echo __('Admin Options', 'dzspb');
        ?>
</h3>

                <div class="setting">
                    <div class="label"><?php 
        echo __('Main Container', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_con', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_con']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout Layout Container', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_layout_con', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_layout_con']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout Raw Class', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_raw', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_raw']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout One Full', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_one_full', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_one_full']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout One Half', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_one_half', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_one_half']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout One Third', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_one_third', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_one_third']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout Two Third', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_two_third', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_two_third']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout One Fourth', 'dzspb');
        ?>
</div>
                    <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_one_fourth', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_one_fourth']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="setting">
                    <div class="label"><?php 
        echo __('Layout Three Fourth', 'dzspb');
        ?>
</div>
        <?php 
        echo DZSHelpers::generate_input_text('layout_name_dzspb_three_fourth', array('val' => '', 'seekval' => $this->mainoptions['layout_name_dzspb_three_fourth']));
        ?>
                    <div class="sidenote"><?php 
        echo __('', 'dzspb');
        ?>
</div>
                </div>
                <div class="dzs-setting"> 
                    <h4><?php 
        echo __('Mode ', 'dzspb');
        ?>
</h4>
                    <?php 
        $lab = 'mode';
        echo DZSHelpers::generate_select($lab, array('class' => 'styleme', 'def_value' => '', 'seekval' => $this->mainoptions[$lab], 'options' => array(array('val' => 'editor', 'lab' => __('editor', 'dzspb')), array('val' => 'meta', 'lab' => __('meta', 'dzspb')))));
        ?>
                    <div class="clear"></div>
                    <div class='sidenote'><?php 
        echo __('allows to display Pages too in the Portfolio .. and set option for them', 'dzspb');
        ?>
</div>
                    <div class="clear"></div>
                </div>
                <div class="dzs-setting"> 
                    <h4><?php 
        echo __('Enable Page Builder for ... ', 'dzspb');
        ?>
</h4>
                    <?php 
        $lab = 'pb_post_types';
        //        print_r($this->mainoptions[$lab]);
        //        print_r(get_option('active_plugins'));
        $args = array('public' => true, '_builtin' => false);
        $output = 'names';
        // names or objects, note names is the default
        $operator = 'and';
        // 'and' or 'or'
        $post_types = get_post_types($args, $output, $operator);
        echo DZSHelpers::generate_input_checkbox($lab . '[]', array('class' => 'styleme', 'def_value' => '', 'seekval' => $this->mainoptions[$lab], 'val' => 'post'));
        echo __(' post', 'dzspb');
        echo '<br/>';
        echo DZSHelpers::generate_input_checkbox($lab . '[]', array('class' => 'styleme', 'def_value' => '', 'seekval' => $this->mainoptions[$lab], 'val' => 'page'));
        echo __(' page', 'dzspb');
        echo '<br/>';
        foreach ($post_types as $post_type) {
            echo DZSHelpers::generate_input_checkbox($lab . '[]', array('class' => 'styleme', 'def_value' => '', 'seekval' => $this->mainoptions[$lab], 'val' => $post_type));
            echo __(' ' . $post_type, 'dzspb');
            echo '<br/>';
        }
        ?>
                    <div class="clear"></div>
                    <div class='sidenote'><?php 
        echo __('allows to display Pages too in the Portfolio .. and set option for them', 'dzspb');
        ?>
</div>
                    <div class="clear"></div>
                </div>
                <br/>
                <a href='#' class="button-primary save-btn save-mainoptions"><?php 
        echo __('Save Options', 'dzspb');
        ?>
</a>
            </form>
            <div class="saveconfirmer" style=""><img alt="" style="" id="save-ajax-loading2" src="<?php 
        echo site_url();
        ?>
/wp-admin/images/wpspin_light.gif"/></div>
            <script>
                jQuery(document).ready(function($) {
                    dzspb_mainoptions_ready();
                })
            </script>
        </div>
        <?php 
    }