Subversion Repositories wpShopGermany4

Rev

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

Rev 5439 Rev 5749
Line 6... Line 6...
6
 
6
 
7
?>
7
?>
8
<?php if (sizeof($this->view['wpsg_mod_deliverynote']['data']) <= 0) { ?>
8
<?php if (sizeof($this->view['wpsg_mod_deliverynote']['data']) <= 0) { ?>
9
<p><?php echo __('Bisher keine Fußtexte angelegt!', 'wpsg'); ?></p>
9
<p><?php echo __('Bisher keine Fußtexte angelegt!', 'wpsg'); ?></p>
10
<?php } else { ?>
10
<?php } else { ?>
11
<table class="wpsg_foottextlist">			
11
<table class="table table-body-striped wpsg_foottextlist">
-
 
12
    <thead>
12
	<tr>
13
        <tr>
13
		<th class="col_kuerzel"><?php echo __('Kürzel', 'wpsg'); ?></th>
14
            <th class="col_kuerzel"><?php echo __('Kürzel', 'wpsg'); ?></th>
14
		<th class="col_text"><?php echo __('Text', 'wpsg'); ?></th>
15
            <th class="col_text"><?php echo __('Text', 'wpsg'); ?></th>
15
		<th class="col_standard"><?php echo __('Standard', 'wpsg'); ?></th>
16
            <th class="col_standard"><?php echo __('Standard', 'wpsg'); ?></th>
16
		<th class="col_aktion"></th>
17
            <th class="col_aktion"></th>
17
	</tr>
18
        </tr>
-
 
19
    </thead>
-
 
20
    <tbody>
18
	<?php foreach ((array)$this->view['wpsg_mod_deliverynote']['data'] as $key => $d) { ?>
21
        <?php foreach ((array)$this->view['wpsg_mod_deliverynote']['data'] as $key => $d) { ?>
19
	<tr>
22
        <tr>
20
		<td class="col_kuerzel wpsg_editable" id="wpsg_foottext_0_<?php echo $key; ?>"><?php echo wpsg_hspc($d[0]); ?></td>
23
            <td class="col_kuerzel"><span id="wpsg_foottext_0_<?php echo $key; ?>" class="wpsg_editable"><?php echo wpsg_hspc($d[0]); ?></span></td>
21
		<td class="col_text wpsg_editable" id="wpsg_foottext_1_<?php echo $key; ?>"><?php echo wpsg_hspc($d[1]); ?></td>
24
            <td class="col_text"><span class="wpsg_editable" id="wpsg_foottext_1_<?php echo $key; ?>"><?php echo wpsg_hspc($d[1]); ?></span></td>
22
		<td class="col_standard"><input type="radio" value="<?php echo $key; ?>" <?php echo (($this->get_option('wpsg_mod_deliverynote_foottext_standard') == $key)?'checked="checked"':''); ?> class="wpsg_mod_deliverynote_foottext_standard" name="wpsg_mod_deliverynote_foottext_standard" /></td>
25
            <td class="col_standard"><input type="radio" value="<?php echo $key; ?>" <?php echo (($this->get_option('wpsg_mod_deliverynote_foottext_standard') == $key)?'checked="checked"':''); ?> class="wpsg_mod_deliverynote_foottext_standard" name="wpsg_mod_deliverynote_foottext_standard" /></td>
23
		<td class="col_aktion">
26
            <td class="col_aktion">
24
		
27
 
25
			<a onclick="return wpsg_removeFooter(<?php echo $key; ?>);" title="<?php echo __('Fußtext löschen', 'wpsg'); ?>'" href="#" class="wpsg_icon wpsg_icon_center wpsg_icon_remove"></a>
28
                <a onclick="return wpsg_removeFooter(<?php echo $key; ?>);" title="<?php echo __('Fußtext löschen', 'wpsg'); ?>'" href="#" class="">
-
 
29
                    <span class="glyphicon glyphicon-trash"></span>
-
 
30
                </a>
26
			
31
 
27
			<script type="text/javascript">
32
                <script type="text/javascript">/* <![CDATA[ */
28
 
33
 
29
				jQuery(document).ready(function() {
34
                    jQuery(document).ready(function() {
30
 
35
 
31
					jQuery('#wpsg_foottext_0_<?php echo $key; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_deliverynote&do=inlineEdit&noheader=1', {
36
                        jQuery('#wpsg_foottext_0_<?php echo $key; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_deliverynote&do=inlineEdit&noheader=1', {
32
						submitdata: { 
37
                            submitdata: {
33
				    		field: '0',
38
                                field: '0',
34
				    		field_id: '<?php echo $key; ?>'
39
                                field_id: '<?php echo $key; ?>'
35
						}, 					
40
                            },
36
						submit: '<?php echo __('Speichern', 'wpsg'); ?>',
41
                            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
37
						placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
42
                            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
38
						indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
43
                            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
39
				    	tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
44
                            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
40
					});	
45
                        });
41
	
46
 
42
					jQuery('#wpsg_foottext_1_<?php echo $key; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_deliverynote&do=inlineEdit&noheader=1', {
47
                        jQuery('#wpsg_foottext_1_<?php echo $key; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_deliverynote&do=inlineEdit&noheader=1', {
43
						submitdata: { 
48
                            submitdata: {
44
				    		field: '1',
49
                                field: '1',
45
				    		field_id: '<?php echo $key; ?>'
50
                                field_id: '<?php echo $key; ?>'
46
						}, 					
51
                            },
47
						submit: '<?php echo __('Speichern', 'wpsg'); ?>',
52
                            submit: '<?php echo __('Speichern', 'wpsg'); ?>',
48
						placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
53
                            placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
49
						indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
54
                            indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
50
				    	tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
55
                            tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
51
					});	
56
                        });
52
 
57
 
53
				} );
58
                    } );
54
					
59
 
55
			</script>
60
                /* ]]> */</script>
56
			
61
 
57
		</td>
62
            </td>
58
	</tr>
63
        </tr>
59
	<?php } ?>
64
        <?php } ?>
-
 
65
    </tbody>
60
</table>
66
</table>
61
<?php } ?>
67
<?php } ?>
62
68