diff options
Diffstat (limited to 'templates/show_export.inc.php')
-rw-r--r-- | templates/show_export.inc.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/templates/show_export.inc.php b/templates/show_export.inc.php index 96151492..e7cd949e 100644 --- a/templates/show_export.inc.php +++ b/templates/show_export.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) @@ -29,32 +29,32 @@ UI::show_box_top(T_('Export Catalog'), 'box box_export'); ?> <form name="duplicates" action="<?php echo Config::get('web_path'); ?>/admin/export.php?action=export" method="post" enctype="multipart/form-data" > <table class="tableform" cellspacing="0" cellpadding="3"> <tr> - <td valign="top"><strong><?php echo T_('Catalog'); ?>:</strong></td> - <td> - <select id="export_catalog" name="export_catalog"> - <option value=""><?php echo T_('All'); ?></option> + <td valign="top"><strong><?php echo T_('Catalog'); ?>:</strong></td> + <td> + <select id="export_catalog" name="export_catalog"> + <option value=""><?php echo T_('All'); ?></option> <?php - $catalog_ids = Catalog::get_catalogs(); - foreach ($catalog_ids as $catalog_id) { - $catalog = new Catalog($catalog_id); - $current_name = 'catalog_' . $catalog->id; + $catalog_ids = Catalog::get_catalogs(); + foreach ($catalog_ids as $catalog_id) { + $catalog = new Catalog($catalog_id); + $current_name = 'catalog_' . $catalog->id; ?> - <option value="<?php echo $catalog->id; ?>"<?php echo ${$current_name}; ?>><?php echo scrub_out($catalog->name); ?></option> + <option value="<?php echo $catalog->id; ?>"<?php echo ${$current_name}; ?>><?php echo scrub_out($catalog->name); ?></option> <?php - } + } ?> - </select> - </td> + </select> + </td> </tr> <tr> - <td valign="top"><strong><?php echo T_('Format'); ?>:</strong></td> - <td> - <select id="export_format" name="export_format"> - <option value="csv" <?php echo $export_csv; ?>>CSV</option> - <option value="itunes" <?php echo $export_itunes; ?>>iTunes</option> - </select> - </td> + <td valign="top"><strong><?php echo T_('Format'); ?>:</strong></td> + <td> + <select id="export_format" name="export_format"> + <option value="csv" <?php echo $export_csv; ?>>CSV</option> + <option value="itunes" <?php echo $export_itunes; ?>>iTunes</option> + </select> + </td> </tr> </table> <div class="formValidation"> |