<ul id="tabs"> <li class="tab_active"><a href="#artists"><?php echo T_('Artists'); ?> </a></li> <li><a id="songs_link" href="#songs"><?php echo T_('Songs'); ?> </a></li> </ul> </div> <div id="tabs_content"> <div id="artists" class="tab_content" style="display: block;"> <?php $browse->show_objects($object_ids, true); $browse->store(); ?> </div> <?php echo Ajax::observe('songs_link', 'click', Ajax::action('?page=index&action=songs&label=' . $label->id, 'songs')); ?> <div id="songs" class="tab_content"> <?php UI::show_box_top(T_('Songs'), 'info-box'); echo T_('Loading...'); UI::show_box_bottom(); ?> </div> </div> </div>
</div> <?php } if (AmpConfig::get('show_similar')) { echo Ajax::observe('similar_artist_link', 'click', Ajax::action('?page=index&action=similar_artist&artist=' . $artist->id, 'similar_artist')); ?> <div id="similar_artist" class="tab_content"> <?php UI::show_box_top(T_('Similar Artists'), 'info-box'); echo T_('Loading...'); UI::show_box_bottom(); ?> </div> <?php } if (AmpConfig::get('show_concerts')) { echo Ajax::observe('concerts_link', 'click', Ajax::action('?page=index&action=concerts&artist=' . $artist->id, 'concerts')); ?> <div id="concerts" class="tab_content"> <?php UI::show_box_top(T_('Events'), 'info-box'); echo T_('Loading...'); UI::show_box_bottom(); ?> </div> <?php } ?> </div> </div>
} ?> </select> <?php echo Ajax::observe('catalog_select', 'change', Ajax::action('?page=browse&action=browse&browse_id=' . $browse->id, 'catalog_select', 'catalog_choice')); ?> </form> <?php } ?> <?php if (in_array('show_art', $allowed_filters)) { ?> <?php echo T_('Toggle Artwork'); ?> <input id="show_artCB" type="checkbox" <?php echo Art::is_enabled() ? 'checked="checked"' : ''; ?> /> <?php echo Ajax::observe('show_artCB', 'click', Ajax::action('?page=browse&action=show_art&browse_id=' . $browse->id, '')); ?> <?php } // if show_art ?> </div> </li>
?> <tr> <td class="edit_dialog_content_header"><?php echo T_('Music License'); ?> </td> <td> <?php show_license_select('license', '', '0'); ?> <div id="album_select_license_<?php echo $song->license; ?> "> <?php echo Ajax::observe('license_select', 'change', 'check_inline_song_edit("license", "0")'); ?> </div> </td> </tr> <?php } ?> <tr> <td> <?php echo T_('Files'); ?> <?php if ($upload_max > 0) { echo " (< " . UI::format_bytes($upload_max) . ")";
<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> </tr> <tr> <td class="edit_dialog_content_header"><?php echo T_('Year'); ?> </td> <td><input type="text" name="year" value="<?php
echo $is_democratic; } ?> ><?php echo T_('Democratic'); ?> </option> <?php } ?> <option value="web_player" <?php if (isset($is_web_player)) { echo $is_web_player; } ?> ><?php echo T_('Web Player'); ?> </option> </select> <?php echo Ajax::observe('play_type_select', 'change', Ajax::action('?page=stream&action=set_play_type', 'play_type_select', 'play_type_form')); ?> </form> <?php } else { echo T_(ucwords(AmpConfig::get('play_type'))); } ?> </div>
* * 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. * */ ?> <div id="now_playing"> <?php show_now_playing(); ?> </div> <!-- Close Now Playing Div --> <!-- Randomly selected albums of the moment --> <?php if (Art::is_enabled()) { echo Ajax::observe('window', 'load', Ajax::action('?page=index&action=random_albums', 'random_albums')); ?> <div id="random_selection"> <?php UI::show_box_top(T_('Albums of the Moment')); echo T_('Loading...'); UI::show_box_bottom(); ?> </div> <?php } ?> <!-- Recently Played --> <div id="recently_played"> <?php $data = Song::get_recently_played();
?> <tr> <td class="edit_dialog_content_header"><?php echo T_('Music License'); ?> </td> <td> <?php show_license_select('license', $libitem->license, $libitem->id); ?> <div id="album_select_license_<?php echo $libitem->license; ?> "> <?php echo Ajax::observe('license_select_' . $libitem->license, 'change', 'check_inline_song_edit("license", ' . $libitem->id . ')'); ?> </div> </td> </tr> <?php } ?> </table> <input type="hidden" name="id" value="<?php echo $libitem->id; ?> " /> <input type="hidden" name="type" value="song_row" /> </form>
* 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. * */ $web_path = AmpConfig::get('web_path'); UI::show_box_top($wartist['name'], 'info-box'); if (AmpConfig::get('lastfm_api_key')) { echo Ajax::observe('window', 'load', Ajax::action('?page=index&action=artist_info&fullname=' . rawurlencode($wartist['name']), 'artist_info')); ?> <div id="artist_biography"> <?php echo T_('Loading...'); ?> </div> <?php } UI::show_box_bottom(); ?> <?php if (AmpConfig::get('wanted')) { echo Ajax::observe('window', 'load', Ajax::action('?page=index&action=wanted_missing_albums&artist_mbid=' . $wartist['mbid'], 'missing_albums')); ?> <div id="missing_albums"></div> <?php }
</td> </tr> </table> <?php require AmpConfig::get('prefix') . '/templates/show_rules.inc.php'; ?> <div class="formValidation"> <input type="submit" value="<?php echo T_('Enqueue'); ?> " /> </div> </form> <?php UI::show_box_bottom(); ?> <div id="browse"> <?php if (is_array($object_ids)) { $browse = new Browse(); $browse->set_type('song'); $browse->save_objects($object_ids); $browse->show_objects(); $browse->store(); echo Ajax::observe('window', 'load', Ajax::action('?action=refresh_rightbar', 'playlist_refresh_load')); } ?> </div>
</tr> <tr> <td class="edit_dialog_content_header"><?php echo T_('Album'); ?> </td> <td> <?php show_album_select('album', $song->album, true, $song->id); ?> <div id="album_select_song_<?php echo $song->id; ?> "> <?php echo Ajax::observe('album_select_' . $song->id, 'change', 'check_inline_song_edit("album", ' . $song->id . ')'); ?> </div> </td> </tr> <tr> <td class="edit_dialog_content_header"><?php echo T_('Track'); ?> </td> <td><input type="text" name="track" value="<?php echo scrub_out($song->track); ?> " /></td> </tr> <tr>
</form> <?php foreach ($object_ids as $data) { ?> <div class="tag_container"> <div class="tag_button"> <span id="click_tag_<?php echo $data['id']; ?> "><?php echo $data['name']; ?> </span> <?php echo Ajax::observe('click_tag_' . $data['id'], 'click', Ajax::action('?page=tag&action=add_filter&browse_id=' . $browse2->id . '&tag_id=' . $data['id'], '')); ?> </div> <?php if (Access::check('interface', '50')) { ?> <div class="tag_actions"> <ul> <li> <a class="tag_edit" id="<?php echo 'edit_tag_' . $data['id']; ?> " onclick="showEditDialog('tag_row', '<?php echo $data['id']; ?> ', '<?php
</div> <?php } if (AmpConfig::get('show_concerts')) { echo Ajax::observe('concerts_link', 'click', Ajax::action('?page=index&action=concerts&artist=' . $artist->id, 'concerts')); ?> <div id="concerts" class="tab_content"> <?php UI::show_box_top(T_('Events'), 'info-box'); echo T_('Loading...'); UI::show_box_bottom(); ?> </div> <?php } if (AmpConfig::get('label')) { echo Ajax::observe('labels_link', 'click', Ajax::action('?page=index&action=labels&artist=' . $artist->id, 'labels')); ?> <div id="labels" class="tab_content"> <?php UI::show_box_top(T_('Labels'), 'info-box'); echo T_('Loading...'); UI::show_box_bottom(); ?> </div> <?php } ?> </div> </div>