PHP Classes

File: views/d3files/upload.php

Recommend this page to a friend!
  Classes of Uldis Nelsons   d3files   views/d3files/upload.php   Download  
File: views/d3files/upload.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: d3files
Output widgets to handle uploaded files using YII2
Author: By
Last change:
Date: 6 years ago
Size: 655 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model d3yii2\d3files\models\D3files */

?>
<tr data-key="<?= $id; ?>" class="d3files-row">
    <td class="col-xs-11">
        <?= Html::a(
           
$file_name,
            [
'd3filesdownload', 'id' => $file_model_id],
            [
'title' => Yii::t('d3files', 'Download'),
        ])
?>
</td>
    <td class="text-center col-xs-1">
        <?= Html::a(
           
'<span class="glyphicon glyphicon-trash"></span>',
            [
'd3filesdelete', 'id' => $file_model_id],
            [
'class' => 'd3files-delete', 'title' => Yii::t('d3files', 'Delete')]
        )
?>
</td>
</tr>