mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 13:24:12 +01:00
- Autoloader for portal files in the itop-portal-base module - Dependencies moved to root composer.json - Add autoloader for /core and /application content
10 lines
478 B
PHP
10 lines
478 B
PHP
<?php foreach ($attr as $k => $v): ?>
|
|
<?php if ('placeholder' === $k || 'title' === $k): ?>
|
|
<?php printf('%s="%s" ', $view->escape($k), $view->escape(false !== $translation_domain ? $view['translator']->trans($v, [], $translation_domain) : $v)) ?>
|
|
<?php elseif (true === $v): ?>
|
|
<?php printf('%s="%s" ', $view->escape($k), $view->escape($k)) ?>
|
|
<?php elseif (false !== $v): ?>
|
|
<?php printf('%s="%s" ', $view->escape($k), $view->escape($v)) ?>
|
|
<?php endif ?>
|
|
<?php endforeach ?>
|