From 885f651cd73ff69a284cc0b18f49ca3881b9ded8 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Wed, 5 Jul 2017 10:35:19 +0200 Subject: [PATCH] Dev: removed old logo settings (now function image() provide the necessary logic) --- application/models/TemplateConfiguration.php | 4 ---- templates/default/config.xml | 5 ----- 2 files changed, 9 deletions(-) diff --git a/application/models/TemplateConfiguration.php b/application/models/TemplateConfiguration.php index 112436277f6..b13098b8aff 100644 --- a/application/models/TemplateConfiguration.php +++ b/application/models/TemplateConfiguration.php @@ -28,9 +28,6 @@ class TemplateConfiguration extends CFormModel /** @var string $sPackageName Name of the asset package of this template*/ public $sPackageName; - /** @var string $siteLogo Name of the logo file (like: logo.png) */ - public $siteLogo; - /** @var string $path Path of this template */ public $path; @@ -475,7 +472,6 @@ private function setThisTemplate() $this->viewPath = (!empty($this->config->xpath("//viewdirectory"))) ? $this->path.DIRECTORY_SEPARATOR.$this->config->engine->viewdirectory.DIRECTORY_SEPARATOR : $this->path.DIRECTORY_SEPARATOR.$this->oMotherTemplate->config->engine->viewdirectory.DIRECTORY_SEPARATOR; $this->filesPath = (!empty($this->config->xpath("//filesdirectory"))) ? $this->path.DIRECTORY_SEPARATOR.$this->config->engine->filesdirectory.DIRECTORY_SEPARATOR : $this->path.DIRECTORY_SEPARATOR.$this->oMotherTemplate->config->engine->filesdirectory.DIRECTORY_SEPARATOR; $this->templateEditor = (!empty($this->config->xpath("//template_editor"))) ? $this->config->engine->template_editor : $this->oMotherTemplate->templateEditor; - $this->siteLogo = (!empty($this->config->xpath("//logo"))) ? $this->config->files->logo->filename : $this->oMotherTemplate->siteLogo; // Options are optional if (!empty($this->config->xpath("//options"))){ diff --git a/templates/default/config.xml b/templates/default/config.xml index f4d4d9f497d..dfa827482f8 100644 --- a/templates/default/config.xml +++ b/templates/default/config.xml @@ -35,11 +35,6 @@ css/print_template.css - - - - files/logo.png -