diff options
author | Holger Brunn <opensource@holgerbrunn.net> | 2013-01-31 20:56:52 +0100 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-02-07 14:46:27 -0500 |
commit | 7370abe9792948cb92f2eb6ea689d244e04a4ae5 (patch) | |
tree | f30f6dacd58ffc8a792670b72ef3eba31af227ce /templates | |
parent | 46cb6c81c584b9776aec14c434b3fa4720a87c5e (diff) | |
download | ampache-7370abe9792948cb92f2eb6ea689d244e04a4ae5.tar.gz ampache-7370abe9792948cb92f2eb6ea689d244e04a4ae5.tar.bz2 ampache-7370abe9792948cb92f2eb6ea689d244e04a4ae5.zip |
add accesskeys (=hotkeys), changed <div>s for buttons to <button>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_html5_player.inc.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/show_html5_player.inc.php b/templates/show_html5_player.inc.php index 1abd96d2..ef8f26a9 100644 --- a/templates/show_html5_player.inc.php +++ b/templates/show_html5_player.inc.php @@ -56,18 +56,18 @@ foreach($playlist->urls as $item) <div id="player"> <div id="albumart"></div> <div id="search"> - <input id="input_search" type="text" value="<?php echo T_('search') ?>"/> - <div id="clear_search"><?php echo T_('clear') ?></div> + <input id="input_search" type="text" value="<?php echo T_('search') ?>" accesskey="<?php echo T_dgettext('html5_player_accesskey', 's') ?>"/> + <button id="clear_search"><?php echo T_('clear') ?></button> </div> <div id="title"><?php echo T_('Loading...') ?></div> <div id="album"><?php echo T_('Loading...') ?></div> <div id="artist"><?php echo T_('Loading...') ?></div> <div id="progress_text"><?php echo T_('Loading...') ?></div> - <div id="stop"><?php echo T_('Stop') ?></div> - <div id="play"><?php echo T_('Play') ?></div> - <div id="pause"><?php echo T_('Pause') ?></div> - <div id="previous"><?php echo T_('Previous') ?></div> - <div id="next"><?php echo T_('Next') ?></div> + <button id="stop" accesskey="<?php echo T_dgettext('html5_player_accesskey', 'o') ?>"><?php echo T_('Stop') ?></button> + <button id="play" accesskey="<?php echo T_dgettext('html5_player_accesskey', 'p') ?>"><?php echo T_('Play') ?></button> + <button id="pause" accesskey="<?php echo T_dgettext('html5_player_accesskey', 'p') ?>"><?php echo T_('Pause') ?></button> + <button id="previous" accesskey="<?php echo T_dgettext('html5_player_accesskey', ',') ?>"><?php echo T_('Previous') ?></button> + <button id="next" accesskey="<?php echo T_dgettext('html5_player_accesskey', '.') ?>"><?php echo T_('Next') ?></button> </div> <div> <ul id="playlist"> |