Line 21... |
Line 21... |
21 |
<a class="list-group-item <?php echo ((isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemcheck')?'active':''); ?>"
|
21 |
<a class="list-group-item <?php echo ((isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemcheck')?'active':''); ?>"
|
22 |
href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=ueber&subaction=systemcheck'); ?>"><?php echo __('Systemcheck', 'wpsg'); ?></a>
|
22 |
href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=ueber&subaction=systemcheck'); ?>"><?php echo __('Systemcheck', 'wpsg'); ?></a>
|
23 |
|
23 |
|
24 |
<a class="list-group-item <?php echo ((isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemlog')?'active':''); ?>"
|
24 |
<a class="list-group-item <?php echo ((isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemlog')?'active':''); ?>"
|
25 |
href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=ueber&subaction=systemlog'); ?>"><?php echo __('Fehlerprotokoll', 'wpsg'); ?></a>
|
25 |
href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=ueber&subaction=systemlog'); ?>"><?php echo __('Fehlerprotokoll', 'wpsg'); ?></a>
|
- |
|
26 |
|
- |
|
27 |
<a class="list-group-item <?php echo ((isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'updatelog')?'active':''); ?>"
|
- |
|
28 |
href="<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=ueber&subaction=updatelog'); ?>"><?php echo __('Updateprotokoll', 'wpsg'); ?></a>
|
26 |
|
29 |
|
27 |
</div>
|
30 |
</div>
|
28 |
|
31 |
|
29 |
<div style="clear:both; margin-bottom:10px; margin-left:0px; margin-right:8px;"></div>
|
32 |
<div style="clear:both; margin-bottom:10px; margin-left:0px; margin-right:8px;"></div>
|
30 |
|
33 |
|
Line 119... |
Line 122... |
119 |
|
122 |
|
120 |
|
123 |
|
121 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
124 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
122 |
<?php } ?>
|
125 |
<?php } ?>
|
123 |
|
126 |
|
- |
|
127 |
<?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'updatelog') {
|
- |
|
128 |
|
- |
|
129 |
try { $wpsg_update_log = json_decode($this->get_option('wpsg_update_log'), true); } catch (\Throwable $e) { $wpsg_update_log = []; }
|
- |
|
130 |
|
- |
|
131 |
?>
|
- |
|
132 |
|
- |
|
133 |
<?php foreach ($wpsg_update_log as $log_index => $log) { ?>
|
- |
|
134 |
|
- |
|
135 |
<?php echo wpsg_drawForm_AdminboxStart(
|
- |
|
136 |
wpsg_translate(__('Update vom #1# : #2# -> #3#', 'wpsg'), ($log['time']??''), ($log['pre']['version']??''), ($log['after']['version']??'')),
|
- |
|
137 |
'wpsg_update_log_'.$log_index,
|
- |
|
138 |
[
|
- |
|
139 |
'collapsed' => true,
|
- |
|
140 |
'collapsable' => true
|
- |
|
141 |
]
|
- |
|
142 |
); ?>
|
- |
|
143 |
|
- |
|
144 |
<pre><?php print_r($log); ?></pre>
|
- |
|
145 |
|
- |
|
146 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
- |
|
147 |
|
- |
|
148 |
<?php } ?>
|
- |
|
149 |
|
- |
|
150 |
<?php } ?>
|
- |
|
151 |
|
124 |
<?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemlog') { ?>
|
152 |
<?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'systemlog') { ?>
|
125 |
<?php echo wpsg_drawForm_AdminboxStart(__('Fehlerprotokoll', 'wpsg'), '', array('style' => 'width:905px;')); ?>
|
153 |
<?php echo wpsg_drawForm_AdminboxStart(__('Fehlerprotokoll', 'wpsg'), '', array('style' => 'width:905px;')); ?>
|
126 |
|
154 |
|
127 |
<?php if (!file_exists($GLOBALS['wpsg_sc']->getStorageRoot().'exception.log')) { ?>
|
155 |
<?php if (!file_exists($GLOBALS['wpsg_sc']->getStorageRoot().'exception.log')) { ?>
|
128 |
<p><?php echo __('Es wurden noch keine Systemfehler aufgezeichnet.', 'wpsg'); ?></p>
|
156 |
<p><?php echo __('Es wurden noch keine Systemfehler aufgezeichnet.', 'wpsg'); ?></p>
|