parent
5b7b101a8a
commit
c6cf05f8ec
6 changed files with 16 additions and 5 deletions
|
@ -112,6 +112,13 @@ class Config
|
||||||
*/
|
*/
|
||||||
public $avconvVerbosity = 'error';
|
public $avconvVerbosity = 'error';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* App name
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
public $appName = 'AllTube Download';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* YAML config file path.
|
* YAML config file path.
|
||||||
*
|
*
|
||||||
|
|
|
@ -42,3 +42,6 @@ remux: false
|
||||||
|
|
||||||
# MP3 bitrate when converting (in kbit/s)
|
# MP3 bitrate when converting (in kbit/s)
|
||||||
audioBitrate: 128
|
audioBitrate: 128
|
||||||
|
|
||||||
|
# App name
|
||||||
|
appName: AllTube Download
|
||||||
|
|
|
@ -162,6 +162,7 @@ class FrontController
|
||||||
$response,
|
$response,
|
||||||
'extractors.tpl',
|
'extractors.tpl',
|
||||||
[
|
[
|
||||||
|
'config' => $this->config,
|
||||||
'extractors' => $this->download->listExtractors(),
|
'extractors' => $this->download->listExtractors(),
|
||||||
'class' => 'extractors',
|
'class' => 'extractors',
|
||||||
'title' => _('Supported websites'),
|
'title' => _('Supported websites'),
|
||||||
|
|
|
@ -10,13 +10,13 @@
|
||||||
<meta property="og:description" content="{$description|escape}" />
|
<meta property="og:description" content="{$description|escape}" />
|
||||||
{/if}
|
{/if}
|
||||||
<link rel="stylesheet" href="{base_url}/dist/main.css" />
|
<link rel="stylesheet" href="{base_url}/dist/main.css" />
|
||||||
<title>AllTube Download{if isset($title)} - {$title|escape}{/if}</title>
|
<title>{$config->appName}{if isset($title)} - {$title|escape}{/if}</title>
|
||||||
<link rel="canonical" href="{$canonical}" />
|
<link rel="canonical" href="{$canonical}" />
|
||||||
<link rel="icon" href="{base_url}/img/favicon.png" />
|
<link rel="icon" href="{base_url}/img/favicon.png" />
|
||||||
<meta property="og:title" content="AllTube Download{if isset($title)} - {$title|escape}{/if}" />
|
<meta property="og:title" content="{$config->appName}{if isset($title)} - {$title|escape}{/if}" />
|
||||||
<meta property="og:image" content="{base_url}/img/logo.png" />
|
<meta property="og:image" content="{base_url}/img/logo.png" />
|
||||||
<meta name="twitter:card" content="summary" />
|
<meta name="twitter:card" content="summary" />
|
||||||
<meta name="twitter:title" content="AllTube Download{if isset($title)} - {$title|escape}{/if}" />
|
<meta name="twitter:title" content="{$config->appName}{if isset($title)} - {$title|escape}{/if}" />
|
||||||
<meta name="twitter:image" content="{base_url}/img/logo.png" />
|
<meta name="twitter:image" content="{base_url}/img/logo.png" />
|
||||||
<meta name="twitter:creator" content="@Tael67" />
|
<meta name="twitter:creator" content="@Tael67" />
|
||||||
<meta name="theme-color" content="#4F4F4F">
|
<meta name="theme-color" content="#4F4F4F">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<h1 class="logobis">
|
<h1 class="logobis">
|
||||||
<a class="logocompatible" href="{base_url}">
|
<a class="logocompatible" href="{base_url}">
|
||||||
AllTube Download<span class="logocompatiblemask"><img src="{base_url}/img/logocompatiblemask.png" width="447" height="107" alt="" /></span>
|
<span class="logocompatiblemask"><img src="{base_url}/img/logocompatiblemask.png" width="447" height="107" alt="{$config->appName}" /></span>
|
||||||
</a></h1>
|
</a></h1>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{include file='inc/header.tpl'}
|
{include file='inc/header.tpl'}
|
||||||
<main class="main">
|
<main class="main">
|
||||||
<div><img class="logo" src="{base_url}/img/logo.png"
|
<div><img class="logo" src="{base_url}/img/logo.png"
|
||||||
alt="AllTube Download" width="328" height="284"></div>
|
alt="{$config->appName}" width="328" height="284"></div>
|
||||||
<form action="{path_for name="video"}">
|
<form action="{path_for name="video"}">
|
||||||
<label class="labelurl" for="url">
|
<label class="labelurl" for="url">
|
||||||
{t}Copy here the URL of your video (Youtube, Dailymotion, etc.){/t}
|
{t}Copy here the URL of your video (Youtube, Dailymotion, etc.){/t}
|
||||||
|
|
Loading…
Reference in a new issue