add.php
来自「GForge 3.0 协作开发平台 支持CVS, mailing lists, 」· PHP 代码 · 共 99 行
PHP
99 行
<?php/** * * SourceForge Generic Tracker facility * * SourceForge: Breaking Down the Barriers to Open Source Development * Copyright 1999-2001 (c) VA Linux Systems * http://sourceforge.net * * @version $Id: add.php,v 1.7 2001/05/22 19:57:56 pfalcon Exp $ * */$ath->header(array ('title'=>$Language->getText('tracker_add','submit'),'pagename'=>'tracker_add','sectionvals'=>array($ath->getName()))); /* Show the free-form text submitted by the project admin */ echo $ath->getSubmitInstructions(); echo '<p> <form action="'.$PHP_SELF.'?group_id='.$group_id.'&atid='.$ath->getID().'" method="post" enctype="multipart/form-data"> <input type="hidden" name="func" value="postadd" /> <table> <tr> <td valign="top"><strong>'.$Language->getText('tracker_add','for_project').':</strong><br />'.$group->getPublicName().'</td> <td valign="top"><input type="submit" name="submit" value="'. $Language->getText('general','submit').'" /></td> </tr> <tr><td <valign="top"><strong>'.$Language->getText('tracker','category').': <a href="javascript:help_window(\'/help/tracker.php?helpname=category\')"><strong>(?)</strong></a></strong><br />'; echo $ath->categoryBox('category_id'); echo ' <a href="/tracker/admin/?group_id='.$group_id.'&atid='. $ath->getID() .'&add_cat=1">('.$Language->getText('tracker','admin').')</a>'; ?> </td><td><strong><?php echo $Language->getText('tracker','item_group') ?>: <a href="javascript:help_window('/help/tracker.php?helpname=group')"><strong>(?)</strong></a></strong><br /> <?php echo $ath->artifactGroupBox('artifact_group_id'); echo ' <a href="/tracker/admin/?group_id='.$group_id.'&atid='. $ath->getID() .'&add_group=1">('.$Language->getText('tracker','admin').')</a>'; ?> </td></tr> <?php if ($ath->userIsAdmin()) { echo '<tr><td><strong>'.$Language->getText('tracker','assigned_to').': <a href="javascript:help_window(\'/help/tracker.php?helpname=assignee\')"><strong>(?)</strong></a></strong><br />'; echo $ath->technicianBox ('assigned_to'); echo ' <a href="/tracker/admin/?group_id='.$group_id.'&atid='. $ath->getID() .'&update_users=1">('.$Language->getText('tracker','admin').')</a>'; echo '</td><td><strong>'.$Language->getText('tracker','priority').': <a href="javascript:help_window(\'/help/tracker.php?helpname=priority\')"><strong>(?)</strong></a></strong><br />'; echo build_priority_select_box('priority'); echo '</td></tr>'; } ?> <tr><td colspan="2"><strong><?php echo $Language->getText('tracker','summary') ?>: <a href="javascript:help_window('/help/tracker.php?helpname=summary')"></strong><?php echo utils_requiredField(); ?><strong>(?)</strong></a><br /> <input type="text" name="summary" size="80" maxlength="255" /> </td></tr> <tr><td colspan="2"> <strong><?php echo $Language->getText('tracker','detailed_description') ?>:</strong><?php echo utils_requiredField(); ?> <p> <textarea name="details" rows="30" cols="55" wrap="hard"></textarea></p> </td></tr> <tr><td colspan="2"> <?php if (!session_loggedin()) { echo ' <h3><span style="color:red">'.$Language->getText('tracker','please_login',array('<a href="/account/login.php?return_to='.urlencode($REQUEST_URI).'">','</a>')).'</span></h3><br /> '.$Language->getText('tracker','insert_email').':<p> <input type="text" name="user_email" size="30" maxlength="35" /></p> '; } ?> <p> </p> <h3><span style="color:red"><?php echo $Language->getText('tracker','security_note') ?></span></h3> <p> </p> </td></tr> <tr><td colspan="2"> <strong><?php echo $Language->getText('tracker','check_upload') ?>:</strong> <input type="checkbox" name="add_file" value="1" /> <a href="javascript:help_window('/help/tracker.php?helpname=comment')"><strong>(?)</strong></a><br /> <p> <input type="file" name="input_file" size="30" /></p> <p> <strong><?php echo $Language->getText('tracker','file_description') ?>:</strong><br /> <input type="text" name="file_description" size="40" maxlength="255" /></p> </td><tr> <tr><td colspan="2"> <input type="submit" name="submit" value="<?php echo $Language->getText('general','submit')?>" /> </td></tr> </table></form></p> <?php $ath->footer(array());?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?