コード例 #1
0
ファイル: moveToSuccess.php プロジェクト: noikiy/qdpm
" method="post">
<?php 
echo input_hidden_tag('redirect_to', $sf_request->getParameter('redirect_to'));
if ($sf_request->getParameter('projects_id') > 0) {
    echo input_hidden_tag('projects_id', $sf_request->getParameter('projects_id'));
}
echo input_hidden_tag('tickets_id', $sf_request->getParameter('tickets_id'));
?>
<table>
  <tr>
    <td><?php 
echo __('Move To Project');
?>
</td>
    <td><?php 
echo select_tag('move_to', '', array('choices' => Projects::getChoices('tickets', $sf_user)), array('class' => 'required'));
?>
</td>
  </tr>
  <tr>
    <td></td>
    <td><?php 
echo __("Note: Destination Project Team should include all Users assigned to selected items.") . '<br>' . __("Users won't have access to Items if they are assigned to these Items but are not in the Project Team");
?>
</td>
  </tr>
</table>

<br>
<input type="submit" value="<?php 
echo __('Move');
コード例 #2
0
ファイル: xlsTasksImportSuccess.php プロジェクト: noikiy/qdpm
?>
</div><br>

<form id="import" action="<?php 
echo url_for('tools/xlsTasksImport');
?>
" method="post" enctype="multipart/form-data">
<input type="hidden" name="sf_method" value="put" />
  <table class="contentTable">
    <tr>
      <td><?php 
echo __('Project');
?>
</td>
      <td><?php 
echo select_tag('projects_id', $sf_request->getParameter('project'), array('choices' => Projects::getChoices('', $sf_user)), array('class' => 'required'));
?>
</td>
    </tr>
    <tr>
      <td><?php 
echo __('File');
?>
</td>
      <td><input type="file" name="import_file" class="required"></td>
    </tr>
  </table>
    
  <?php 
echo submit_tag(__('Load file and bind (map) columns to fields'));
?>