Line 72... |
Line 72... |
72 |
|
72 |
|
73 |
<?php if ($this->view['subaction'] === 'registerdata') { ?>
|
73 |
<?php if ($this->view['subaction'] === 'registerdata') { ?>
|
74 |
|
74 |
|
75 |
<form method="POST" action="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=saveRegister">
|
75 |
<form method="POST" action="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=saveRegister">
|
76 |
|
76 |
|
- |
|
77 |
<?php wp_nonce_field('wpsg-admin-licence-register'); ?>
|
- |
|
78 |
|
77 |
<?php $strLicenceLabel = ''; ?>
|
79 |
<?php $strLicenceLabel = ''; ?>
|
78 |
<?php if ($wpsg_update_data['licence_model'] === 'enterprise') { $strLicenceLabel = __('Enterprise', 'wpsg'); ?>
|
80 |
<?php if ($wpsg_update_data['licence_model'] === 'enterprise') { $strLicenceLabel = __('Enterprise', 'wpsg'); ?>
|
79 |
<?php } else if ($wpsg_update_data['licence_model'] === 'pro') { $strLicenceLabel = __('Pro', 'wpsg'); } ?>
|
81 |
<?php } else if ($wpsg_update_data['licence_model'] === 'pro') { $strLicenceLabel = __('Pro', 'wpsg'); } ?>
|
80 |
|
82 |
|
81 |
<?php echo wpsg_drawForm_Text(_('Lizenzmodel'), $strLicenceLabel); ?>
|
83 |
<?php echo wpsg_drawForm_Text(_('Lizenzmodel'), $strLicenceLabel); ?>
|
Line 118... |
Line 120... |
118 |
<?php foreach ($wpsg_update_data['domainData'] as $domain) { ?>
|
120 |
<?php foreach ($wpsg_update_data['domainData'] as $domain) { ?>
|
119 |
<tr class="success">
|
121 |
<tr class="success">
|
120 |
<td class="col_domain"><?php echo $domain; ?></td>
|
122 |
<td class="col_domain"><?php echo $domain; ?></td>
|
121 |
<td class="col_action">
|
123 |
<td class="col_action">
|
122 |
|
124 |
|
- |
|
125 |
<a href="<?php
|
- |
|
126 |
|
123 |
<a href="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=domainDeRegister" class="btn btn-warning btn-sm"><?php echo __('Registrierung aufheben'); ?></a>
|
127 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=domainDeRegister', 'wpsg-admin-licence-domainDeRegister');
|
- |
|
128 |
|
- |
|
129 |
?>" class="btn btn-warning btn-sm"><?php echo __('Registrierung aufheben'); ?></a>
|
124 |
|
130 |
|
125 |
</td>
|
131 |
</td>
|
126 |
</tr>
|
132 |
</tr>
|
127 |
<?php } ?>
|
133 |
<?php } ?>
|
128 |
</tbody>
|
134 |
</tbody>
|
Line 140... |
Line 146... |
140 |
|
146 |
|
141 |
<p class="wpsg_message_ok"><?php echo __('Diese Domain kann noch auf Ihre Lizenz aktiviert werden.', 'wpsg'); ?></p>
|
147 |
<p class="wpsg_message_ok"><?php echo __('Diese Domain kann noch auf Ihre Lizenz aktiviert werden.', 'wpsg'); ?></p>
|
142 |
|
148 |
|
143 |
<br />
|
149 |
<br />
|
144 |
|
150 |
|
- |
|
151 |
<a href="<?php
|
- |
|
152 |
|
145 |
<a href="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=domainRegister" class="btn btn-primary"><?php echo __('Diese Domain registrieren', 'wpsg'); ?></a>
|
153 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=domainRegister', 'wpsg-admin-licence-domainRegister');
|
- |
|
154 |
|
- |
|
155 |
?>" class="btn btn-primary"><?php echo __('Diese Domain registrieren', 'wpsg'); ?></a>
|
146 |
|
156 |
|
147 |
<?php } else if (in_array($_SERVER['HTTP_HOST'], $wpsg_update_data['domainData'])) { ?>
|
157 |
<?php } else if (in_array($_SERVER['HTTP_HOST'], $wpsg_update_data['domainData'])) { ?>
|
148 |
|
158 |
|
149 |
<p class="wpsg_message_ok"><?php echo __('Diese Domain ist bereits auf diesen Schlüssel registriert.', 'wpsg'); ?></p>
|
159 |
<p class="wpsg_message_ok"><?php echo __('Diese Domain ist bereits auf diesen Schlüssel registriert.', 'wpsg'); ?></p>
|
150 |
|
160 |
|
Line 159... |
Line 169... |
159 |
<?php $this->shop->loadModule(true); ?>
|
169 |
<?php $this->shop->loadModule(true); ?>
|
160 |
<?php $wpsg_update_data = wpsg_get_update_data(); ?>
|
170 |
<?php $wpsg_update_data = wpsg_get_update_data(); ?>
|
161 |
|
171 |
|
162 |
<form method="POST" action="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=activatemodul&source=licence">
|
172 |
<form method="POST" action="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=activatemodul&source=licence">
|
163 |
|
173 |
|
- |
|
174 |
<?php echo wp_nonce_field('wpsg-admin-licence-activatemodul'); ?>
|
- |
|
175 |
|
164 |
<fieldset>
|
176 |
<fieldset>
|
165 |
<legend style="padding-top:0px;"><?php echo __('Modulcode aktivieren', 'wpsg'); ?></legend>
|
177 |
<legend style="padding-top:0px;"><?php echo __('Modulcode aktivieren', 'wpsg'); ?></legend>
|
166 |
|
178 |
|
167 |
<div class="row">
|
179 |
<div class="row">
|
168 |
<div class="col-xs-10">
|
180 |
<div class="col-xs-10">
|
Line 247... |
Line 259... |
247 |
if ($modul_info['active'] === true)
|
259 |
if ($modul_info['active'] === true)
|
248 |
{
|
260 |
{
|
249 |
|
261 |
|
250 |
echo '<br />';
|
262 |
echo '<br />';
|
251 |
echo wpsg_translate(__('<a href="#1#">Version installieren</a>.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source=licence');
|
263 |
echo wpsg_translate(__('<a href="#1#">Version installieren</a>.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source=licence');
|
252 |
|
264 |
|
253 |
}
|
265 |
}
|
254 |
|
266 |
|
255 |
}
|
267 |
}
|
256 |
|
268 |
|
257 |
?></td>
|
269 |
?></td>
|