summaryrefslogtreecommitdiff
path: root/views/admin/ueber.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
commitad405c7045c6e242080ec9d3ce4c9e586b517c4f (patch)
treeb41905f4d27f3eaaabd5bad3a39f8d3873540b46 /views/admin/ueber.phtml
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/ueber.phtml')
-rw-r--r--views/admin/ueber.phtml72
1 files changed, 72 insertions, 0 deletions
diff --git a/views/admin/ueber.phtml b/views/admin/ueber.phtml
new file mode 100644
index 0000000..f5cfc01
--- /dev/null
+++ b/views/admin/ueber.phtml
@@ -0,0 +1,72 @@
+<?php
+
+ /**
+ * Template für den Karteireiter "Über" der Konfiguration
+ */
+
+?>
+<h2><?php echo __('Systemcheck', 'wpsg'); ?></h2>
+
+<div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <?php echo __('Template Pfad:', 'wpsg'); ?>
+ </div>
+ <div class="wpsg_form_right">
+ <?php echo WPSG_PATH_USERVIEW; ?>
+ </div>
+ <div class="wpsg_clear"></div>
+</div>
+
+<div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <?php echo __('Sprachdatei:', 'wpsg'); ?>
+ </div>
+ <div class="wpsg_form_right">
+ <?php echo WPSG_PATH_TRANSLATION; ?>
+ </div>
+ <div class="wpsg_clear"></div>
+</div>
+
+<h2><?php echo __("über diese Installation", "wpsg"); ?></h2>
+
+<?php
+
+$arModule = array();
+foreach ($this->arModule as $m_key => $m)
+{
+
+ $arModule[] = $m_key.((isset($m->version))?' '.$m->version:'');
+
+}
+
+?>
+
+<?php echo wpsg_drawForm_Input('', __('wpShopGermany Version', 'wpsg'), WPSG_VERSION, array('text' => true)); ?>
+<?php echo wpsg_drawForm_Input('', __('aktivierte wpShopGermany-Module', 'wpsg'), implode(', ', $arModule), array('text' => true)); ?>
+<?php echo wpsg_drawForm_Input('', __('WordPress Version', 'wpsg'), get_bloginfo('version'), array('text' => true)); ?>
+<?php echo wpsg_drawForm_Input('', __('PHP Version', 'wpsg'), phpversion(), array('text' => true)); ?>
+<?php echo wpsg_drawForm_Input('', __('php.ini Einstellungen', 'wpsg'), "post_max_size: ". ini_get('post_max_size') . "<br />". "max_input_time: ". ini_get('max_input_time') . "<br />". "max_execution_time: ". ini_get('max_execution_time') . "<br />". "max_input_vars: ". ini_get('max_input_vars') . "<br />". "upload_max_filesize: ". ini_get('upload_max_filesize') . "<br />". "register_globals: ". ini_get('register_globals') . "<br />". "memory_limit: ". ini_get('memory_limit') . "<br />". "safe_mode: ". ini_get('safe_mode') . "<br />". "include_path: ". ini_get('include_path') . "<br />". "soap.wsdl_cache: ". ini_get('soap.wsdl_cache') . "<br />", array('text' => true, 'nohspc' => true)); ?>
+<?php echo wpsg_drawForm_Input('', __('geladene PHP Erweiterungen', 'wpsg'), implode(', ', get_loaded_extensions()), array('text' => true)); ?>
+
+<div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <label for=""><?php echo __('aktive Wordpress Plugins', 'wpsg'); ?>:</label>
+ </div>
+ <div class="wpsg_form_right">
+ <?php $arPlugins = $this->get_option('active_plugins'); ?>
+ <p>
+ <?php foreach ((array)$arPlugins as $plugin) { $plugin_data = get_plugin_data(WPSG_PATH_CONTENT.'plugins/'.$plugin); ?>
+ <?php echo $plugin_data['Name']; ?> / <?php echo $plugin_data['Version']; ?><br />
+ <?php } ?>
+ </p>
+ <br />
+ <p>
+ <?php if (wpsg_isSizedArray($this->get_option('wpsg_plugintest_active_plugins'))) { ?>
+ <a href="<?php echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=plugintest_restore&noheader=1'; ?>"><?php echo __('Vormals aktivierte Module wieder herstellen aus Kompatibilitätstest', 'wpsg'); ?></a>
+ <?php } else { ?>
+ <a href="<?php echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=plugintest_disable&noheader=1'; ?>"><?php echo __('Alle Plugins außer wpShopGermany deaktivieren (Kompatibilitätstest)', 'wpsg'); ?></a>
+ <?php } ?>
+ </p>
+ </div>
+ <div class="wpsg_clear"></div>
+</div>