mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
clean QR Contact Module
This commit is contained in:
parent
6ef17f4dc8
commit
ca4f09618f
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Content With Block -->
|
||||
{{ addBlock('ad-detail/content',{'features':features,'adv':adv, 'qrSRC': qrSRC})|raw }}
|
||||
{{ addBlock('ad-detail/content',{'features':features,'adv':adv, 'profile': profile})|raw }}
|
||||
<!-- Content With Block -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -301,11 +301,6 @@ class AdvsController extends PublicController
|
||||
}
|
||||
$this->event->dispatch(new viewAd($adv));//view ad
|
||||
|
||||
$isActiveqrContact = $this->adv_model->is_enabled('qrcontact');
|
||||
if ($isActiveqrContact) {
|
||||
$qrModel = new QrModel();
|
||||
$qrSRC = $qrModel->source($adv);
|
||||
}
|
||||
$this->template->set('meta_keywords', implode(',', explode(' ', $adv->name)));
|
||||
$this->template->set('meta_description', strip_tags($adv->advs_desc, ''));
|
||||
$this->template->set('meta_title', $adv->name . "|" . end($categories)['name']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user