PHP Classes

File: Template/export/tasks.php

Recommend this page to a friend!
  Classes of kiran   MetaMagik   Template/export/tasks.php   Download  
File: Template/export/tasks.php
Role: Example script
Content type: text/plain
Description: Example script
Class: MetaMagik
Plugin to add custom form fields for Kanboard
Author: By
Last change:
Date: 3 years ago
Size: 931 bytes
 

Contents

Class file image Download
<?= $this->render('export/header', array('project' => $project, 'title' => $title)) ?>

<p class="alert alert-info"><?= t('This report contains all tasks information for the given date range.') ?></p>

<form class="js-modal-ignore-form" method="post" action="<?= $this->url->href('NewExportController', 'tasks', ['plugin' => 'metaMagik', 'project_id' => $project['id']]) ?>" autocomplete="off">
    <?= $this->form->csrf() ?>
<?= $this->form->hidden('project_id', $values) ?>
<?= $this->form->date(t('Start date'), 'from', $values) ?>
<?= $this->form->date(t('End date'), 'to', $values) ?>

    <div class="form-actions">
        <button type="submit" class="btn btn-blue js-form-export"><?= t('Export') ?></button>
        <?= t('or') ?>
<?= $this->url->link(t('cancel'), 'NewExportController', 'tasks', ['plugin' => 'metaMagik', 'project_id' => $project['id']], false, 'js-modal-close') ?>
</div>
</form>