]> git.sesse.net Git - vlc/blob - share/http/admin/browse.html
* string review.
[vlc] / share / http / admin / browse.html
1 <html>
2 <head>
3     <title>VLC media player - Browser</title>
4
5     <vlc id="if" param1="'control' url_extract strlen"/>
6         <meta http-equiv="refresh" content="0;URL=/admin/browse.html?dir=<vlc id="value" param1="'dir' url_extract" />" />
7     <vlc id="end" />
8
9     <vlc id="control" param1="add"/>
10 </head>
11 <body>
12     <h2><center><a href="/">VLC media player <vlc id="value" param1="version" /></a></center></h2>
13     <hr/>
14     <table  width="100%" border=0 cellspacing=1 cellpadding=2>
15     <tr>
16         <th align="left" bgcolor="#88ff88" colspan="2">File (<vlc id="value" param1="'dir' url_extract" />)</th>
17         <th align="left" bgcolor="#cccccc">Size</th>
18         <th align="left" bgcolor="#cccccc">Date</th>
19     </tr>
20     <p>This page is default disabled for security reasons (change _directory_ into directory to enable it).</p>
21     <vlc id="rpn" param1="'dir' url_extract" />
22     <vlc id="foreach" param1="file" param2="_directory_" />
23         <tr>
24             <td>
25                 <vlc id="if" param1="file.type value 'directory' strcmp 0 =" />
26                     <img src="/icons/dir.gif" alt=[DIR]" border="0" width="20" height="22">
27                     <a href="?dir=<vlc id="value" param1="file.name" />"><vlc id="value" param1="file.name" /></a>
28                 <vlc id="else" /> 
29                     <img src="/icons/text.gif" alt=[FILE]" border="0" width="20" height="22">
30                     <vlc id="value" param1="file.name" />
31                 <vlc id="end" />
32             </td>
33             <td align="right">
34                 <form method="get" action="">
35                     <input type="hidden" name="dir" value="<vlc id="value" param1="'dir' url_extract" />"/>
36                     <input type="hidden" name="mrl" value="<vlc id="value" param1="file.name" />"/>
37                     <input type="submit" name="control" value="add" />
38                 </form>
39             </td>
40             <td align="right"><vlc id="value" param1="file.size" /></td>
41             <td align="center"><vlc id="value" param1="file.date" /></td>
42         </tr>
43     <vlc id="end" />
44     </table>
45     <hr/>
46     <p><vlc id="value" param1="copyright" /> </p>
47 </body>
48 </html>
49