HEX
Server: nginx/1.22.1
System: Linux VM-16-9-centos 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
User: www (1001)
PHP: 7.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/oa.sanjiangapp.com/app/sys/todo/view/batchedit.html.php
<?php
/**
 * The batch edit view of todo module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Gang Liu <liugang@cnezsoft.com> 
 * @package     todo
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include $app->getModuleRoot() . '../sys/my/view/header.html.php';?>
<?php js::set('mode', $mode);?>
<form id='ajaxForm' method='post' action='<?php echo $this->createLink('todo', 'batchEdit', "mode=$mode");?>'>
  <div class='panel'>
    <table class='table table-form'>
      <thead>
        <tr class='text-center'>
          <th class='w-50px'><?php echo $lang->todo->id;?></th>
          <th class='w-110px'><?php echo $lang->todo->type;?></th>
          <th class='w-80px'><?php echo $lang->todo->pri;?></th>
          <th class='w-100px'><?php echo $lang->todo->assignedTo;?></th>
          <th class='red'><?php echo $lang->todo->name;?></th>
          <th><?php echo $lang->todo->desc;?></th>
          <th class='w-100px'><?php echo $lang->todo->date;?></th>
          <th class='w-160px'><?php echo $lang->todo->beginAndEnd;?></th>
          <th class='w-70px'><label class='checkbox-inline'><input type='checkbox' name='switchAll' id='switchAll' onclick='switchDateAll(this)'> <?php echo $lang->todo->periods['future'];?></label></th>
        </tr>
      </thead>
      <?php $i = 1;?>
      <?php foreach($todos as $id => $todo):?>
      <tr class='text-center'>
        <td class='text-middle'><?php echo $i++;?></td>
        <td><?php echo html::select("types[$id]", $lang->todo->typeList, $todo->type, "onchange='loadList(this.value, $id)' class='form-control'");?></td>
        <td><?php echo html::select("pris[$id]", $lang->todo->priList, $todo->pri, "class='form-control'");?></td>
        <td class='text-left'><?php echo html::select("assignedTo[$id]", $users, $todo->assignedTo, "class='form-control chosen'");?></td>
        <td class='text-left' style='overflow:visible'>
          <div id='<?php echo "nameBox" . $id;?>' class='hidden'><?php echo html::input("names[$id]", $todo->name, 'class="text-left form-control"');?></div>
          <div class='<?php echo "nameBox" . $id;?>'><?php echo html::input("names[$id]", $todo->name, 'class="text-left form-control"');?></div>
        </td>
        <td><?php echo html::textarea("descs[$id]", $todo->desc, "rows='1' class='form-control'");?></td>
        <td><?php echo html::input("dates[$id]", formatTime($todo->date), "class='form-control form-date'");?></td>
        <td colspan='2'>
          <div class='input-group'>
            <?php echo html::select("begins[$id]", $times, $todo->begin, "onchange=\"setBeginsAndEnds($id, 'begin');\" class='form-control' style='width: 50%'");?>
            <?php echo html::select("ends[$id]", $times, $todo->end, "onchange=\"setBeginsAndEnds($id, 'end');\" class='form-control' style='width: 50%'");?>
            <span class='input-group-addon'><label class='checkbox-inline'><input type='checkbox' name="switchDate[<?php echo $id?>]" id="switchDate<?php echo $id;?>" data-key="<?php echo $id;?>" onclick='switchDateList(<?php echo $id?>);'> <?php echo $lang->todo->periods['future'];?></label></span>
          </div>
        </td>
      </tr>  
      <?php endforeach;?>
      <tfoot>
        <tr>
          <td class='text-center form-actions' colspan='9'><?php echo html::submitButton() . html::backButton();?></td>
        </tr>
      </tfoot>
    </table>
  </div>
</form>
<?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>