diff --git a/index.php b/index.php index 0d94974..83f92fc 100644 --- a/index.php +++ b/index.php @@ -22,7 +22,8 @@ $app = new \Slim\Slim( ); $view = $app->view(); $view->parserExtensions = array( - dirname(__FILE__).'/vendor/slim/views/SmartyPlugins', + __DIR__.'/vendor/slim/views/SmartyPlugins', + __DIR__.'/smarty' ); $app->get( '/', diff --git a/smarty/modifier.noscheme.php b/smarty/modifier.noscheme.php new file mode 100644 index 0000000..b92adc1 --- /dev/null +++ b/smarty/modifier.noscheme.php @@ -0,0 +1,5 @@ + -
-

-
- Due to various technical reasons, - we can no longer host an online version of AllTube.
- However, you are free to - - download the code - and run it on your own server. -
-
- diff --git a/templates/index.tpl b/templates/index.tpl index dfd2e6d..480cfef 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -1,5 +1,5 @@
-
diff --git a/templates/logo.tpl b/templates/logo.tpl index 6d1ff44..dcf538c 100644 --- a/templates/logo.tpl +++ b/templates/logo.tpl @@ -1,4 +1,4 @@

-AllTube Download +AllTube Download

diff --git a/templates/maintenance.tpl b/templates/maintenance.tpl deleted file mode 100644 index 18ff6ca..0000000 --- a/templates/maintenance.tpl +++ /dev/null @@ -1,9 +0,0 @@ -
-
-

-
Due to some issues with our server, - we have to disable AllTube for a few days. - Sorry for the inconvenience.
-
-
diff --git a/templates/video.tpl b/templates/video.tpl index a4d3e78..0142c8a 100644 --- a/templates/video.tpl +++ b/templates/video.tpl @@ -9,13 +9,13 @@ href="{$video->webpage_url}"> {$video->title}. Google Cast™ is disabled Google Cast™ -Casting to ChromeCast…