Текстовый логотип в подвале сайта
This commit is contained in:
@@ -61,6 +61,20 @@ foreach(['name','email','telephone','address','open', 'comment'] as $item){
|
||||
$data['config_' . $item] = $this->config->get('config_' . $item);
|
||||
}
|
||||
|
||||
$data['logo_text'] = $this->config->get('config_logo_text');
|
||||
|
||||
if ($this->request->server['HTTPS']) {
|
||||
$server = $this->config->get('config_ssl');
|
||||
} else {
|
||||
$server = $this->config->get('config_url');
|
||||
}
|
||||
|
||||
if (is_file(DIR_IMAGE . $this->config->get('config_logo'))) {
|
||||
$data['logo'] = $server . 'image/' . $this->config->get('config_logo');
|
||||
} else {
|
||||
$data['logo'] = '';
|
||||
}
|
||||
|
||||
$this->load->model('localisation/zone');
|
||||
|
||||
foreach ($this->model_localisation_zone->getContacts() as $field => $value) {
|
||||
|
||||
Reference in New Issue
Block a user