-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
+< index.html: VLC media player web interface
+< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
+< 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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
<head>
- <title>VLC Media Player</title>
- <vlc id="if" param1="url_param"/>
- <meta http-equiv="refresh" content="0;URL=/" />
- <vlc id="end" />
- <vlc id="control" param1="stop,pause,previous,next,add,sout,play" />
- <vlc id="set" param1="sout" param2="string" />
+ <title>VLC media player - Web Interface</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link href="style.css" rel="stylesheet" type="text/css" />
+ <!--[if IE ]>
+ <link href="iehacks.css" rel="stylesheet" type="text/css" />
+ <![endif]-->
+ <script type="text/javascript" src="js/functions.js"></script>
+
+ <!-- in case people had scripts that sent commands to the default
+ index.html page -->
+ <vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep,volume,sort,move" />
+
</head>
-<body>
- <h2><center><a href="http://www.videolan.org">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</center></h2>
- <hr/>
- <td>
- <form method="get" action="">
- <input type="submit" name="control" value="stop" />
- <input type="submit" name="control" value="pause" />
- <input type="submit" name="control" value="previous" />
- <input type="submit" name="control" value="next" />
- <a href="info.html">infos</a>
- </form>
- </td>
- <br />
- <td>
- <form method="get" action="" enctype="text/plain" >
- <input type="text" name="mrl" size="40" />
- <input type="submit" name="control" value="add" />
- </form>
- </td>
- <td>
- <form method="get" action="" enctype="text/plain" >
- <input type="text" name="sout" size="30" value="<vlc id="get" param1="sout" param2="string" />" />
- <input type="submit" name="control" value="sout" />
- </form>
- </td>
- <hr/>
- <p>
- <vlc id="foreach" param1="pl" param2="playlist" />
- <vlc id="if" param1="pl.current" />
- <b>
- <vlc id="end" />
- <a href=?control=play&item=<vlc id="value" param1="pl.index" />><vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.name" /></a> <br />
- <vlc id="if" param1="pl.current" />
- </b>
- <vlc id="end" />
-
- <vlc id="end" />
- </p>
- <hr/>
- <p> <vlc id="value" param1="copyright" /> </p>
+
+<body onload="loop_refresh();">
+
+<noscript>
+ <hr/>
+ <p>
+ Warning: Your browser doesn't support javascript.
+ You should use the <a href="old/">old http interface</a>.
+ </p>
+ <hr/>
+</noscript>
+
+<vlc id="include" param1="dialogs/browse" />
+<vlc id="include" param1="dialogs/main" />
+<vlc id="include" param1="dialogs/input" />
+<vlc id="include" param1="dialogs/sout" />
+<vlc id="include" param1="dialogs/playlist" />
+<vlc id="include" param1="dialogs/footer" />
+
</body>
-</html>
+</html>