summaryrefslogtreecommitdiffstats
path: root/templates/show_debug.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_debug.inc.php')
-rw-r--r--templates/show_debug.inc.php84
1 files changed, 42 insertions, 42 deletions
diff --git a/templates/show_debug.inc.php b/templates/show_debug.inc.php
index 369774eb..3669fb2a 100644
--- a/templates/show_debug.inc.php
+++ b/templates/show_debug.inc.php
@@ -1,5 +1,5 @@
<?php
-/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
+/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
/**
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
@@ -24,12 +24,12 @@
<div id="information_actions">
<ul>
<li>
- <a href="<?php echo Config::get('web_path'); ?>/admin/system.php?action=generate_config"><?php echo UI::get_icon('cog', T_('Generate Configuration')); ?></a>
- <?php echo T_('Generate Configuration'); ?>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/system.php?action=generate_config"><?php echo UI::get_icon('cog', T_('Generate Configuration')); ?></a>
+ <?php echo T_('Generate Configuration'); ?>
</li>
<li>
- <a href="<?php echo Config::get('web_path'); ?>/admin/system.php?action=reset_db_charset"><?php echo UI::get_icon('server_lightning', T_('Set Database Charset')); ?></a>
- <?php echo T_('Set Database Charset'); ?>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/system.php?action=reset_db_charset"><?php echo UI::get_icon('server_lightning', T_('Set Database Charset')); ?></a>
+ <?php echo T_('Set Database Charset'); ?>
</li>
</ul>
</div>
@@ -37,48 +37,48 @@
<?php UI::show_box_top(T_('PHP Settings'), 'box box_php_settings'); ?>
<table class="tabledata" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="col_php_setting">
- <col id="col_php_value">
+ <col id="col_php_setting">
+ <col id="col_php_value">
</colgroup>
<tr class="th-top">
- <th class="cel_php_setting"><?php echo T_('Setting'); ?></th>
- <th class="cel_php_value"><?php echo T_('Value'); ?></th>
+ <th class="cel_php_setting"><?php echo T_('Setting'); ?></th>
+ <th class="cel_php_value"><?php echo T_('Value'); ?></th>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('Memory Limit'); ?></td>
- <td><?php echo ini_get('memory_limit'); ?></td>
+ <td><?php echo T_('Memory Limit'); ?></td>
+ <td><?php echo ini_get('memory_limit'); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('Maximum Execution Time'); ?></td>
- <td><?php echo ini_get('max_execution_time'); ?></td>
+ <td><?php echo T_('Maximum Execution Time'); ?></td>
+ <td><?php echo ini_get('max_execution_time'); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('Override Execution Time'); ?></td>
- <td><?php set_time_limit(0); echo ini_get('max_execution_time') ? T_('Failed') : T_('Succeeded'); ?></td>
+ <td><?php echo T_('Override Execution Time'); ?></td>
+ <td><?php set_time_limit(0); echo ini_get('max_execution_time') ? T_('Failed') : T_('Succeeded'); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('Safe Mode'); ?></td>
- <td><?php echo print_bool(ini_get('safe_mode')); ?></td>
+ <td><?php echo T_('Safe Mode'); ?></td>
+ <td><?php echo print_bool(ini_get('safe_mode')); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td>Open Basedir</td>
- <td><?php echo ini_get('open_basedir'); ?></td>
+ <td>Open Basedir</td>
+ <td><?php echo ini_get('open_basedir'); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('Zlib Support'); ?></td>
- <td><?php echo print_bool(function_exists('gzcompress')); ?></td>
+ <td><?php echo T_('Zlib Support'); ?></td>
+ <td><?php echo print_bool(function_exists('gzcompress')); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('GD Support'); ?></td>
- <td><?php echo print_bool(function_exists('ImageCreateFromString')); ?></td>
+ <td><?php echo T_('GD Support'); ?></td>
+ <td><?php echo print_bool(function_exists('ImageCreateFromString')); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('Iconv Support'); ?></td>
- <td><?php echo print_bool(function_exists('iconv')); ?></td>
+ <td><?php echo T_('Iconv Support'); ?></td>
+ <td><?php echo print_bool(function_exists('iconv')); ?></td>
</tr>
<tr class="<?php echo UI::flip_class(); ?>">
- <td><?php echo T_('Gettext Support'); ?></td>
- <td><?php echo print_bool(function_exists('bindtextdomain')); ?></td>
+ <td><?php echo T_('Gettext Support'); ?></td>
+ <td><?php echo print_bool(function_exists('bindtextdomain')); ?></td>
</tr>
</table>
<?php UI::show_box_bottom(); ?>
@@ -90,25 +90,25 @@
<col id="col_value">
</colgroup>
<tr class="th-top">
- <th class="cel_configuration"><?php echo T_('Preference'); ?></th>
- <th class="cel_value"><?php echo T_('Value'); ?></th>
+ <th class="cel_configuration"><?php echo T_('Preference'); ?></th>
+ <th class="cel_value"><?php echo T_('Value'); ?></th>
</tr>
<?php foreach ($configuration as $key=>$value) {
- if ($key == 'database_password' || $key == 'mysql_password') { $value = '*********'; }
- if (is_array($value)) {
- $string = '';
- foreach ($value as $setting) {
- $string .= $setting . '<br />';
- }
- $value = $string;
- }
- if (Preference::is_boolean($key)) {
- $value = print_bool($value);
- }
+ if ($key == 'database_password' || $key == 'mysql_password') { $value = '*********'; }
+ if (is_array($value)) {
+ $string = '';
+ foreach ($value as $setting) {
+ $string .= $setting . '<br />';
+ }
+ $value = $string;
+ }
+ if (Preference::is_boolean($key)) {
+ $value = print_bool($value);
+ }
?>
<tr class="<?php echo UI::flip_class(); ?>">
- <td valign="top"><strong><?php echo $key; ?></strong></td>
- <td><?php echo $value; ?></td>
+ <td valign="top"><strong><?php echo $key; ?></strong></td>
+ <td><?php echo $value; ?></td>
</tr>
<?php } ?>
</table>