Added Tagging, Update to Laravel 5.5, Enabled Video

This commit is contained in:
Deon George
2018-01-10 08:10:14 +11:00
parent 3012004901
commit 96fadc5080
18 changed files with 1759 additions and 3344 deletions

View File

@@ -3,7 +3,9 @@
@section('content')
<?php $data = [
'ID'=>'id',
'Video'=>'video',
'Signature'=>'signature',
'Length'=>'length',
'Date Created'=>'datecreated',
'File Created'=>'created',
'File Modified'=>'modified',
@@ -53,6 +55,8 @@ function changed($k,$v,$l=0)
$o = (new \App\Model\Video())->where('id',$id)->first();
switch ($v) :
case 'id': $x=$id; $y=sprintf('<a href="%s">%s</a>',url('/v/info/'.$o->id),$o->id); break;
case 'video': $x=$o->signature(TRUE);$y=$o->view();; break;
case 'length': $x=$y=$o->length; break;
case 'signature': $x=$y=$o->signature(TRUE); break;
case 'datecreated': $x=$y=$o->date_taken(); break;
case 'created': $x=$y=$o->file_date('c',TRUE); break;