{t params=['@title' => $title]}You are going to download @title.{/t}
diff --git a/templates/playlist.tpl b/templates/playlist.tpl index 179a394..a9ea037 100644 --- a/templates/playlist.tpl +++ b/templates/playlist.tpl @@ -4,10 +4,7 @@ {include file="inc/logo.tpl"} {if isset($video->title)} - {$title=" - - {$video->title} - "} + {include file='snippets/title.tpl' assign=title}{t params=['@title'=>$title]}Videos extracted from @title:{/t}
diff --git a/templates/snippets/designer.tpl b/templates/snippets/designer.tpl new file mode 100644 index 0000000..ff71ad6 --- /dev/null +++ b/templates/snippets/designer.tpl @@ -0,0 +1,4 @@ + + Olivier Haquette + diff --git a/templates/snippets/dev.tpl b/templates/snippets/dev.tpl new file mode 100644 index 0000000..9fa5294 --- /dev/null +++ b/templates/snippets/dev.tpl @@ -0,0 +1,4 @@ + + Pierre Rudloff + diff --git a/templates/snippets/title.tpl b/templates/snippets/title.tpl new file mode 100644 index 0000000..1812417 --- /dev/null +++ b/templates/snippets/title.tpl @@ -0,0 +1,5 @@ + + + {$video->title} + diff --git a/templates/snippets/youtubedl.tpl b/templates/snippets/youtubedl.tpl new file mode 100644 index 0000000..bad1aff --- /dev/null +++ b/templates/snippets/youtubedl.tpl @@ -0,0 +1,3 @@ + + youtube-dl +