diff options
Diffstat (limited to 'views/mods')
| -rw-r--r-- | views/mods/mod_funding/product_bottom.phtml | 20 | ||||
| -rw-r--r-- | views/mods/mod_funding/product_edit_sidebar.phtml | 48 | ||||
| -rw-r--r-- | views/mods/mod_funding/product_top_afterheadline.phtml | 19 | ||||
| -rw-r--r-- | views/mods/mod_funding/settings_edit.phtml | 7 | ||||
| -rw-r--r-- | views/mods/mod_productvariants/settings_edit.phtml | 1 | ||||
| -rw-r--r-- | views/mods/mod_test/settings_edit.phtml | 77 | ||||
| -rw-r--r-- | views/mods/mod_test/showConfiguration.phtml | 11 |
7 files changed, 1 insertions, 182 deletions
diff --git a/views/mods/mod_funding/product_bottom.phtml b/views/mods/mod_funding/product_bottom.phtml deleted file mode 100644 index 4672c08..0000000 --- a/views/mods/mod_funding/product_bottom.phtml +++ /dev/null @@ -1,20 +0,0 @@ -<?php
-
- /**
- * Template welches unterhalb des Produkttemplates eingebunden wird
- */
-
-?>
-<?php if ($this->view['wpsg_mod_funding']['state'] === wpsg_mod_funding::STATE_COMPLETED) { ?>
-<div id="wpsg_message" class="published updated">
- <p><?php echo __('Die Finanzierung dieses Produktes ist erfolgreich durchgeführt worden.', 'wpsg'); ?><br /><?php echo __('Aktuell kann es nicht mehr erworben werden.', 'wpsg'); ?></p>
-</div>
-<?php } else if ($this->view['wpsg_mod_funding']['state'] === wpsg_mod_funding::STATE_NOTSTARTET) { ?>
-<div id="wpsg_error" class="published error">
- <p><?php echo __('Die Finanzierung dieses Produktes ist noch nicht gestartet.', 'wpsg'); ?><br /><?php echo __('Aktuell kann es nicht erworben werden.', 'wpsg'); ?></p>
-</div>
-<?php } else if ($this->view['wpsg_mod_funding']['state'] === wpsg_mod_funding::STATE_CLOSED) { ?>
-<div id="wpsg_error" class="published error">
- <p><?php echo __('Die Finanzierung dieses Produktes ist abgeschlossen.', 'wpsg'); ?><br /><?php echo __('Aktuell kann es nicht erworben werden.', 'wpsg'); ?></p>
-</div>
-<?php } ?>
\ No newline at end of file diff --git a/views/mods/mod_funding/product_edit_sidebar.phtml b/views/mods/mod_funding/product_edit_sidebar.phtml deleted file mode 100644 index 1e08767..0000000 --- a/views/mods/mod_funding/product_edit_sidebar.phtml +++ /dev/null @@ -1,48 +0,0 @@ -<?php
-
- /**
- * Template für die Integration in die Produktverwaltung
- */
-
-?><div id="wpsg_funding" class="postbox">
- <h3 class="wpsg_handlediv">
- <span title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br /></span>
- <span><?php echo __('Finanzierungsprodukt', 'wpsg'); ?> </span>
- </h3>
- <div class="inside">
-
- <?php if (wpsg_isSizedInt($_REQUEST['edit_id'])) { ?>
-
- <input type="hidden" name="wpsg_mod_funding_save" value="1" />
-
- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_funding[activ]', __('Finanzierungsprodukt', 'wpsg'), wpsg_getStr($this->view['wpsg_mod_funding']['activ']), array('id' => 'wpsg_mod_funding_activ')); ?>
-
- <div id="wpsg_mod_funding_activ_layer">
-
- <?php echo wpsg_drawForm_Input('wpsg_mod_funding[start]', __('Start der Runde', 'wpsg'), wpsg_getStr($this->view['wpsg_mod_funding']['start']), array('datepicker' => true)); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_funding[end]', __('Ende der Runde', 'wpsg'), wpsg_getStr($this->view['wpsg_mod_funding']['end']), array('datepicker' => true)); ?>
- <?php echo wpsg_drawForm_Input('wpsg_mod_funding[limit]', __('Mögliche Bestellungen', 'wpsg'), ((wpsg_isSizedInt($this->view['wpsg_mod_funding']['limit']))?$this->view['wpsg_mod_funding']['limit']:'10')); ?>
-
- </div>
-
- <script type="text/javascript">/* <![CDATA[ */
-
- jQuery(document).ready(function() {
-
- jQuery('#wpsg_mod_funding_activ').bind('change', function() {
-
- if (jQuery(this).is(':checked')) jQuery('#wpsg_mod_funding_activ_layer').show();
- else jQuery('#wpsg_mod_funding_activ_layer').hide();
-
- } ).change();
-
- } );
-
- /* ]]> */</script>
-
- <?php } else { ?>
- <p><?php echo __('Das Produkt muss einmalig gespeichert werden bevor die Option "Finanzierungsprodukt" aktiviert werden kann.', 'wpsg'); ?></p>
- <?php } ?>
-
- </div>
-</div>
\ No newline at end of file diff --git a/views/mods/mod_funding/product_top_afterheadline.phtml b/views/mods/mod_funding/product_top_afterheadline.phtml deleted file mode 100644 index f9bbcf5..0000000 --- a/views/mods/mod_funding/product_top_afterheadline.phtml +++ /dev/null @@ -1,19 +0,0 @@ -<?php
-
- /**
- * Template für die Integration des CrowdFunding Produktes
- */
-
-?>
-<div class="wpsg_mod_funding_progress">
-
- <div class="wpsg_mod_funding_label">
- <strong><?php echo __('Status der Finanzierung', 'wpsg'); ?>:</strong> <?php echo $this->view['wpsg_mod_funding']['stateLabel']; ?>
- </div>
-
- <div class="wpsg_mod_funding_state">
- <div class="bar"><div class="value wpsg_mod_funding_state_value" data-wpsg-funding-width="<?php echo ceil($this->view['wpsg_mod_funding']['currentFundingCount'] / $this->view['wpsg_mod_funding']['maxFundingCount'] * 100); ?>"></div></div>
- <div class="value"><?php echo $this->view['wpsg_mod_funding']['currentFundingCount'].'/'.$this->view['wpsg_mod_funding']['maxFundingCount']; ?></div>
- </div>
-
-</div>
\ No newline at end of file diff --git a/views/mods/mod_funding/settings_edit.phtml b/views/mods/mod_funding/settings_edit.phtml deleted file mode 100644 index d3290a6..0000000 --- a/views/mods/mod_funding/settings_edit.phtml +++ /dev/null @@ -1,7 +0,0 @@ -<?php
-
- /**
- * Template für die Einstellungen des Moduls "Crowdfunding"
- */
-
-?>
\ No newline at end of file diff --git a/views/mods/mod_productvariants/settings_edit.phtml b/views/mods/mod_productvariants/settings_edit.phtml index a51f793..3b32cd0 100644 --- a/views/mods/mod_productvariants/settings_edit.phtml +++ b/views/mods/mod_productvariants/settings_edit.phtml @@ -21,6 +21,7 @@ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productvariants_price', __('Preis der Variation direkt anzeigen'), $this->get_option('wpsg_mod_productvariants_price')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_vp_detailview', __('Erweiterte Variantenanzeige aktivieren', 'wpsg'), $this->get_option('wpsg_vp_detailview'), array('help' => 'wpsg_vp_detailview')); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_vp_replaceanr', __('Produktartikelnummer ersetzen', 'wpsg'), $this->get_option('wpsg_vp_replaceanr'), array('hint' => __('Ersetzt die Produktartikelnummer durch die zusammengesetzte Artikelnummern der Varianten.', 'wpsg'), 'help' => 'wpsg_vp_replaceanr')); ?>
</div>
</div>
diff --git a/views/mods/mod_test/settings_edit.phtml b/views/mods/mod_test/settings_edit.phtml deleted file mode 100644 index 27a932f..0000000 --- a/views/mods/mod_test/settings_edit.phtml +++ /dev/null @@ -1,77 +0,0 @@ -<?php
-
- /**
- * Template für die Modulkonfiguration des Testmoduls
- */
-
-?>
-
-<br />
-
-<?php foreach ((array)$this->view['test'] as $test_index => $test) { ?>
-<div class="wpsg_admin_box" id="wpsg_mod_test_<?php echo $test_index; ?>" style="width:1000px;">
- <div id="test_1" class="head" style="border-bottom: 0px none;">
- <div class="title">
- <div class="fulltab">
- <?php echo ($test_index + 1); ?>. Test - <?php echo $test['label']; ?>
- <?php if ($this->callMod('wpsg_mod_test', 'checkTest', array($test)) === true) { ?>
- <img src="<?php echo WPSG_URL_CONTENT; ?>plugins/<?php echo WPSG_FOLDERNAME; ?>/views/css/../gfx/tick.png" alt="" style="float:right;" />
- <?php } ?>
- </div>
- </div>
- <div class="content wpsg_mod_test_table wpsg_admin_box_content" style="display: block;">
-
- <?php echo $test['config']; ?>
-
- <table>
- <thead>
- <tr>
- <th>Name</th>
- <th>Erwarteter Wert</th>
- <th>Getesteter Wert</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($test['tests'] as $key => $t) { ?>
- <tr>
- <td>
- <?php if ($t[0] === false) { ?>
- <?php echo $this->view['arKeyLabel'][$key]; ?>
- <?php } else { ?>
- <?php echo $t[0]; ?>
- <?php } ?>
- </td>
- <td><?php echo $t[1]; ?></td>
- <td><?php echo $this->callMod('wpsg_mod_test', 'getValue', array($key, $test['array'])); ?></td>
- <td>
- <?php if ($this->callMod('wpsg_mod_test', 'checkValue', array($key, $t[1], $test['array'])) === true) { ?>
- <img src="<?php echo WPSG_URL_CONTENT; ?>plugins/<?php echo WPSG_FOLDERNAME; ?>/views/css/../gfx/tick.png" alt="" />
- <?php } ?>
- </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
-
- <?php if (wpsg_isSizedArray($test['array'])) { ?>
- <br /><a href="" onclick="jQuery(this).next().toggle(); return false;">Array anzeigen/verbergen</a>
- <div style="display:none; border:1px solid #CCCCCC; background-color:#FFFFFF; margin-top:15px;">
- <pre><?php print_r($test['array']); ?></pre>
- </div>
- <?php } ?>
-
- </div>
- </div>
-</div><br />
-<?php } ?>
-
-<script type="text/javascript">/* <![CDATA[ */
-
- jQuery(document).ready(function() {
-
- jQuery('.wpsg_admin_box').wpsg_adminbox();
-
- } );
-
-/* ]]> */</script>
\ No newline at end of file diff --git a/views/mods/mod_test/showConfiguration.phtml b/views/mods/mod_test/showConfiguration.phtml deleted file mode 100644 index 1d86bea..0000000 --- a/views/mods/mod_test/showConfiguration.phtml +++ /dev/null @@ -1,11 +0,0 @@ -<?php
-
- /**
- * Zeigt wichtige Einstellungen an, die für den Test wichtig sind
- */
-
-?>
-<?php echo wpsg_drawForm_Input('', 'Preise im Backend', (($this->get_option('wpsg_preisangaben') == WPSG_NETTO)?'Netto':'Brutto'), array('text' => true)); ?>
-<?php echo wpsg_drawForm_Input('', 'Preise im Frontend', (($this->getFrontendTaxview() == WPSG_NETTO)?'Netto':'Brutto'), array('text' => true)); ?>
-<?php echo wpsg_drawForm_Input('', 'Kleinunternehmerregelung', (($this->get_option('wpsg_kleinunternehmer') == '1')?'An':'Aus'), array('text' => true)); ?>
-<br />
\ No newline at end of file |
