summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-22 09:24:39 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-22 09:24:39 +0000
commita52827790447bc9fd1cee2e40756b60b967be475 (patch)
tree7cd24d0f31a2d363a36b861fd98afbfe2c11350a /templates
parent7b49a436d0eb128b26cb2a427731074f0a9fce2b (diff)
downloadampache-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.php4
-rw-r--r--templates/show_test.inc17
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\">&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;</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