Loading Plugin.php +1 −0 Original line number Original line Diff line number Diff line Loading @@ -9,6 +9,7 @@ class Plugin extends Base { { $this->hook->on('template:layout:css', array('template' => 'plugins/MittelTheme/Template/css/main.css')); $this->hook->on('template:layout:css', array('template' => 'plugins/MittelTheme/Template/css/main.css')); # $this->template->setTemplateOverride('header', 'mitteltheme:layout/header'); # $this->template->setTemplateOverride('header', 'mitteltheme:layout/header'); $this->template->hook->attach('template:layout:head', 'MittelTheme:layout/head'); $this->template->hook->attach('template:auth:login-form:before', 'MittelTheme:layout/login-before'); $this->template->hook->attach('template:auth:login-form:before', 'MittelTheme:layout/login-before'); $this->template->setTemplateOverride('header/title', 'MittelTheme:layout/title', array( $this->template->setTemplateOverride('header/title', 'MittelTheme:layout/title', array( 'project' => isset($project) ? $project : null, 'project' => isset($project) ? $project : null, Loading Template/layout/head.php 0 → 100644 +1 −0 Original line number Original line Diff line number Diff line <link rel="icon" href="/plugins/MittelTheme/Template/img/logo.svg" /> Loading
Plugin.php +1 −0 Original line number Original line Diff line number Diff line Loading @@ -9,6 +9,7 @@ class Plugin extends Base { { $this->hook->on('template:layout:css', array('template' => 'plugins/MittelTheme/Template/css/main.css')); $this->hook->on('template:layout:css', array('template' => 'plugins/MittelTheme/Template/css/main.css')); # $this->template->setTemplateOverride('header', 'mitteltheme:layout/header'); # $this->template->setTemplateOverride('header', 'mitteltheme:layout/header'); $this->template->hook->attach('template:layout:head', 'MittelTheme:layout/head'); $this->template->hook->attach('template:auth:login-form:before', 'MittelTheme:layout/login-before'); $this->template->hook->attach('template:auth:login-form:before', 'MittelTheme:layout/login-before'); $this->template->setTemplateOverride('header/title', 'MittelTheme:layout/title', array( $this->template->setTemplateOverride('header/title', 'MittelTheme:layout/title', array( 'project' => isset($project) ? $project : null, 'project' => isset($project) ? $project : null, Loading
Template/layout/head.php 0 → 100644 +1 −0 Original line number Original line Diff line number Diff line <link rel="icon" href="/plugins/MittelTheme/Template/img/logo.svg" />