diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-12 05:30:30 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-12 05:30:30 +0000 |
commit | 7be9eb4ea1e868fa0725334697057e1b7b994460 (patch) | |
tree | 5d4c634f2d64f2202cad95b4ce74c87838655e3d /templates/show_preferences.inc.php | |
parent | 12f679cf51ed9440c44cdc0cb178687f0ad17c3b (diff) | |
download | ampache-7be9eb4ea1e868fa0725334697057e1b7b994460.tar.gz ampache-7be9eb4ea1e868fa0725334697057e1b7b994460.tar.bz2 ampache-7be9eb4ea1e868fa0725334697057e1b7b994460.zip |
re-added ability to delete catalogs, fixed exception error with id3 library
Diffstat (limited to 'templates/show_preferences.inc.php')
-rw-r--r-- | templates/show_preferences.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show_preferences.inc.php b/templates/show_preferences.inc.php index 0ecc4984..81b2c06e 100644 --- a/templates/show_preferences.inc.php +++ b/templates/show_preferences.inc.php @@ -35,7 +35,9 @@ if ($_REQUEST['tab'] != 'account' && $_REQUEST['tab'] != 'modules') { <input class="button" type="submit" value="<?php echo _('Update Preferences'); ?>" /> <input type="hidden" name="tab" value="<?php echo scrub_out($_REQUEST['tab']); ?>" /> <input type="hidden" name="method" value="<?php echo scrub_out($_REQUEST['action']); ?>" /> - <input class="button" type="submit" name="action" value="<?php echo _("Cancel"); ?>" /> + <?php if ($GLOBALS['user']->has_access('100')) { ?> + <input type="hidden" name="user_id" value="<?php echo scrub_out($_REQUEST['user_id']); ?>" /> + <?php } ?> <?php } // end if not account if ($_REQUEST['tab'] == 'account') { |