*
 * LICENSE: GNU Affero General Public License, version 3 (AGPLv3)
 * Copyright 2001 - 2015 Ampache.org
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * 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 Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
?>
            <tr>
                <td class="edit_dialog_content_header"><?php 
echo T_('Artist');
?>
</td>
                <td>
                    <?php 
show_artist_select('artist', $libitem->artist);
?>
                </td>
            </tr>
示例#2
0
" />
<?php 
}
?>
<table class="tabledata" cellpadding="0" cellspacing="0">
<?php 
if (!AmpConfig::get('upload_user_artist')) {
    ?>
<tr>
    <td class="edit_dialog_content_header"><?php 
    echo T_('Artist');
    ?>
</td>
    <td>
        <?php 
    show_artist_select('artist', $artist, true, 1, Access::check('interface', 50), Access::check('interface', 50) ? null : $GLOBALS['user']->id);
    ?>
        <div id="artist_select_album_1">
            <?php 
    echo Ajax::observe('artist_select_1', 'change', 'check_inline_song_edit("artist", 1)');
    ?>
        </div>
    </td>
</tr>
<?php 
}
?>
<tr>
    <td class="edit_dialog_content_header"><?php 
echo T_('Album');
?>
    }
} else {
    echo $libitem->f_artist_name;
}
?>
                </td>
            </tr>
            <tr>
                <td class="edit_dialog_content_header"><?php 
echo T_('Album Artist');
?>
</td>
                <td>
                    <?php 
if (Access::check('interface', 50)) {
    show_artist_select('album_artist', $libitem->album_artist, true, $libitem->id, true);
    ?>
                    <div id="album_artist_select_album_<?php 
    echo $libitem->id;
    ?>
">
                        <?php 
    echo Ajax::observe('album_artist_select_' . $libitem->id, 'change', 'check_inline_song_edit("album_artist", ' . $libitem->id . ')');
    ?>
                    </div>
                    <?php 
} else {
    echo $libitem->f_album_artist_name;
}
?>
                </td>
示例#4
0
                <td><input type="text" name="title" value="<?php 
echo scrub_out($libitem->title);
?>
" autofocus /></td>
            </tr>
            <?php 
if (Access::check('interface', '75')) {
    ?>
            <tr>
                <td class="edit_dialog_content_header"><?php 
    echo T_('Artist');
    ?>
</td>
                <td>
                    <?php 
    show_artist_select('artist', $libitem->artist, true, $libitem->id);
    ?>
                    <div id="artist_select_song_<?php 
    echo $libitem->id;
    ?>
">
                        <?php 
    echo Ajax::observe('artist_select_' . $libitem->id, 'change', 'check_inline_song_edit("artist", ' . $libitem->id . ')');
    ?>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="edit_dialog_content_header"><?php 
    echo T_('Album');
    ?>
?>
</td>
                <td><input type="text" name="name" value="<?php 
echo scrub_out($album->full_name);
?>
" /></td>
            </tr>
            <tr>
                <td class="edit_dialog_content_header"><?php 
echo T_('Artist');
?>
</td>
                <td>
                    <?php 
/*if ($album->artist_count == '1') {*/
show_artist_select('artist', $album->artist_id);
/*} else {
      echo T_('Various');
  }*/
?>
                </td>
            </tr>
            <tr>
                <td class="edit_dialog_content_header"><?php 
echo T_('Year');
?>
</td>
                <td><input type="text" name="year" value="<?php 
echo scrub_out($album->year);
?>
" /></td>
echo T_('Title');
?>
</td>
                <td><input type="text" name="title" value="<?php 
echo scrub_out($song->title);
?>
" /></td>
            </tr>
            <tr>
                <td class="edit_dialog_content_header"><?php 
echo T_('Artist');
?>
</td>
                <td>
                    <?php 
show_artist_select('artist', $song->artist, true, $song->id);
?>
                    <div id="artist_select_song_<?php 
echo $song->id;
?>
">
                        <?php 
echo Ajax::observe('artist_select_' . $song->id, 'change', 'check_inline_song_edit("artist", ' . $song->id . ')');
?>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="edit_dialog_content_header"><?php 
echo T_('Album');
?>