diff options
Diffstat (limited to 'views/mods/mod_orderupload')
| -rw-r--r-- | views/mods/mod_orderupload/checkout_inner_prebutton.phtml | 26 | ||||
| -rw-r--r-- | views/mods/mod_orderupload/order_view_sidebar.phtml | 22 | ||||
| -rw-r--r-- | views/mods/mod_orderupload/settings_edit.phtml | 11 |
3 files changed, 0 insertions, 59 deletions
diff --git a/views/mods/mod_orderupload/checkout_inner_prebutton.phtml b/views/mods/mod_orderupload/checkout_inner_prebutton.phtml deleted file mode 100644 index c0f1a06..0000000 --- a/views/mods/mod_orderupload/checkout_inner_prebutton.phtml +++ /dev/null @@ -1,26 +0,0 @@ -<?php
-
- /**
- * Template für die Integration des Bestelluploads in den Bestellprozess
- */
-
-?>
-<div class="wpsg_box wpsg_mod_orderupload">
- <div class="wpsg_head"><?php echo __('Dateiupload', 'wpsg'); ?> <?php if ($this->get_option('wpsg_mod_orderupload_optional') != '1') { ?><span class="wpsg_required">*</span><?php } ?></div>
- <div class="wpsg_inner">
-
- <input type="file" name="wpsg_mod_orderupload_file" />
-
- <?php if (wpsg_isSizedArray($_SESSION['wpsg']['wpsg_mod_orderupload'])) { ?>
- <br />
- <label class="wpsg_checkout"><?php echo __('Bisher hochgeladene Dokumente', 'wpsg'); ?>:</label><br />
- <?php foreach ($_SESSION['wpsg']['wpsg_mod_orderupload'] as $ou_index => $ou) { ?>
- <a onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie dieses Dokument aus der Bestellung entfernen möchten?', 'wpsg'); ?>');" href="?wpsg_plugin=wpsg_mod_orderupload&wpsg_action=remove&file_index=<?php echo $ou_index; ?>" class="wpsg_mod_orderupload_removelink">
- <?php echo __('Entfernen', 'wpsg'); ?>
- </a>
- <a href="<?php echo $ou[2]; ?>"><?php echo wpsg_hspc($ou[0]); ?></a> <?php echo '('.wpsg_formatSize($ou[3]).')'; ?><br />
- <?php } ?>
- <?php } ?>
-
- </div>
-</div>
\ No newline at end of file diff --git a/views/mods/mod_orderupload/order_view_sidebar.phtml b/views/mods/mod_orderupload/order_view_sidebar.phtml deleted file mode 100644 index 759a153..0000000 --- a/views/mods/mod_orderupload/order_view_sidebar.phtml +++ /dev/null @@ -1,22 +0,0 @@ -<?php
-
- /**
- * Template für die Anzeige der Bestelluploads innerhalb der Bestellung
- */
-
-?>
-<div class="postbox" id="wpsg_modorderupload">
- <div title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br></div>
- <h3 class="hndle">
- <span><?php echo __('Bestelluploads', 'wpsg'); ?></span>
- </h3>
- <div class="inside">
- <?php if (!wpsg_isSizedArray($this->view['arFiles'])) { ?>
- <p><?php echo __('Keine Dateien hochgeladen.', 'wpsg'); ?></p>
- <?php } else { ?>
- <?php foreach ($this->view['arFiles'] as $f) { ?>
- <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>&noheader=1&action=ajax&mod=wpsg_mod_orderupload&wpsg_mod_orderupload_download=<?php echo rawurlencode($f); ?>"><?php echo $f; ?></a> (<?php echo wpsg_formatSize($this->callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)<br />
- <?php } ?>
- <?php } ?>
- </div>
-</div>
\ No newline at end of file diff --git a/views/mods/mod_orderupload/settings_edit.phtml b/views/mods/mod_orderupload/settings_edit.phtml deleted file mode 100644 index 6750fba..0000000 --- a/views/mods/mod_orderupload/settings_edit.phtml +++ /dev/null @@ -1,11 +0,0 @@ -<?php
-
- /**
- * Template für die Einstellungen des Bestell Upload Moduls
- */
-
-?>
-<?php echo wpsg_drawForm_Input('wpsg_mod_orderupload_filename', __('Neuer Dateiname', 'wpsg'), $this->get_option('wpsg_mod_orderupload_filename'), array('help' => 'wpsg_mod_orderupload_filename')); ?>
-<?php echo wpsg_drawForm_Input('wpsg_mod_orderupload_allowedext', __('Erlaubte Endungen (kommagetrennt)', 'wpsg'), $this->get_option('wpsg_mod_orderupload_allowedext'), array('help' => 'wpsg_mod_orderupload_allowedext')); ?>
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_orderupload_multifiles', __('Mehr als eine Datei erlauben', 'wpsg'), $this->get_option('wpsg_mod_orderupload_multifiles'), array('help' => 'wpsg_mod_orderupload_multifiles')); ?>
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_orderupload_optional', __('Upload ist kein Pflichtfeld', 'wpsg'), $this->get_option('wpsg_mod_orderupload_optional'), array('help' => 'wpsg_mod_orderupload_optional')); ?>
\ No newline at end of file |
