diff options
| author | hartmut <noreply@maennchen1.de> | 2017-05-12 14:44:21 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-05-12 14:44:21 +0000 |
| commit | 4699f08728ca20c41b239aeb550cbeacc2b359af (patch) | |
| tree | e3b26c559d98d6c400dc207316de3a67eded752a /views/mods/mod_productvariants | |
| parent | 5ea9179a85b918c7a284918ccdf69e05c51ed2b4 (diff) | |
Korrektur Variationen und Produktbilder
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6265 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_productvariants')
| -rw-r--r-- | views/mods/mod_productvariants/admin_edit.phtml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/views/mods/mod_productvariants/admin_edit.phtml b/views/mods/mod_productvariants/admin_edit.phtml index 8f54077..f55bc9f 100644 --- a/views/mods/mod_productvariants/admin_edit.phtml +++ b/views/mods/mod_productvariants/admin_edit.phtml @@ -181,11 +181,7 @@ <td class="ui-sortable" colspan="<?php echo $colspan; ?>" id="wpsg_mod_productvariants_productimage_<?php echo $k; ?>_<?php echo $kv; ?>" >
<?php $j = 0; foreach ($temp as $b) { $j ++; ?>
<?php // $this->view['variant']['id'] $vari $var $kv $_REQUEST['pic']
- $file = $b['basename'];
- $pos1 = strrpos($file, '-');
- $pos2 = strrpos($file, '.');
- $file2 = substr_replace($file, '', $pos1, $pos2 - $pos1);
-
+ $file2 = $b['basenameori'];
$href = wp_get_attachment_image_src($b['post_id'], Array(25, 25));
?>
<a class="<?php echo ((in_array($file2, explode(",", $vari['pic'])))?'mark':''); ?> pic" id="<?php echo $file2; ?>"
|
