You are here

audiofield--soundmanager2-barui.tpl.php in AudioField 7

Default theme implementation for Audiofield Soundmanager2 Bar UI.

Available variables:

  • $audio_file: Path to the audio file being rendered.
  • $audio_title: Title of the audio file being rendered.

See also

template_preprocess()

File

templates/audiofield--soundmanager2-barui.tpl.php
View source
<?php

/**
 * @file
 * Default theme implementation for Audiofield Soundmanager2 Bar UI.
 *
 * Available variables:
 * - $audio_file: Path to the audio file being rendered.
 * - $audio_title: Title of the audio file being rendered.
 *
 * @see template_preprocess()
 *
 * @ingroup themeable
 */
?>
<div class="audiofield">
  <div class="sm2-bar-ui">
    <div class="bd sm2-main-controls">
      <div class="sm2-inline-texture"></div>
      <div class="sm2-inline-gradient"></div>
      <div class="sm2-inline-element sm2-button-element">
        <div class="sm2-button-bd">
          <a href="#play" class="sm2-inline-button sm2-icon-play-pause">Play / pause</a>
        </div>
      </div>
      <div class="sm2-inline-element sm2-inline-status">
        <div class="sm2-playlist">
          <div class="sm2-playlist-target"><noscript><p>JavaScript is required.</p></noscript></div>
        </div>
        <div class="sm2-progress">
          <div class="sm2-row">
            <div class="sm2-inline-time">0:00</div>
            <div class="sm2-progress-bd">
              <div class="sm2-progress-track">
                <div class="sm2-progress-bar"></div>
                <div class="sm2-progress-ball"><div class="icon-overlay"></div></div>
              </div>
            </div>
            <div class="sm2-inline-duration">0:00</div>
          </div>
        </div>
      </div>
      <div class="sm2-inline-element sm2-button-element sm2-volume">
        <div class="sm2-button-bd">
          <span class="sm2-inline-button sm2-volume-control volume-shade"></span>
          <a href="#volume" class="sm2-inline-button sm2-volume-control">volume</a>
        </div>
      </div>
      <div class="sm2-inline-element sm2-button-element sm2-menu">
        <div class="sm2-button-bd">
          <a href="#menu" class="sm2-inline-button sm2-icon-menu">menu</a>
        </div>
      </div>
    </div>
    <div class="bd sm2-playlist-drawer sm2-element">
      <div class="sm2-playlist-wrapper">
        <ul class="sm2-playlist-bd">
            <li>
              <a href="<?php

print $audio_file;
?>"><?php

print $audio_title;
?></a>
            </li>
        </ul>
      </div>
      <div class="sm2-extra-controls">
        <div class="bd">
          <div class="sm2-inline-element sm2-button-element">
            <a href="#prev" title="Previous" class="sm2-inline-button previous">&lt; previous</a>
          </div>
          <div class="sm2-inline-element sm2-button-element">
            <a href="#next" title="Next" class="sm2-inline-button next">&gt; next</a>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>