Commit db659454 authored by Denis Chenu's avatar Denis Chenu
Browse files

Add info setting type

parent 7551d38f
......@@ -72,7 +72,10 @@ class exampleSettings extends PluginBase {
'logo2'=>array(
'type'=>'logo',
'path'=>'assets/logo.png',
),
'info' => array(
'type' => 'info',
'content' => 'Some information to show to admin. You can use html code like <strong>strong</strong> or more with bootstrap for example.<p class="alert">For your information : you see 2 logo before this setting, but the 2 logo are different in version 2.06 of LimeSurvey.</p>',
),
'relevance'=>array(
'type'=>'relevance',
......@@ -188,6 +191,10 @@ class exampleSettings extends PluginBase {
'label'=> 'A logo with a label',
'path'=>Yii::app()->baseUrl."/plugins/exampleSettings/assets/logo.png",
),
'info' => array(
'type' => 'info',
'content' => 'Some information to show to admin. You can use html code like <strong>strong</strong> or more with bootstrap for example',
),
'relevance'=>array(
'type'=>'relevance',
'label'=>'A relevance setting',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment