Commit 6da59652 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix old http interface to not refer to the new http interface. Patch by:...

Fix old http interface to not refer to the new http interface. Patch by: Laurent Mutricy <laurent dot mutricy _at_ ecl2005 dot ec-lyon dot fr>
parent a7c18d8a
......@@ -4,13 +4,13 @@
<link href="../style.css" title="Default" rel="stylesheet" type="text/css" />
<vlc id="if" param1="'control' url_extract strlen"/>
<meta http-equiv="refresh" content="0;URL=/admin/browse.html?dir=<vlc id="value" param1="'dir' url_extract" />" />
<meta http-equiv="refresh" content="0;URL=/old/admin/browse.html?dir=<vlc id="value" param1="'dir' url_extract" />" />
<vlc id="end" />
<vlc id="control" param1="add"/>
</head>
<body>
<h2><center><a href="/">VLC media player <vlc id="value" param1="version" /></a></center></h2>
<h2><center><a href="/old/">VLC media player <vlc id="value" param1="version" /></a></center></h2>
<hr/>
<table width="100%" border=0 cellspacing=1 cellpadding=2>
<tr>
......
......@@ -28,14 +28,14 @@
tr.ligne2 { background-color:#CCCCFF; }
</style>
<vlc id="if" param1="url_param"/>
<meta http-equiv="refresh" content="0;URL=/admin/" />
<meta http-equiv="refresh" content="0;URL=/old/admin/" />
<vlc id="end" />
<vlc id="control" />
<vlc id="set" param1="sout" param2="string" />
</head>
<body>
<h2><a href="/">VLC media player - Admin <vlc id="value" param1="version" /></a></h2>
<h2><a href="/old/">VLC media player - Admin <vlc id="value" param1="version" /></a></h2>
<div class="section-ctr">Shutdown VLC<br /> <form method="get" action=""> <input type="submit" name="control" value="shutdown" /> </form></div>
......
......@@ -10,9 +10,9 @@
<link href="style.css" title="Default" rel="stylesheet" type="text/css" />
<!-- Work around. should be done in the code -->
<vlc id="if" param1="url_param"/>
<meta http-equiv="Refresh" content="0;url=/" />
<meta http-equiv="Refresh" content="0;url=/old/" />
<vlc id="else" />
<meta http-equiv="Refresh" content="60;url=/">
<meta http-equiv="Refresh" content="60;url=/old/">
<vlc id="end" />
<vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep,volume,sort,move" />
......@@ -103,7 +103,7 @@ function changeMe(item)
<br /><a href="info.html">Information</a>
</div>
<div class="section"><a href="/admin/">Administration Page</a></div>
<div class="section"><a href="admin/">Administration Page</a></div>
</div>
<!-- end left -->
......
......@@ -3,7 +3,7 @@
<title>VLC media player - Information</title>
</head>
<body>
<h2><center><a href="/">VLC media player <vlc id="value" param1="version" /></a></center></h2>
<h2><center><a href="/old/">VLC media player <vlc id="value" param1="version" /></a></center></h2>
<hr/>
<vlc id="foreach" param1="cat" param2="information" />
<p> <vlc id="value" param1="cat.name" />
......
......@@ -19,7 +19,7 @@
<vlc id="if" param1="'name' url_extract el.name value strcmp 0 =" />
<vlc id="if" param1="'type' url_extract 'broadcast' strcmp 0 =" />
<form method="get" action="/vlm/" />
<form method="get" action="/old/vlm/" />
<table>
<tr><td>Name : </td><td><vlc id="value" param1="'name' url_extract"/> </td> </tr>
<tr><td>Type: </td><td>Broadcast </td></tr>
......@@ -40,7 +40,7 @@
</form>
<vlc id="else" />
<vlc id="if" param1="'type' url_extract 'schedule' strcmp 0 =" />
<form method="get" action="/vlm/" />
<form method="get" action="/old/vlm/" />
<table>
<tr><td>Name : </td><td><vlc id="value" param1="'name' url_extract"/> </td> </tr>
<tr><td>Type: </td><td>Schedule </td></tr>
......
......@@ -7,7 +7,7 @@
<link href="../style.css" title="Default" rel="stylesheet" type="text/css" />
<vlc id="if" param1="url_param"/>
<meta http-equiv="refresh" content="0;URL=/vlm/" />
<meta http-equiv="refresh" content="0;URL=/old/vlm/" />
<vlc id="end" />
<vlc id="control" param1="vlm_setup,vlm_new,vlm_del,vlm_play,vlm_pause,vlm_stop,vlm_seek,vlm_save,vlm_load" />
......@@ -31,12 +31,12 @@
<div class="sectitle">VLM - New</div>
<div class="section">
<form method="get" action="/vlm/new.html" />
<form method="get" action="/old/vlm/new.html" />
<input type="test" name="name" size="40"/>
<input type="submit" name="type" value="broadcast"/>
</form>
<form method="get" action="/vlm/new.html" />
<form method="get" action="/old/vlm/new.html" />
<input type="test" name="name" size="40"/>
<input type="submit" name="type" value="schedule"/>
</form>
......@@ -62,7 +62,7 @@
<input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
</form>
</td>
<td><a href="/vlm/show.html?name=<vlc id="value" param1="el.name" />&type=broadcast"><vlc id="value" param1="el.name" /></a></td>
<td><a href="/old/vlm/show.html?name=<vlc id="value" param1="el.name" />&type=broadcast"><vlc id="value" param1="el.name" /></a></td>
</tr>
</table>
</td>
......@@ -134,7 +134,7 @@
<input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
</form>
</td>
<td><a href="/vlm/show.html?name=<vlc id="value" param1="el.name" />&type=schedule"><vlc id="value" param1="el.name" /></a></td>
<td><a href="/old/vlm/show.html?name=<vlc id="value" param1="el.name" />&type=schedule"><vlc id="value" param1="el.name" /></a></td>
</tr>
</table>
</td>
......
......@@ -16,7 +16,7 @@
<div class="section">
<vlc id="if" param1="'type' url_extract 'broadcast' strcmp 0 =" />
<form method="get" action="/vlm/" />
<form method="get" action="/old/vlm/" />
<table>
<tr><td>Name : <vlc id="value" param1="'name' url_extract"/> </td> </tr>
<tr><td>Type: Schedule </td></tr>
......@@ -31,7 +31,7 @@
</form>
<vlc id="else" />
<vlc id="if" param1="'type' url_extract 'schedule' strcmp 0 =" />
<form method="get" action="/vlm/" />
<form method="get" action="/old/vlm/" />
<table>
<tr><td>Name : <vlc id="value" param1="'name' url_extract"/> </td> </tr>
<tr><td>Type: Schedule </td></tr>
......
......@@ -32,7 +32,7 @@
<vlc id="foreach" param1="op" param2="el.options" /><vlc id="value" param1="op" /><br/><vlc id="end" />
</td></tr>
</table>
<form method="get" action="/vlm/edit.html" />
<form method="get" action="/old/vlm/edit.html" />
<input type="hidden" name="name" value="<vlc id="value" param1="'name' url_extract"/>" />
<input type="hidden" name="type" value="broadcast" />
<button name="control" value="vlm_setup">setup</button>
......@@ -63,7 +63,7 @@
</tr>
<vlc id="end" />
</table>
<form method="get" action="/vlm/edit.html" />
<form method="get" action="/old/vlm/edit.html" />
<input type="hidden" name="name" value="<vlc id="value" param1="'name' url_extract"/>" />
<input type="hidden" name="type" value="schedule" />
<button name="control" value="vlm_setup">setup</button>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment