Use Slim framework (fixes #33)
This commit is contained in:
parent
f85f07a77b
commit
299634b023
14 changed files with 255 additions and 113 deletions
|
@ -4,20 +4,20 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name=viewport content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." />
|
||||
<link rel="stylesheet" href="dist/main.css" />
|
||||
<link rel="stylesheet" href="{siteUrl url='dist/main.css'}" />
|
||||
<link rel="author" href="https://plus.google.com/110403274854419000481?rel=author" />
|
||||
<link rel="author" href="https://plus.google.com/103696815796116179392?rel=author" />
|
||||
<link href="https://plus.google.com/108799967445657477255" rel="publisher" />
|
||||
<title itemprop="name">AllTube Download</title>
|
||||
<meta itemprop="url" content="http://alltubedownload.net/" />
|
||||
<link rel="icon" href="img/favicon.png" />
|
||||
<link rel="icon" href="{siteUrl url='img/favicon.png'}" />
|
||||
<meta property="og:url" content="http://www.alltubedownload.net/" />
|
||||
<meta property="og:title" content="AllTube Download" />
|
||||
<meta property="og:description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." />
|
||||
<meta property="og:image" content="http://www.alltubedownload.net/img/logo.png" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="AllTube Download" />
|
||||
<meta name="twitter:image" content="http://www.alltubedownload.net/img/logo.png" />
|
||||
<meta name="twitter:image" content="{siteUrl url='img/logo.png'}" />
|
||||
<meta name="twitter:creator" content="@Tael67" />
|
||||
<meta name="twitter:description" content="Easily download videos from Youtube, Dailymotion, Vimeo and other websites." />
|
||||
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<header>
|
||||
<div class="social">
|
||||
<a class="twitter" href="http://twitter.com/home?status={$base_url|urlencode}" target="_blank">
|
||||
<a class="twitter" href="http://twitter.com/home?status={siteUrl|urlencode}" target="_blank">
|
||||
Share on Twitter<div class="twittermask"></div></a>
|
||||
<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={$base_url|urlencode}" target="_blank">Share on Facebook<div class="facebookmask"></div></a>
|
||||
<a class="facebook" href="https://www.facebook.com/sharer/sharer.php?u={siteUrl|urlencode}" target="_blank">Share on Facebook<div class="facebookmask"></div></a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="wrapper">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="main">
|
||||
<div><img itemprop="image" class="logo" src="img/logo.png"
|
||||
alt="AllTube Download" width="328" height="284"></div>
|
||||
<form action="api.php">
|
||||
<form action="{urlFor name="video"}">
|
||||
<label class="labelurl" for="url">
|
||||
Copy here the URL of your video (Youtube, Dailymotion, etc.)
|
||||
</label>
|
||||
|
@ -20,10 +20,10 @@
|
|||
{/if}
|
||||
</div>
|
||||
</form>
|
||||
<a class="combatiblelink" href="extractors.php">See all supported websites</a>
|
||||
<a class="combatiblelink" href="{urlFor name="extractors"}">See all supported websites</a>
|
||||
<div id="bookmarklet">
|
||||
<p> Drag this to your bookmarks bar: </p>
|
||||
<a class="bookmarklet" href="javascript:window.location='{$base_url}/api.php?url='+encodeURIComponent(location.href);">Bookmarklet</a>
|
||||
<a class="bookmarklet" href="javascript:window.location='{siteUrl url='api.php'}?url='+encodeURIComponent(location.href);">Bookmarklet</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<h1 class="logobis">
|
||||
<a class="logocompatible" href="index.php">
|
||||
<a class="logocompatible" href="{siteUrl}">
|
||||
AllTube Download<span class="logocompatiblemask"><img src="img/logocompatiblemask.png" width="447" height="107" alt="" /></span>
|
||||
</a></h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue