~ubuntu-branches/debian/sid/ampache/sid

« back to all changes in this revision

Viewing changes to templates/show_catalogs.inc.php

  • Committer: Package Import Robot
  • Author(s): Charlie Smotherman
  • Date: 2013-08-27 13:19:48 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20130827131948-1czew0zxn6u70dtv
Tags: 3.6-rzb2752+dfsg-1
* New upsteam snapshot.  Contains important bug fixes to the installer.
* Correct typo in ampache-common.postrm.
* Remove courtousy copy of php-getid3, during repack.  Closes: #701526
* Update package to use dh_linktree to make the needed sym links to the
  needed system libs that were removed during repack.
* Update debian/rules to reflect upstreams removing/moving of modules.
* Update debian/ampache-common.install to reflect upstreams removal of files.
* Updated to use new apache2.4 API. Closes: #669756
* Updated /debian/po/de.po thx David Prévot for the patch.  Closes:  #691963
* M3U import is now ordered, fixed upstream.  Closes: #684984
* Text input area has been resized so IPv6 addresses will now fit, fixed
  upstream.  Closes:  #716230
* Added ampache-common.preinst to make sure that the courtousy copies of code
  dirs are empty so dh_linktree can do it's magic on upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
 
2
/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
3
3
/**
4
 
 * Show Catalogs
5
 
 *
6
4
 *
7
5
 * LICENSE: GNU General Public License, version 2 (GPLv2)
8
 
 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
 
6
 * Copyright 2001 - 2013 Ampache.org
9
7
 *
10
8
 * This program is free software; you can redistribute it and/or
11
9
 * modify it under the terms of the GNU General Public License v2
20
18
 * along with this program; if not, write to the Free Software
21
19
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
20
 *
23
 
 * @package     Ampache
24
 
 * @copyright   2001 - 2011 Ampache.org
25
 
 * @license     http://opensource.org/licenses/gpl-2.0 GPLv2
26
 
 * @link        http://www.ampache.org/
27
21
 */
28
 
 
29
22
?>
30
23
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
31
24
<table class="tabledata" cellpadding="0" cellspacing="0">
38
31
  <col id="col_action" />
39
32
</colgroup>
40
33
<tr class="th-top">
41
 
        <th class="cel_catalog"><?php echo T_('Name'); ?></th>
42
 
        <th class="cel_path"><?php echo T_('Path'); ?></th>
43
 
        <th class="cel_lastverify"><?php echo T_('Last Verify'); ?></th>
44
 
        <th class="cel_lastadd"><?php echo T_('Last Add'); ?></th>
45
 
        <th class="cel_lastclean"><?php echo T_('Last Clean'); ?></th>
46
 
        <th class="cel_action"><?php echo T_('Actions'); ?></th>
 
34
    <th class="cel_catalog"><?php echo T_('Name'); ?></th>
 
35
    <th class="cel_path"><?php echo T_('Path'); ?></th>
 
36
    <th class="cel_lastverify"><?php echo T_('Last Verify'); ?></th>
 
37
    <th class="cel_lastadd"><?php echo T_('Last Add'); ?></th>
 
38
    <th class="cel_lastclean"><?php echo T_('Last Clean'); ?></th>
 
39
    <th class="cel_action"><?php echo T_('Actions'); ?></th>
47
40
</tr>
48
41
<?php
49
 
        foreach ($object_ids as $catalog_id) {
50
 
                $catalog = new Catalog($catalog_id);
51
 
                $catalog->format();
 
42
    foreach ($object_ids as $catalog_id) {
 
43
        $catalog = new Catalog($catalog_id);
 
44
        $catalog->format();
52
45
?>
53
 
<tr class="<?php echo flip_class(); ?>" id="catalog_<?php echo $catalog->id; ?>">
54
 
        <?php require Config::get('prefix') . '/templates/show_catalog_row.inc.php'; ?>
 
46
<tr class="<?php echo UI::flip_class(); ?>" id="catalog_<?php echo $catalog->id; ?>">
 
47
    <?php require Config::get('prefix') . '/templates/show_catalog_row.inc.php'; ?>
55
48
</tr>
56
49
<?php } ?>
57
 
<tr class="<?php echo flip_class(); ?>">
 
50
<tr class="<?php echo UI::flip_class(); ?>">
58
51
<td colspan="6">
59
52
<?php if (!count($object_ids)) { ?>
60
 
        <span class="fatalerror"><?php echo T_('Not Enough Data'); ?></span>
 
53
    <span class="fatalerror"><?php echo T_('Not Enough Data'); ?></span>
61
54
<?php } ?>
62
55
</td>
63
56
</tr>
64
57
<tr class="th-bottom">
65
 
        <th class="cel_catalog"><?php echo T_('Name'); ?></th>
66
 
        <th class="cel_path"><?php echo T_('Path'); ?></th>
67
 
        <th class="cel_lastverify"><?php echo T_('Last Verify'); ?></th>
68
 
        <th class="cel_lastadd"><?php echo T_('Last Add'); ?></th>
69
 
        <th class="cel_lastclean"><?php echo T_('Last Clean'); ?></th>
70
 
        <th class="cel_action"><?php echo T_('Actions'); ?></th>
 
58
    <th class="cel_catalog"><?php echo T_('Name'); ?></th>
 
59
    <th class="cel_path"><?php echo T_('Path'); ?></th>
 
60
    <th class="cel_lastverify"><?php echo T_('Last Verify'); ?></th>
 
61
    <th class="cel_lastadd"><?php echo T_('Last Add'); ?></th>
 
62
    <th class="cel_lastclean"><?php echo T_('Last Clean'); ?></th>
 
63
    <th class="cel_action"><?php echo T_('Actions'); ?></th>
71
64
</tr>
72
65
</table>
73
66
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>