diff options
| author | thomas <noreply@maennchen1.de> | 2017-09-18 09:46:14 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2017-09-18 09:46:14 +0000 |
| commit | d4ce4f47ca173d628ac60d6587f293745fc723b7 (patch) | |
| tree | 59ba4960ac9d4d15f2a3ed12116a01e4a7b3a766 /views/mods/mod_test | |
| parent | de7e83a4e9475b61aadc0a2a45d2818513d6c08e (diff) | |
- Variantenanzeige
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6510 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_test')
| -rw-r--r-- | views/mods/mod_test/settings_edit.phtml | 77 | ||||
| -rw-r--r-- | views/mods/mod_test/showConfiguration.phtml | 11 |
2 files changed, 0 insertions, 88 deletions
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 |
