diff options
| author | thomas <noreply@maennchen1.de> | 2017-10-19 09:43:12 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2017-10-19 09:43:12 +0000 |
| commit | c97db80dd0422c71e109d1393eec15b7dbbd5be7 (patch) | |
| tree | 8c783cd52887e9072c24a5c0e11a466d07593b0c | |
| parent | bd7690af4ae8efa6d6c2704b0df753d946ee1c24 (diff) | |
- Struktur
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6620 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/produkt/addedit_general.phtml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/views/produkt/addedit_general.phtml b/views/produkt/addedit_general.phtml index 6d02445..115be58 100644 --- a/views/produkt/addedit_general.phtml +++ b/views/produkt/addedit_general.phtml @@ -9,7 +9,7 @@ <?php echo wpsg_drawForm_AdminboxStart(__('Allgemein', 'wpsg')); ?>
<?php echo wpsg_drawForm_Input('name', __('Produktname', 'wpsg'), wpsg_getStr($this->view['data']['name']), array('placeholder' => __('Bitte hier den Produktnamen eingeben', 'wpsg'))); ?>
- <?php echo wpsg_drawForm_Select('disabled', __('Status', 'wpsg'), array('0' => __('Aktiv', 'wpsg'), '1' => __('Deaktiviert', 'wpsg')), wpsg_getStr($this->view['data']['disabled'])); ?>
+ <?php echo wpsg_drawForm_Select('disabled', __('Produktstatus', 'wpsg'), array('0' => __('veröffentlicht', 'wpsg'), '1' => __('Entwurf', 'wpsg')), wpsg_getStr($this->view['data']['disabled'])); ?>
<?php if ($this->isMultiLingual()) { ?>
<?php echo wpsg_drawForm_TextStart(); ?>
@@ -50,11 +50,19 @@ '2' => __('Mehrfach mit Menge 1', 'wpsg')
), wpsg_getStr($this->view['data']['basket_multiple']), array('help' => 'basket_multiple')); ?>
<?php } ?>
+
+ <br />
+
<?php if (wpsg_isSizedInt($this->view['data']['id'])) { ?>
<?php echo wpsg_drawForm_TextStart(); $url = $this->getProduktLink(array('id' => ((wpsg_isSizedInt($this->view['data']['id']))?$this->view['data']['id']:$this->view['data']['id']))); ?>
<a href="<?php echo $url; ?>"><?php echo wpsg_hspc($url); ?></a>
<?php echo wpsg_drawForm_TextEnd(__('URL', 'wpsg')); ?>
<?php } ?>
+
+ <?php /* Shortcode */ ?>
+ <?php if (wpsg_isSizedInt($this->view['data']['id'])) { ?>
+ <?php wpsg_drawForm_Text (__('Shortcode', 'wpsg')/*TODO*/); ?>
+ <?php } ?>
<?php if (!isset($_REQUEST['wpsg_lang'])) { ?>
<?php $arSelect = array('0' => __('Nicht anzeigen', 'wpsg'), '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5'); ?>
|
