<div class="form-group smallform">
                    <label for="userid"><?php 
    echo $message['user'];
    ?>
:</label>
                    <?php 
    renderUserPicker(getTaskInfobyID($_GET['id'], 'userid'));
    ?>
                </div>
                <div class="form-group smallform">
                    <label for="taskid"><?php 
    echo $message['project'];
    ?>
:</label>
                    <?php 
    renderProjectPicker(getTaskInfobyID($_GET['id'], 'projectid'));
    ?>
                </div>
                <div class="form-group smallform">
                    <label for="taskid"><?php 
    echo $message['parenttask'];
    ?>
:</label>
                    <?php 
    renderParentTaskPicker(getTaskInfobyID($_GET['id'], 'parent'));
    ?>
                </div>
                <div class="form-group smallform">
                    <label for="taskname"><?php 
    echo $message['taskname'];
    ?>
Ejemplo n.º 2
0
                    </tbody>
                </table>
            </div>
        </div>
        <?php 
if (UserCan('create_task')) {
    ?>
        <div class="tab-pane" id="newtask">
            <form role="form" action="tasks.php" method="POST">
                <div class="form-group smallform">
                    <label for="projectid"><?php 
    echo $message['project'];
    ?>
:</label>
                    <?php 
    renderProjectPicker('');
    ?>
                </div>
                <div class="form-group smallform">
                    <label for="userid"><?php 
    echo $message['user'];
    ?>
:</label>
                    <?php 
    renderUserPicker($_SESSION['userid']);
    ?>
                </div>
                <div class="form-group smallform">
                    <label for="taskname"><?php 
    echo $message['taskname'];
    ?>