예제 #1
0
파일: list.php 프로젝트: eywalink/worktime
<?php 
echo Lib_Global::format_select_options($SYS_DEPARTMENT->list, 0);
?>
</select>
&nbsp;&nbsp;
<button onclick="change_more('ticket_list', 'ticket', 'change_more_department', 'ctl=Commit&act=change_more');">
    修改部门
</button>

&nbsp;&nbsp;
<input id="change_more_version" name="version" type="text" class="inputstyle input_100" />
&nbsp;&nbsp;
<button onclick="change_more('ticket_list', 'ticket', 'change_more_version', 'ctl=Commit&act=change_more');">
    设置版本
</button>
</p>

<p>
<select id="change_more_priority" name="priority"  class="selectstyle">
<?php 
echo Lib_Global::format_select_options(Config_App::get_priority_list(), 0);
?>
</select>
&nbsp;&nbsp;
<button onclick="change_more('ticket_list', 'ticket', 'change_more_priority', 'ctl=Commit&act=change_more');">
    修改优先级
</button>
</p>
    </div>

</div></div>
예제 #2
0
?>
        </div>

<div class="reWrap">
<div class="head"><h3>提交测试报告</h3></div>
<div class="body">
<div id="test_report_form">
<input type="hidden" forme="val" name="id" value="<?php 
echo $this->ticket->id;
?>
" />
测试结果:
<select forme="val" name="test_status" class="selectstyle">
<?php 
$test_status_list = Config_App::get_test_status_list();
echo Lib_Global::format_select_options($test_status_list, $this->ticket->test_status);
?>
</select>

</div>

<div class="lineright"></div>

<script type="text/javascript" src="./fckeditor/fckeditor.js"></script>
<textarea id="ticket_test_report_content" width="200"></textarea>

<div class="lineright"></div>
<button class="btn_h_25" onclick="commit_ticket_test_report()">提交测试报告</button>
</div>
</div>
예제 #3
0
&nbsp;&nbsp;
部门:
<select forme="val" name="department" class="selectstyle">
<?php 
$SYS_DEPARTMENT = O_Sys::readone(O_Sys::SYS_DEPARTMENT);
echo Lib_Global::format_select_options($SYS_DEPARTMENT->list, 0);
?>
</select>

&nbsp;&nbsp;
指派负责人:
<select forme="val" name="acter_id" class="selectstyle">
<?php 
$admins = Config_Admin::get_select_option_list();
echo Lib_Global::format_select_options($admins, 0);
?>
</select>
</p>

<?php 
include ROOT_DIR . 'fckeditor/fckeditor.php';
$oFCKeditor = new FCKeditor('ticket_content');
$oFCKeditor->BasePath = './fckeditor/';
$oFCKeditor->Height = '500px';
$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Create();
?>
        </div>

    <div class="lineright"></div>