| = htmlReady($field) ?> |
= htmlReady($configuration->type) ?> |
= mb_strlen($configuration->description) > 120
? htmlReady(mb_substr($configuration->description, 0, 120))
. '...' . tooltip2($configuration->description)['title']
: htmlReady($configuration->description) ?> |
switch ($configuration->type) {
case 'string':
case 'i18n':
echo htmlReady(Config::get()->getValue($field));
break;
case 'integer':
echo (int) Config::get()->getValue($field);
break;
case 'boolean':
echo Config::get()->getValue($field)
? Icon::create('accept', Icon::ROLE_STATUS_GREEN,
['title' => _('TRUE')])
: Icon::create('decline', Icon::ROLE_STATUS_RED,
['title' => _('FALSE')]);
break;
} ?>
|
= Icon::create('edit') ?>
|
endforeach ?>