Subversion Repositories wpShopGermany4

Rev

Rev 2763 | Rev 3417 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

        /**
         * Template für die Einstellungsseite des Produktartikel Moduls
         */

?>
<div class="wpsg_form_field">
        <div class="wpsg_form_left"><?php echo __('Path Key', 'wpsg'); ?>:</div>
        <div class="wpsg_form_right">
                <input type="text" name="wpsg_mod_produktartikel_pathkey" value="<?php echo $this->get_option('wpsg_mod_produktartikel_pathkey'); ?>" />
                <a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_produktartikel_pathkey" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_produktartikel_pathkey" class="wpsg_form_help"></a>
        </div>
        <div class="wpsg_clear"></div>
</div>          

<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_showHome', __('Direkt auf Startseitenansicht anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_showHome')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_showCategory', __('Direkt in den Kategorieansichten anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_showCategory')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_showSearch', __('Direkt in den Suchergebnissen anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_showSearch')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_showFeed', __('Direkt in den Feeds anzeigen', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_showFeed')); ?>

<div class="wpsg_form_field">
        <div class="wpsg_form_left">
                <label for="wpsg_mod_produktartikel_hometemplate"><?php echo __('Produkttemplate für Ansicht auf Startseite', 'wpsg'); ?>:</label>                                                                     
        </div>
        <div class="wpsg_form_right">
                <?php if (!is_array($this->view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?>
                <p class="wpsg_error"><?php echo __('Keine Templatedatein gefunden!', 'wpsg'); ?></p>
                <?php } else { ?>
                <select name="wpsg_mod_produktartikel_hometemplate" id="wpsg_mod_produktartikel_hometemplate">
                        <option value="-1"><?php echo __('Wie Produkttemplate', 'wpsg'); ?></option>
                        <?php foreach ($this->view['arTemplates'] as $t) { ?>
                        <option <?php echo (($t == $this->get_option('wpsg_mod_produktartikel_hometemplate'))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($t); ?>"><?php echo wpsg_hspc($t); ?></option>
                        <?php } ?>
                </select>
                <?php } ?>
        </div>
        <div class="wpsg_clear"></div>
</div>  
<div class="wpsg_form_field">
        <div class="wpsg_form_left">
                <label for="wpsg_mod_produktartikel_listtemplate"><?php echo __('Produkttemplate für List Ansicht', 'wpsg'); ?>:</label>                                                                       
        </div>
        <div class="wpsg_form_right">
                <?php if (!is_array($this->view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?>
                <p class="wpsg_error"><?php echo __('Keine Templatedatein gefunden!', 'wpsg'); ?></p>
                <?php } else { ?>
                <select name="wpsg_mod_produktartikel_listtemplate" id="wpsg_mod_produktartikel_listtemplate">
                        <option value="-1"><?php echo __('Wie Produkttemplate', 'wpsg'); ?></option>
                        <?php foreach ($this->view['arTemplates'] as $t) { ?>
                        <option <?php echo (($t == $this->get_option('wpsg_mod_produktartikel_listtemplate'))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($t); ?>"><?php echo wpsg_hspc($t); ?></option>
                        <?php } ?>
                </select>
                <?php } ?>
        </div>
        <div class="wpsg_clear"></div>
</div>  
<div class="wpsg_form_field">
        <div class="wpsg_form_left">
                <label for="wpsg_mod_produktartikel_searchtemplate"><?php echo __('Produkttemplate für Such Ansicht', 'wpsg'); ?>:</label>                                                                     
        </div>
        <div class="wpsg_form_right">
                <?php if (!is_array($this->view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?>
                <p class="wpsg_error"><?php echo __('Keine Templatedatein gefunden!', 'wpsg'); ?></p>
                <?php } else { ?>
                <select name="wpsg_mod_produktartikel_searchtemplate" id="wpsg_mod_produktartikel_searchtemplate">
                        <option value="-1"><?php echo __('Wie Produkttemplate', 'wpsg'); ?></option>
                        <?php foreach ($this->view['arTemplates'] as $t) { ?>
                        <option <?php echo (($t == $this->get_option('wpsg_mod_produktartikel_searchtemplate'))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($t); ?>"><?php echo wpsg_hspc($t); ?></option>
                        <?php } ?>
                </select>
                <?php } ?>
        </div>
        <div class="wpsg_clear"></div>
</div>  

<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_facebook', __('Facebook Integration', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_facebook')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_google', __('Google+ Integration', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_google')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_produktartikel_twitter', __('Twitter Integration', 'wpsg'), $this->get_option('wpsg_mod_produktartikel_twitter')); ?>

<script type="text/javascript">

        jQuery(document).ready(function() {
                
                jQuery('.wpsg_form_help').tipTip();
                
        } );

</script>