Subversion Repositories wpShopGermany4

Rev

Rev 7301 | Rev 7553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7301 Rev 7541
Line 232... Line 232...
232
                    </label>
232
                    </label>
233
 
233
 
234
                    <?php
234
                    <?php
235
 
235
 
236
                        $wpsg_rechnungen_footer = $this->get_option("wpsg_rechnungen_footer");
236
                        $wpsg_rechnungen_footer = $this->get_option("wpsg_rechnungen_footer");
-
 
237
                        
237
                        if (!is_array($wpsg_rechnungen_footer)) $wpsg_rechnungen_footer = unserialize($this->get_option("wpsg_rechnungen_footer"));
238
                        if (!is_array($wpsg_rechnungen_footer)) $wpsg_rechnungen_footer = unserialize($this->get_option("wpsg_rechnungen_footer"));
238
                        if (!is_array($wpsg_rechnungen_footer)) $wpsg_rechnungen_footer = Array();
239
                        if (!is_array($wpsg_rechnungen_footer)) $wpsg_rechnungen_footer = Array();
239
 
240
 
-
 
241
                        $default = $this->get_option('wpsg_rechnungen_foottext_standard');
-
 
242
                         
240
                    ?>
243
                    ?>
241
 
244
 
242
                    <?php if (sizeof($wpsg_rechnungen_footer) > 0) { ?>
245
                    <?php if (sizeof($wpsg_rechnungen_footer) > 0) { ?>
243
                    <select style="width:300px; float:right;" id="wpsg_rechnungen_select" onchange="jQuery('#wpsg_rechnungen_fusstext').val(this.value);">
246
                    <select style="width:300px; float:right;" id="wpsg_rechnungen_select" onchange="jQuery('#wpsg_rechnungen_fusstext').val(this.value);">
244
                        <?php foreach ($wpsg_rechnungen_footer as $k => $v) { ?>
247
                        <?php foreach ($wpsg_rechnungen_footer as $k => $v) { ?>
245
                        <option value="<?php echo wpsg_hspc($v[1]); ?>"><?php echo wpsg_hspc($v[0]); ?></option>
248
                        <option value="<?php echo wpsg_hspc($v[1]); ?>" <?php echo ((intval($default) === intval($k))?'selected="selected"':''); ?>><?php echo wpsg_hspc($v[0]); ?></option>
246
                        <?php } ?>
249
                        <?php } ?>
247
                    </select>
250
                    </select>
248
                    <?php } ?>
251
                    <?php } ?>
249
 
252
 
250
                    <div style="clear:both; width:100%; height:5px;"></div>
253
                    <div style="clear:both; width:100%; height:5px;"></div>