mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
parent
c2fb5d85a0
commit
aca3e51d5a
@ -291,14 +291,14 @@ class AdvsController extends PublicController
|
||||
$loop++;
|
||||
}
|
||||
}
|
||||
$this->template->set('notShowTitle', true);
|
||||
$this->template->set('showTitle', false);
|
||||
$this->template->set('meta_title', $catText);
|
||||
$this->template->set('meta_description', $catText);
|
||||
}
|
||||
|
||||
$compact = compact('advs', 'countries', 'mainCats', 'subCats', 'checkboxes', 'request', 'param',
|
||||
'user', 'featured_advs', 'viewType', 'topfields', 'selectDropdown', 'selectRange', 'selectImage', 'ranges', 'seenList',
|
||||
'searchedCountry', 'radio', 'categoryId', 'cityId', 'allCats', 'catText');
|
||||
'user', 'featured_advs', 'viewType', 'topfields', 'selectDropdown', 'selectRange', 'selectImage', 'ranges',
|
||||
'seenList', 'searchedCountry', 'radio', 'categoryId', 'cityId', 'allCats', 'catText');
|
||||
|
||||
return $this->viewTypeBasedRedirect($viewType, $compact);
|
||||
}
|
||||
|
||||
@ -8,7 +8,8 @@
|
||||
<!-- Meta Tags -->
|
||||
|
||||
<title>
|
||||
{% if not template.notShowTitle %}
|
||||
{% set showTitle = template.showTitle is same as(false) ? false : true %}
|
||||
{% if showTitle %}
|
||||
{{ setting_value('streams::name', config_get('streams::distribution.name')) }}
|
||||
›
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user