/usr/share/php/Symfony/Bundle/FrameworkBundle/Resources/views/Form/time_widget.html.php is in php-symfony-framework-bundle 2.8.7+dfsg-1.3+deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?php if ($widget == 'single_text'): ?>
<?php echo $view['form']->block($form, 'form_widget_simple'); ?>
<?php else: ?>
<?php $vars = $widget == 'text' ? array('attr' => array('size' => 1)) : array() ?>
<div <?php echo $view['form']->block($form, 'widget_container_attributes') ?>>
<?php
// There should be no spaces between the colons and the widgets, that's why
// this block is written in a single PHP tag
echo $view['form']->widget($form['hour'], $vars);
if ($with_minutes) {
echo ':';
echo $view['form']->widget($form['minute'], $vars);
}
if ($with_seconds) {
echo ':';
echo $view['form']->widget($form['second'], $vars);
}
?>
</div>
<?php endif ?>
|