diff options
author | pb1dft <pb1dft@ampache> | 2007-02-23 23:45:46 +0000 |
---|---|---|
committer | pb1dft <pb1dft@ampache> | 2007-02-23 23:45:46 +0000 |
commit | 13742eebf7607e39f2378fcdff638832ea264bb5 (patch) | |
tree | d7f649387385c3f5bec4b3f9850f008b18e74c98 /templates | |
parent | 6a660dcb5f2bc9b93fdf601309a4cba90ccd5578 (diff) | |
download | ampache-13742eebf7607e39f2378fcdff638832ea264bb5.tar.gz ampache-13742eebf7607e39f2378fcdff638832ea264bb5.tar.bz2 ampache-13742eebf7607e39f2378fcdff638832ea264bb5.zip |
Fixed a lot of minor thing + play_type_switch for IE7
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_add_catalog.inc.php | 3 | ||||
-rw-r--r-- | templates/show_all_popular.inc.php | 4 | ||||
-rw-r--r-- | templates/show_playtype_switch.inc.php | 12 |
3 files changed, 10 insertions, 9 deletions
diff --git a/templates/show_add_catalog.inc.php b/templates/show_add_catalog.inc.php index 58feb238..c1f74639 100644 --- a/templates/show_add_catalog.inc.php +++ b/templates/show_add_catalog.inc.php @@ -88,7 +88,8 @@ $default_sort = "%a/%A"; <td> <input type="hidden" name="action" value="add_catalog" /> <input class="button" type="submit" value="<?php echo _("Add Catalog"); ?>" /> - <input class="button" type="submit" name="action" value="Cancel" /> + <input class="button" type="reset" value="<?php echo _("Reset"); ?>" /> + <input type="button" onclick="javascript:history.go(-1)" value="<?php echo _("Cancel"); ?>" /> </td> </tr> diff --git a/templates/show_all_popular.inc.php b/templates/show_all_popular.inc.php index 51ace405..a6478952 100644 --- a/templates/show_all_popular.inc.php +++ b/templates/show_all_popular.inc.php @@ -25,10 +25,10 @@ <td valign="top" > <?php show_info_box(_('Most Popular Artists'), 'artist', $artists); ?> </td> - <td valign="top" align="left"> + <td valign="top"> <?php show_info_box(_('Most Popular Albums'), '', $albums); ?> </td> - <td valign="top" align="left"> + <td valign="top"> <?php show_info_box(_('Most Popular Genres'), '', $genres); ?> </td> </tr> diff --git a/templates/show_playtype_switch.inc.php b/templates/show_playtype_switch.inc.php index a88ad08a..47427b15 100644 --- a/templates/show_playtype_switch.inc.php +++ b/templates/show_playtype_switch.inc.php @@ -25,17 +25,17 @@ ${$name} = 'selected="selected" '; if (has_preference_access('play_type')){ ?> <!--<select id="play_type_switch" style="font-size:0.9em;" name="type"> --> -<select id="play_type_switch" name="type"> +<select id="play_type_switch" name="type" onchange="ajaxPut('<?php echo $ajax_url; ?>?action=change_play_type<?php echo $required_info; ?>');return true;"> <?php if (conf('allow_stream_playback')) { ?> - <option onclick="ajaxPut('<?php echo $ajax_url; ?>?action=change_play_type&type=stream<?php echo $required_info; ?>');return true;" <?php echo $is_stream; ?>><?php echo _('Stream'); ?></option> + <option value="stream" <?php echo $is_stream; ?>><?php echo _('Stream'); ?></option> <?php } if (conf('allow_localplay_playback')) { ?> - <option onclick="ajaxPut('<?php echo $ajax_url; ?>?action=change_play_type&type=localplay<?php echo $required_info; ?>');return true;" <?php echo $is_localplay; ?>><?php echo _('Localplay'); ?></option> + <option value="localplay" <?php echo $is_localplay; ?>><?php echo _('Localplay'); ?></option> <?php } if (conf('allow_downsample_playback')) { ?> - <option onclick="ajaxPut('<?php echo $ajax_url; ?>?action=change_play_type&type=downsample<?php echo $required_info; ?>');return true;" <?php echo $is_downsample; ?>><?php echo _('Downsample'); ?></option> + <option value="downsample" <?php echo $is_downsample; ?>><?php echo _('Downsample'); ?></option> <?php } if (conf('allow_democratic_playback')) { ?> - <option onclick="ajaxPut('<?php echo $ajax_url; ?>?action=change_play_type&type=democratic<?php echo $required_info; ?>');return true;" <?php echo $is_democratic; ?>><?php echo _('Democratic'); ?></option> + <option value="democratic" <?php echo $is_democratic; ?>><?php echo _('Democratic'); ?></option> <?php } ?> - <option onclick="ajaxPut('<?php echo $ajax_url; ?>?action=change_play_type&type=xspf_player<?php echo $required_info; ?>');return true;" <?php echo $is_xspf_player; ?>><?php echo _('XSPF Player'); ?></option> + <option value="xspf_player" <?php echo $is_xspf_player; ?>><?php echo _('XSPF Player'); ?></option> </select> <?php } else { echo ucwords($GLOBALS['user']->prefs['play_type']);} |