Skip to content

Commit

Permalink
Dev: added metas from core
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Aug 18, 2017
1 parent a123641 commit ed9c2bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -1785,8 +1785,9 @@ private function setClassAndIds()
$this->aSurveyInfo['class']['controllabel'] = ' control-label ';
$this->aSurveyInfo['class']['formcontrol'] = ' form-control ';
$this->aSurveyInfo['class']['aLCDWithForm'] = ' btn btn-default ls-js-hidden ';


// Here you can add metas from core
$this->aSurveyInfo['metas'] = ' ';

// Maybe add a plugin event here?
Expand Down
4 changes: 3 additions & 1 deletion templates/default/views/subviews/head.twig
Expand Up @@ -25,12 +25,14 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="LimeSurvey http://www.limesurvey.org" />

{{ aSurveyInfo.metas }}

<title>
{{ aSurveyInfo.surveyls_title }}
</title>

<meta name="generator" content="LimeSurvey http://www.limesurvey.org" />
<link rel="shortcut icon" href="{{ aSurveyInfo.oTemplate.sTemplateurl }}favicon.ico" />

{# Ajax mode #}
Expand Down

0 comments on commit ed9c2bd

Please sign in to comment.