Add translation in menu

pull/9/head
Chewbaka69 5 years ago
parent 74152caa02
commit 09a4a6c516

82
composer.lock generated

@ -8,16 +8,16 @@
"packages": [ "packages": [
{ {
"name": "composer/installers", "name": "composer/installers",
"version": "v1.5.0", "version": "v1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/installers.git", "url": "https://github.com/composer/installers.git",
"reference": "049797d727261bf27f2690430d935067710049c2" "reference": "141b272484481432cda342727a427dc1e206bfa0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/installers/zipball/049797d727261bf27f2690430d935067710049c2", "url": "https://api.github.com/repos/composer/installers/zipball/141b272484481432cda342727a427dc1e206bfa0",
"reference": "049797d727261bf27f2690430d935067710049c2", "reference": "141b272484481432cda342727a427dc1e206bfa0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -73,6 +73,7 @@
"RadPHP", "RadPHP",
"SMF", "SMF",
"Thelia", "Thelia",
"Whmcs",
"WolfCMS", "WolfCMS",
"agl", "agl",
"aimeos", "aimeos",
@ -95,6 +96,7 @@
"installer", "installer",
"itop", "itop",
"joomla", "joomla",
"known",
"kohana", "kohana",
"laravel", "laravel",
"lavalite", "lavalite",
@ -124,20 +126,20 @@
"zend", "zend",
"zikula" "zikula"
], ],
"time": "2017-12-29T09:13:20+00:00" "time": "2019-08-12T15:00:31+00:00"
}, },
{ {
"name": "fuel/auth", "name": "fuel/auth",
"version": "1.8.1", "version": "1.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fuel/auth.git", "url": "https://github.com/fuel/auth.git",
"reference": "b19a63e27903760d41a8641b8a42b1ddaaa646f2" "reference": "908ab91344875ec17e58458c1e48f0ce482a337b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fuel/auth/zipball/b19a63e27903760d41a8641b8a42b1ddaaa646f2", "url": "https://api.github.com/repos/fuel/auth/zipball/908ab91344875ec17e58458c1e48f0ce482a337b",
"reference": "b19a63e27903760d41a8641b8a42b1ddaaa646f2", "reference": "908ab91344875ec17e58458c1e48f0ce482a337b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -156,7 +158,7 @@
], ],
"description": "FuelPHP 1.x Auth Package", "description": "FuelPHP 1.x Auth Package",
"homepage": "https://github.com/fuel/auth", "homepage": "https://github.com/fuel/auth",
"time": "2018-04-18T14:45:14+00:00" "time": "2019-06-27T14:59:18+00:00"
}, },
{ {
"name": "fuel/core", "name": "fuel/core",
@ -192,16 +194,16 @@
}, },
{ {
"name": "fuel/email", "name": "fuel/email",
"version": "1.8.1", "version": "1.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fuel/email.git", "url": "https://github.com/fuel/email.git",
"reference": "a12df7db925c81f3ace52cdec3dfd925193c8e4b" "reference": "b7fb81332d373594c370f12706cd7108ca1d01be"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fuel/email/zipball/a12df7db925c81f3ace52cdec3dfd925193c8e4b", "url": "https://api.github.com/repos/fuel/email/zipball/b7fb81332d373594c370f12706cd7108ca1d01be",
"reference": "a12df7db925c81f3ace52cdec3dfd925193c8e4b", "reference": "b7fb81332d373594c370f12706cd7108ca1d01be",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -220,20 +222,20 @@
], ],
"description": "FuelPHP 1.x Email Package", "description": "FuelPHP 1.x Email Package",
"homepage": "https://github.com/fuel/email", "homepage": "https://github.com/fuel/email",
"time": "2018-04-18T14:49:14+00:00" "time": "2019-06-27T14:58:38+00:00"
}, },
{ {
"name": "fuel/oil", "name": "fuel/oil",
"version": "1.8.1.1", "version": "1.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fuel/oil.git", "url": "https://github.com/fuel/oil.git",
"reference": "548d0fc1c07793e21128ecd4ebf5badc36908865" "reference": "8d3685c592e7a5161d29fc7a03ed61dacdada595"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fuel/oil/zipball/548d0fc1c07793e21128ecd4ebf5badc36908865", "url": "https://api.github.com/repos/fuel/oil/zipball/8d3685c592e7a5161d29fc7a03ed61dacdada595",
"reference": "548d0fc1c07793e21128ecd4ebf5badc36908865", "reference": "8d3685c592e7a5161d29fc7a03ed61dacdada595",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -252,20 +254,20 @@
], ],
"description": "FuelPHP 1.x Oil Package", "description": "FuelPHP 1.x Oil Package",
"homepage": "https://github.com/fuel/oil", "homepage": "https://github.com/fuel/oil",
"time": "2018-05-03T20:59:29+00:00" "time": "2019-06-27T14:58:13+00:00"
}, },
{ {
"name": "fuel/orm", "name": "fuel/orm",
"version": "1.8.1.2", "version": "1.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fuel/orm.git", "url": "https://github.com/fuel/orm.git",
"reference": "372a5ffbbef797c4532eaf0283c9483309809206" "reference": "70deb9fbc5f42c364036cb4c27f9e1185019e657"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fuel/orm/zipball/372a5ffbbef797c4532eaf0283c9483309809206", "url": "https://api.github.com/repos/fuel/orm/zipball/70deb9fbc5f42c364036cb4c27f9e1185019e657",
"reference": "372a5ffbbef797c4532eaf0283c9483309809206", "reference": "70deb9fbc5f42c364036cb4c27f9e1185019e657",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -284,20 +286,20 @@
], ],
"description": "FuelPHP 1.x ORM Package", "description": "FuelPHP 1.x ORM Package",
"homepage": "https://github.com/fuel/orm", "homepage": "https://github.com/fuel/orm",
"time": "2018-04-22T10:09:22+00:00" "time": "2019-06-27T14:57:32+00:00"
}, },
{ {
"name": "fuel/parser", "name": "fuel/parser",
"version": "1.8.1", "version": "1.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fuel/parser.git", "url": "https://github.com/fuel/parser.git",
"reference": "c8725e112ef59f70f73ddff754a9fe762229fa88" "reference": "1e4c52b60dec72a4df6d3757db74904ab7cda9ef"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fuel/parser/zipball/c8725e112ef59f70f73ddff754a9fe762229fa88", "url": "https://api.github.com/repos/fuel/parser/zipball/1e4c52b60dec72a4df6d3757db74904ab7cda9ef",
"reference": "c8725e112ef59f70f73ddff754a9fe762229fa88", "reference": "1e4c52b60dec72a4df6d3757db74904ab7cda9ef",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -316,7 +318,7 @@
], ],
"description": "FuelPHP 1.x Parser Package", "description": "FuelPHP 1.x Parser Package",
"homepage": "https://github.com/fuel/parser", "homepage": "https://github.com/fuel/parser",
"time": "2018-04-18T14:52:18+00:00" "time": "2019-06-27T14:57:06+00:00"
}, },
{ {
"name": "fuelphp/upload", "name": "fuelphp/upload",
@ -571,16 +573,16 @@
}, },
{ {
"name": "psr/log", "name": "psr/log",
"version": "1.0.2", "version": "1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/log.git", "url": "https://github.com/php-fig/log.git",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -614,22 +616,22 @@
"psr", "psr",
"psr-3" "psr-3"
], ],
"time": "2016-10-10T12:19:37+00:00" "time": "2018-11-20T15:27:04+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
{ {
"name": "fuel/docs", "name": "fuel/docs",
"version": "1.8.1", "version": "1.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/fuel/docs.git", "url": "https://github.com/fuel/docs.git",
"reference": "819d65d744ef29cacec96649a6f39be28c854038" "reference": "b158e44c619378ec3d38fb66bcf0839798f46f63"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/fuel/docs/zipball/819d65d744ef29cacec96649a6f39be28c854038", "url": "https://api.github.com/repos/fuel/docs/zipball/b158e44c619378ec3d38fb66bcf0839798f46f63",
"reference": "819d65d744ef29cacec96649a6f39be28c854038", "reference": "b158e44c619378ec3d38fb66bcf0839798f46f63",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -648,7 +650,7 @@
], ],
"description": "FuelPHP 1.x Documenataion", "description": "FuelPHP 1.x Documenataion",
"homepage": "https://github.com/fuel/docs", "homepage": "https://github.com/fuel/docs",
"time": "2018-04-17T16:29:24+00:00" "time": "2019-06-27T14:54:29+00:00"
} }
], ],
"aliases": [], "aliases": [],

@ -20,6 +20,9 @@ class Controller_Admin extends Controller_Template
if(!$user->admin) if(!$user->admin)
Response::redirect('/home'); Response::redirect('/home');
Lang::load('menu');
Lang::load('action');
$this->template->user = Session::get('user'); $this->template->user = Session::get('user');
$this->template->js_bottom = ['plex_alert.js']; $this->template->js_bottom = ['plex_alert.js'];

@ -23,6 +23,8 @@ class Controller_Movie extends Controller_Home
if(!$movie) if(!$movie)
Response::redirect('/home'); Response::redirect('/home');
$movie->getTrailer();
$this->template->title = $movie->title; $this->template->title = $movie->title;
$body->set('movie', $movie); $body->set('movie', $movie);

@ -23,6 +23,7 @@ class Controller_Settings extends Controller_Template
if(!$this->_user) if(!$this->_user)
Response::redirect('/login'); Response::redirect('/login');
Lang::load('menu');
Lang::load('settings'); Lang::load('settings');
Lang::load('action'); Lang::load('action');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Loading…
Cancel
Save