diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-22 09:24:39 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-22 09:24:39 +0000 |
commit | a52827790447bc9fd1cee2e40756b60b967be475 (patch) | |
tree | 7cd24d0f31a2d363a36b861fd98afbfe2c11350a /templates | |
parent | 7b49a436d0eb128b26cb2a427731074f0a9fce2b (diff) | |
download | ampache-a52827790447bc9fd1cee2e40756b60b967be475.tar.gz ampache-a52827790447bc9fd1cee2e40756b60b967be475.tar.bz2 ampache-a52827790447bc9fd1cee2e40756b60b967be475.zip |
updated translations, new russian translation, generate config tool to update config and new putenv test on /test.php
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_admin_tools.inc.php | 4 | ||||
-rw-r--r-- | templates/show_test.inc | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/templates/show_admin_tools.inc.php b/templates/show_admin_tools.inc.php index 7c73fda2..0dc3331d 100644 --- a/templates/show_admin_tools.inc.php +++ b/templates/show_admin_tools.inc.php @@ -75,6 +75,10 @@ $users = $GLOBALS['user']->get_recent(10); <div class="text-action"> <a href="<?php echo $web_path; ?>/admin/duplicates.php"><?php echo _('Show Duplicate Songs'); ?></a> <a href="<?php echo $web_path; ?>/admin/catalog.php?action=clear_now_playing"><?php echo _('Clear Now Playing'); ?></a> + <hr noshade="noshade" size="3" /> + <a href="<?php echo $web_path; ?>/admin/system.php?action=generate_config"><?php echo _('Generate New Config'); ?></a> +<!-- <a href="<?php echo $web_path; ?>/admin/system.php?action=check_version"><?php echo _('Check for New Version'); ?></a> +--> </div> <?php show_box_bottom(); ?> <?php show_box_top(_('User Activity')); ?> diff --git a/templates/show_test.inc b/templates/show_test.inc index 54157c65..539b2cb4 100644 --- a/templates/show_test.inc +++ b/templates/show_test.inc @@ -135,6 +135,23 @@ $row_classes = array('even','odd'); </td> </tr> <tr> + <td valign="top"><?php echo _('PHP PutENV Support'); ?></td> + <td valign="top">[ + <?php + if (!check_putenv()) { + $status['putevn_php'] = false; + echo " <font color=\"red\">ERROR</font> "; + } + else { + echo "<font color=\"green\"> OK </font> "; + } + ?>] + </td> + <td> + <?php echo _('This test makes sure that PHP isn\'t running in SafeMode and that we are able to modify the memory limits. While not required, without these abilities some features of ampache may not work correctly'); ?> + </td> +</tr> +<tr> <td valign="top"><?php echo _('Ampache.cfg.php Exists'); ?></td> <td valign="top">[ <?php |