mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 05:02:21 +00:00
35 lines
934 B
PHP
35 lines
934 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Models\Settings;
|
|
|
|
class TermsController extends BasePageController
|
|
{
|
|
/**
|
|
* @throws \Exception
|
|
*/
|
|
public function terms()
|
|
{
|
|
$this->setPrefs();
|
|
$title = 'Terms and Conditions';
|
|
$meta_title = Settings::settingValue('site.main.title').' - Terms and conditions';
|
|
$meta_keywords = 'terms,conditions';
|
|
$meta_description = 'Terms and Conditions for '.Settings::settingValue('site.main.title');
|
|
|
|
$content = $this->smarty->fetch($this->theme.'/terms.tpl');
|
|
|
|
$this->smarty->assign(
|
|
[
|
|
'title' => $title,
|
|
'content' => $content,
|
|
'meta_title' => $meta_title,
|
|
'meta_keywords' => $meta_keywords,
|
|
'meta_description' => $meta_description,
|
|
]
|
|
);
|
|
|
|
$this->smarty->display($this->theme.'/basepage.tpl');
|
|
}
|
|
}
|