Example #1
0
 private function head(Tag $t, $controllerName)
 {
     /** @noinspection PhpMethodParametersCountMismatchInspection */
     return $t->head([$t->meta(a::charset('utf-8')), $t->meta(a::content('IE=Edge'), a::httpEquiv("X-UA-Compatible")), $t->meta(a::name('viewport'), a::content("width=device-width", "initial-scale=1")), $t->meta(a::name('author'), a::content('maveius')), $t->meta(a::name('description'), a::content("Bug Report and Issue Tracker System Open Source")), $t->title(trans('layout.name') . ' - ' . trans('layout.title')), $t->link(a::rel('icon'), a::type('image/png'), a::href(asset('img/favicon.png'))), $t->link(a::rel('stylesheet'), a::href(asset('css/layout.css'))), $this->getViewCss($t, $controllerName), $t->script(a::src(asset('lib/plugins/jQuery/jQuery-2.1.4.min.js'))), $t->script(a::src(asset('lib/bootstrap-3.3.6-dist/js/bootstrap.min.js'))), $this->getHeaderJs(), $this->getIEHacks()]);
 }