summaryrefslogtreecommitdiffstats
path: root/templates/show_manage_catalogs.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-07-04 14:37:16 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-07-04 14:37:16 +0000
commit1d7e7cfb5be9c65cc18d30926e2d2d9dd6747fbc (patch)
treee8b615945453d4939094877904e3e8c9168cbaaa /templates/show_manage_catalogs.inc.php
parent17004376da0d8ef369329488487ff9d0538efc31 (diff)
downloadampache-1d7e7cfb5be9c65cc18d30926e2d2d9dd6747fbc.tar.gz
ampache-1d7e7cfb5be9c65cc18d30926e2d2d9dd6747fbc.tar.bz2
ampache-1d7e7cfb5be9c65cc18d30926e2d2d9dd6747fbc.zip
some more cleanup of the menu
Diffstat (limited to 'templates/show_manage_catalogs.inc.php')
-rw-r--r--templates/show_manage_catalogs.inc.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/show_manage_catalogs.inc.php b/templates/show_manage_catalogs.inc.php
new file mode 100644
index 00000000..1fcf7194
--- /dev/null
+++ b/templates/show_manage_catalogs.inc.php
@@ -0,0 +1,40 @@
+<?php
+/*
+
+ Copyright (c) Ampache.org
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License v2
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+?>
+<?php show_box_top(_('Show Catalogs')) ?>
+<div id="information_actions">
+<ul>
+ <li><a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=gather_album_art"><?php echo _('Gather All Art'); ?></a></li>
+ <li><a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=add_to_all_catalogs"><?php echo _('Add to All'); ?></a> </li>
+ <li><a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=update_all_catalogs"><?php echo _('Verify All'); ?></a></li>
+ <li><a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=clean_all_catalogs"><?php echo _('Clean All'); ?></a></li>
+ <li><a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=full_service"><?php echo _('Update All'); ?></a></li>
+ <li><a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=clear_stats"><?php echo _('Clear Stats'); ?></a></li>
+</ul>
+</div>
+<?php show_box_bottom(); ?>
+<?php
+ $catalog_ids = Catalog::get_catalogs();
+ Browse::set_type('catalog');
+ Browse::set_static_content(1);
+ Browse::save_objects($catalog_ids);
+ Browse::show_objects($catalog_ids);
+?>