<vlc id="if" param1="0" />
vim:syntax=html
<!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
<  playlist: VLC media player web interface - playlist dialog
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
<  Copyright (C) 2005-2006 the VideoLAN team
<  $Id$
< 
<  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
< 
<  This program is free software; you can redistribute it and/or modify
<  it under the terms of the GNU General Public License as published by
<  the Free Software Foundation; either version 2 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 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, USA.
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
This dialog needs the following dialogs to be fully functional: <none>
<vlc id="end" />

<div id="playlist" class="dialog" >
  <div class="title">
    Playlist
    <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('playlist');"/>
  </div>
  <div class="controls">
    <table>
      <tr>
        <td>
          <!--<button id="btn_delete" onmouseover="button_over(this);" onmouseout="button_out(this);">
            <img src="images/delete.png" alt="Delete" />
            <span class="btn_text">Delete</span>
          </button>-->
          <button id="btn_empty" onclick="pl_empty();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Empty" >
            <img src="images/empty.png" alt="Empty" />
            <span class="btn_text">Empty</span>
          </button>
          <button id="btn_shuffle" onclick="pl_shuffle();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Shuffle" >
            <img src="images/shuffle.png" alt="Shuffle" />
            <span class="btn_text">Shuffle</span>
          </button>
          <button id="btn_loop" onclick="pl_loop();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Loop" >
            <img src="images/loop.png" alt="Loop" />
            <span class="btn_text">Loop</span>
          </button>
          <button id="btn_repeat" onclick="pl_repeat();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Repeat" >
            <img src="images/repeat.png" alt="Repeat" />
            <span class="btn_text">Repeat</span>
          </button>
        </td>
        <td onmouseout="hide_menu('menu_sort');" onmouseover="show_menu('menu_sort');" >
          <button id="btn_sort" title="Sort" >
            <img src="images/sort.png" alt="Sort" />
            <span class="btn_text">Sort</span>
          </button>
          <div id="menu_sort" class="menu" >
            <button class="menuout" onclick="pl_sort(1,0);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Sort by Name ascending" >Name</button><br/>
            <button class="menuout" onclick="pl_sort(1,1);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Sort by Name descending" >Name reverse</button><br/>
            <button class="menuout" onclick="pl_sort(3,0);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Sort by Author ascending" >Author</button><br/>
            <button class="menuout" onclick="pl_sort(3,1);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Sort by Author ascending" >Author reverse</button><br/>
            <button class="menuout" onclick="pl_sort(5,0);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Randomize" >Random</button><br/>
            <button class="menuout" onclick="pl_sort(7,0);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Sort by Track number" >Track number</button><br/>
            <button class="menuout" onclick="pl_sort(0,0);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Sort by Id ascending" >Id</button><br/>
            <button class="menuout" onclick="pl_sort(0,1);hide_menu('menu_sort');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" title="Sort by Id descending" >Id reverse</button><br/>
          </div>
        </td>
        <td onmouseover="show_menu('menu_sd');" onmouseout="hide_menu('menu_sd');">
          <button id="btn_sd" title="Services Discovery" >
            <img src="images/sd.png" alt="Services Discovery" />
            <span class="btn_text">Services Discovery</span>
          </button>
          <div id="menu_sd" class="menu" >
            <vlc id="foreach" param1="sd" param2="services" />
            <button onclick="pl_sd('<vlc id="value" param1="sd value url_encode" />');hide_menu('menu_sd');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" class="menuout" title="Toggle <vlc id="value" param1="sd.name" />" ><vlc id="value" param1="sd.name" /></button><br/>
            <vlc id="end" />
          </div>
        </td>
      </tr>
    </table>
  </div>
  <div id="playtree">
    (?)
  </div>
</div>
