summaryrefslogtreecommitdiff
path: root/views/mods/mod_core
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-09-07 11:16:20 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-09-07 11:16:20 +0000
commitb3e5b61bbf98fe7c93186701c6f4b0a396c804f6 (patch)
treea4163f18fbddb56cb6e90a4b6ab0f13b30e0917d /views/mods/mod_core
parent7c7d2e866c8bf883f52ac33c6fa65d54bc9fc5d6 (diff)
- Aufräumarbeiten
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6475 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_core')
-rw-r--r--views/mods/mod_core/admin_licence.phtml7
-rw-r--r--views/mods/mod_core/admin_register.phtml120
-rw-r--r--views/mods/mod_core/module_index.phtml79
3 files changed, 0 insertions, 206 deletions
diff --git a/views/mods/mod_core/admin_licence.phtml b/views/mods/mod_core/admin_licence.phtml
deleted file mode 100644
index 7573d43..0000000
--- a/views/mods/mod_core/admin_licence.phtml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-
-?>
-<h2><?php echo __('Es wurde noch keine gültige Lizenz gefunden.', 'wpsg'); ?></h2>
-
-<p><?php echo __('Damit sie den Shop registrieren können benötigen sie eine gültige Lizenz.<br />Diese können sie unter <a href="http://shop.maennchen1.de/" target="_blank">shop.maennchen1.de</a> erwerben und anschließend in der Plugin Verwaltung installieren.', 'wpsg'); ?></p> \ No newline at end of file
diff --git a/views/mods/mod_core/admin_register.phtml b/views/mods/mod_core/admin_register.phtml
deleted file mode 100644
index 9f5bb34..0000000
--- a/views/mods/mod_core/admin_register.phtml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?php
-
- /**
- * Templatedatei für das Registrierungsinterface
- * Sollte nicht verändert werden
- */
-
-?>
-
-<div id="wpsg-bs" >
- <div class="wpsg_admin_submenu" >
-
- <div class="list-group" id="wpsg_statistics_tabs">
- <span class="list-group-head list-group-item"><?php echo __('Auswahl', 'wpsg'); ?></span>
-
- <a class="list-group-item <?php echo ((!isset($_REQUEST['subaction']))?'active':''); ?>"
- href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung'); ?>"><?php echo __('Registrierungsdaten', 'wpsg'); ?></a>
-
- <a class="list-group-item <?php echo ((isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'domains')?'active':''); ?>"
- href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&subaction=domains'); ?>"><?php echo __('Domainverwaltung', 'wpsg'); ?></a>
-
- <a class="list-group-item <?php echo ((isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'module')?'active':''); ?>"
- href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&subaction=module'); ?>"><?php echo __('Modulaktivierung', 'wpsg'); ?></a>
-
- </div>
-
- <div style="clear:both; margin-bottom:10px; margin-left:0px; margin-right:8px;"></div>
-
- </div>
-</div>
-
-
-<div class="wpsg_admin_content">
-
- <?php if (!isset($_REQUEST['subaction'])) { ?>
- <?php echo wpsg_drawForm_AdminboxStart(__('Registrierungsdaten', 'wpsg')); ?>
-
- <div class="form-horizontal">
-
- <?php echo wpsg_drawForm_Input('register_lizenz', __('Lizenzart', 'wpsg'), $this->view['typ'], array('readonly' => true, 'disabled' => true)); ?>
-
- <br />
- <form enctype="multipart/form-data" method="post" action="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1'); ?>" name="form1">
-
- <?php echo wpsg_drawForm_Input('register_vname', __('Vorname', 'wpsg'), $this->view['data']['vname']); ?>
- <?php echo wpsg_drawForm_Input('register_name', __('Name', 'wpsg'), $this->view['data']['name']); ?>
- <?php echo wpsg_drawForm_Input('register_plz', __('PLZ', 'wpsg'), $this->view['data']['plz']); ?>
- <?php echo wpsg_drawForm_Input('register_ort', __('Ort', 'wpsg'), $this->view['data']['ort']); ?>
- <?php echo wpsg_drawForm_Input('register_strasse', __('Straße', 'wpsg'), $this->view['data']['strasse']); ?>
- <?php echo wpsg_drawForm_Select('register_land', __('Land', 'wpsg'), $this->view['data']['lander'], $this->view['data']['land']); ?>
- <?php echo wpsg_drawForm_Input('register_email', __('E-Mail', 'wpsg'), $this->view['data']['email']); ?>
-
- <br />
- <input id="submit" name="registerdata-submit" type="submit" class="button-primary" value="<?php echo __('Änderungen übermitteln', 'wpsg'); ?>" />
-
- </form>
- </div>
- <?php echo wpsg_drawForm_AdminboxEnd(); ?>
-
- <?php } ?>
-
- <?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'domains') { ?>
- <?php echo wpsg_drawForm_AdminboxStart(__('Registrierte Domains', 'wpsg')); ?>
-
- <div class="form-horizontal">
-
- <?php if (sizeof($this->view['data']['domains']) <= 0) { ?>
- <p><?php echo __('Noch keine Domains registriert.', 'wpsg'); ?>
- <?php } else { ?>
- <b><?php echo __('Bereits auf diesen Key registrierte Domains', 'wpsg')?>:</b><br /><br />
- <?php foreach ($this->view['data']['domains'] as $d) { ?>
- <div class="wpsg_domainrow">
- <?php echo wpsg_hspc($d['url']); ?>&nbsp;[<a href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=remove&url='.rawurlencode($d['url'])); ?>"><?php echo __('Registrierung aufheben', 'wpsg'); ?></a>]
- </div>
- <?php } ?>
- <?php } ?>
-
- <br />
- <?php if ($this->view['data']['registred'] === true) { ?>
- <p class="wpsg_registersuccess"><?php echo __('Diese Domain ist bereits auf diesen Schlüssel registriert.', 'wpsg'); ?></p>
- <?php } else { ?>
-
- <p class="wpsg_registerfailure"><?php echo __('Diese Domain ist noch nicht auf diesen Schlüssel registriert.', 'wpsg'); ?></p>
-
- <?php if (sizeof($this->view['data']['domains']) > 0 && $this->arLizenz['l'] != 3) { ?>
- <p class="wpsg_registerfailure">
- <?php echo __('Sie dürfen mit dieser Lizenz den Shop nur auf einer Domain laufen lassen. Löschen sie die bereits registrierte Domain und registrieren Sie diese Domain neu.', 'wpsg'); ?>
- </p>
- <?php } else { ?>
- <br />
- <form method="post" action="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=register'); ?>">
- <input type="submit" value="<?php echo __('Diese Domain registrieren', 'wpsg'); ?>" class="button-primary" />
- </form>
- <?php } ?>
- <?php } ?>
- </div>
- <?php echo wpsg_drawForm_AdminboxEnd(); ?>
- <?php } ?>
-
- <?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'module') { ?>
- <?php echo wpsg_drawForm_AdminboxStart(__('Weitere Module', 'wpsg')); ?>
-
- <div class="form-horizontal">
-
- <p><?php echo wpsg_translate(__('Erweitern Sie Ihre wpShopGermany-Lizenz um weitere Funktionen, indem Sie <a href="#1#">weitere Module installieren</a> und ihrer bestehenden wpShopGermany-Lizenz hinzufügen.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module'); ?></p>
-
- <br />
- <form method="post" action="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=aktivateModul'); ?>">
-
- <?php echo wpsg_drawForm_Input('wpsg_modulkey', __('Modulschlüssel', 'wpsg'), $this->get_option('wpsg_modulkey')); ?>
-
- <br />
- <input type="submit" value="<?php echo __('wpShopGermany Lizenz erweitern', 'wpsg'); ?>" class="button-primary" />
-
- </form>
- </div>
- <?php echo wpsg_drawForm_AdminboxEnd(); ?>
- <?php } ?>
-
-</div> \ No newline at end of file
diff --git a/views/mods/mod_core/module_index.phtml b/views/mods/mod_core/module_index.phtml
deleted file mode 100644
index f5278aa..0000000
--- a/views/mods/mod_core/module_index.phtml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?php
-
- /**
- * Startseite der Module
- */
-
-?>
-<div class="wpsg_admin_content form-horizontal">
-
- <div class="panel panel-default">
- <div class="panel-heading clearfix">
- <h3 class="panel-title"><?php echo __('Modulverwaltung', 'wpsg'); ?></h3>
- </div>
- <div class="panel-body">
-
- <p><?php echo __('Aktivieren/Installieren Sie weitere Module oder halten Sie externe Module aktuell.', 'wpsg'); ?></p>
-
- <?php if (wpsg_isSizedArray($this->view['arOnlineModule'])) { ?>
- <table class="wpsg_modultable table">
- <thead>
- <tr>
- <th class="wpsg_col_name"><?php echo __('Modulname', 'wpsg'); ?></th>
- <th class="wpsg_col_instversion"><?php echo __('installierte Version', 'wpsg'); ?></th>
- <th class="wpsg_col_licence"><?php echo __('Lizenz', 'wpsg'); ?></th>
- <th class="wpsg_col_availableversion"><?php echo __('verfügbare Version', 'wpsg'); ?></th>
- </tr>
- </thead>
- <?php foreach ($this->view['arOnlineModule'] as $modul) { ?>
- <tbody>
- <tr>
- <td class="wpsg_col_name"><?php echo $modul['name']; ?></td>
- <td class="wpsg_col_instversion">
-
- <?php echo $modul['version_local']; ?>
-
- </td>
- <td class="wpsg_col_licence">
-
- <?php if ($modul['free'] == '1') { ?>
- <?php echo __('kostenlos', 'wpsg'); ?>
- <?php } else { ?>
-
- <?php if (@in_array($modul['key'], $this->arLizenz['mods'])) { ?>
- <?php echo __('aktiv', 'wpsg'); ?>
- <?php } else { ?>
-
- <?php echo __('Demo', 'wpsg'); ?>
-
- <?php } ?>
-
- <?php } ?>
-
- </td>
- <td class="wpsg_col_availableversion">
-
- <?php //wpsg_debug($modul); ?>
- <?php if ($modul['version'] == $modul['version_local']) { ?>
- <?php echo $modul['version']; ?> (aktuell)
- <?php } else if (version_compare($modul['shop_version'], WPSG_VERSION) > 0) { ?>
- <?php echo wpsg_translate(__('neue Version verfügbar (<a href="#1#">wpShopGermany Update</a> notwendig)', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); ?>
- <?php } else if (version_compare($modul['version'], $modul['version_local']) > 0) { ?>
- <?php echo wpsg_translate(__('neue Version verfügbar: <a href="#1#">installiere #2#</a>', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul['key'], $modul['version']); ?>
- <?php } else { ?>
- <?php echo $modul['version']; ?>
- <?php } ?>
-
- </td>
- </tr>
- </tbody>
- <?php } ?>
- </table>
- <?php } else { ?>
- <?php echo __('Module konnten aufgrund fehlender SOAP Unterstützung nicht geladen werden.', 'wpsg'); ?>
- <?php } ?>
-
- </div>
- </div>
-
-</div> \ No newline at end of file