Exemplo n.º 1
0
?>
 Pixel <?php 
echo $this->getTrans('width');
?>
, <?php 
echo $this->get('avatar_height');
?>
 Pixel <?php 
echo $this->getTrans('height');
?>
.</p>
                        <p><?php 
echo $this->getTrans('maxFilesize');
?>
: <?php 
echo $settingMapper->getNicebytes($this->get('avatar_size'));
?>
.</p>
                        <p><?php 
echo $this->getTrans('allowedFileExtensions');
?>
: <?php 
echo str_replace(' ', ', ', $this->get('avatar_filetypes'));
?>
</p>
                        <div class="input-group col-lg-6">
                            <span class="input-group-btn">
                                <span class="btn btn-primary btn-file">
                                    Browse&hellip; <input type="file" name="avatar" accept="image/*">
                                </span>
                            </span>
Exemplo n.º 2
0
?>
 Pixel <?php 
echo $this->getTrans('width');
?>
, <?php 
echo $this->get('image_height');
?>
 Pixel <?php 
echo $this->getTrans('height');
?>
.</p>
                <p><?php 
echo $this->getTrans('maxFilesize');
?>
: <?php 
echo $settingMapper->getNicebytes($this->get('image_size'));
?>
.</p>
                <p><?php 
echo $this->getTrans('imageAllowedFileExtensions');
?>
: <?php 
echo str_replace(' ', ', ', $this->get('image_filetypes'));
?>
</p>
            </div>
            <div class="input-group col-lg-7">
                <span class="input-group-btn">
                    <span class="btn btn-primary btn-file">
                        Browse&hellip; <input type="file" name="image" accept="image/*">
                    </span>