1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
{include file="header.tpl.html"}
{if $set_analysis_result}
<script type="text/javascript">
<!--
opener.location.href = opener.location;
setTimeout('window.close()', 2000);
//-->
</script>
<br /><br />
<center>
<span class="default">
{if $set_analysis_result == -1}
<b>{t}An error occurred while trying to run your query{/t}</b>
{elseif $set_analysis_result == 1}
<b>{t}Thank you, the impact analysis was updated successfully.{/t}</b>
{/if}
</span>
</center>
{else}
{literal}
<script type="text/javascript">
<!--
function validate(f)
{
if (!isFloat(f.dev_time.value)) {
alert('{/literal}{t escape=js}Please use only floating point numbers on the estimated development time field.{/t}{literal}');
selectField(f, 'dev_time');
return false;
}
if (isWhitespace(f.impact_analysis.value)) {
alert('{/literal}{t escape=js}Please enter the impact analysis for this new requirement.{/t}{literal}');
selectField(f, 'impact_analysis');
return false;
}
return true;
}
//-->
</script>
{/literal}
<form name="set_analysis_form" onSubmit="javascript:return validate(this);" method="post" action="{$smarty.server.PHP_SELF}">
<input type="hidden" name="cat" value="set_analysis">
<input type="hidden" name="isr_id" value="{$smarty.get.isr_id}">
<table align="center" width="100%" cellpadding="3">
<tr>
<td>
<table width="100%" cellspacing="1" cellpadding="2" border="0">
<tr>
<td colspan="2" class="default">
<b>{t}Enter Impact Analysis{/t}</b>
</td>
</tr>
<tr>
<td width="120" bgcolor="{$cell_color}" class="default_white">
<b>{t}Estimated Dev. Time{/t}: *</b>
</td>
<td bgcolor="{$light_color}">
<input type="text" name="dev_time" size="6" class="default"> <span class="default">({t}in hours{/t})</span>
{include file="error_icon.tpl.html" field="dev_time"}
</td>
</tr>
<tr>
<td width="120" bgcolor="{$cell_color}" class="default_white">
<b>{t}Impact <br />Analysis{/t}: *</b>
</td>
<td bgcolor="{$dark_color}">
<textarea name="impact_analysis" rows="10" style="width: 97%"></textarea>
{include file="error_icon.tpl.html" field="impact_analysis"}
</td>
</tr>
<tr>
<td colspan="2" bgcolor="{$cell_color}" align="center">
<input class="button" type="submit" value="Update">
<input class="button" type="button" value="Close" onClick="javascript:window.close();">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{/if}
{include file="app_info.tpl.html"}
{include file="footer.tpl.html"}
|