alltube/templates/index.tpl

37 lines
1.5 KiB
Smarty
Raw Normal View History

2016-07-31 23:01:10 +00:00
{include file='inc/head.tpl'}
{include file='inc/header.tpl'}
2017-05-26 18:45:05 +00:00
{locale path="Translations" domain="Alltube"}
2016-07-31 23:01:10 +00:00
<div class="main">
<div><img class="logo" src="{base_url}/img/logo.png"
2015-04-11 20:08:24 +00:00
alt="AllTube Download" width="328" height="284"></div>
2016-03-29 23:39:47 +00:00
<form action="{path_for name="video"}">
2015-04-11 20:08:24 +00:00
<label class="labelurl" for="url">
2017-05-26 06:55:04 +00:00
{t}Copy here the URL of your video (Youtube, Dailymotion, etc.){/t}
2015-04-11 20:08:24 +00:00
</label>
<div class="champs">
<span class="URLinput_wrapper">
<input class="URLinput" type="url" name="url" id="url"
2015-06-13 15:59:09 +00:00
required autofocus placeholder="http://example.com/video" />
2015-04-11 20:08:24 +00:00
</span>
2017-01-16 13:22:15 +00:00
{if $uglyUrls}
<input type="hidden" name="page" value="video" />
{/if}
2017-05-26 06:55:04 +00:00
<input class="downloadBtn" type="submit" value="{t}Download{/t}" /><br/>
2015-04-11 20:08:24 +00:00
{if $convert}
<div class="mp3">
<p><input type="checkbox" id="audio" class="audio" name="audio">
<label for="audio"><span class="ui"></span>
2017-05-26 06:55:04 +00:00
{t}Audio only (MP3){/t}</label></p>
2015-04-11 20:08:24 +00:00
</div>
{/if}
</div>
</form>
2017-05-26 06:55:04 +00:00
<a class="combatiblelink" href="{path_for name="extractors"}">{t}See all supported websites{/t}</a>
2016-07-10 11:12:44 +00:00
<div id="bookmarklet" class="bookmarklet_wrapper">
2017-05-26 06:55:04 +00:00
<p> {t}Drag this to your bookmarks bar:{/t} </p>
<a class="bookmarklet" href="javascript:window.location='{$domain}{path_for name='video'}?url='+encodeURIComponent(location.href);">{t}Bookmarklet{/t}</a>
2015-10-28 10:57:44 +00:00
</div>
2015-10-28 10:54:35 +00:00
2015-04-11 20:08:24 +00:00
</div>
2016-07-31 23:01:10 +00:00
{include file='inc/footer.tpl'}