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